[one-users] VM is in PROLOG state more than 1 hour

Tino Vazquez cvazquez at c12g.com
Tue Jan 7 02:49:44 PST 2014


Hi,

Not sure what you mean by:

> it only takes about 30s to copy the disk-flat.vmdk and disk.vmdk  from the image datastore (100) to the os datastore

Judging from the log, it appears that this operation is taking a bit
less than 8 minutes. This depends on the performance of the storage
backend of the datastores (ie, the hard drives, SAN or NAS).

To achieve a speed up, if your images can be modified, you can try to
set them to 'persistent', so instead of the images being copied, they
will be linked.

Best,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
"To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at abuse at c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Thu, Jan 2, 2014 at 8:35 AM, hansz <hanshizhunjob at 126.com> wrote:
> Hi,
> i use opennebula 4.4 install on centos 6.4  and esxi5.1 and use two iscsi
> disks as the datastores.
> follow the http://opennebula.org/documentation:archives:rel4.2:vmware_ds.
> i use a disk-flat.vmdk(8G) and disk.vmdk  tar  to disk.tar.bz2 .
> then upload it through the sunstone,
> today i new install one and use ,but i found it takes a long time to create
> vm
> the log
> Tue Dec 31 14:35:53 2013 [DiM][I]: New VM state is ACTIVE.
> Tue Dec 31 14:35:53 2013 [LCM][I]: New VM state is PROLOG.
> Tue Dec 31 14:43:41 2013 [LCM][I]: New VM state is BOOT
> Tue Dec 31 14:43:41 2013 [VMM][I]: Generating deployment file:
> /var/lib/one/vms/28/deployment.0
> Tue Dec 31 14:43:42 2013 [VMM][I]: Successfully execute network driver
> operation: pre.
> Tue Dec 31 14:43:56 2013 [VMM][I]: Successfully execute virtualization
> driver operation: deploy.
> Tue Dec 31 14:43:56 2013 [VMM][I]: Successfully execute network driver
> operation: post.
> Tue Dec 31 14:43:56 2013 [LCM][I]: New VM state is RUNNING
>
> it only takes about 30s to copy the disk-flat.vmdk and disk.vmdk  from the
> image datastore (100) to the os datastore, (101)but it takes too long a time
> from  PRLOLOG to BOOT ,
> anythin wrong ?
>
> [oneadmin at opennebula ~]$ onedatastore show 100
> DATASTORE 100 INFORMATION
> ID             : 100
> NAME           : Vos
> USER           : oneadmin
> GROUP          : oneadmin
> CLUSTER        : cluster1
> TYPE           : SYSTEM
> DS_MAD         : -
> TM_MAD         : vmfs
> BASE PATH      : /vmfs/volumes/100
> DISK_TYPE      : FILE
>
> DATASTORE CAPACITY
> TOTAL:         : 199.8G
> FREE:          : 198.8G
> USED:          : 977M
> LIMIT:         : -
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : u--
> OTHER          : ---
>
> DATASTORE TEMPLATE
> BASE_PATH="/vmfs/volumes"
> BRIDGE_LIST="10.24.101.72"
> SHARED="YES"
> TM_MAD="vmfs"
> TYPE="SYSTEM_DS"
>
> IMAGES
> [oneadmin at opennebula ~]$
>
>
> [oneadmin at opennebula ~]$ onedatastore show 101
> DATASTORE 101 INFORMATION
> ID             : 101
> NAME           : Vimage
> USER           : oneadmin
> GROUP          : oneadmin
> CLUSTER        : cluster1
> TYPE           : IMAGE
> DS_MAD         : vmfs
> TM_MAD         : vmfs
> BASE PATH      : /vmfs/volumes/101
> DISK_TYPE      : FILE
>
> DATASTORE CAPACITY
> TOTAL:         : 302.3G
> FREE:          : 261.1G
> USED:          : 41G
> LIMIT:         : -
>
> PERMISSIONS
> OWNER          : um-
> GROUP          : u--
> OTHER          : ---
>
> DATASTORE TEMPLATE
> BASE_PATH="/vmfs/volumes"
> BRIDGE_LIST="10.24.101.72"
> CLONE_TARGET="SYSTEM"
> DISK_TYPE="FILE"
> DS_MAD="vmfs"
> LN_TARGET="NONE"
> TM_MAD="vmfs"
> TYPE="IMAGE_DS"
>
> IMAGES
> 0
> 1
> 2
> [oneadmin at opennebula ~]$
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list