Re: problem with rgmanager & depend / depend_mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

-- 
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster





[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux