[one-users] ESX and OpenNebula

Jonathan Kelley jkelley at vm-labs.com
Thu Sep 23 06:33:38 PDT 2010


Hi Tino,

I tried this code change but it looks as though the same thing happens. It
takes a snapshot, suspends, unregisters, registers, reverts snapshot and
power on.

Thanks,
Jon


On Thu, Sep 23, 2010 at 6:35 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:

> Hi Jonathan,
>
> Ok, let's try this. In src/vmm_mad/vmware/OneVmmVmware.java, line 469, swap
> the following code:
>
> --
>                                  if(!oVM.powerOn(vmName))
>                                  {
>                                       send_message(action + " FAILURE " +
> vid_str + " Failed restoring VM in host " +
>                                                         hostName);
>                                  }
>                                  else
>                                  {
>                                      send_message(action + " SUCCESS " +
> vid_str);
>                                      oVM.disconnect();
>                                      dVM.disconnect();
>                                      continue;
>                                  }
> --
>
> with this one
>
> --
>                                       send_message(action + " SUCCESS " +
> vid_str);
>                                      oVM.disconnect();
>                                      dVM.disconnect();
>                                      continue;
> --
>
> Then compile, install and try again. Your feedback on this is most welcome.
>
> Regards,
>
> -Tino
>
>
> --
> Constantino Vázquez Blanco | dsa-research.org/tinova
> Virtualization Technology Engineer / Researcher
> OpenNebula Toolkit | opennebula.org
>
>
> On Wed, Sep 22, 2010 at 2:37 PM, Jonathan Kelley <jkelley at vm-labs.com>wrote:
>
>> Hi Tino,
>>
>> Yes if I have some running applications then I lose that state as the
>> system has been powered on as opposed to brought out of suspend.
>>
>> -Jon
>>
>>
>> On Wed, Sep 22, 2010 at 8:22 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>>
>>> Hi Jonathan,
>>>
>>> The checkpoint restoring + power on is the equivalent of resuming the
>>> VM. Do you lose the state of the VM?
>>>
>>> Regards,
>>>
>>> -Tino
>>>
>>> --
>>> Constantino Vázquez Blanco | dsa-research.org/tinova
>>> Virtualization Technology Engineer / Researcher
>>> OpenNebula Toolkit | opennebula.org
>>>
>>>
>>>
>>> On Tue, Sep 21, 2010 at 5:08 PM, Jonathan Kelley <jkelley at vm-labs.com>
>>> wrote:
>>> > Hi Tino,
>>> >
>>> > It looks as though it creates a snapshot and suspends properly but it
>>> > doesn't resume and instead reverts the snapshot and powers on.
>>> >
>>> > Power On virtual machine XPDev-33 Completed root 9/21/2010 10:58:20 AM
>>> > 9/21/2010 10:58:20 AM 9/21/2010 10:59:01 AM
>>> > Revert snapshot  XPDev-33  Completed root  9/21/2010 10:58:19 AM
>>> 9/21/2010
>>> > 10:58:19 AM 9/21/2010 10:58:20 AM
>>> > Register virtual machine intel2u1 Completed root 9/21/2010 10:58:18 AM
>>> > 9/21/2010 10:58:18 AM 9/21/2010 10:58:19 AM
>>> > Unregister virtual machine XPDev-33 Completed root 9/21/2010 10:57:26
>>> AM
>>> > 9/21/2010 10:57:26 AM 9/21/2010 10:57:26 AM
>>> > Suspend virtual machine  XPDev-33 Completed  root 9/21/2010 10:57:21 AM
>>> > 9/21/2010 10:57:21 AM 9/21/2010 10:57:25 AM
>>> > Create virtual machine snapshot  XPDev-33 Completed root 9/21/2010
>>> 10:57:19
>>> > AM 9/21/2010 10:57:19 AM 9/21/2010 10:57:21 AM
>>> > Power On virtual machine  XPDev-33 Completed root 9/21/2010 10:55:31 AM
>>> > 9/21/2010 10:55:31 AM 9/21/2010 10:56:12 AM
>>> >
>>> > From the hostd.log there are messages like the ones below:
>>> >
>>> > [2010-09-21 14:58:19.705 161CFB90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] RevertSnapshot
>>> > request queued
>>> > [2010-09-21 14:58:19.705 4CDC2B90 info
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Reverting to
>>> > snapshot: XPDev-33.checkpoint
>>> > [2010-09-21 14:58:19.705 4CDC2B90 info
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Reverting the
>>> VM
>>> > state...
>>> > [2010-09-21 14:58:19.705 4CDC2B90 info 'Libs'] SNAPSHOT:
>>> Snapshot_Revert:
>>> > '/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx' : 1
>>> > [2010-09-21 14:58:19.714 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000001-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.716 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000001-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.719 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:19.722 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:19.724 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:19.731 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.733 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.738 4CDC2B90 info 'Libs'] DUMPER: restoring
>>> checkpoint
>>> > version 7
>>> > [2010-09-21 14:58:19.754 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:19.758 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:19.759 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:19.763 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:19.767 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:19.778 4CDC2B90 info 'DiskLib'] DISKLIB-LIB   :
>>> > DiskLib_CreateChildCreateParam: grain size set to : 1
>>> > [2010-09-21 14:58:19.778 4CDC2B90 info 'DiskLib'] DISKLIB-LIB   :
>>> CREATE
>>> > CHILD: "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003.vmdk" --
>>> > vmfsSparse cowGran=1
>>> > [2010-09-21 14:58:19.783 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS_SPARSE
>>> > :ExtentCreate
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> success
>>> > [2010-09-21 14:58:19.786 4CDC2B90 info 'DiskLib'] DISKLIB-LINK  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003.vmdk" : creation
>>> > successful.
>>> > [2010-09-21 14:58:19.793 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> open
>>> > successful (17) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.803 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.803 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:19.819 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000001-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.821 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000001-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.827 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.829 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.833 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:19.836 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:19.838 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:19.844 4CDC2B90 info 'Libs'] SNAPSHOT: Deleting
>>> > '/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000001.vmdk'.
>>> > [2010-09-21 14:58:19.850 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000001-delta.vmdk" :
>>> open
>>> > successful (17) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.852 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000001-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.895 16292B90 warning 'Locale'] Requested locale ''
>>> > and/or derived locale 'en_US.utf-8' not supported on OS. Using English.
>>> > [2010-09-21 14:58:19.895 16292B90 warning 'Locale'] Requested locale ''
>>> > and/or derived locale 'en_US.utf-8' not supported on OS. Using C.
>>> > [2010-09-21 14:58:19.895 16292B90 info 'ha-eventmgr'] Event 13108 :
>>> User
>>> > root at 192.168.115.149 logged in
>>> > [2010-09-21 14:58:19.918 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.920 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.923 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:19.927 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:19.929 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:19.937 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:19.939 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:19.949 4CDC2B90 info
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Reloading
>>> config
>>> > state.
>>> > [2010-09-21 14:58:20.017 161CFB90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] No Upgrade
>>> required
>>> > [2010-09-21 14:58:20.022 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] SnapshotInfo
>>> > snapshot: displayName=XPDev-33.checkpoint UID=1 parentUID=-1
>>> isRoot=true
>>> > powerState=0
>>> > [2010-09-21 14:58:20.022 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] SnapshotInfo
>>> > snapshot: displayName=XPDev-33.checkpoint UID=2 parentUID=1
>>> isRoot=false
>>> > powerState=0
>>> > [2010-09-21 14:58:20.022 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Time to gather
>>> > Snapshot information ( read from disk,  build tree): 4 msecs.
>>> > [2010-09-21 14:58:20.022 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] No Upgrade
>>> required
>>> > [2010-09-21 14:58:20.075 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> open
>>> > successful (23) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:20.079 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:20.082 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (23) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:20.093 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:20.095 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:20.095 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx']
>>> GetDiskParentInfo:
>>> > successfully queried info
>>> > /vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003.vmdk ->
>>> XP32bit.vmdk)
>>> > [2010-09-21 14:58:20.098 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:20.101 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:20.103 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:20.103 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx']
>>> GetDiskParentInfo:
>>> > successfully queried info
>>> > /vmfs/volumes/039d6d08-038db826/one-33/XP32bit.vmdk -> none)
>>> > [2010-09-21 14:58:20.105 15C39B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:20.105 15C39B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:20.106 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Time to gather
>>> > config: 83 (msecs)
>>> > [2010-09-21 14:58:20.111 4CDC2B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Time to gather
>>> > snapshot file layout: 0 (msecs)
>>> > [2010-09-21 14:58:20.117 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:20.121 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:20.123 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:20.131 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:20.133 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:20.144 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:20.146 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:20.161 4CDC2B90 info 'Libs'] Failed to find manifest
>>> > content in extended config xml.
>>> > [2010-09-21 14:58:20.172 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:20.174 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:20.179 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:20.182 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (21) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:20.184 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:20.192 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> open
>>> > successful (21) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:20.194 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000002-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:20.201 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> open
>>> > successful (23) size = 12884901888, hd = 0. Type 8
>>> > [2010-09-21 14:58:20.205 4CDC2B90 info 'DiskLib'] DISKLIB-DSCPTR:
>>> > Unrecognized ddb entry. ID='isNativeSnapshot' Val='no'
>>> > [2010-09-21 14:58:20.208 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : open
>>> successful
>>> > (23) size = 12884901888, hd = 0. Type 3
>>> > [2010-09-21 14:58:20.212 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-000003-delta.vmdk" :
>>> closed.
>>> > [2010-09-21 14:58:20.212 4CDC2B90 info 'DiskLib'] DISKLIB-VMFS  :
>>> > "/vmfs/volumes/039d6d08-038db826/one-33/XP32bit-flat.vmdk" : closed.
>>> > [2010-09-21 14:58:20.212 4CDC2B90 info
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Initial tools
>>> > version: 1:guestToolsNeedUpgrade
>>> > [2010-09-21 14:58:20.212 4CDC2B90 info
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] State
>>> Transition
>>> > (VM_STATE_REVERT_SNAPSHOT -> VM_STATE_OFF)
>>> > [2010-09-21 14:58:20.212 4CDC2B90 verbose 'ha-host'] ModeMgr::End: op =
>>> > normal, current = normal, count = 4
>>> > [2010-09-21 14:58:20.213 4CE85B90 verbose 'HostsvcPlugin'] Received
>>> state
>>> > change for VM '832'
>>> > [2010-09-21 14:58:20.213 4CDC2B90 info 'TaskManager'] Task Completed :
>>> > haTask-832-vim.vm.Snapshot.revert-206518837 Status success
>>> > [2010-09-21 14:58:20.261 161CFB90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Time to gather
>>> > config: 47 (msecs)
>>> > [2010-09-21 14:58:20.266 16292B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Unexpected
>>> > toolsVersionStatus unknown, use offline status guestToolsNeedUpgrade
>>> > [2010-09-21 14:58:20.267 4CE85B90 verbose 'Statssvc'] Removing vm 832
>>> from
>>> > poweredOnVms list
>>> > [2010-09-21 14:58:20.316 161CFB90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Time to gather
>>> > config: 48 (msecs)
>>> > [2010-09-21 14:58:20.321 4CF07B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Unexpected
>>> > toolsVersionStatus unknown, use offline status guestToolsNeedUpgrade
>>> > [2010-09-21 14:58:20.322 161CFB90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Running status
>>> of
>>> > tools changed to: notRunning
>>> > [2010-09-21 14:58:20.322 4CC42DC0 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Unexpected
>>> > toolsVersionStatus unknown, use offline status guestToolsNeedUpgrade
>>> > [2010-09-21 14:58:20.329 4CF07B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Unexpected
>>> > toolsVersionStatus unknown, use offline status guestToolsNeedUpgrade
>>> > [2010-09-21 14:58:20.336 4CF07B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Unexpected
>>> > toolsVersionStatus unknown, use offline status guestToolsNeedUpgrade
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "784" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "784" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "784" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "800" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "816" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "816" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "816" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "816" failed.
>>> > [2010-09-21 14:58:20.338 4CF07B90 verbose 'App'] Looking up object with
>>> name
>>> > = "816" failed.
>>> > [2010-09-21 14:58:20.373 16313B90 verbose 'Locale'] Default resource
>>> used
>>> > for 'host.SystemIdentificationInfo.IdentifierType.AssetTag.label'
>>> expected
>>> > in module 'enum'.
>>> > [2010-09-21 14:58:20.373 16313B90 verbose 'Locale'] Default resource
>>> used
>>> > for 'host.SystemIdentificationInfo.IdentifierType.AssetTag.summary'
>>> expected
>>> > in module 'enum'.
>>> > [2010-09-21 14:58:20.473 4CDC2B90 verbose 'Locale'] Default resource
>>> used
>>> > for 'host.SystemIdentificationInfo.IdentifierType.AssetTag.label'
>>> expected
>>> > in module 'enum'.
>>> > [2010-09-21 14:58:20.473 4CDC2B90 verbose 'Locale'] Default resource
>>> used
>>> > for 'host.SystemIdentificationInfo.IdentifierType.AssetTag.summary'
>>> expected
>>> > in module 'enum'.
>>> > [2010-09-21 14:58:20.523 4CEC6B90 verbose 'ha-license-manager'] Load:
>>> > Loading existing file: /etc/vmware/license.cfg
>>> > [2010-09-21 14:58:20.533 4CEC6B90 info 'TaskManager'] Task Created :
>>> > haTask-832-vim.VirtualMachine.powerOn-206518845
>>> > [2010-09-21 14:58:20.533 4CEC6B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Power on
>>> request
>>> > recieved
>>> > [2010-09-21 14:58:20.533 4CEC6B90 verbose
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] Reconfigure
>>> ethernet
>>> > backing if required
>>> > [2010-09-21 14:58:20.533 4CEC6B90 info 'ha-eventmgr'] Event 13109 :
>>> XPDev-33
>>> > on host intel2u1.boston.vm-labs.com in ha-datacenter is starting
>>> > [2010-09-21 14:58:20.533 4CEC6B90 info
>>> > 'vm:/vmfs/volumes/039d6d08-038db826/one-33/one-33.vmx'] State
>>> Transition
>>> > (VM_STATE_OFF -> VM_STATE_POWERING_ON)
>>> >
>>> >
>>> > -Jon
>>> >
>>> >
>>> > On Tue, Sep 21, 2010 at 10:13 AM, Tino Vazquez <tinova at fdi.ucm.es>
>>> wrote:
>>> >>
>>> >> Hi Jonathan,
>>> >>
>>> >> I agree that the ESX drivers are not as polished as the KVM and XEN.
>>> >> We are currently working on improving them.
>>> >>
>>> >> Regarding your observation, the current ESX drivers should save a
>>> >> snapshot, suspend the VM , and then on resume it should restore the
>>> >> snapshot, thus letting the VM in the same state prior to the
>>> >> suspension. Could you check the ESX logs to see if the snapshot
>>> >> restoring is failing, or if the VM is rebooting after the snapshot
>>> >> restoring?
>>> >>
>>> >> Best regards,
>>> >>
>>> >> -Tino
>>> >>
>>> >> --
>>> >> Constantino Vázquez Blanco | dsa-research.org/tinova
>>> >> Virtualization Technology Engineer / Researcher
>>> >> OpenNebula Toolkit | opennebula.org
>>> >>
>>> >>
>>> >>
>>> >> On Tue, Sep 21, 2010 at 3:55 PM, Jonathan Kelley <jkelley at vm-labs.com
>>> >
>>> >> wrote:
>>> >> > Hello,
>>> >> >
>>> >> > It looks like the ESX controls of the VMs under OpenNebula are not
>>> quite
>>> >> > as
>>> >> > sophisticated as other hypervisors like Xen or KVM.
>>> >> >
>>> >> > It seems that my control of an ESX VM is to create, power on, power
>>> off
>>> >> > and
>>> >> > migrate. Is this correct? Suspend and Resume appear to just do a
>>> >> > shutdown
>>> >> > and power up.
>>> >> >
>>> >> > I am just curious if a user wants to save a VM but shut it down and
>>> use
>>> >> > it
>>> >> > later what the best way is for them to do it. Also how can the user
>>> >> > suspend
>>> >> > the current state and recover it quickly without a full power cycle.
>>> >> >
>>> >> > Thanks,
>>> >> > Jon
>>> >> >
>>> >> >
>>> >> > _______________________________________________
>>> >> > Users mailing list
>>> >> > Users at lists.opennebula.org
>>> >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>> >> >
>>> >> >
>>> >
>>> >
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100923/3c4de89e/attachment-0001.htm>


More information about the Users mailing list