[pve-devel] [PATCH ha-manager v7 0/4] allow HW fencing of nodes
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Aug 5 14:43:16 CEST 2016
This is a reworked set of the HW fencing series.
The state of the fence class is now encapsulated in a class instance instead
of using global variables.
More information can be found in the commit messages.
More regression tests were added, although some more would be still nice :)
This was tested over the last months and may be enough for a lot situations
but as its still a technology preview it should be tested carefully before
setting this up in a production setup.
The intial patches for integrating this in the API are still work in progress
and can be looked at:
https://github.com/GamerSource/pve-ha-manager/tree/hw_fencing_v7_mid_july_api_poc
Thomas (4):
allow LRM lock stealing for fenced nodes
allow use of external fencing devices
send also email on hardware fence failure
Add to README
README | 111 ++++++++++++++++++++++++++++++++
src/PVE/HA/Env.pm | 4 +-
src/PVE/HA/Env/PVE2.pm | 4 +-
src/PVE/HA/Manager.pm | 4 +-
src/PVE/HA/NodeStatus.pm | 57 +++++++++++++++-
src/PVE/HA/Sim/Env.pm | 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 | 52 +++++++++++++++
src/test/test-hw-fence1/manager_status | 1 +
src/test/test-hw-fence1/service_config | 5 ++
src/test/test-hw-fence2/README | 3 +
src/test/test-hw-fence2/cmdlist | 5 ++
src/test/test-hw-fence2/fence.cfg | 8 +++
src/test/test-hw-fence2/hardware_status | 7 ++
src/test/test-hw-fence2/log.expect | 106 ++++++++++++++++++++++++++++++
src/test/test-hw-fence2/manager_status | 1 +
src/test/test-hw-fence2/service_config | 10 +++
src/test/test-hw-fence3/README | 5 ++
src/test/test-hw-fence3/cmdlist | 4 ++
src/test/test-hw-fence3/fence.cfg | 17 +++++
src/test/test-hw-fence3/hardware_status | 5 ++
src/test/test-hw-fence3/log.expect | 56 ++++++++++++++++
src/test/test-hw-fence3/manager_status | 1 +
src/test/test-hw-fence3/service_config | 5 ++
27 files changed, 490 insertions(+), 13 deletions(-)
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 100644 src/test/test-hw-fence2/README
create mode 100644 src/test/test-hw-fence2/cmdlist
create mode 100644 src/test/test-hw-fence2/fence.cfg
create mode 100644 src/test/test-hw-fence2/hardware_status
create mode 100644 src/test/test-hw-fence2/log.expect
create mode 100644 src/test/test-hw-fence2/manager_status
create mode 100644 src/test/test-hw-fence2/service_config
create mode 100644 src/test/test-hw-fence3/README
create mode 100644 src/test/test-hw-fence3/cmdlist
create mode 100644 src/test/test-hw-fence3/fence.cfg
create mode 100644 src/test/test-hw-fence3/hardware_status
create mode 100644 src/test/test-hw-fence3/log.expect
create mode 100644 src/test/test-hw-fence3/manager_status
create mode 100644 src/test/test-hw-fence3/service_config
--
2.1.4
More information about the pve-devel
mailing list