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

2014-01-07 Thread Tino Vazquez
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 ab...@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  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@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@opennebula ~]$
>
>
> [oneadmin@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@opennebula ~]$
>
>
>
>
>
>
>
> ___
> Users mailing list
> 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


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

2014-01-01 Thread hansz
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@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@opennebula ~]$ 




[oneadmin@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@opennebula ~]$






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


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

2013-12-30 Thread hansz
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@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@opennebula ~]$ 




[oneadmin@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@opennebula ~]$



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


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

2013-12-03 Thread Documented Facts
No, I think because I have SWAP partition 10 GB. So total of the VM storage
size 15 GB that might be the reason. Thank for taking your time to reply
but no need it further since I use SSH storage mechanism.

Thank You


On Tue, Dec 3, 2013 at 4:32 PM, Jaime Melis  wrote:

> Hi,
>
> configuration seems fine. It must be a problem with your physical network
> link. Have you tried manually scp'ing the 5GB image over NFS, to rule out
> OpenNebula from the equation?
>
> cheers,
> Jaime
>
>
> On Wed, Nov 20, 2013 at 8:18 PM, Documented Facts <
> documentedfa...@gmail.com> wrote:
>
>> No, I don't think there is huge traffic. I have two machines one has
>> front end and other one has a host with XEN virtualization. Machines
>> doesn't have hardware virtualization support. Machines are connected via a
>> switch.
>>
>> I have given how my process to have NFS storage. do you see any wrong
>> there ?.
>>
>> Thanks
>>
>> Front-End
>>
>>-
>>
>>Install NFS Server
>> -
>>
>>   sudo apt-get install nfs-kernel-server
>>-
>>
>>Let others access data store directory
>> -
>>
>>   sudo nano /etc/exports
>>   -
>>
>>   put in that file bellow
>>-
>>
>>  /var/lib/one
>>  10.*.*.161(rw,async,no_subtree_check,no_root_squash)
>>   -
>>
>>   reload services with bellow commands
>>-
>>
>>  $ sudo /etc/init.d/nfs-kernel-server reload
>>
>> Hosts
>>
>>-
>>
>>Install NFS Client
>> -
>>
>>   sudo apt-get install nfs-common
>>-
>>
>>configure to access data stores at start up
>> -
>>
>>   in /etc/fstab add
>>-
>>
>>  on-front:/var/lib/one /var/lib/one nfs udp,_netdev 0 0
>>   -
>>
>>   sudo mount /var/lib/one
>>
>>
>> After this I can see front end var/lib/one directory from hosts.
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Jaime Melis
> C12G Labs - Flexible Enterprise Cloud Made Simple
> http://www.c12g.com | jme...@c12g.com
>
> --
>
> 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 ab...@c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G's thanks you for your
> cooperation.
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2013-12-03 Thread Jaime Melis
Hi,

configuration seems fine. It must be a problem with your physical network
link. Have you tried manually scp'ing the 5GB image over NFS, to rule out
OpenNebula from the equation?

cheers,
Jaime


On Wed, Nov 20, 2013 at 8:18 PM, Documented Facts  wrote:

> No, I don't think there is huge traffic. I have two machines one has front
> end and other one has a host with XEN virtualization. Machines doesn't have
> hardware virtualization support. Machines are connected via a switch.
>
> I have given how my process to have NFS storage. do you see any wrong
> there ?.
>
> Thanks
>
> Front-End
>
>-
>
>Install NFS Server
> -
>
>   sudo apt-get install nfs-kernel-server
>-
>
>Let others access data store directory
> -
>
>   sudo nano /etc/exports
>   -
>
>   put in that file bellow
>-
>
>  /var/lib/one
>  10.*.*.161(rw,async,no_subtree_check,no_root_squash)
>   -
>
>   reload services with bellow commands
>-
>
>  $ sudo /etc/init.d/nfs-kernel-server reload
>
> Hosts
>
>-
>
>Install NFS Client
> -
>
>   sudo apt-get install nfs-common
>-
>
>configure to access data stores at start up
> -
>
>   in /etc/fstab add
>-
>
>  on-front:/var/lib/one /var/lib/one nfs udp,_netdev 0 0
>   -
>
>   sudo mount /var/lib/one
>
>
> After this I can see front end var/lib/one directory from hosts.
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
C12G Labs - Flexible Enterprise Cloud Made Simple
http://www.c12g.com | jme...@c12g.com

--

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 ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G's thanks you for your
cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2013-11-20 Thread Documented Facts
No, I don't think there is huge traffic. I have two machines one has front
end and other one has a host with XEN virtualization. Machines doesn't have
hardware virtualization support. Machines are connected via a switch.

I have given how my process to have NFS storage. do you see any wrong there
?.

Thanks

Front-End

   -

   Install NFS Server
-

  sudo apt-get install nfs-kernel-server
   -

   Let others access data store directory
-

  sudo nano /etc/exports
  -

  put in that file bellow
   -

 /var/lib/one 10.*.*.161(rw,async,no_subtree_check,no_root_squash)
  -

  reload services with bellow commands
   -

 $ sudo /etc/init.d/nfs-kernel-server reload

Hosts

   -

   Install NFS Client
-

  sudo apt-get install nfs-common
   -

   configure to access data stores at start up
-

  in /etc/fstab add
   -

 on-front:/var/lib/one /var/lib/one nfs udp,_netdev 0 0
  -

  sudo mount /var/lib/one


After this I can see front end var/lib/one directory from hosts.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2013-11-19 Thread Jaime Melis
Hi,

I agree with Ionut, fast ethernet is not ideal, and the fact that's taking
so long largely depends on the network load. Is there a lot of traffic
going on?

cheers,
Jaime


On Mon, Nov 18, 2013 at 10:48 PM, Ionut Popovici wrote:

>  5GB for fastethernet is a litle to much .. 5000/11 = 7min and 40 second
> if the channel is free .. but i asure u the channel is not free if u using
> other machines non persistent .. they need to write the changes to.
>
> On 11/18/2013 11:37 PM, Documented Facts wrote:
>
> Hi
>
>  I have run a LAMP ubuntu instance with SSH system data store. I take
> less than 15 minutes to go to running state. But I use NFS with same image
> it takes more than 1 hour and Host also cannot be accessed with SSH. I have
> used fast Ethernet. is it the problem for this slow down ?
>
>  please suggest me ways to have shared storage with fast Ethernet. Image
> size is 5 GB.
>
>  Thank you
>
>
> ___
> Users mailing 
> listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2013-11-18 Thread Ionut Popovici
5GB for fastethernet is a litle to much .. 5000/11 = 7min and 40 second 
if the channel is free .. but i asure u the channel is not free if u 
using other machines non persistent .. they need to write the changes to.

On 11/18/2013 11:37 PM, Documented Facts wrote:

Hi

I have run a LAMP ubuntu instance with SSH system data store. I take 
less than 15 minutes to go to running state. But I use NFS with same 
image it takes more than 1 hour and Host also cannot be accessed with 
SSH. I have used fast Ethernet. is it the problem for this slow down ?


please suggest me ways to have shared storage with fast Ethernet. 
Image size is 5 GB.


Thank you


___
Users mailing list
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


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

2013-11-18 Thread Documented Facts
Hi

I have run a LAMP ubuntu instance with SSH system data store. I take less
than 15 minutes to go to running state. But I use NFS with same image it
takes more than 1 hour and Host also cannot be accessed with SSH. I have
used fast Ethernet. is it the problem for this slow down ?

please suggest me ways to have shared storage with fast Ethernet. Image
size is 5 GB.

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