HomeClusterLabs Projects

Feature: fencing: support remapping reboots when processing fencing query…

Description

Feature: fencing: support remapping reboots when processing fencing query results

If a topology fencing request has a level with multiple devices, a requested
reboot should be remapped to all-off-then-all-on (consider the case of remote
power switches for redundant power supplies).

This revision implements the second step in that process. When the originating
stonithd receives all peers' replies to a "reboot" query, it will parse values
for "off" and "on" as well as "reboot".

These values include the new XML attribute indicating whether the peer
is only allowed to run one of the actions and not another.

The originating stonithd does not do anything special with the values yet,
so no actual remapping is done.

Details

Provenance
kgaillotAuthored on Jul 2 2015, 6:48 PM
Parents
rPaa7017a693a0: Feature: fencing: treat remapped reboots as reboots when appropriate
Branches
Unknown
Tags
Unknown

Event Timeline