Dietmar Maurer
f7ccd1b3d1
add service_state to track VM locations with SimEnv
...
Also improve state machines
2014-12-02 07:15:09 +01:00
Dietmar Maurer
59fd7207bf
add service status
2014-12-01 11:44:08 +01:00
Dietmar Maurer
8f0bb968c4
simplify manager code
2014-12-01 11:35:52 +01:00
Dietmar Maurer
d84da043bb
improve manager livecycle, add cleanup
2014-12-01 11:14:21 +01:00
Dietmar Maurer
5f601a66a8
read membership from file
2014-12-01 07:46:32 +01:00
Dietmar Maurer
553197d39a
read hostname from testdir
2014-12-01 07:32:52 +01:00
Dietmar Maurer
f501f7e3b2
add regression tester
2014-12-01 07:06:38 +01:00
Dietmar Maurer
3a1c66d6f8
add make files
2014-12-01 06:22:52 +01:00
Dietmar Maurer
c0bbd03876
introduce new HA::Manger class
2014-11-30 12:30:57 +01:00
Dietmar Maurer
7e0a726298
implement read/write manager status
2014-11-30 11:43:34 +01:00
Dietmar Maurer
158bd4293c
implement read_manager_status/write_manager_status
2014-11-30 11:16:57 +01:00
Dietmar Maurer
bb72f801f3
introduce slave mode
2014-11-30 10:46:30 +01:00
Dietmar Maurer
20ff335e81
rename startup to wait_for_quorum
2014-11-30 10:23:01 +01:00
Dietmar Maurer
0d00a7daf4
implement helper to return quorum info
2014-11-30 10:13:37 +01:00
Dietmar Maurer
2c788ec735
introduce read_local_status/write_local_status
2014-11-30 10:04:41 +01:00
Dietmar Maurer
b9e715a117
assume nodes are only if we have no proove
2014-11-29 17:01:01 +01:00
Dietmar Maurer
cbca2c55e2
implement class NodeStatus to track node status and fencing
2014-11-29 16:33:29 +01:00
Dietmar Maurer
1178b2082a
introduce new 'error' state
2014-11-29 15:50:05 +01:00
Dietmar Maurer
91dab9cefe
implement get_node_info
2014-11-29 15:40:56 +01:00
Dietmar Maurer
53a449bf4b
implement sleep_until to add constant delay
2014-11-29 14:01:50 +01:00
Dietmar Maurer
5a127c5fa9
add a way to simulate node membership
2014-11-29 13:42:08 +01:00
Dietmar Maurer
95ca65804c
initial commit
2014-11-29 12:41:17 +01:00