How to autostart openstack instance or VM

Configuring Instances to Start Automatically in OpenStack


Open the nova.conf file & find resume_guests_state_on_host_boot property

   vi /etc/nova/nova.conf

# resume_guests_state_on_host_boot=false
# Set the value of the property to true:

resume_guests_state_on_host_boot=true

os-resume.png

systemctl restart openstack-nova-compute

Method 2:


You can Set the 'autostart' flag so the vm/domain is started upon boot.

You can use virsh command just type virsh on terminal & get help for all available option
To list all available domain

    virsh  

os-virsh.png

To Domain list.

    virsh domstats

os-varsh-domain.png

virsh net-list

os-rusume1.png

Here is no auto restart VM found

Set  'autostart' flag

virsh autostart instance-00000001


For autostart you need to use available KVM functionality.

Comments

Popular posts from this blog

Steps to Ubuntu Desktop 17.4 LIVE Boot Using ISO in CentOS 7

Ubuntu Desktop 17.4 LIVE Boot Using ISO in CentOS 7