On 11/15/2013 06:09 AM, Digimer issued this missive:
On 15/11/13 04:31, Fabio M. Di Nitto wrote:
On 11/15/2013 6:35 AM, Digimer wrote:
Hi all,
I'm trying to use 'depend' in rgmanager on rhel 6.4 to delay the
start-up of VM services until storage starts. The storage is managed as
a separate service (drbd -> clvmd -> gfs2). The 'depend_mode' is 'soft'.
I got the start-up part working, but I have a problem now with
stopping a node. If I live-migrate a VM off of the main node and then
shut down it's storage, the VM shuts down immediately after with:
rgmanager doesn´t support inter-service dependencies other than for
start action.
Two options:
1) move to pacemaker ;)
2) you need a custom rgmanager init script that on stop it will
either migrate the services out of the current node and then
stop (if the other nodes are alive), or shutdown the services
in the correct order
Fabio
Pacemaker is in the works. Will take a while though.
So 'depend' and 'depend_mode' don't work. Might be worth updating the
notes in the vm.sh meta-data.
If I read Fabio's response correctly, in rgmanager they work for
_starting_ the service, but do NOT work for _stopping_ the service.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- Overweight: When you step on your dog's tail...and it dies. -
----------------------------------------------------------------------
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster