]> git.proxmox.com Git - pve-ha-manager.git/log
pve-ha-manager.git
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

9 years agocrm: allow shutdown in slave mode
Dietmar Maurer [Fri, 12 Dec 2014 11:58:14 +0000 (12:58 +0100)]
crm: allow shutdown in slave mode

9 years agocreate Env class for PVE
Dietmar Maurer [Fri, 12 Dec 2014 11:13:55 +0000 (12:13 +0100)]
create Env class for PVE

9 years agoadd more servcie by default (2 for each node)
Dietmar Maurer [Fri, 12 Dec 2014 10:32:05 +0000 (11:32 +0100)]
add more servcie by default (2 for each node)

9 years agoimplement set_service_state callback
Dietmar Maurer [Fri, 12 Dec 2014 10:26:42 +0000 (11:26 +0100)]
implement set_service_state callback

9 years agogui: display manager status
Dietmar Maurer [Fri, 12 Dec 2014 10:13:09 +0000 (11:13 +0100)]
gui: display manager status

9 years agogui: improve layout
Dietmar Maurer [Fri, 12 Dec 2014 06:57:24 +0000 (07:57 +0100)]
gui: improve layout

9 years agocode cleanup
Dietmar Maurer [Fri, 12 Dec 2014 06:22:07 +0000 (07:22 +0100)]
code cleanup

9 years agodisplay service status
Dietmar Maurer [Thu, 11 Dec 2014 16:13:58 +0000 (17:13 +0100)]
display service status

9 years agogui: add service controls
Dietmar Maurer [Thu, 11 Dec 2014 15:58:02 +0000 (16:58 +0100)]
gui: add service controls

9 years agouse uppercase for master node status
Dietmar Maurer [Thu, 11 Dec 2014 11:38:45 +0000 (12:38 +0100)]
use uppercase for master node status

9 years agocorrectly update lock time
Dietmar Maurer [Thu, 11 Dec 2014 11:30:31 +0000 (12:30 +0100)]
correctly update lock time

9 years agodisplay node status
Dietmar Maurer [Thu, 11 Dec 2014 11:09:29 +0000 (12:09 +0100)]
display node status

9 years agowrite default service config
Dietmar Maurer [Thu, 11 Dec 2014 11:08:44 +0000 (12:08 +0100)]
write default service config

9 years agogui: redirect output to log window
Dietmar Maurer [Thu, 11 Dec 2014 07:52:46 +0000 (08:52 +0100)]
gui: redirect output to log window

9 years agouse GTK for GUI
Dietmar Maurer [Wed, 10 Dec 2014 16:47:22 +0000 (17:47 +0100)]
use GTK for GUI

9 years agoadd script to start simulation
Dietmar Maurer [Wed, 10 Dec 2014 05:51:17 +0000 (06:51 +0100)]
add script to start simulation

9 years agocreate default hardware_status file (3 node cluster)
Dietmar Maurer [Tue, 9 Dec 2014 05:46:10 +0000 (06:46 +0100)]
create default hardware_status file (3 node cluster)

9 years agonew realtime ENV class
Dietmar Maurer [Sun, 7 Dec 2014 09:48:33 +0000 (10:48 +0100)]
new realtime ENV class

9 years agosplit classes
Dietmar Maurer [Sun, 7 Dec 2014 09:42:15 +0000 (10:42 +0100)]
split classes

9 years agorename Sim/Env.pm to Sim/TestEnv.pm
Dietmar Maurer [Sun, 7 Dec 2014 09:25:02 +0000 (10:25 +0100)]
rename Sim/Env.pm to Sim/TestEnv.pm

9 years agoadd check for looptime
Dietmar Maurer [Sun, 7 Dec 2014 09:15:31 +0000 (10:15 +0100)]
add check for looptime

9 years agoimprove loop simulation - use same timeouts as with real hardware
Dietmar Maurer [Sun, 7 Dec 2014 09:09:14 +0000 (10:09 +0100)]
improve loop simulation - use same timeouts as with real hardware

9 years agosplit classes
Dietmar Maurer [Sun, 7 Dec 2014 09:01:24 +0000 (10:01 +0100)]
split classes

9 years agosimulate CRM and LRM - cleanup logs
Dietmar Maurer [Sat, 6 Dec 2014 16:26:58 +0000 (17:26 +0100)]
simulate CRM and LRM - cleanup logs

9 years agoadd code for LRM (Local Resource Manager)
Dietmar Maurer [Sat, 6 Dec 2014 14:36:17 +0000 (15:36 +0100)]
add code for LRM (Local Resource Manager)

9 years agocleanup CRM state machine
Dietmar Maurer [Sat, 6 Dec 2014 14:35:47 +0000 (15:35 +0100)]
cleanup CRM state machine

9 years agouse better name for local status
Dietmar Maurer [Sat, 6 Dec 2014 10:24:06 +0000 (11:24 +0100)]
use better name for local status

9 years agocleanup CRM state machine
Dietmar Maurer [Sat, 6 Dec 2014 10:05:15 +0000 (11:05 +0100)]
cleanup CRM state machine

9 years agomove common code to separate file
Dietmar Maurer [Sat, 6 Dec 2014 10:04:20 +0000 (11:04 +0100)]
move common code to separate file

9 years agorenamed Server to CRM
Dietmar Maurer [Sat, 6 Dec 2014 07:47:24 +0000 (08:47 +0100)]
renamed Server to CRM

9 years agoadd fake binary for pve-ha-crm
Dietmar Maurer [Fri, 5 Dec 2014 16:25:57 +0000 (17:25 +0100)]
add fake binary for pve-ha-crm

9 years agorename pve-ha-manager to pve-ha-simulator
Dietmar Maurer [Fri, 5 Dec 2014 16:08:57 +0000 (17:08 +0100)]
rename pve-ha-manager to pve-ha-simulator

9 years agocontinue simulation till 500 seconds after last command
Dietmar Maurer [Fri, 5 Dec 2014 11:47:33 +0000 (12:47 +0100)]
continue simulation till 500 seconds after last command

9 years agowrite_local_status: correctly pass parameters
Dietmar Maurer [Fri, 5 Dec 2014 11:47:04 +0000 (12:47 +0100)]
write_local_status: correctly pass parameters

9 years agocorrectly handle fenced node in crm
Dietmar Maurer [Fri, 5 Dec 2014 11:30:37 +0000 (12:30 +0100)]
correctly handle fenced node in crm

9 years agoexecute 'power <node> off' when fencing, improve logging
Dietmar Maurer [Fri, 5 Dec 2014 11:01:17 +0000 (12:01 +0100)]
execute 'power <node> off' when fencing, improve logging

9 years agofix watchdog check - check all nodes after time progress
Dietmar Maurer [Fri, 5 Dec 2014 09:13:40 +0000 (10:13 +0100)]
fix watchdog check - check all nodes after time progress

9 years agouse watchdog in simulation
Dietmar Maurer [Fri, 5 Dec 2014 09:05:05 +0000 (10:05 +0100)]
use watchdog in simulation