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

Digimer lists at alteeve.ca
Wed Mar 19 01:27:04 UTC 2014


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!

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