[pve-devel] [RFC v3 pve-ha-manager 0/4] Adding general resource support and enhancing error behaviour
t.lamprecht at proxmox.com
Wed Sep 2 17:52:29 CEST 2015
This series adds support for diffrent service types through an plugin system.
The resource class was expanded so it provides services specific methods for actions like stopping, migrating, etc...
The PVEVM class was extended accordingly and a PVECT class was added.
Further, if an service get's in an error state it can be now disabled manually.
Changes since v2:
* fixed the config_file methods
* refactor and clean up
* added patch for error behaviour
Thomas Lamprecht (4):
Adding PVECT resource class so that CT can be HA managed
Fixed hardcoded type 'vm' in check if vm is ha managed
Replacing hardcoded qemu commands with plugin calls
Adding error state behaviour
src/PVE/HA/Config.pm | 12 +++--
src/PVE/HA/Env/PVE2.pm | 104 ++++++++++++++++++++--------------------
src/PVE/HA/Manager.pm | 19 +++++++-
src/PVE/HA/Resources.pm | 123 ++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 201 insertions(+), 57 deletions(-)
More information about the pve-devel