]> git.proxmox.com Git - pve-ha-manager.git/log
pve-ha-manager.git
9 years agoimplement fence_delay to avoid immediate fencing
Dietmar Maurer [Mon, 16 Mar 2015 10:35:02 +0000 (11:35 +0100)]
implement fence_delay to avoid immediate fencing

9 years agoreset watchdog with poweroff
Dietmar Maurer [Mon, 16 Mar 2015 09:48:56 +0000 (10:48 +0100)]
reset watchdog with poweroff

9 years agorelease agent lock if requested by master
Dietmar Maurer [Mon, 16 Mar 2015 07:13:36 +0000 (08:13 +0100)]
release agent lock if requested by master

9 years agouse option nofailback for default simulator groups
Dietmar Maurer [Mon, 16 Mar 2015 06:09:38 +0000 (07:09 +0100)]
use option nofailback for default simulator groups

So that one can migrate VMs to other nodes (else the get moved back immediately).

9 years agoalways run regression tests
Dietmar Maurer [Sat, 14 Mar 2015 09:06:16 +0000 (10:06 +0100)]
always run regression tests

9 years agoadd simple test for failover
Dietmar Maurer [Sat, 14 Mar 2015 09:00:43 +0000 (10:00 +0100)]
add simple test for failover

9 years agosort nodes inside priority groups to get deterministic results
Dietmar Maurer [Sat, 14 Mar 2015 08:54:47 +0000 (09:54 +0100)]
sort nodes inside priority groups to get deterministic results

9 years agodo not restart watchdog-mux.socket
Dietmar Maurer [Fri, 13 Mar 2015 15:18:35 +0000 (16:18 +0100)]
do not restart watchdog-mux.socket

9 years agouse systemd condition to avoid daemon startup when ha is disabled
Dietmar Maurer [Fri, 13 Mar 2015 15:14:26 +0000 (16:14 +0100)]
use systemd condition to avoid daemon startup when ha is disabled

9 years agolrm: introduce disabled state
Dietmar Maurer [Fri, 13 Mar 2015 14:37:58 +0000 (15:37 +0100)]
lrm: introduce disabled state

9 years agoimplement service_config_exists() - test if ha is enabled
Dietmar Maurer [Fri, 13 Mar 2015 14:24:38 +0000 (15:24 +0100)]
implement service_config_exists() - test if ha is enabled

9 years agoadd upload target
Dietmar Maurer [Fri, 13 Mar 2015 09:54:32 +0000 (10:54 +0100)]
add upload target

9 years agoadd migrate and relocate commands to cli tool
Dietmar Maurer [Fri, 13 Mar 2015 09:03:30 +0000 (10:03 +0100)]
add migrate and relocate commands to cli tool

9 years agobump version to 0.2-1
Dietmar Maurer [Fri, 13 Mar 2015 08:27:03 +0000 (09:27 +0100)]
bump version to 0.2-1

9 years agoadd Restart=no to make it more clear
Dietmar Maurer [Fri, 13 Mar 2015 07:36:07 +0000 (08:36 +0100)]
add Restart=no to make it more clear

This service should not be re-started, because a restart would clear
the watchdoh timer!

9 years agoadd enable/disable to cli tool
Dietmar Maurer [Fri, 13 Mar 2015 07:31:35 +0000 (08:31 +0100)]
add enable/disable to cli tool

9 years agoimprove API for resources
Dietmar Maurer [Fri, 13 Mar 2015 05:57:39 +0000 (06:57 +0100)]
improve API for resources

9 years agofix clean target
Dietmar Maurer [Thu, 12 Mar 2015 11:20:18 +0000 (12:20 +0100)]
fix clean target

9 years agostart API for groups
Dietmar Maurer [Thu, 12 Mar 2015 11:17:34 +0000 (12:17 +0100)]
start API for groups

9 years agostart implementing an API
Dietmar Maurer [Thu, 12 Mar 2015 10:40:57 +0000 (11:40 +0100)]
start implementing an API

9 years agopve lrm: implement start/stop
Dietmar Maurer [Thu, 12 Mar 2015 09:51:58 +0000 (10:51 +0100)]
pve lrm: implement start/stop

9 years agopass service configuration to exec_resource_agent
Dietmar Maurer [Thu, 12 Mar 2015 08:39:20 +0000 (09:39 +0100)]
pass service configuration to exec_resource_agent

9 years agodo not restart watchdog-mux on upgrade
Dietmar Maurer [Thu, 12 Mar 2015 07:45:19 +0000 (08:45 +0100)]
do not restart watchdog-mux on upgrade

9 years agoallow to shutdown CRM/LRM
Dietmar Maurer [Thu, 12 Mar 2015 06:08:19 +0000 (07:08 +0100)]
allow to shutdown CRM/LRM

9 years agoadd command line tool
Dietmar Maurer [Thu, 12 Mar 2015 05:55:19 +0000 (06:55 +0100)]
add command line tool

9 years agoadd uuid when adding service first time, log warnings
Dietmar Maurer [Wed, 11 Mar 2015 11:31:35 +0000 (12:31 +0100)]
add uuid when adding service first time, log warnings

9 years agoadd service description for pve-ha-lrm
Dietmar Maurer [Wed, 11 Mar 2015 11:06:25 +0000 (12:06 +0100)]
add service description for pve-ha-lrm

9 years agoadd service state
Dietmar Maurer [Wed, 11 Mar 2015 10:37:41 +0000 (11:37 +0100)]
add service state

9 years agouse boolean compare, only show get_lock messages once
Dietmar Maurer [Wed, 11 Mar 2015 10:13:46 +0000 (11:13 +0100)]
use boolean compare, only show get_lock messages once

9 years agouse new PVE::HA:Config
Dietmar Maurer [Wed, 11 Mar 2015 10:00:55 +0000 (11:00 +0100)]
use new PVE::HA:Config

9 years agoadd new class to handle configuration
Dietmar Maurer [Wed, 11 Mar 2015 08:29:30 +0000 (09:29 +0100)]
add new class to handle configuration

9 years agoadd parser for resource configuration
Dietmar Maurer [Tue, 10 Mar 2015 16:22:59 +0000 (17:22 +0100)]
add parser for resource configuration

9 years agoset backlog for watchdog-mux.socket
Dietmar Maurer [Tue, 10 Mar 2015 14:43:38 +0000 (15:43 +0100)]
set backlog for watchdog-mux.socket

9 years agodisable OOM killer for watchdog-mux
Dietmar Maurer [Tue, 10 Mar 2015 14:23:50 +0000 (15:23 +0100)]
disable OOM killer for watchdog-mux

9 years agoconflict with watchdog packages
Dietmar Maurer [Tue, 10 Mar 2015 14:14:19 +0000 (15:14 +0100)]
conflict with watchdog packages

9 years agoimplement get_node_info
Dietmar Maurer [Tue, 10 Mar 2015 11:31:50 +0000 (12:31 +0100)]
implement get_node_info

9 years agomark dead code
Dietmar Maurer [Tue, 10 Mar 2015 11:00:40 +0000 (12:00 +0100)]
mark dead code

9 years agouse new watchdog-mux.sock socket
Dietmar Maurer [Tue, 10 Mar 2015 10:52:18 +0000 (11:52 +0100)]
use new watchdog-mux.sock socket

9 years agoadd systemd service for pve-ha-crm
Dietmar Maurer [Tue, 10 Mar 2015 10:24:06 +0000 (11:24 +0100)]
add systemd service for pve-ha-crm

9 years agoimplement watchdog update logic
Dietmar Maurer [Tue, 10 Mar 2015 10:00:41 +0000 (11:00 +0100)]
implement watchdog update logic

9 years agoimplement magic_close for clients
Dietmar Maurer [Tue, 10 Mar 2015 09:46:44 +0000 (10:46 +0100)]
implement magic_close for clients

9 years ago/watchdog-mux: add signal handling
Dietmar Maurer [Tue, 10 Mar 2015 09:32:48 +0000 (10:32 +0100)]
/watchdog-mux: add signal handling

9 years agouse new wd_client_t data structure to store info about clients
Dietmar Maurer [Mon, 9 Mar 2015 16:00:47 +0000 (17:00 +0100)]
use new wd_client_t data structure to store info about clients

9 years agoupdate watchdog timer each second
Dietmar Maurer [Mon, 9 Mar 2015 15:20:20 +0000 (16:20 +0100)]
update watchdog timer each second

9 years agoadd service description, fix socket mode
Dietmar Maurer [Mon, 9 Mar 2015 11:50:18 +0000 (12:50 +0100)]
add service description, fix socket mode

9 years agoinstall systemd files for watchdog-mux
Dietmar Maurer [Mon, 9 Mar 2015 11:11:46 +0000 (12:11 +0100)]
install systemd files for watchdog-mux

9 years agoremove dead code fro Makefile
Dietmar Maurer [Mon, 9 Mar 2015 11:00:04 +0000 (12:00 +0100)]
remove dead code fro Makefile

9 years agorun verifyapi before install
Dietmar Maurer [Mon, 9 Mar 2015 10:59:14 +0000 (11:59 +0100)]
run verifyapi before install

9 years agoavoid perl warning
Dietmar Maurer [Mon, 9 Mar 2015 10:49:32 +0000 (11:49 +0100)]
avoid perl warning

9 years agorestructure directory layout for dpkg-buildpackage
Dietmar Maurer [Mon, 9 Mar 2015 09:47:19 +0000 (10:47 +0100)]
restructure directory layout for dpkg-buildpackage

9 years agofixup watchdog to cleanly compile with systemd
Dietmar Maurer [Mon, 9 Mar 2015 08:58:16 +0000 (09:58 +0100)]
fixup watchdog to cleanly compile with systemd

9 years agorename watchdog.c to watchdog-mux.c
Dietmar Maurer [Mon, 9 Mar 2015 08:35:43 +0000 (09:35 +0100)]
rename watchdog.c to watchdog-mux.c

9 years agomake simulator package architecture independent
Dietmar Maurer [Mon, 9 Mar 2015 08:34:21 +0000 (09:34 +0100)]
make simulator package architecture independent

9 years agoadd missing Makefile
Dietmar Maurer [Mon, 9 Mar 2015 08:30:20 +0000 (09:30 +0100)]
add missing Makefile

9 years agomake watchdog systemd aware
Dietmar Maurer [Mon, 9 Mar 2015 08:26:37 +0000 (09:26 +0100)]
make watchdog systemd aware

9 years agoadd experimental watchdog daemon code
Dietmar Maurer [Sat, 21 Feb 2015 14:52:10 +0000 (15:52 +0100)]
add experimental watchdog daemon code

I plan to make that a systemd service.

9 years agoadd thoughts about watchdog implementation
Dietmar Maurer [Sat, 21 Feb 2015 12:42:06 +0000 (13:42 +0100)]
add thoughts about watchdog implementation

9 years agoadd note about two_node cluster option
Dietmar Maurer [Sat, 21 Feb 2015 09:26:38 +0000 (10:26 +0100)]
add note about two_node cluster option

9 years agoimplement watchdog - first try
Dietmar Maurer [Fri, 20 Feb 2015 10:45:37 +0000 (11:45 +0100)]
implement watchdog - first try

9 years agoimplement PVE cfs lock
Dietmar Maurer [Fri, 20 Feb 2015 05:17:55 +0000 (06:17 +0100)]
implement PVE cfs lock

9 years agofix typo
Dietmar Maurer [Thu, 19 Feb 2015 08:34:26 +0000 (09:34 +0100)]
fix typo

9 years agoadd missing control file for simulator package
Dietmar Maurer [Thu, 19 Feb 2015 08:33:33 +0000 (09:33 +0100)]
add missing control file for simulator package

9 years agoadd correct lib path for pve-ha-simulator
Dietmar Maurer [Thu, 19 Feb 2015 08:12:36 +0000 (09:12 +0100)]
add correct lib path for pve-ha-simulator

9 years agosplit simulator into separate package
Dietmar Maurer [Thu, 19 Feb 2015 07:59:01 +0000 (08:59 +0100)]
split simulator into separate package

9 years agodepend on pve-cluster an newer perl version
Dietmar Maurer [Wed, 18 Feb 2015 10:40:35 +0000 (11:40 +0100)]
depend on pve-cluster an newer perl version

9 years agocreate debian package
Dietmar Maurer [Wed, 18 Feb 2015 10:30:48 +0000 (11:30 +0100)]
create debian package

9 years agoadd LRM daemon
Dietmar Maurer [Wed, 18 Feb 2015 10:01:05 +0000 (11:01 +0100)]
add LRM daemon

9 years agofence offline nodes if state is migrate or relocate
Dietmar Maurer [Wed, 18 Feb 2015 09:30:43 +0000 (10:30 +0100)]
fence offline nodes if state is migrate or relocate

9 years agofence offline nodes if state is request_stop
Dietmar Maurer [Wed, 18 Feb 2015 09:17:54 +0000 (10:17 +0100)]
fence offline nodes if state is request_stop

9 years agoselect_service_node: try to distribute service to all nodes
Dietmar Maurer [Wed, 18 Feb 2015 09:01:40 +0000 (10:01 +0100)]
select_service_node: try to distribute service to all nodes

9 years agofix prefer_node3 test group
Dietmar Maurer [Wed, 18 Feb 2015 08:22:51 +0000 (09:22 +0100)]
fix prefer_node3 test group

9 years agoimplement ha group - first try
Dietmar Maurer [Tue, 17 Feb 2015 11:33:30 +0000 (12:33 +0100)]
implement ha group - first try

9 years agoadd parser for ha groups (similar to failover domains)
Dietmar Maurer [Tue, 17 Feb 2015 07:47:54 +0000 (08:47 +0100)]
add parser for ha groups (similar to failover domains)

9 years agoimprove lrm logs
Dietmar Maurer [Mon, 16 Feb 2015 10:54:15 +0000 (11:54 +0100)]
improve lrm logs

9 years agoset window size to 1024x768 (XGA)
Dietmar Maurer [Mon, 16 Feb 2015 10:49:23 +0000 (11:49 +0100)]
set window size to 1024x768 (XGA)

9 years agoimplement relocate
Dietmar Maurer [Mon, 16 Feb 2015 10:15:32 +0000 (11:15 +0100)]
implement relocate

Basically the same as 'migrate'. It is up to the LRM to stop the resource
and move service location.

9 years agogui: add relocate checkbox
Dietmar Maurer [Mon, 16 Feb 2015 09:50:32 +0000 (10:50 +0100)]
gui: add relocate checkbox

9 years agoremove crm 'move' state
Dietmar Maurer [Mon, 16 Feb 2015 09:31:41 +0000 (10:31 +0100)]
remove crm 'move' state

9 years agoimprove crm state transitions
Dietmar Maurer [Mon, 16 Feb 2015 09:26:17 +0000 (10:26 +0100)]
improve crm state transitions

9 years agogui: implement migrate dialog
Dietmar Maurer [Mon, 16 Feb 2015 09:04:34 +0000 (10:04 +0100)]
gui: implement migrate dialog

9 years agoimplement online migration - first try
Dietmar Maurer [Mon, 16 Feb 2015 07:26:11 +0000 (08:26 +0100)]
implement online migration - first try

9 years agocrm: implement migrate in stopped state
Dietmar Maurer [Mon, 16 Feb 2015 06:35:42 +0000 (07:35 +0100)]
crm: implement migrate in stopped state

9 years agofixup service loaction after fencing nodes with active migration
Dietmar Maurer [Mon, 16 Feb 2015 06:01:41 +0000 (07:01 +0100)]
fixup service loaction after fencing nodes with active migration

9 years agocrm: read new crm commands and save them into crm master status
Dietmar Maurer [Sun, 15 Feb 2015 15:46:11 +0000 (16:46 +0100)]
crm: read new crm commands and save them into crm master status

9 years agoimplement a way to send commands to the CRM master
Dietmar Maurer [Sun, 15 Feb 2015 15:02:56 +0000 (16:02 +0100)]
implement a way to send commands to the CRM master

9 years agoimprove LRM log messages
Dietmar Maurer [Sun, 15 Feb 2015 09:24:56 +0000 (10:24 +0100)]
improve LRM log messages

9 years agocode cleanup: split out next_state functions
Dietmar Maurer [Sun, 15 Feb 2015 09:08:22 +0000 (10:08 +0100)]
code cleanup: split out next_state functions

9 years agocrm: read lrm status from active node only
Dietmar Maurer [Sun, 15 Feb 2015 08:47:30 +0000 (09:47 +0100)]
crm: read lrm status from active node only

9 years agoGUI: re-read node from service configuration
Dietmar Maurer [Sat, 14 Feb 2015 15:05:33 +0000 (16:05 +0100)]
GUI: re-read node from service configuration

In case the CRM relocated the node.

9 years agowrite separate service_status file for each node
Dietmar Maurer [Sat, 14 Feb 2015 14:10:14 +0000 (15:10 +0100)]
write separate service_status file for each node

9 years agoimprove documenation
Dietmar Maurer [Sat, 14 Feb 2015 12:04:08 +0000 (13:04 +0100)]
improve documenation

9 years agoimprove CRM state transitions
Dietmar Maurer [Sat, 14 Feb 2015 10:52:35 +0000 (11:52 +0100)]
improve CRM state transitions

9 years agouse enabled/disabled instead of enable/disable
Dietmar Maurer [Sat, 14 Feb 2015 10:06:53 +0000 (11:06 +0100)]
use enabled/disabled instead of enable/disable

9 years agoadd basic LRM functionality
Dietmar Maurer [Sat, 14 Feb 2015 09:38:27 +0000 (10:38 +0100)]
add basic LRM functionality

9 years agoimprove documentation
Dietmar Maurer [Wed, 11 Feb 2015 10:19:44 +0000 (11:19 +0100)]
improve documentation

9 years agouse Daemon class from pve-common
Dietmar Maurer [Tue, 16 Dec 2014 10:16:15 +0000 (11:16 +0100)]
use Daemon class from pve-common

9 years agoadd restart_on_error option
Dietmar Maurer [Tue, 16 Dec 2014 09:58:32 +0000 (10:58 +0100)]
add restart_on_error option

9 years agoadd generic Daemon class
Dietmar Maurer [Mon, 15 Dec 2014 12:34:59 +0000 (13:34 +0100)]
add generic Daemon class

9 years agoimplement crm stop
Dietmar Maurer [Fri, 12 Dec 2014 12:06:13 +0000 (13:06 +0100)]
implement crm stop

9 years agofake get_ha_manager_lock fro Env::PVE2
Dietmar Maurer [Fri, 12 Dec 2014 11:59:27 +0000 (12:59 +0100)]
fake get_ha_manager_lock fro Env::PVE2