Dietmar Maurer
71bf7e6b96
add note about two_node cluster option
2015-02-21 10:26:38 +01:00
Dietmar Maurer
76737af561
implement watchdog - first try
2015-02-20 11:45:37 +01:00
Dietmar Maurer
007fcc8b5c
implement PVE cfs lock
2015-02-20 06:17:55 +01:00
Dietmar Maurer
3e1f04bdaf
fix typo
2015-02-19 09:34:26 +01:00
Dietmar Maurer
79980b621a
add missing control file for simulator package
2015-02-19 09:33:33 +01:00
Dietmar Maurer
460f26d3de
add correct lib path for pve-ha-simulator
2015-02-19 09:12:36 +01:00
Dietmar Maurer
c0a900cc65
split simulator into separate package
2015-02-19 08:59:01 +01:00
Dietmar Maurer
65a280287f
depend on pve-cluster an newer perl version
2015-02-18 11:40:35 +01:00
Dietmar Maurer
6cbcb5f7f5
create debian package
2015-02-18 11:36:19 +01:00
Dietmar Maurer
07d29067ab
add LRM daemon
2015-02-18 11:01:05 +01:00
Dietmar Maurer
8aaa0e3646
fence offline nodes if state is migrate or relocate
2015-02-18 10:30:43 +01:00
Dietmar Maurer
0df5b3ddac
fence offline nodes if state is request_stop
2015-02-18 10:17:54 +01:00
Dietmar Maurer
270d440658
select_service_node: try to distribute service to all nodes
2015-02-18 10:01:40 +01:00
Dietmar Maurer
7a294ad409
fix prefer_node3 test group
2015-02-18 09:22:51 +01:00
Dietmar Maurer
abc920b4d6
implement ha group - first try
2015-02-17 13:18:33 +01:00
Dietmar Maurer
6801c1de35
add parser for ha groups (similar to failover domains)
2015-02-17 08:47:54 +01:00
Dietmar Maurer
23f9db005a
improve lrm logs
2015-02-16 11:54:15 +01:00
Dietmar Maurer
113747463d
set window size to 1024x768 (XGA)
2015-02-16 11:51:26 +01:00
Dietmar Maurer
b0fdf86a04
implement relocate
...
Basically the same as 'migrate'. It is up to the LRM to stop the resource
and move service location.
2015-02-16 11:15:32 +01:00
Dietmar Maurer
ee24bcb718
gui: add relocate checkbox
2015-02-16 10:50:32 +01:00
Dietmar Maurer
2d7a098397
remove crm 'move' state
2015-02-16 10:31:41 +01:00
Dietmar Maurer
e4ffb2996c
improve crm state transitions
2015-02-16 10:26:17 +01:00
Dietmar Maurer
4e9715948d
gui: implement migrate dialog
2015-02-16 10:04:34 +01:00
Dietmar Maurer
e88469bac5
implement online migration - first try
2015-02-16 08:40:01 +01:00
Dietmar Maurer
94b7ebe241
crm: implement migrate in stopped state
2015-02-16 07:35:42 +01:00
Dietmar Maurer
ff6f1c5c8c
fixup service loaction after fencing nodes with active migration
2015-02-16 07:01:41 +01:00
Dietmar Maurer
aa98a844e5
crm: read new crm commands and save them into crm master status
2015-02-15 16:46:11 +01:00
Dietmar Maurer
3b996922a6
implement a way to send commands to the CRM master
2015-02-15 16:45:34 +01:00
Dietmar Maurer
0f70400dad
improve LRM log messages
2015-02-15 10:24:56 +01:00
Dietmar Maurer
a875fbe8b4
code cleanup: split out next_state functions
2015-02-15 10:08:22 +01:00
Dietmar Maurer
332170bd14
crm: read lrm status from active node only
2015-02-15 09:47:30 +01:00
Dietmar Maurer
5226f79049
GUI: re-read node from service configuration
...
In case the CRM relocated the node.
2015-02-14 16:05:33 +01:00
Dietmar Maurer
8456bde235
write separate service_status file for each node
2015-02-14 15:10:14 +01:00
Dietmar Maurer
a821d99e20
improve documenation
2015-02-14 13:04:08 +01:00
Dietmar Maurer
618fbeda14
improve CRM state transitions
2015-02-14 11:52:35 +01:00
Dietmar Maurer
238a01a9a0
use enabled/disabled instead of enable/disable
2015-02-14 11:06:53 +01:00
Dietmar Maurer
c4a221bcff
add basic LRM functionality
2015-02-14 10:38:27 +01:00
Dietmar Maurer
b101fa0ce9
improve documentation
2015-02-11 13:19:51 +01:00
Dietmar Maurer
0c2c07d4a7
use Daemon class from pve-common
2015-01-02 10:05:43 +01:00
Dietmar Maurer
a7238aaa24
add restart_on_error option
2014-12-16 10:58:32 +01:00
Dietmar Maurer
378af51891
add generic Daemon class
2014-12-15 13:34:59 +01:00
Dietmar Maurer
abd854c824
implement crm stop
2014-12-12 13:06:13 +01:00
Dietmar Maurer
4d24e7db64
fake get_ha_manager_lock fro Env::PVE2
2014-12-12 12:59:27 +01:00
Dietmar Maurer
1c7886c2c3
crm: allow shutdown in slave mode
2014-12-12 12:58:14 +01:00
Dietmar Maurer
714a40160b
create Env class for PVE
2014-12-12 12:37:38 +01:00
Dietmar Maurer
463507031e
add more servcie by default (2 for each node)
2014-12-12 11:32:05 +01:00
Dietmar Maurer
1e132215a7
implement set_service_state callback
2014-12-12 11:26:42 +01:00
Dietmar Maurer
2f604aef99
gui: display manager status
2014-12-12 11:13:09 +01:00
Dietmar Maurer
6770a575b4
gui: improve layout
2014-12-12 07:57:24 +01:00
Dietmar Maurer
8d03203ce2
code cleanup
2014-12-12 07:22:07 +01:00