Ask Your Question
0

VM snapshot if compute down [closed]

asked 2016-01-22 03:51:29 -0500

Lucas LAMBOLEY gravatar image

Hi,

Imagine, i have 2 computes node, with name compute1 and compute2. A VM named "VM1" run in compute1. If the compute1, at instant T, go down, by accident, how can i assure the service of my VM1 ? With snapshot ? But if i use snapshot, i'm going to lose data, if the snapshot is not a snapshot of my VM at instant T. And so, the snapshot don't save the IP of VM, etc. So it's a bad idea.

With live-migration and migrate ? But if compute1 is down, how can i migrate VM1 in compute2 if compute1 is down ? Is it possible ?...

Help me please, i have no idea. Best Regards, L.L

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Lucas LAMBOLEY
close date 2016-01-22 08:44:22.600490

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-22 05:03:29 -0500

Hi,

A way to adquire high availability for instances is using a shared storage for nova and cinder backend as can be ceph, gluster or nfs.

When your compute node fails, you migrate/evacuate the instances to another host. The new host will pick up the instance data from the shared storage system.

Regards

edit flag offensive delete link more

Comments

Thanks for reply.

I see, so i need to do a shared storage of /var/lib/nova/instance with ceph, or other. And when a compute is down, i evacuate the VM, and the new compute go in ceph shared storage to recovery the data when the last compute was fine ? is it that ?

Lucas LAMBOLEY gravatar imageLucas LAMBOLEY ( 2016-01-22 07:12:57 -0500 )edit

Yes, thats the way

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-01-22 08:27:25 -0500 )edit

Ok, big thanks.

Lucas LAMBOLEY gravatar imageLucas LAMBOLEY ( 2016-01-22 08:44:09 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-22 03:51:29 -0500

Seen: 78 times

Last updated: Jan 22 '16