Re: [one-users] move VM to different host

2014-12-01 Thread Karsten Nielsen

Thanks for that update.

We will try that.

- Karsten

On 19/11/14 10:25, Ruben S. Montero wrote:
If you are using 4.10, we do support migrations when a VM is in 
unknown (i.e. hypervisor is down) provided there is a shared storage. 
Next release (4.12) will include the ability to migrate in poweroff.


Meanwhile a work around, (there are two actually fake a hypervisor 
failure to get the VM in unknown and use the previous feature or fake 
a migration failure).


I've not tested this myself so watch out:

1.- Update the kvm migrate script by adding at the very beginning 
something like:


sleep 600
return

We want to get the VM in MIGRATE state for a while

2.- Manually move the VM: Go to the hypervisor, and shut it down (i.e. 
virsh...); move the config files (those in ssh system datastore); got 
to the other hypervisor and manually create the VM.


3.- use onevm recover vmid success, the VM should become running in 
the new host. (The sleep'ed migrate operation should be ignored as the 
VM would be RUNNING)


4.- Undo the changes in the migrate script.

Good Luck

On Wed Nov 19 2014 at 9:54:52 AM Karsten Nielsen kars...@unity3d.com 
mailto:kars...@unity3d.com wrote:


HI,

Is there a way to move a VM from one host to an other when
migrate/live
migrate fails.

We are using ceph as backend and have ssh systemstore.

A process like
1 poweroff VM
2 Move the configs
3 -- I guess that we should do some manual db changes --
4 poweron machine on new host

Any comments would be great.

Thanks,
- Karsten
___
Users mailing list
Users@lists.opennebula.org mailto:Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula lost ip addressess.

2014-12-01 Thread Daniel Dehennin
Hello,

Leszek Master keks...@gmail.com writes:

 Today i've had lack of power, so long that my UPS batteries died, and so
 the servers. After rebooting everything i noticed that 0 of my VM's started
 automatically. So here's the first question, is there any way to manage
 autostart vm after infrastructure rebooting?

For information, there is an opened issue for this: #1290[1].

 The second thing is that when i started my vm's the ip addresses got messed
 up. How can it happen ? How to secure my infrastructure from changing ip
 addressed?

I'll let the OpenNebula guys answer this part ;-)

Regards.

Footnotes: 
[1]  http://dev.opennebula.org/issues/1290

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] search with data from custom fields

2014-12-01 Thread vincent

Hi,

I wondered if it was possible to search for instances based on
data entered in extra or custom fields.

We generate a random name for the instance which makes it harder
to find an instance. We do however enter something in the description
field. Is it possible to do a query bqsed on this?

It would also be nice to have a query field where you can do a search
with multiple factors like give all centos7 machines with 4GB RAM.

Thanks,
Vincent
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org