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

9 years agoimplement watchdog simulation
Dietmar Maurer [Fri, 5 Dec 2014 07:18:19 +0000 (08:18 +0100)]
implement watchdog simulation

9 years agouse plugin architecture instead of inheritance
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.

9 years agorename PVE/HA/SimEnv.pm -> PVE/HA/Sim/Env.pm
Dietmar Maurer [Thu, 4 Dec 2014 15:44:58 +0000 (16:44 +0100)]
rename PVE/HA/SimEnv.pm -> PVE/HA/Sim/Env.pm

9 years agorename PVE/HA/SimCluster.pm -> PVE/HA/Sim/Hardware.pm
Dietmar Maurer [Thu, 4 Dec 2014 15:39:22 +0000 (16:39 +0100)]
rename PVE/HA/SimCluster.pm -> PVE/HA/Sim/Hardware.pm

9 years agocleanup locking code, fix bug in quorate()
Dietmar Maurer [Thu, 4 Dec 2014 13:01:07 +0000 (14:01 +0100)]
cleanup locking code, fix bug in quorate()

9 years agoSimCluster: setup status dir inside new
Dietmar Maurer [Thu, 4 Dec 2014 11:08:15 +0000 (12:08 +0100)]
SimCluster: setup status dir inside new

9 years agoimprove log format
Dietmar Maurer [Thu, 4 Dec 2014 10:42:21 +0000 (11:42 +0100)]
improve log format

9 years agofix loop_count
Dietmar Maurer [Thu, 4 Dec 2014 10:33:21 +0000 (11:33 +0100)]
fix loop_count

9 years agobetter power on/off simulation
Dietmar Maurer [Thu, 4 Dec 2014 10:25:51 +0000 (11:25 +0100)]
better power on/off simulation

9 years agoSimCluster: new class to simulate a cluster
Dietmar Maurer [Thu, 4 Dec 2014 10:11:42 +0000 (11:11 +0100)]
SimCluster: new class to simulate a cluster

9 years agotry to simulate all nodes
Dietmar Maurer [Thu, 4 Dec 2014 09:14:25 +0000 (10:14 +0100)]
try to simulate all nodes

9 years agosplit out server code
Dietmar Maurer [Thu, 4 Dec 2014 08:27:51 +0000 (09:27 +0100)]
split out server code

9 years agouse command list to simulate membership
Dietmar Maurer [Wed, 3 Dec 2014 17:01:10 +0000 (18:01 +0100)]
use command list to simulate membership

9 years agoadd check for undefined value
Dietmar Maurer [Wed, 3 Dec 2014 15:25:04 +0000 (16:25 +0100)]
add check for undefined value

9 years agoimplement self fencing
Dietmar Maurer [Wed, 3 Dec 2014 15:18:50 +0000 (16:18 +0100)]
implement self fencing

9 years agosimulate cluster locking
Dietmar Maurer [Wed, 3 Dec 2014 06:46:46 +0000 (07:46 +0100)]
simulate cluster locking

9 years agoadd option --nodiff
Dietmar Maurer [Wed, 3 Dec 2014 06:18:31 +0000 (07:18 +0100)]
add option --nodiff

9 years agoupdate docu
Dietmar Maurer [Wed, 3 Dec 2014 05:58:38 +0000 (06:58 +0100)]
update docu

9 years agouse sparate method to change service state
Dietmar Maurer [Tue, 2 Dec 2014 18:47:02 +0000 (19:47 +0100)]
use sparate method to change service state

So that we get nice log messages

9 years agoadd service_state to track VM locations with SimEnv
Dietmar Maurer [Tue, 2 Dec 2014 06:12:12 +0000 (07:12 +0100)]
add service_state to track VM locations with SimEnv

Also improve state machines

9 years agoadd service status
Dietmar Maurer [Mon, 1 Dec 2014 10:44:08 +0000 (11:44 +0100)]
add service status

9 years agosimplify manager code
Dietmar Maurer [Mon, 1 Dec 2014 10:31:36 +0000 (11:31 +0100)]
simplify manager code

9 years agoimprove manager livecycle, add cleanup
Dietmar Maurer [Mon, 1 Dec 2014 10:14:21 +0000 (11:14 +0100)]
improve manager livecycle, add cleanup

9 years agoread membership from file
Dietmar Maurer [Mon, 1 Dec 2014 06:46:32 +0000 (07:46 +0100)]
read membership from file

9 years agoread hostname from testdir
Dietmar Maurer [Mon, 1 Dec 2014 06:32:52 +0000 (07:32 +0100)]
read hostname from testdir

9 years agoadd regression tester
Dietmar Maurer [Mon, 1 Dec 2014 06:06:38 +0000 (07:06 +0100)]
add regression tester

9 years agoadd make files
Dietmar Maurer [Mon, 1 Dec 2014 05:22:52 +0000 (06:22 +0100)]
add make files

9 years agointroduce new HA::Manger class
Dietmar Maurer [Sun, 30 Nov 2014 11:30:57 +0000 (12:30 +0100)]
introduce new HA::Manger class

9 years agoimplement read/write manager status
Dietmar Maurer [Sun, 30 Nov 2014 10:38:55 +0000 (11:38 +0100)]
implement read/write manager status

9 years agoimplement read_manager_status/write_manager_status
Dietmar Maurer [Sun, 30 Nov 2014 10:16:57 +0000 (11:16 +0100)]
implement read_manager_status/write_manager_status

9 years agointroduce slave mode
Dietmar Maurer [Sun, 30 Nov 2014 09:42:59 +0000 (10:42 +0100)]
introduce slave mode

9 years agorename startup to wait_for_quorum
Dietmar Maurer [Sun, 30 Nov 2014 09:23:01 +0000 (10:23 +0100)]
rename startup to wait_for_quorum

9 years agoimplement helper to return quorum info
Dietmar Maurer [Sun, 30 Nov 2014 09:13:37 +0000 (10:13 +0100)]
implement helper to return quorum info

9 years agointroduce read_local_status/write_local_status
Dietmar Maurer [Sun, 30 Nov 2014 09:04:41 +0000 (10:04 +0100)]
introduce read_local_status/write_local_status

9 years agoassume nodes are only if we have no proove
Dietmar Maurer [Sat, 29 Nov 2014 16:01:01 +0000 (17:01 +0100)]
assume nodes are only if we have no proove

9 years agoimplement class NodeStatus to track node status and fencing
Dietmar Maurer [Sat, 29 Nov 2014 15:33:29 +0000 (16:33 +0100)]
implement class NodeStatus to track node status and fencing

9 years agointroduce new 'error' state
Dietmar Maurer [Sat, 29 Nov 2014 14:50:05 +0000 (15:50 +0100)]
introduce new 'error' state

9 years agoimplement get_node_info
Dietmar Maurer [Sat, 29 Nov 2014 14:40:56 +0000 (15:40 +0100)]
implement get_node_info

9 years agoimplement sleep_until to add constant delay
Dietmar Maurer [Sat, 29 Nov 2014 13:01:50 +0000 (14:01 +0100)]
implement sleep_until to add constant delay

9 years agoadd a way to simulate node membership
Dietmar Maurer [Sat, 29 Nov 2014 12:42:08 +0000 (13:42 +0100)]
add a way to simulate node membership

9 years agoinitial commit
Dietmar Maurer [Sat, 29 Nov 2014 10:14:59 +0000 (11:14 +0100)]
initial commit