← Back to team overview

openstack team mailing list archive

Re: [nova] how to understand the vm_states ‘SUSPENDED’ and 'STOP‘ ?

 

Hi qinglong,
suspended means Hibernation, the instance's memory and cpu states will be saved to disk, stoped means powered off,
suspended instance can be resume from the disk, and the jobs in instance will keep on running, but stopped instance will not.

2013-01-17



Wangpan



发件人:孟庆龙
发送时间:2013-01-17 11:21
主题:[Openstack] [openstack] [nova] how to understand the vm_states ‘SUSPENDED’ and 'STOP‘ ?
收件人:"openstack"<openstack@xxxxxxxxxxxxxxxxxxx>
抄送:

Hi all,

     In the nova.compute.vm_states.py
     SUSPENDED = 'suspended'  # VM is suspended to disk.
     STOPPED = 'stopped'  # VM is powered off, the disk image is still there.


     but what are the different between them ?


Tks,

Best Regards,
 

 Lawrency Meng

References