[one-users] Migration Problem
Ruben S. Montero
rsmontero at opennebula.org
Fri Aug 23 16:05:16 PDT 2013
As suggested by Oliver in this case is better to save disk.0 and
re-register it again. You could boot it at kvm2 with virsh deploy
deployment.0 but this is only recommended if OpenNebula expects the VM to
be in kvm2, if not it is better to recover kvm1 and recover (virsh deploy)
it there.
Cheers
On Thu, Jul 4, 2013 at 3:00 PM, Umar Draz <umar.draz at penguinitcs.com> wrote:
> Hi olivier
>
> I had installed that vm through .iso and used VD hd during installation,
> here is my template of vm
>
> CPU="2"
> DISK=[
> DEV_PREFIX="vd",
> FORMAT="ext4",
> SIZE="102400",
> TYPE="fs" ]
> DISK=[
> IMAGE_ID="2" ]
> GRAPHICS=[
> LISTEN="0.0.0.0",
> TYPE="VNC" ]
> MEMORY="1024"
> NIC=[
> MODEL="virtio",
> NETWORK_ID="2" ]
> OS=[
> ARCH="x86_64" ]
>
> The virtual machine is saved here /vms/cloud/datastores/0/26/
>
> -rw-r--r-- 1 oneadmin cloud 906 Jul 4 07:09 deployment.0
> -rw-r--r-- 1 oneadmin cloud 107374182401 Jul 4 07:30 disk.0
> -rw-r--r-- 1 oneadmin cloud 735051776 Jul 4 07:09 disk.1
> lrwxrwxrwx 1 oneadmin cloud 41 Jul 4 07:09 disk.1.iso ->
> /var/cloud/one/var/datastores/0/26/disk.1
>
>
> and /vms/cloud/datastores/ is also available on kvm2, now please help me
> how I can boot this vm on kvm2
>
> Br.
>
> Umar
>
>
> On Thu, Jul 4, 2013 at 5:52 PM, Olivier Sallou <olivier.sallou at irisa.fr>wrote:
>
>>
>> On 07/04/2013 02:43 PM, Umar Draz wrote:
>>
>> Hi,
>>
>> I have 2 compute nodes (kvm1 and kvm2), both have connected with shared
>> storage. I have 2 virtual machines running.
>>
>> 1 virtual machine on kvm1 and 1 virtual machine on kvm2
>>
>> now my kvm1 machine has been crashed, how I can boot kvm1's virtual
>> machine on kvm2, I had tried alot using Migrate, Migrate-Live but its not
>> working.
>>
>> If your server crashed, you can't migrate a VM as far as I know. Open
>> Nebula will fails to "stop" the process on crashed server.
>> Usually, a crashed server leads to a VM lost. Your disk may even be
>> corrupted.
>>
>> If what you need is high availability, you would need a high availability
>> supported app with load balancing or failover mechanisms.
>>
>> IF you really need to restore this VM, I suppose you can copy the saved
>> state of the VM disk and use it as a new image.
>>
>> Olivier
>>
>>
>>
>> Please anybody help me how I can do this?
>>
>> Br.
>>
>> Umar
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>> --
>> Olivier Sallou
>> IRISA / University of Rennes 1
>> Campus de Beaulieu, 35000 RENNES - FRANCE
>> Tel: 02.99.84.71.95
>>
>> gpg key id: 4096R/326D8438 (keyring.debian.org)
>> Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130824/8d3997e0/attachment.htm>
More information about the Users
mailing list