If you want to ensure that all of the instances on a Nova compute node resume their state (for example, start automatically) each time the compute node boots or restarts after a power outage, consider modifying the settings described in this topic.
To configure instances to start automatically on a Nova compute node:
Locate the resume_guests_state_on_host_boot property and remove the hashtag (#) at the beginning of the line to uncomment it:
# Whether to start guests that were running before the host
# rebooted (boolean value)
#resume_guests_state_on_host_boot=false
Set the value of the property to true:
resume_guests_state_on_host_boot=true
If you want to ensure that instances shut down instead of suspending upon shutdown, do the following:
Locate the ON_SHUTDOWN property and change the value from suspend to shutdown, as follows:
ON_SHUTDOWN=shutdown
Execute the following commands to restart services and apply the changes:
# service libvirtd restart # service openstack-nova-compute restart
Product Support and Downloads
|
About Stratus
|
Product Documentation (PDF Format)
|
About Help
|