[pve-devel] [PATCH ha-manager v3 0/6] implement HW fencing for the ha-manager
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Mar 14 17:31:27 CET 2016
Third iteration of the hardware fencing.
changes from v2:
* throw away the hardware class for the PVE2 env, use an Env method instead
* reworked 'allow hardware fencing' patch (nr. 5) a bit
* fixed small error in config parser and writer (thanks wolfgang)
What still needs to be done:
* API integration
* overwriting of fence agent action (thus allowing manual fencing
and status checking)
Thomas Lamprecht (6):
add FenceConfig class for external fencing devices
Env,HW: add HW fencing related functions
add Fence class for external fence devices
allow LRM lock stealing for fenced nodes
allow use of external fencing devices
Add to README
README | 111 +++++++++++
src/PVE/HA/Config.pm | 12 +-
src/PVE/HA/Env.pm | 22 ++-
src/PVE/HA/Env/PVE2.pm | 33 +++-
src/PVE/HA/Fence.pm | 217 +++++++++++++++++++++
src/PVE/HA/FenceConfig.pm | 190 ++++++++++++++++++
src/PVE/HA/Makefile | 3 +-
src/PVE/HA/Manager.pm | 12 +-
src/PVE/HA/NodeStatus.pm | 40 +++-
src/PVE/HA/Sim/Env.pm | 38 +++-
src/PVE/HA/Sim/Hardware.pm | 31 ++-
src/PVE/HA/Sim/RTHardware.pm | 3 +-
src/PVE/HA/Sim/TestHardware.pm | 5 +-
src/test/Makefile | 10 +-
src/test/fence_cfgs/complex-params-1.cfg | 5 +
src/test/fence_cfgs/complex-params-1.cfg.expect | 8 +
src/test/fence_cfgs/connect-before-device-1.cfg | 9 +
.../fence_cfgs/connect-before-device-1.cfg.expect | 1 +
src/test/fence_cfgs/double-device-1.cfg | 8 +
src/test/fence_cfgs/double-device-1.cfg.expect | 1 +
src/test/fence_cfgs/parallel-1.cfg | 29 +++
src/test/fence_cfgs/parallel-1.cfg.expect | 21 ++
src/test/fence_cfgs/simple-1.cfg | 4 +
src/test/fence_cfgs/simple-1.cfg.expect | 8 +
src/test/fence_cfgs/simple-2.cfg | 15 ++
src/test/fence_cfgs/simple-2.cfg.expect | 16 ++
src/test/test-hw-fence1/README | 1 +
src/test/test-hw-fence1/cmdlist | 4 +
src/test/test-hw-fence1/fence.cfg | 6 +
src/test/test-hw-fence1/hardware_status | 5 +
src/test/test-hw-fence1/log.expect | 51 +++++
src/test/test-hw-fence1/manager_status | 1 +
src/test/test-hw-fence1/service_config | 5 +
src/test/test_fence_config.pl | 126 ++++++++++++
34 files changed, 1026 insertions(+), 25 deletions(-)
create mode 100644 src/PVE/HA/Fence.pm
create mode 100644 src/PVE/HA/FenceConfig.pm
create mode 100644 src/test/fence_cfgs/complex-params-1.cfg
create mode 100644 src/test/fence_cfgs/complex-params-1.cfg.expect
create mode 100644 src/test/fence_cfgs/connect-before-device-1.cfg
create mode 100644 src/test/fence_cfgs/connect-before-device-1.cfg.expect
create mode 100644 src/test/fence_cfgs/double-device-1.cfg
create mode 100644 src/test/fence_cfgs/double-device-1.cfg.expect
create mode 100644 src/test/fence_cfgs/parallel-1.cfg
create mode 100644 src/test/fence_cfgs/parallel-1.cfg.expect
create mode 100644 src/test/fence_cfgs/simple-1.cfg
create mode 100644 src/test/fence_cfgs/simple-1.cfg.expect
create mode 100644 src/test/fence_cfgs/simple-2.cfg
create mode 100644 src/test/fence_cfgs/simple-2.cfg.expect
create mode 100644 src/test/test-hw-fence1/README
create mode 100644 src/test/test-hw-fence1/cmdlist
create mode 100644 src/test/test-hw-fence1/fence.cfg
create mode 100644 src/test/test-hw-fence1/hardware_status
create mode 100644 src/test/test-hw-fence1/log.expect
create mode 100644 src/test/test-hw-fence1/manager_status
create mode 100644 src/test/test-hw-fence1/service_config
create mode 100755 src/test/test_fence_config.pl
--
2.1.4
More information about the pve-devel
mailing list