[pve-devel] [PATCH ha-manager 0/5] HW fencing patches
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Apr 8 16:51:16 CEST 2016
Some patches for HW enabled fencing, now with email support and some
bug fixes.
First patch does an heavy cleanup on the Fence class (I originally thought
to resend the whole class but it seems it was already applied)
Second adds a quite simple method to env which allows us to send emails
to the root users configured email address.
Third and fourth are the same as the last time, although a minor comment
cleanup happened in the fourth one.
Fifth is new and triggers an email on fence start and either success or
fence failure.
Thomas Lamprecht (5):
Fence: cleanup class
Env: add sendmail
allow LRM lock stealing for fenced nodes
allow use of external fencing devices
send email on fence failure and success
src/PVE/HA/Env.pm | 10 +-
src/PVE/HA/Env/PVE2.pm | 13 +-
src/PVE/HA/Fence.pm | 303 +++++++++++++++++---------------
src/PVE/HA/Manager.pm | 9 +-
src/PVE/HA/NodeStatus.pm | 78 +++++++-
src/PVE/HA/Sim/Env.pm | 23 ++-
src/test/test-basic1/log.expect | 1 +
src/test/test-basic2/log.expect | 1 +
src/test/test-basic5/log.expect | 1 +
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 | 54 ++++++
src/test/test-hw-fence1/manager_status | 1 +
src/test/test-hw-fence1/service_config | 5 +
src/test/test-shutdown1/log.expect | 1 +
src/test/test-shutdown2/log.expect | 1 +
src/test/test-shutdown3/log.expect | 1 +
src/test/test-shutdown4/log.expect | 1 +
20 files changed, 361 insertions(+), 158 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
--
2.1.4
More information about the pve-devel
mailing list