]>
git.proxmox.com Git - pve-ha-manager.git/log
Dietmar Maurer [Mon, 9 Mar 2015 09:47:19 +0000 (10:47 +0100)]
restructure directory layout for dpkg-buildpackage
Dietmar Maurer [Mon, 9 Mar 2015 08:58:16 +0000 (09:58 +0100)]
fixup watchdog to cleanly compile with systemd
Dietmar Maurer [Mon, 9 Mar 2015 08:35:43 +0000 (09:35 +0100)]
rename watchdog.c to watchdog-mux.c
Dietmar Maurer [Mon, 9 Mar 2015 08:34:21 +0000 (09:34 +0100)]
make simulator package architecture independent
Dietmar Maurer [Mon, 9 Mar 2015 08:30:20 +0000 (09:30 +0100)]
add missing Makefile
Dietmar Maurer [Mon, 9 Mar 2015 08:26:37 +0000 (09:26 +0100)]
make watchdog systemd aware
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.
Dietmar Maurer [Sat, 21 Feb 2015 12:42:06 +0000 (13:42 +0100)]
add thoughts about watchdog implementation
Dietmar Maurer [Sat, 21 Feb 2015 09:26:38 +0000 (10:26 +0100)]
add note about two_node cluster option
Dietmar Maurer [Fri, 20 Feb 2015 10:45:37 +0000 (11:45 +0100)]
implement watchdog - first try
Dietmar Maurer [Fri, 20 Feb 2015 05:17:55 +0000 (06:17 +0100)]
implement PVE cfs lock
Dietmar Maurer [Thu, 19 Feb 2015 08:34:26 +0000 (09:34 +0100)]
fix typo
Dietmar Maurer [Thu, 19 Feb 2015 08:33:33 +0000 (09:33 +0100)]
add missing control file for simulator package
Dietmar Maurer [Thu, 19 Feb 2015 08:12:36 +0000 (09:12 +0100)]
add correct lib path for pve-ha-simulator
Dietmar Maurer [Thu, 19 Feb 2015 07:59:01 +0000 (08:59 +0100)]
split simulator into separate package
Dietmar Maurer [Wed, 18 Feb 2015 10:40:35 +0000 (11:40 +0100)]
depend on pve-cluster an newer perl version
Dietmar Maurer [Wed, 18 Feb 2015 10:30:48 +0000 (11:30 +0100)]
create debian package
Dietmar Maurer [Wed, 18 Feb 2015 10:01:05 +0000 (11:01 +0100)]
add LRM daemon
Dietmar Maurer [Wed, 18 Feb 2015 09:30:43 +0000 (10:30 +0100)]
fence offline nodes if state is migrate or relocate
Dietmar Maurer [Wed, 18 Feb 2015 09:17:54 +0000 (10:17 +0100)]
fence offline nodes if state is request_stop
Dietmar Maurer [Wed, 18 Feb 2015 09:01:40 +0000 (10:01 +0100)]
select_service_node: try to distribute service to all nodes
Dietmar Maurer [Wed, 18 Feb 2015 08:22:51 +0000 (09:22 +0100)]
fix prefer_node3 test group
Dietmar Maurer [Tue, 17 Feb 2015 11:33:30 +0000 (12:33 +0100)]
implement ha group - first try
Dietmar Maurer [Tue, 17 Feb 2015 07:47:54 +0000 (08:47 +0100)]
add parser for ha groups (similar to failover domains)
Dietmar Maurer [Mon, 16 Feb 2015 10:54:15 +0000 (11:54 +0100)]
improve lrm logs
Dietmar Maurer [Mon, 16 Feb 2015 10:49:23 +0000 (11:49 +0100)]
set window size to 1024x768 (XGA)
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.
Dietmar Maurer [Mon, 16 Feb 2015 09:50:32 +0000 (10:50 +0100)]
gui: add relocate checkbox
Dietmar Maurer [Mon, 16 Feb 2015 09:31:41 +0000 (10:31 +0100)]
remove crm 'move' state
Dietmar Maurer [Mon, 16 Feb 2015 09:26:17 +0000 (10:26 +0100)]
improve crm state transitions
Dietmar Maurer [Mon, 16 Feb 2015 09:04:34 +0000 (10:04 +0100)]
gui: implement migrate dialog
Dietmar Maurer [Mon, 16 Feb 2015 07:26:11 +0000 (08:26 +0100)]
implement online migration - first try
Dietmar Maurer [Mon, 16 Feb 2015 06:35:42 +0000 (07:35 +0100)]
crm: implement migrate in stopped state
Dietmar Maurer [Mon, 16 Feb 2015 06:01:41 +0000 (07:01 +0100)]
fixup service loaction after fencing nodes with active migration
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
Dietmar Maurer [Sun, 15 Feb 2015 15:02:56 +0000 (16:02 +0100)]
implement a way to send commands to the CRM master
Dietmar Maurer [Sun, 15 Feb 2015 09:24:56 +0000 (10:24 +0100)]
improve LRM log messages
Dietmar Maurer [Sun, 15 Feb 2015 09:08:22 +0000 (10:08 +0100)]
code cleanup: split out next_state functions
Dietmar Maurer [Sun, 15 Feb 2015 08:47:30 +0000 (09:47 +0100)]
crm: read lrm status from active node only
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.
Dietmar Maurer [Sat, 14 Feb 2015 14:10:14 +0000 (15:10 +0100)]
write separate service_status file for each node
Dietmar Maurer [Sat, 14 Feb 2015 12:04:08 +0000 (13:04 +0100)]
improve documenation
Dietmar Maurer [Sat, 14 Feb 2015 10:52:35 +0000 (11:52 +0100)]
improve CRM state transitions
Dietmar Maurer [Sat, 14 Feb 2015 10:06:53 +0000 (11:06 +0100)]
use enabled/disabled instead of enable/disable
Dietmar Maurer [Sat, 14 Feb 2015 09:38:27 +0000 (10:38 +0100)]
add basic LRM functionality
Dietmar Maurer [Wed, 11 Feb 2015 10:19:44 +0000 (11:19 +0100)]
improve documentation
Dietmar Maurer [Tue, 16 Dec 2014 10:16:15 +0000 (11:16 +0100)]
use Daemon class from pve-common
Dietmar Maurer [Tue, 16 Dec 2014 09:58:32 +0000 (10:58 +0100)]
add restart_on_error option
Dietmar Maurer [Mon, 15 Dec 2014 12:34:59 +0000 (13:34 +0100)]
add generic Daemon class
Dietmar Maurer [Fri, 12 Dec 2014 12:06:13 +0000 (13:06 +0100)]
implement crm stop
Dietmar Maurer [Fri, 12 Dec 2014 11:59:27 +0000 (12:59 +0100)]
fake get_ha_manager_lock fro Env::PVE2
Dietmar Maurer [Fri, 12 Dec 2014 11:58:14 +0000 (12:58 +0100)]
crm: allow shutdown in slave mode
Dietmar Maurer [Fri, 12 Dec 2014 11:13:55 +0000 (12:13 +0100)]
create Env class for PVE
Dietmar Maurer [Fri, 12 Dec 2014 10:32:05 +0000 (11:32 +0100)]
add more servcie by default (2 for each node)
Dietmar Maurer [Fri, 12 Dec 2014 10:26:42 +0000 (11:26 +0100)]
implement set_service_state callback
Dietmar Maurer [Fri, 12 Dec 2014 10:13:09 +0000 (11:13 +0100)]
gui: display manager status
Dietmar Maurer [Fri, 12 Dec 2014 06:57:24 +0000 (07:57 +0100)]
gui: improve layout
Dietmar Maurer [Fri, 12 Dec 2014 06:22:07 +0000 (07:22 +0100)]
code cleanup
Dietmar Maurer [Thu, 11 Dec 2014 16:13:58 +0000 (17:13 +0100)]
display service status
Dietmar Maurer [Thu, 11 Dec 2014 15:58:02 +0000 (16:58 +0100)]
gui: add service controls
Dietmar Maurer [Thu, 11 Dec 2014 11:38:45 +0000 (12:38 +0100)]
use uppercase for master node status
Dietmar Maurer [Thu, 11 Dec 2014 11:30:31 +0000 (12:30 +0100)]
correctly update lock time
Dietmar Maurer [Thu, 11 Dec 2014 11:09:29 +0000 (12:09 +0100)]
display node status
Dietmar Maurer [Thu, 11 Dec 2014 11:08:44 +0000 (12:08 +0100)]
write default service config
Dietmar Maurer [Thu, 11 Dec 2014 07:52:46 +0000 (08:52 +0100)]
gui: redirect output to log window
Dietmar Maurer [Wed, 10 Dec 2014 16:47:22 +0000 (17:47 +0100)]
use GTK for GUI
Dietmar Maurer [Wed, 10 Dec 2014 05:51:17 +0000 (06:51 +0100)]
add script to start simulation
Dietmar Maurer [Tue, 9 Dec 2014 05:46:10 +0000 (06:46 +0100)]
create default hardware_status file (3 node cluster)
Dietmar Maurer [Sun, 7 Dec 2014 09:48:33 +0000 (10:48 +0100)]
new realtime ENV class
Dietmar Maurer [Sun, 7 Dec 2014 09:42:15 +0000 (10:42 +0100)]
split classes
Dietmar Maurer [Sun, 7 Dec 2014 09:25:02 +0000 (10:25 +0100)]
rename Sim/Env.pm to Sim/TestEnv.pm
Dietmar Maurer [Sun, 7 Dec 2014 09:15:31 +0000 (10:15 +0100)]
add check for looptime
Dietmar Maurer [Sun, 7 Dec 2014 09:09:14 +0000 (10:09 +0100)]
improve loop simulation - use same timeouts as with real hardware
Dietmar Maurer [Sun, 7 Dec 2014 09:01:24 +0000 (10:01 +0100)]
split classes
Dietmar Maurer [Sat, 6 Dec 2014 16:26:58 +0000 (17:26 +0100)]
simulate CRM and LRM - cleanup logs
Dietmar Maurer [Sat, 6 Dec 2014 14:36:17 +0000 (15:36 +0100)]
add code for LRM (Local Resource Manager)
Dietmar Maurer [Sat, 6 Dec 2014 14:35:47 +0000 (15:35 +0100)]
cleanup CRM state machine
Dietmar Maurer [Sat, 6 Dec 2014 10:24:06 +0000 (11:24 +0100)]
use better name for local status
Dietmar Maurer [Sat, 6 Dec 2014 10:05:15 +0000 (11:05 +0100)]
cleanup CRM state machine
Dietmar Maurer [Sat, 6 Dec 2014 10:04:20 +0000 (11:04 +0100)]
move common code to separate file
Dietmar Maurer [Sat, 6 Dec 2014 07:47:24 +0000 (08:47 +0100)]
renamed Server to CRM
Dietmar Maurer [Fri, 5 Dec 2014 16:25:57 +0000 (17:25 +0100)]
add fake binary for pve-ha-crm
Dietmar Maurer [Fri, 5 Dec 2014 16:08:57 +0000 (17:08 +0100)]
rename pve-ha-manager to pve-ha-simulator
Dietmar Maurer [Fri, 5 Dec 2014 11:47:33 +0000 (12:47 +0100)]
continue simulation till 500 seconds after last command
Dietmar Maurer [Fri, 5 Dec 2014 11:47:04 +0000 (12:47 +0100)]
write_local_status: correctly pass parameters
Dietmar Maurer [Fri, 5 Dec 2014 11:30:37 +0000 (12:30 +0100)]
correctly handle fenced node in crm
Dietmar Maurer [Fri, 5 Dec 2014 11:01:17 +0000 (12:01 +0100)]
execute 'power <node> off' when fencing, improve logging
Dietmar Maurer [Fri, 5 Dec 2014 09:13:40 +0000 (10:13 +0100)]
fix watchdog check - check all nodes after time progress
Dietmar Maurer [Fri, 5 Dec 2014 09:05:05 +0000 (10:05 +0100)]
use watchdog in simulation
Dietmar Maurer [Fri, 5 Dec 2014 07:18:19 +0000 (08:18 +0100)]
implement watchdog simulation
Dietmar Maurer [Fri, 5 Dec 2014 05:42:20 +0000 (06:42 +0100)]
use plugin architecture instead of inheritance
So that we have a well defined interface in PVE::HA::Env.
Dietmar Maurer [Thu, 4 Dec 2014 15:44:58 +0000 (16:44 +0100)]
rename PVE/HA/SimEnv.pm -> PVE/HA/Sim/Env.pm
Dietmar Maurer [Thu, 4 Dec 2014 15:39:22 +0000 (16:39 +0100)]
rename PVE/HA/SimCluster.pm -> PVE/HA/Sim/Hardware.pm
Dietmar Maurer [Thu, 4 Dec 2014 13:01:07 +0000 (14:01 +0100)]
cleanup locking code, fix bug in quorate()
Dietmar Maurer [Thu, 4 Dec 2014 11:08:15 +0000 (12:08 +0100)]
SimCluster: setup status dir inside new
Dietmar Maurer [Thu, 4 Dec 2014 10:42:21 +0000 (11:42 +0100)]
improve log format
Dietmar Maurer [Thu, 4 Dec 2014 10:33:21 +0000 (11:33 +0100)]
fix loop_count
Dietmar Maurer [Thu, 4 Dec 2014 10:25:51 +0000 (11:25 +0100)]
better power on/off simulation
Dietmar Maurer [Thu, 4 Dec 2014 10:11:42 +0000 (11:11 +0100)]
SimCluster: new class to simulate a cluster
Dietmar Maurer [Thu, 4 Dec 2014 09:14:25 +0000 (10:14 +0100)]
try to simulate all nodes