[Linux-cluster] Adding a stop timeout to a VM service using 'ccs'

Digimer lists at alteeve.ca
Thu Mar 20 20:06:14 UTC 2014


On 20/03/14 03:31 PM, Digimer wrote:
> On 18/03/14 09:27 PM, Digimer wrote:
>> Hi all,
>>
>>    I would like to tell rgmanager to give more time for VMs to stop. I
>> want this:
>>
>> <vm name="vm01-win2008" domain="primary_n01" autostart="0"
>> path="/shared/definitions/" exclusive="0" recovery="restart"
>> max_restarts="2" restart_expire_time="600">
>>    <action name="stop" timeout="10m" />
>> </vm>
>>
>> I already use ccs to create the entry:
>>
>> <vm name="vm01-win2008" domain="primary_n01" autostart="0"
>> path="/shared/definitions/" exclusive="0" recovery="restart"
>> max_restarts="2" restart_expire_time="600"/>
>>
>> via:
>>
>> ccs -h localhost --activate --sync --password "secret" \
>>   --addvm vm01-win2008 \
>>   --domain="primary_n01" \
>>   path="/shared/definitions/" \
>>   autostart="0" \
>>   exclusive="0" \
>>   recovery="restart" \
>>   max_restarts="2" \
>>   restart_expire_time="600"
>>
>> I'm hoping it's a simple additional switch. :)
>>
>> Thanks!
>
> As per the request on #linux-cluster, I have opened a rhbz for this:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1079032

Split the rgmanager section out:

https://bugzilla.redhat.com/show_bug.cgi?id=1079039

-- 
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?




More information about the Linux-cluster mailing list