[Openstack] [Pike] [Nova] Shutting down VMs with Cinder Volumes

fv at spots.school fv at spots.school
Fri Mar 16 00:25:38 UTC 2018


Thank you very much!

What I did in the end was simply shelve the instances. After the work 
was done on the compute nodes the VMs launched again flawlessly. I was 
surprised how easy it was!

FV

> From:
> Subject: Re: [Openstack] [Pike] [Nova] Shutting down VMs with Cinder 
> Volumes
> Date: 8 March 2018 at 23:53:31 GMT-8
> To: openstack at lists.openstack.org
> 
> 
> Hi,
> 
> My question is this: Can I shutdown the VMs, rebuild the compute nodes, 
> and then relaunch the VMs?
> 
> Why shut them down? You could just migrate (cold or live) them to other 
> compute nodes and maintain your >compute nodes one by one, this would 
> be possible without downtime.
> 
> Depending on your storage backend (if the disks and volumes do not 
> reside on the compute nodes) rebooting >instances on upgraded compute 
> nodes should be no problem at all. The configuration of the instances 
> are in >the database, and if the compute nodes don't have existing xml 
> files, they will be simply recreated.
> Before our live migration worked I had to deal with some compute node 
> issues and changed the hosting compute >node of some instances directly 
> in the database, and the instances came back up. So I don't see an 
> issue >there, always under the prerequisite that the compute 
> configuration is correct and the storage backend is >accessible by the 
> compute nodes, of course.
> 
> Hope this helps!
> 
> 
>> Zitat von Father Vlasie <fv at spots.school>:
>> 
>> Hello everyone,
>> 
>> I have a couple of compute nodes that need HD upgrades. They are 
>> running VMs with Cinder volumes.
>> 
>> My question is this: Can I shutdown the VMs, rebuild the compute 
>> nodes, and then relaunch the VMs?
>> 
>> I am thinking “yes” because the volumes are not ephemeral but I am not 
>> sure.
>> 
>> Are there any VM specific data that I need to save from the compute 
>> nodes?
>> 
>> Thank you,
>> 
>> FV
> _______________________________________________
> Mailing list: 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
> 
> 
> --
> Eugen Block                             voice   : +49-40-559 51 75
> NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
> Postfach 61 03 15
> D-22423 Hamburg                         e-mail  : eblock at nde.ag
> 
>       Vorsitzende des Aufsichtsrates: Angelika Mozdzen
>         Sitz und Registergericht: Hamburg, HRB 90934
>                 Vorstand: Jens-U. Mozdzen
>                  USt-IdNr. DE 814 013 983








More information about the Openstack mailing list