[one-users] how can i use virio disk and virtio network

2015-07-21 Thread hansz
hi,
i use centos7 install opennebula4.12.1 and kvm.
what should i write in the templates,which feature should i input?

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


Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-12-30 Thread hansz


think you very much sir,i wil have a try.






At 2014-12-30 20:50:45, Javier Fontan jfon...@opennebula.org wrote:
From the information in the linked email it seems you are using
different gluster fs volumes for images and system datastore:

192.168.0.199:/fc-sys on /var/lib/one/datastores/102 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
192.168.0.199:/fc-img on /var/lib/one/datastores/103 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)

With glusterfs drivers the volume must be the same, that's why it is
not finding the disk. If you don't have any VMs running you can
probably fix it with:

# umount /var/lib/one/datastores/102
# rmdir /var/lib/one/datastores/102
# ln -s /var/lib/one/datastores/103 /var/lib/one/datastores/102

Cheers

On Wed, Dec 24, 2014 at 9:28 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 i use centos7 and opennebula4.10  glusterfs3.5
 i also meet the
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-July/045482.html
 question.

 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: Failed
 to create domain from /var/lib/one//datastores/102/10/deployment.0
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error:
 internal error process exited while connecting to monitor: qemu-kvm: -drive
 file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
 could not open disk image gluster+tcp://192.168.0.199:24007/fc-
 img/10/disk.0: No such file or directory
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 [2014-07-11
 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All
 subvolumes are down.
 Going offline until atleast one of them comes back up.


 how can i solve it? pls




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-12-24 Thread hansz
hi man,
i use centos7 and opennebula4.10  glusterfs3.5
i also meet the 
http://lists.opennebula.org/pipermail/users-opennebula.org/2014-July/045482.html
  question. 
Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: Failed to 
create domain from /var/lib/one//datastores/102/10/deployment.0 
Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: internal 
error process exited while connecting to monitor: qemu-kvm: -drive 
file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
 could not open disk image gluster+tcp://192.168.0.199:24007/fc- 
img/10/disk.0: No such file or directory 
Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 [2014-07-11 
06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All 
subvolumes are down. 
Going offline until atleast one of them comes back up. 


how can i solve it? pls___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] error: internal error unknown protocol type 'gluster'

2014-12-21 Thread hansz
Hi, man
i use centso6.5 and  CentOS-6-opennebula-4.10.1-1.tar.
you have telled me ,Recent versions of CentOS6 (we are using 6.5) have an up 
to date 
libvirt/kvm package that supports Gluster . which version libvirt/kvm rpm bags 
have support Gluster ?
libvirt-0.10.2-46.el6_6.2.x86_64.rpm is ok?___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] error: internal error unknown protocol type 'gluster'

2014-12-19 Thread hansz
Issue with Gluster DataStore
Hello
I added Gluster DS via docs:
http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration

It's  attached  without  any  issues,  but when i tried start VM i got
error:
Mon Dec 8 09:25:47 2014 [VMM][I]: error: Failed to create domain from 
/var/lib/one//datastores/0/53/deployment.0
Mon Dec 8 09:25:47 2014 [VMM][I]: error: internal error unknown protocol type 
'gluster'
on node3 .. gluster volume already mounted
---
node1:/opennebula   280G   14G  266G   5% 
/var/lib/one
---
so i remove the libvirt and qemu rpm bags, and install libvirt.tar.bz2 1.20 and 
qemu .tar.bz2 1.40 . but ofter i install the libvirt.tar.bz2 and the 
qemu.tar.bz2  when i try to add the host on the opennebula ,it tells me like 
this
Mon Jun  9 13:03:32 2014 [ONE][E]: Error monitoring Host XXX (45): Error
 executing probes
 Mon Jun  9 13:03:32 2014 [InM][E]: Error executing
 collectd-client_control.sh
 Mon Jun  9 13:03:32 2014 [InM][I]: ExitCode: 255

Can you please help me to resolve this issue ?
















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


[one-users] error: internal error unknown protocol type 'gluster'

2014-12-15 Thread hansz
Issue with Gluster DataStore
Hello
I added Gluster DS via docs:
http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration

It's  attached  without  any  issues,  but when i tried start VM i got
error:
Mon Dec 8 09:25:47 2014 [VMM][I]: error: Failed to create domain from 
/var/lib/one//datastores/0/53/deployment.0
Mon Dec 8 09:25:47 2014 [VMM][I]: error: internal error unknown protocol type 
'gluster'
on node3 .. gluster volume already mounted
---
node1:/opennebula   280G   14G  266G   5% 
/var/lib/one
---
so i remove the libvirt and qemu rpm bags, and install libvirt.tar.bz2 1.20 and 
qemu .tar.bz2 1.40 . but ofter i install the libvirt.tar.bz2 and the 
qemu.tar.bz2  when i try to add the host on the opennebula ,it tells me like 
this
Mon Jun  9 13:03:32 2014 [ONE][E]: Error monitoring Host XXX (45): Error
 executing probes
 Mon Jun  9 13:03:32 2014 [InM][E]: Error executing
 collectd-client_control.sh
 Mon Jun  9 13:03:32 2014 [InM][I]: ExitCode: 255

Can you please help me to resolve this issue ?













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


[one-users] error: internal error unknown protocol type 'gluster'

2014-12-12 Thread hansz
Issue with Gluster DataStore
Hello
I added Gluster DS via docs:
http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration

It's  attached  without  any  issues,  but when i tried start VM i got
error:
Mon Dec 8 09:25:47 2014 [VMM][I]: error: Failed to create domain from 
/var/lib/one//datastores/0/53/deployment.0
Mon Dec 8 09:25:47 2014 [VMM][I]: error: internal error unknown protocol type 
'gluster'
on node3 .. gluster volume already mounted
---
node1:/opennebula   280G   14G  266G   5% 
/var/lib/one
---

Can you please help me to resolve this issue ?








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


[one-users] error: internal error unknown protocol type 'gluster'

2014-12-12 Thread hansz
Issue with Gluster DataStore
Hello
I added Gluster DS via docs:
http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration

It's  attached  without  any  issues,  but when i tried start VM i got
error:
Mon Dec 8 09:25:47 2014 [VMM][I]: error: Failed to create domain from 
/var/lib/one//datastores/0/53/deployment.0
Mon Dec 8 09:25:47 2014 [VMM][I]: error: internal error unknown protocol type 
'gluster'
on node3 .. gluster volume already mounted
---
node1:/opennebula   280G   14G  266G   5% 
/var/lib/one
---


Warning

The hypervisor nodes need to be part of a working GlusterFS cluster and the 
Libvirt and QEMU packages need to be recent enough to have support for 
GlusterFS. 




could you pls tell me which version libvirt and QEMU is  appropriated?


Can you please help me to resolve this issue ?

think you very much











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


[one-users] error: internal error unknown protocol type 'gluster'

2014-12-12 Thread hansz
Issue with Gluster DataStore
Hello
I added Gluster DS via docs:
http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration

It's  attached  without  any  issues,  but when i tried start VM i got
error:
Mon Dec 8 09:25:47 2014 [VMM][I]: error: Failed to create domain from 
/var/lib/one//datastores/0/53/deployment.0
Mon Dec 8 09:25:47 2014 [VMM][I]: error: internal error unknown protocol type 
'gluster'
on node3 .. gluster volume already mounted
---
node1:/opennebula   280G   14G  266G   5% 
/var/lib/one
---

Can you please help me to resolve this issue ?











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


[one-users] how upload image through Provide a path

2014-01-10 Thread hansz
Hi,
i use opennebula 4.4 install on centso6.4 and esxi5.1
and i make my image use a tar  with ttylinux-flat.vmdk  and disk.vmdk tar to  
ttylinux.tar.bz2 (if i put i on my front-end /root/image/ttylinux.tar.bz2)
i want upload the ttylinux.tar.bz2 through the sunstone .
select  Provide a path 
what should i input in the Pathinline: Path.pnginline: Path.png___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] vm HA problem

2014-01-09 Thread hansz
Hi ,
i use opennebula 4.4 install on centos 6.4 as the frontend,and i have two 
vmware esxi which have two share iscsi disks server as the os datastore, image 
datastores. and i also have vcenter,and the two esxi are in a datacenter
i use mysql as database, and i uncommented the Hook in the oned.conf like the 
following
HOST_HOOK = [
name  = error,
on= ERROR,
command   = ft/host_error.rb,
arguments = $ID -r,
remote= no ]


VM_HOOK = [
   name  = on_failure_recreate,
   on= UNKNOWN,
   command   = /usr/bin/env onevm delete --recreate,
   arguments = $ID ]


then i have i try install one vm on my esxi01 ,and then i power the esxi01,but 
the vm does not migrate to esxi02, anyother conf should i config?

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


Re: [one-users] how to configure the vms High Availability?

2014-01-05 Thread hansz
Hi,
i use opennebula4.2 install on centos6.4 and has two esxi 
hypervisor.(10.24.101.72  and 10.24.101.73)
i have change my front-end's oned.conf like
HOST_HOOK = [
name  = error,
on= ERROR,
command   = ft/host_error.rb,
arguments = $ID -r,
remote= no ]


VM_HOOK = [
   name  = on_failure_recreate,
   on= UNKNOWN,
   command   = /usr/bin/env onevm delete --recreate,
   arguments = $ID ]


then i create one vm  on 10.24.101.73 , after the vm running, i power off the 
10.24.101.73,but the vm dose not migrate to 10.24.101.72
i also create one cluser one the sunstone which include the two esxis.
the vm log 


Sun Jan 5 13:54:53 2014 [DiM][I]: New VM state is ACTIVE.
Sun Jan 5 13:54:53 2014 [LCM][I]: New VM state is PROLOG.
Sun Jan 5 13:55:05 2014 [LCM][I]: New VM state is BOOT
Sun Jan 5 13:55:05 2014 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/9/deployment.0
Sun Jan 5 13:55:05 2014 [VMM][I]: Successfully execute network driver 
operation: pre.
Sun Jan 5 13:55:21 2014 [VMM][I]: Successfully execute virtualization driver 
operation: deploy.
Sun Jan 5 13:55:21 2014 [VMM][I]: Successfully execute network driver 
operation: post.
Sun Jan 5 13:55:21 2014 [LCM][I]: New VM state is RUNNING
Sun Jan 5 13:58:03 2014 [LCM][I]: New VM state is UNKNOWN
Sun Jan 5 13:58:03 2014 [LCM][I]: New VM state is CLEANUP.
Sun Jan 5 13:58:03 2014 [VMM][I]: Driver command for 9 cancelled
Sun Jan 5 13:58:03 2014 [DiM][I]: New VM state is PENDING
Sun Jan 5 13:58:03 2014 [HKM][I]: Success executing Hook: on_failure_recreate: 
. 
Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Command execution fail: 
/var/lib/one/remotes/vmm/vmware/cancel 'one-9' '10.24.101.73' 9 10.24.101.73


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG E 9 cancel: Error executing: 
virsh -c 'esx://10.24.101.73/?no_verify=1auto_answer=1' destroy one-9 err: 
ExitCode: 1


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 out:


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 error: internal error HTTP 
response code 503 for call to 'RetrieveServiceContent'


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 error: failed to connect to 
the hypervisor


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 1


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Failed to execute 
virtualization driver operation: cancel.


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute network 
driver operation: clean.


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
transfer manager driver operation: tm_delete.


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 Command execution fail: 
/var/lib/one/remotes/tm/vmfs/delete 10.24.101.73:/vmfs/volumes/100/9 9 100


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG E 9 delete: Command rm -rf 
/vmfs/volumes/100/9 failed: rm: can't remove 
'/vmfs/volumes/100/9/disk.0/disk-flat.vmdk': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0/vmx-one-9-2219911413-1.vswp': Device or resource 
busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0/one-9.vmx.lck': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0/one-9-845128f5.vswp': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0': Directory not empty


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.1': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9': Directory not empty


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG E 9 Error deleting 
/vmfs/volumes/100/9


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 1


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 Failed to execute transfer 
manager driver operation: tm_delete.


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: CLEANUP SUCCESS 9 












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


Re: [one-users] how to configure the vms High Availability?

2014-01-04 Thread hansz
Hi,
i use opennebula4.2 install on centos6.4 and has two esxi 
hypervisor.(10.24.101.72  and 10.24.101.73)
i have change my front-end's oned.conf like
HOST_HOOK = [
name  = error,
on= ERROR,
command   = ft/host_error.rb,
arguments = $ID -r,
remote= no ]


VM_HOOK = [
   name  = on_failure_recreate,
   on= UNKNOWN,
   command   = /usr/bin/env onevm delete --recreate,
   arguments = $ID ]


then i create one vm  on 10.24.101.73 , after the vm running, i power off the 
10.24.101.73,but the vm dose not migrate to 10.24.101.72
i also create one cluser one the sunstone which include the two esxis.
the vm log 


Sun Jan 5 13:54:53 2014 [DiM][I]: New VM state is ACTIVE.
Sun Jan 5 13:54:53 2014 [LCM][I]: New VM state is PROLOG.
Sun Jan 5 13:55:05 2014 [LCM][I]: New VM state is BOOT
Sun Jan 5 13:55:05 2014 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/9/deployment.0
Sun Jan 5 13:55:05 2014 [VMM][I]: Successfully execute network driver 
operation: pre.
Sun Jan 5 13:55:21 2014 [VMM][I]: Successfully execute virtualization driver 
operation: deploy.
Sun Jan 5 13:55:21 2014 [VMM][I]: Successfully execute network driver 
operation: post.
Sun Jan 5 13:55:21 2014 [LCM][I]: New VM state is RUNNING
Sun Jan 5 13:58:03 2014 [LCM][I]: New VM state is UNKNOWN
Sun Jan 5 13:58:03 2014 [LCM][I]: New VM state is CLEANUP.
Sun Jan 5 13:58:03 2014 [VMM][I]: Driver command for 9 cancelled
Sun Jan 5 13:58:03 2014 [DiM][I]: New VM state is PENDING
Sun Jan 5 13:58:03 2014 [HKM][I]: Success executing Hook: on_failure_recreate: 
. 
Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Command execution fail: 
/var/lib/one/remotes/vmm/vmware/cancel 'one-9' '10.24.101.73' 9 10.24.101.73


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG E 9 cancel: Error executing: 
virsh -c 'esx://10.24.101.73/?no_verify=1auto_answer=1' destroy one-9 err: 
ExitCode: 1


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 out:


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 error: internal error HTTP 
response code 503 for call to 'RetrieveServiceContent'


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 error: failed to connect to 
the hypervisor


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 1


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Failed to execute 
virtualization driver operation: cancel.


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute network 
driver operation: clean.


Sun Jan 5 13:58:06 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
transfer manager driver operation: tm_delete.


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 Command execution fail: 
/var/lib/one/remotes/tm/vmfs/delete 10.24.101.73:/vmfs/volumes/100/9 9 100


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG E 9 delete: Command rm -rf 
/vmfs/volumes/100/9 failed: rm: can't remove 
'/vmfs/volumes/100/9/disk.0/disk-flat.vmdk': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0/vmx-one-9-2219911413-1.vswp': Device or resource 
busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0/one-9.vmx.lck': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0/one-9-845128f5.vswp': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.0': Directory not empty


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9/disk.1': Device or resource busy


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 rm: can't remove 
'/vmfs/volumes/100/9': Directory not empty


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG E 9 Error deleting 
/vmfs/volumes/100/9


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 1


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: LOG I 9 Failed to execute transfer 
manager driver operation: tm_delete.


Sun Jan 5 13:58:07 2014 [VMM][W]: Ignored: CLEANUP SUCCESS 9 









___
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] how to configure the vms High Availability?

2013-12-30 Thread hansz
Hi,
i use opennebula4.4 install on centos6.4 , and add two hosts(esxi5.1, 
esxi01,esxi02) on the sunstone. and create a cluster  with the two hosts and 
one virtual networks and two datastores.(the datastores i use iscsi  mounted 
both on esxi01 and esxi02)
today i have a try  ,i create one vm on host esxi01 . what i want is  if i 
power the esxi01 the vm could migrate to esxi02 .
clould i make it sucessfully?


i also read 
http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
but i does not work ,
and the oned.conf  in my opennebula 4.4 is
HOST_HOOK = [
name  = error,
on= ERROR,
command   = ft/host_error.rb,
arguments = $HID -r n,
remote= no ]
VM_HOOK = [
   name  = on_failure_recreate,
   on= FAILED, command   = /usr/bin/env onevm delete --recreate, 
arguments = ID ]
 the red are not same with the 
http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
anything wrong?

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


Re: [one-users] how to configure the vms High Availability?

2013-12-30 Thread hansz
Hi,
should i configure my oned.conf like 
HOST_HOOK = [
name  = error,
on= ,
command   = ft/host_error.rb,
arguments = $HID -r n,
remote= no ]
VM_HOOK = [
   name  = on_failure_recreate,
   on= FAILED, command   = /usr/bin/env onevm delete --recreate, 
arguments = ID ]
?
or like what? 








___
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


[one-users] images upload problems

2013-12-29 Thread hansz
Hi ,
I use opennebula4.4 install on centos6.4 and esxi5.1 ,ruby is 1.8.7
when i upload the image (i tar  disk-flat.vmdk(8G) and disk.vmdk  a 
disk.tar.bz2 ,the size of the disk.tar.bz2 is about 3G ) 
then i upload the disk.tar.bz2  through the sunstone ,  
even though i run oneimage list as the oneadmin it show the image is rdy  ,but 
on the sunstone the images is uploading .
anything wrong?








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


[one-users] vm status unknown

2013-12-27 Thread hansz
Hi,
i use centos6.4 install opennebla4.4 and esxi5.1 
i folllow the 
http://docs.opennebula.org/stable/administration/storage/vmware_ds.html  
create databases,
i use yum install libvirt rpm packages,
i install a vm, but if i  poweroff hard  the vm ,the vm will change to unknown, 
and cloud not resume it ,
anything wrong?___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] will nebula support xenserver?

2013-12-20 Thread hansz
hi man ,
w i think Citrix‘s xenserver is With a wide range of Virtualization 
software,will nebula suport it at the next version or later?


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


Re: [one-users] nebula 4.4 error

2013-12-19 Thread hansz
 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 Wed, Dec 18, 2013 at 9:40 AM, hansz hanshizhun...@126.com wrote:
 hi all,
 error 1
 Wed Dec 18 02:53:33 2013 [DiM][I]: New VM state is ACTIVE.
 Wed Dec 18 02:53:33 2013 [LCM][I]: New VM state is PROLOG.
 Wed Dec 18 02:53:35 2013 [LCM][I]: New VM state is BOOT
 Wed Dec 18 02:53:35 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/104/deployment.0
 Wed Dec 18 02:53:36 2013 [VMM][I]: Command execution fail:
 /var/lib/one/remotes/vnm/vmware/pre PFZNPjxJR
 Wed Dec 18 02:53:36 2013 [VMM][I]: sh: /var/lib/one/remotes/vnm/vmware/pre:
 File too large
 Wed Dec 18 02:53:36 2013 [VMM][I]: ExitCode: 2
 Wed Dec 18 02:53:36 2013 [VMM][I]: Failed to execute network driver
 operation: pre.
 Wed Dec 18 02:53:36 2013 [VMM][E]: Error deploying virtual machine
 Wed Dec 18 02:53:36 2013 [DiM][I]: New VM state is FAILED
 but my image is not big , i use the ttylinux.vmdk down from the marketplace

 error 2
 Wed Dec 18 03:27:18 2013 [DiM][I]: New VM state is ACTIVE.
 Wed Dec 18 03:27:18 2013 [LCM][I]: New VM state is PROLOG.
 Wed Dec 18 03:27:20 2013 [LCM][I]: New VM state is BOOT
 Wed Dec 18 03:27:20 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/107/deployment.0
 Wed Dec 18 03:27:21 2013 [VMM][I]: Command execution fail:
 /var/lib/one/remotes/vnm/vmware/pre
 PFZNPjxJRD4xMDc8L0lEPjxVSUQ+MDwvVUlElfUkVDT1JEUz48L1ZNPg==
 Wed Dec 18 03:27:21 2013 [VMM][I]: env: can't execute 'ruby': No such file
 or directory
 Wed Dec 18 03:27:21 2013 [VMM][I]: ExitCode: 127
 Wed Dec 18 03:27:21 2013 [VMM][I]: Failed to execute network driver
 operation: pre.
 Wed Dec 18 03:27:21 2013 [VMM][E]: Error deploying virtual machine
 Wed Dec 18 03:27:21 2013 [DiM][I]: New VM state is FAILED

 but i have install the ruby rpm.
 anywhere wrong ?




 ___
 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] nebula 4.4 error

2013-12-18 Thread hansz
hi all,
error 1

Wed Dec 18 02:53:33 2013 [DiM][I]: New VM state is ACTIVE.
Wed Dec 18 02:53:33 2013 [LCM][I]: New VM state is PROLOG.
Wed Dec 18 02:53:35 2013 [LCM][I]: New VM state is BOOT
Wed Dec 18 02:53:35 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/104/deployment.0
Wed Dec 18 02:53:36 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vnm/vmware/pre PFZNPjxJR
Wed Dec 18 02:53:36 2013 [VMM][I]: sh: /var/lib/one/remotes/vnm/vmware/pre: 
File too large
Wed Dec 18 02:53:36 2013 [VMM][I]: ExitCode: 2
Wed Dec 18 02:53:36 2013 [VMM][I]: Failed to execute network driver operation: 
pre.
Wed Dec 18 02:53:36 2013 [VMM][E]: Error deploying virtual machine
Wed Dec 18 02:53:36 2013 [DiM][I]: New VM state is FAILED
but my image is not big , i use the ttylinux.vmdk down from the marketplace


error 2
Wed Dec 18 03:27:18 2013 [DiM][I]: New VM state is ACTIVE.
Wed Dec 18 03:27:18 2013 [LCM][I]: New VM state is PROLOG.
Wed Dec 18 03:27:20 2013 [LCM][I]: New VM state is BOOT
Wed Dec 18 03:27:20 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/107/deployment.0
Wed Dec 18 03:27:21 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vnm/vmware/pre 
PFZNPjxJRD4xMDc8L0lEPjxVSUQ+MDwvVUlElfUkVDT1JEUz48L1ZNPg==
Wed Dec 18 03:27:21 2013 [VMM][I]: env: can't execute 'ruby': No such file or 
directory
Wed Dec 18 03:27:21 2013 [VMM][I]: ExitCode: 127
Wed Dec 18 03:27:21 2013 [VMM][I]: Failed to execute network driver operation: 
pre.
Wed Dec 18 03:27:21 2013 [VMM][E]: Error deploying virtual machine
Wed Dec 18 03:27:21 2013 [DiM][I]: New VM state is FAILED


but i have install the ruby rpm.
anywhere wrong ?

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


[one-users] how can i monitor the vms ?

2013-12-16 Thread hansz
Hi Tino,
  i use  opennebula install (centos6.4)  and esxi 5.1 install vms,

Recently i  want  monitor the vms, on the opennebula4.2 i see there has 
ganglia, and the  oned.conf  has some ganglia message,but when i updata my 
enbula to 4.4  ,i could not find nothing about ganglia at the oned, how could i 
monitor the vms install esxi?







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


[one-users] upload image error

2013-12-12 Thread hansz
Hi Tino,
i use opennebula4.4(centos6.4) and esxi5.1 and i follow this guide  
http://opennebula.org/documentation:rel4.4:vmware_ds
but when i upload the image through the sunstone ,it faild 
the error
Thu Dec 12 10:53:32 2013 : Error copying image in the datastore: Error renaming 
file /var/lib/one/tmp/75e6961fc99c4392b979ac319a25b27a/ to 
/var/lib/one/tmp/75e6961fc99c4392b979ac319a25b27a/disk.vmdk


I  yum install the libvirt-0.10.2.rpm 
it can monitored my datasotes


[oneadmin@nebula ~]$ onedatastore show 102
DATASTORE 102 INFORMATION   
ID : 102 
NAME   : Vos2
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: -   
TYPE   : SYSTEM  
DS_MAD : -   
TM_MAD : vmfs
BASE PATH  : /vmfs/volumes/102   
DISK_TYPE  : FILE


DATASTORE CAPACITY  
TOTAL: : 199.8G  
FREE:  : 198.8G  
USED:  : 972M
LIMIT: : -   


PERMISSIONS 
OWNER  : um- 
GROUP  : u-- 
OTHER  : --- 


DATASTORE TEMPLATE  
BRIDGE_LIST=10.24.101.72
SHARED=YES
TM_MAD=vmfs
TYPE=SYSTEM_DS






[oneadmin@nebula ~]$ onedatastore show 103
DATASTORE 103 INFORMATION   
ID : 103 
NAME   : Vimage2 
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: -   
TYPE   : IMAGE   
DS_MAD : vmfs
TM_MAD : vmfs
BASE PATH  : /vmfs/volumes/103   
DISK_TYPE  : FILE


DATASTORE CAPACITY  
TOTAL: : 302.3G  
FREE:  : 301.3G  
USED:  : 771M
LIMIT: : -   


PERMISSIONS 
OWNER  : um- 
GROUP  : u-- 
OTHER  : --- 


DATASTORE TEMPLATE  
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 
9  
[oneadmin@nebula ~]$








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


Re: [one-users] opennebula 4.4 esxi 5.1 windows vms lose nic dirver

2013-12-09 Thread hansz
Hi Tino,
thinks for your replay,
without the e1000 model (but has select virtual Networks) ,the VM boot, but 
does not has NIC driver. the vm i have ready install vmware tools
the following are the steps i create a vm
1)i  first create vms throuht the vmware's esxi (while create the vm ,i select 
the network one-pg-0 ,and the modelE1000,after the vm boot ,i install the 
vmware tools,at that moment the vm has NIC driver,and i can ping to other vms),
2)and then tar the window-flat.vmdk and the disk.vmdk a xxx.tar.bz2
3) upload the xxx.tar.bz2 through the sunstone to the image ,
4)create template 
5)create  vms


but ,if i set model=e1000 at the template when the vm startup the vm will stay 
on the starting screen,
else if i set model=E1000 at the template the vm will faild 
the log (for model=E1000)
Tue Dec 10 04:58:00 2013 [DiM][I]: New VM state is ACTIVE.
Tue Dec 10 04:58:00 2013 [LCM][I]: New VM state is PROLOG.
Tue Dec 10 04:59:40 2013 [LCM][I]: New VM state is BOOT
Tue Dec 10 04:59:40 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/30/deployment.0
Tue Dec 10 04:59:41 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Tue Dec 10 04:59:48 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/30/deployment.0' 
'esxi01' 30 esxi01
Tue Dec 10 04:59:48 2013 [VMM][I]: 
/var/lib/one/remotes/vmm/vmware/vi_driver.rb:138:in `initialize': Cannot find 
VM one-30 (RuntimeError)
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:418:in `new'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:418:in `handle_metadata'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:398:in `define_domain'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/vmware_driver.rb:88:in `deploy'
Tue Dec 10 04:59:48 2013 [VMM][I]: from 
/var/lib/one/remotes/vmm/vmware/deploy:38
Tue Dec 10 04:59:48 2013 [VMM][I]: ExitCode: 1
Tue Dec 10 04:59:48 2013 [VMM][I]: Failed to execute virtualization driver 
operation: deploy.
Tue Dec 10 04:59:48 2013 [VMM][E]: Error deploying virtual machine
Tue Dec 10 04:59:48 2013 [DiM][I]: New VM state is FAILED 
anyother may be wrong ? wait for your replay ,thinks










At 2013-12-09 22:44:36,Tino Vazquez cvazq...@c12g.com wrote:
Hi,

Without the E1000 model, does the VM boot? If so, does it recognise
the NIC if you install the vmware tools?

This may be of help:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_UScmd=displayKCexternalId=1001805

I suggest approaching the problem by creating a Windows VM in VMware
that recognises the NIC, and afterwards creating the same VM through
OpenNebula.

Regards,

-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 Fri, Dec 6, 2013 at 8:47 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 yesterday i install opennebula4.4 on centos,but the windows2008r2 vms also
 has  NIC driver problem
 if i add  model =e1000 ,the vms will black screen ,when the vms startup, the
 follow are the network and the template
 the network
 [oneadmin@nebula ~]$ onevnet show 0 -x
 VNET
   ID0/ID
   UID0/UID
   GID0/GID
   UNAMEoneadmin/UNAME
   GNAMEoneadmin/GNAME
   NAMEEsxiNetwork/NAME
   PERMISSIONS
 OWNER_U1/OWNER_U
 OWNER_M1/OWNER_M
 OWNER_A0/OWNER_A
 GROUP_U0/GROUP_U
 GROUP_M0/GROUP_M
 GROUP_A0/GROUP_A
 OTHER_U0/OTHER_U
 OTHER_M0/OTHER_M
 OTHER_A0/OTHER_A
   /PERMISSIONS
   CLUSTER_ID-1/CLUSTER_ID
   CLUSTER/
   TYPE0/TYPE
   BRIDGEVM Network/BRIDGE
   VLAN0/VLAN
   PHYDEV/
   VLAN_ID/
   GLOBAL_PREFIX/
   SITE_PREFIX/
   RANGE
 IP_START10.24.101.95/IP_START
 IP_END10.24.101.103/IP_END
   /RANGE
   TOTAL_LEASES2/TOTAL_LEASES
   TEMPLATE
 DNS![CDATA[10.24.1.10]]/DNS
 GATEWAY![CDATA[10.24.101.252]]/GATEWAY
 NETWORK_MASK![CDATA[255.255.255.0]]/NETWORK_MASK
   /TEMPLATE
   LEASES
 LEASE
   MAC02:00:0a:18:65:5f/MAC
   IP10.24.101.95/IP
   IP6_LINKfe80::400:aff:fe18:655f/IP6_LINK
   USED1/USED
   VID2/VID
 /LEASE
 LEASE
   MAC02:00:0a:18:65:60/MAC

[one-users] novnc problem in VMware ESX

2013-12-08 Thread hansz
hi Tino,
i use opennebula4.4 and esxi5.1 ,and i upload the ttylinux.tar.bz to the 
sunstone, and then  create template ,and then create vms, but through the novnc 
i could not input ABCD too, 
today i found , if i enter the Caps to Uppercase letters through the vmware's  
vSphere Client ,i cloud only input uppercase letters on the sunstone's novnc, 
it sees through the sunstone's novnc could not control the caps ? anything 
wrong ?











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


[one-users] novnc problem in VMware ESX

2013-12-07 Thread hansz
hi Tino,
i use opennebula4.4 and esxi5.1 ,and i upload the ttylinux.tar.bz to the 
sunstone, and then  create template ,and then create vms, but through the novnc 
i could not input ABCD too,
anywrong?







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


[one-users] opennebula 4.4 with esxi 5.1 novnc could not input “ABCD”

2013-12-05 Thread hansz
hi man,
today i install opennebula4.4 one centso6.4 with esxi  ,but i cloud not input  
the Uppercase Letters(A-Z) too ,like the opennebula 4.2 .
anything wrong?___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] opennebula 4.4 esxi 5.1 windows vms lose nic dirver

2013-12-05 Thread hansz
hi man,
yesterday i install opennebula4.4 on centos,but the windows2008r2 vms also has  
NIC driver problem
if i add  model =e1000 ,the vms will black screen ,when the vms startup, the 
follow are the network and the template
the network
[oneadmin@nebula ~]$ onevnet show 0 -x
VNET
  ID0/ID
  UID0/UID
  GID0/GID
  UNAMEoneadmin/UNAME
  GNAMEoneadmin/GNAME
  NAMEEsxiNetwork/NAME
  PERMISSIONS
OWNER_U1/OWNER_U
OWNER_M1/OWNER_M
OWNER_A0/OWNER_A
GROUP_U0/GROUP_U
GROUP_M0/GROUP_M
GROUP_A0/GROUP_A
OTHER_U0/OTHER_U
OTHER_M0/OTHER_M
OTHER_A0/OTHER_A
  /PERMISSIONS
  CLUSTER_ID-1/CLUSTER_ID
  CLUSTER/
  TYPE0/TYPE
  BRIDGEVM Network/BRIDGE
  VLAN0/VLAN
  PHYDEV/
  VLAN_ID/
  GLOBAL_PREFIX/
  SITE_PREFIX/
  RANGE
IP_START10.24.101.95/IP_START
IP_END10.24.101.103/IP_END
  /RANGE
  TOTAL_LEASES2/TOTAL_LEASES
  TEMPLATE
DNS![CDATA[10.24.1.10]]/DNS
GATEWAY![CDATA[10.24.101.252]]/GATEWAY
NETWORK_MASK![CDATA[255.255.255.0]]/NETWORK_MASK
  /TEMPLATE
  LEASES
LEASE
  MAC02:00:0a:18:65:5f/MAC
  IP10.24.101.95/IP
  IP6_LINKfe80::400:aff:fe18:655f/IP6_LINK
  USED1/USED
  VID2/VID
/LEASE
LEASE
  MAC02:00:0a:18:65:60/MAC
  IP10.24.101.96/IP
  IP6_LINKfe80::400:aff:fe18:6560/IP6_LINK
  USED1/USED
  VID3/VID
/LEASE
  /LEASES
/VNET
[oneadmin@nebula ~]$ 


the template
[oneadmin@nebula ~]$ onetemplate show 2 -x
VMTEMPLATE
  ID2/ID
  UID0/UID
  GID0/GID
  UNAMEoneadmin/UNAME
  GNAMEoneadmin/GNAME
  NAMEwindows2/NAME
  PERMISSIONS
OWNER_U1/OWNER_U
OWNER_M1/OWNER_M
OWNER_A0/OWNER_A
GROUP_U0/GROUP_U
GROUP_M0/GROUP_M
GROUP_A0/GROUP_A
OTHER_U0/OTHER_U
OTHER_M0/OTHER_M
OTHER_A0/OTHER_A
  /PERMISSIONS
  REGTIME1386342845/REGTIME
  TEMPLATE
CONTEXT
  NETWORK![CDATA[YES]]/NETWORK
  SSH_PUBLIC_KEY![CDATA[$USER[SSH_PUBLIC_KEY]]]/SSH_PUBLIC_KEY
/CONTEXT
CPU![CDATA[1]]/CPU
DISK
  IMAGE![CDATA[windows2008]]/IMAGE
  IMAGE_UNAME![CDATA[oneadmin]]/IMAGE_UNAME
/DISK
FEATURES
  PCIBRIDGE![CDATA[1]]/PCIBRIDGE
/FEATURES
GRAPHICS
  LISTEN![CDATA[0.0.0.0]]/LISTEN
  TYPE![CDATA[VNC]]/TYPE
/GRAPHICS
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[mouse]]/TYPE
/INPUT
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
INPUT
  BUS![CDATA[ps2]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
MEMORY![CDATA[512]]/MEMORY
NIC
  MODEL![CDATA[e1000]]/MODEL
  NETWORK![CDATA[EsxiNetwork]]/NETWORK
  NETWORK_UNAME![CDATA[oneadmin]]/NETWORK_UNAME
/NIC
RAW
  TYPE![CDATA[vmware]]/TYPE
/RAW
SCHED_REQUIREMENTS![CDATA[ID=0]]/SCHED_REQUIREMENTS
  /TEMPLATE
/VMTEMPLATE
[oneadmin@nebula ~]$ 



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


Re: [one-users] opennebula4.2 and esxi5.1 pls for help

2013-12-04 Thread hansz
hi,
i can work on opennebula  with esxi  install  linux os sucessfully ,but novnc 
could not input ABCD ,and can not install windows sucessfully, and the 
 http://www.youtube.com/watch?v=fQP4NQQ9NSI  i could not open,
any other solution ? 





At 2013-12-04 17:39:44,André Monteiro andre.mont...@gmail.com wrote:

Hi Hansz,


Check first if you have everything working on OpenNebula by instantiating a 
simple ttylinux with the respective hypervisor ESXi 
(http://marketplace.c12g.com/appliance/4ff2d3aa8fb81d440604)or KVM 
(http://marketplace.c12g.com/appliance/4fc76a938fb81d351703).


If everything is working, you have a simple tutorial of how to install a fresh 
VM on http://www.youtube.com/watch?v=fQP4NQQ9NSI, start by there.



--
André Monteiro





On Wed, Dec 4, 2013 at 7:02 AM, hansz hanshizhun...@126.com wrote:

I have  try install windows on opennebula with esxi5.1 for a long days,but 
always could not make the vms successfully, if i select a  virtual networks 
,the  windows vms will show a mismatch the nic driver, i also try follow the 
http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
 , but it for  vm install on kvm, clould you kind enough  guide me ? and 
another Headache question , is the novnc  on sunstone could not enter uppercase 
letters, my another friend  also have the same question. pls for help.



___
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


Re: [one-users] opennebula4.2 and esxi5.1 pls for help

2013-12-04 Thread hansz
hi man,
now i can see the  http://www.youtube.com/watch?v=fQP4NQQ9NSI ,but it does no 
help ,could you pls support me some about opennebula and esxi, 

i can work on opennebula  with esxi  install  linux os sucessfully ,but novnc 
could not input ABCD ,and can not install windows sucessfully,
any other solution ? 





At 2013-12-04 17:39:44,André Monteiro andre.mont...@gmail.com wrote:

Hi Hansz,


Check first if you have everything working on OpenNebula by instantiating a 
simple ttylinux with the respective hypervisor ESXi 
(http://marketplace.c12g.com/appliance/4ff2d3aa8fb81d440604)or KVM 
(http://marketplace.c12g.com/appliance/4fc76a938fb81d351703).


If everything is working, you have a simple tutorial of how to install a fresh 
VM on http://www.youtube.com/watch?v=fQP4NQQ9NSI, start by there.



--
André Monteiro





On Wed, Dec 4, 2013 at 7:02 AM, hansz hanshizhun...@126.com wrote:

I have  try install windows on opennebula with esxi5.1 for a long days,but 
always could not make the vms successfully, if i select a  virtual networks 
,the  windows vms will show a mismatch the nic driver, i also try follow the 
http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
 , but it for  vm install on kvm, clould you kind enough  guide me ? and 
another Headache question , is the novnc  on sunstone could not enter uppercase 
letters, my another friend  also have the same question. pls for help.



___
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] opennebula4.2 and esxi5.1 pls for help

2013-12-03 Thread hansz
I have  try install windows on opennebula with esxi5.1 for a long days,but 
always could not make the vms successfully, if i select a  virtual networks 
,the  windows vms will show a mismatch the nic driver, i also try follow the 
http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
 , but it for  vm install on kvm, clould you kind enough  guide me ? and 
another Headache question , is the novnc  on sunstone could not enter uppercase 
letters, my another friend  also have the same question. pls for help.___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] how could i move the exist vms to nebula?

2013-11-26 Thread hansz
hi man,
i have a question, how could i move the exist vms  on esxi5.1 to nebula control 
them? can i ? how ? thinks.___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] about vmware_ds

2013-11-18 Thread hansz


hi man,
i use 
1,opennebula 4.2 (front-end), 
2,node(support nfs), 
3,esxi 5.1


today i have a try  follow   
http://opennebula.org/documentation:rel4.2:vmware_ds ,




i do not use iscsi but use nfs  ,first i  nfs the node's /var/lib/one/ to 
esxi5.1 's /vmfs/volumes/100  and /var/lib/two  to esxi5.1's  /vmfs/volumes/103 
 .but when i see my datastores,
[oneadmin@nebula ~]$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM  
   0 system - - - 0 sys  -vmfs
   1 default   265.3G 92%   - 0 img  fs   shared
   2 files 265.3G 92%   - 0 fil  fs   ssh
 102 Vos- - cluster1  0 sys  -vmfs
 103 vmimages  0M - cluster1  0 img  fs  (if i change 
it to vmfs the /var/log/one/oned.log will monitoring it error) vmfs
 
 onedatastore update 103
 
BRIDGE_LIST=10.24.101.35:/vmfs/volumes/103
DS_MAD=fs
TM_MAD=vmfs
TYPE=IMAGE_DS
(10.24.101.35 is my esxi ip )




anything wrong?









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


[one-users] opennebula 4.2 and esxi 5.1 vm create error

2013-11-18 Thread hansz

opennebula 4.2 



[oneadmin@nebula ~]$ onetemplate show 9 -x
VMTEMPLATE
  ID9/ID
  UID0/UID
  GID0/GID
  UNAMEoneadmin/UNAME
  GNAMEoneadmin/GNAME
  NAME/NAME
  PERMISSIONS
OWNER_U1/OWNER_U
OWNER_M1/OWNER_M
OWNER_A0/OWNER_A
GROUP_U0/GROUP_U
GROUP_M0/GROUP_M
GROUP_A0/GROUP_A
OTHER_U0/OTHER_U
OTHER_M0/OTHER_M
OTHER_A0/OTHER_A
  /PERMISSIONS
  REGTIME1384502432/REGTIME
  TEMPLATE
CONTEXT
  NETWORK![CDATA[YES]]/NETWORK
  SSH_PUBLIC_KEY![CDATA[$USER[SSH_PUBLIC_KEY]]]/SSH_PUBLIC_KEY
/CONTEXT
CPU![CDATA[1]]/CPU
DISK
  IMAGE_ID![CDATA[1]]/IMAGE_ID
/DISK
FEATURES
  ACPI![CDATA[yes]]/ACPI
  PAE![CDATA[yes]]/PAE
  PCIBRIDGE![CDATA[0]]/PCIBRIDGE
/FEATURES
GRAPHICS
  LISTEN![CDATA[0.0.0.0]]/LISTEN
  TYPE![CDATA[VNC]]/TYPE
/GRAPHICS
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[mouse]]/TYPE
/INPUT
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
INPUT
  BUS![CDATA[ps2]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
MEMORY![CDATA[1024]]/MEMORY
NIC
  NETWORK_ID![CDATA[0]]/NETWORK_ID
/NIC
REQUIREMENTS![CDATA[ID=4]]/REQUIREMENTS
  /TEMPLATE
/VMTEMPLATE






[oneadmin@nebula ~]$ onetemplate show 9 
TEMPLATE 9 INFORMATION  
ID : 9   
NAME   : 
USER   : oneadmin
GROUP  : oneadmin
REGISTER TIME  : 11/15 16:00:32  


PERMISSIONS 
OWNER  : um- 
GROUP  : --- 
OTHER  : --- 


TEMPLATE CONTENTS   
CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
CPU=1
DISK=[
  IMAGE_ID=1 ]
FEATURES=[
  ACPI=yes,
  PAE=yes,
  PCIBRIDGE=0 ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]
INPUT=[
  BUS=usb,
  TYPE=mouse ]
INPUT=[
  BUS=usb,
  TYPE=tablet ]
INPUT=[
  BUS=ps2,
  TYPE=tablet ]
MEMORY=1024
NIC=[
  NETWORK_ID=0 ]
REQUIREMENTS=ID=\4\
[oneadmin@nebula ~]$ 







At 2013-11-15 23:23:11,Tino Vazquez tinov...@gmail.com wrote:
Hi,

What is the template of the VM? OpenNebula version? We need more info
to be able to provide a proper answer.

Regards,

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


On Fri, Nov 15, 2013 at 9:17 AM, hansz hanshizhun...@126.com wrote:
 Fri Nov 15 16:00:41 2013 [DiM][I]: New VM state is ACTIVE.
 Fri Nov 15 16:00:41 2013 [LCM][I]: New VM state is PROLOG.
 Fri Nov 15 16:11:37 2013 [LCM][I]: New VM state is BOOT
 Fri Nov 15 16:11:37 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/21/deployment.0
 Fri Nov 15 16:11:37 2013 [VMM][I]: Successfully execute network driver
 operation: pre.
 Fri Nov 15 16:11:42 2013 [VMM][I]: Command execution fail:
 /var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/21/deployment.0'
 'esxinode1' 21 esxinode1
 Fri Nov 15 16:11:42 2013 [VMM][E]: deploy: Error executing: virsh -c
 'esx://esxinode1/?no_verify=1auto_answer=1' define
 /var/lib/one/vms/21/deployment.0 err: ExitCode: 255
 Fri Nov 15 16:11:42 2013 [VMM][I]: out:
 Fri Nov 15 16:11:42 2013 [VMM][I]: ExitCode: 255
 Fri Nov 15 16:11:42 2013 [VMM][I]: Failed to execute virtualization driver
 operation: deploy.
 Fri Nov 15 16:11:42 2013 [VMM][E]: Error deploying virtual machine
 Fri Nov 15 16:11:42 2013 [DiM][I]: New VM state is FAILED



 ___
 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] opennebula 4.2 and esxi 5.1 vm create error

2013-11-15 Thread hansz
Fri Nov 15 16:00:41 2013 [DiM][I]: New VM state is ACTIVE.
Fri Nov 15 16:00:41 2013 [LCM][I]: New VM state is PROLOG.
Fri Nov 15 16:11:37 2013 [LCM][I]: New VM state is BOOT
Fri Nov 15 16:11:37 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/21/deployment.0
Fri Nov 15 16:11:37 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Fri Nov 15 16:11:42 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/21/deployment.0' 
'esxinode1' 21 esxinode1
Fri Nov 15 16:11:42 2013 [VMM][E]: deploy: Error executing: virsh -c 
'esx://esxinode1/?no_verify=1auto_answer=1' define 
/var/lib/one/vms/21/deployment.0 err: ExitCode: 255
Fri Nov 15 16:11:42 2013 [VMM][I]: out:
Fri Nov 15 16:11:42 2013 [VMM][I]: ExitCode: 255
Fri Nov 15 16:11:42 2013 [VMM][I]: Failed to execute virtualization driver 
operation: deploy.
Fri Nov 15 16:11:42 2013 [VMM][E]: Error deploying virtual machine
Fri Nov 15 16:11:42 2013 [DiM][I]: New VM state is FAILED___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula4.2 with esxi5.1 when install vms faild.

2013-11-13 Thread hansz
hi,
you are so kind to change this guide,could you show me where can i get the new 
guide?
 you mean through the 'vmfs' drivers for the system datastores?or image 
datastores? or both?
cloud you kind enough to show me how can i use opennebula4.2+and esxi  to 
create vms?
thinks 







At 2013-11-13 20:03:37,Tino Vazquez cvazq...@c12g.com wrote:
I think a further clarification is in place. OpenNebula 4.0+ supports
VMware NFS datastores, but through the 'vmfs' drivers, not through the
'shared' drivers.

Regards,

-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 Wed, Nov 13, 2013 at 10:55 AM, Tino Vazquez cvazq...@c12g.com wrote:
 Hi hansz,

 The guide you are referring is only meant to be used with OpenNebula 3
 series (3.8.5 is the latest update). I've updated the text of the
 guide so this appears more clearly.

 Since OpenNebula 4.0, there is no support for NFS datastores in VMware.

 Apologies for the confusion,

 -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 Wed, Nov 13, 2013 at 1:46 AM, hansz hanshizhun...@126.com wrote:
 hi,
 i follow this
 http://opennebula.org/cloud:vmware_centos

 share the front-end 's /var/lib/one/datastores/0 and 100 to esxi




 At 2013-11-12 22:24:21,Tino Vazquez cvazq...@c12g.com wrote:
Hi,

Which guide are you following?

Regards,

-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 Tue, Nov 12, 2013 at 2:42 PM, hansz hanshizhun...@126.com wrote:
 hi,
 a i feel confused,let me make it clearly,
 i use opennebula install on centos6.4(but the server only has i 300G
 disk)
 and esxi5.1 (has 2T disks),i follow the opennebula,
 i shared the front-end's /var/lib/one/datastores/0  and 1  to esxi5.1 use
 nfs,
 and i upload the image from the sunstone ,and then create vms, although
 the
 images and vms storages on the esxi's  /vmfs/volumes/0 and 1 but Actually
 it
 use the front-end's space storage these.and my centos server will full
 soon,
 what i want is that ,i can use the esxi's2T space to storage the images
 or
 vms ?
 can i do like this? how?  i make it clearier? hope so.






 At 2013-11-12 19:08:04,Tino Vazquez cvazq...@c12g.com wrote:
Hi,

There must be some misunderstanding. The OpenNebula front-end _cannot_
have a access to a vmfs system datastore (or vmfs image datastore, for
that matter).

Regards,

-Tino
--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com

Re: [one-users] opennebula4.2 with esxi5.1 when install vms faild

2013-11-12 Thread hansz
hi,man
another question
now i use opennebula4.2 install on centso 6.4and esxi 5.1,and when i create a 
vm ,the*.vmdk clone front-end's image datastore to front-end's system 
datastores. can i use esxi local storage to storage the vms ? as for my 
front-end has a limited storage. 







At 2013-11-12 17:05:38,Javier Fontan jfon...@opennebula.org wrote:
This is the error:

--8--
Tue Nov 12 15:11:14 2013 [TM][I]: fi failed: Permission denied
(publickey,keyboard-interactive).
--8--

It seems oneadmin user can not ssh without password from nebula to
10.24.101.72.



On Tue, Nov 12, 2013 at 8:30 AM, hansz hanshizhun...@126.com wrote:
 Tue Nov 12 15:11:07 2013 [DiM][I]: New VM state is ACTIVE.
 Tue Nov 12 15:11:07 2013 [LCM][I]: New VM state is PROLOG.
 Tue Nov 12 15:11:14 2013 [TM][I]: Command execution fail:
 /var/lib/one/remotes/tm/vmfs/clone
 nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b
 10.24.101.72:/vmfs/volumes/0/5/disk.0 5 1
 Tue Nov 12 15:11:14 2013 [TM][I]: clone: Cloning
 nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b in
 10.24.101.72:/vmfs/volumes/0/5/disk.0
 Tue Nov 12 15:11:14 2013 [TM][E]: clone: Command cd /vmfs/volumes/0/5
 Tue Nov 12 15:11:14 2013 [TM][I]:
 Tue Nov 12 15:11:14 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
 Tue Nov 12 15:11:14 2013 [TM][I]:
 Tue Nov 12 15:11:14 2013 [TM][I]: if [ FILE != CDROM ]; then
 Tue Nov 12 15:11:14 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/5/disk.0 ]; then
 Tue Nov 12 15:11:14 2013 [TM][I]: mkdir -p /vmfs/volumes/0/5/disk.0
 Tue Nov 12 15:11:14 2013 [TM][I]: fi
 Tue Nov 12 15:11:14 2013 [TM][I]:
 Tue Nov 12 15:11:14 2013 [TM][I]: vmkfstools -U
 /vmfs/volumes/0/5/disk.0/disk.vmdk
 Tue Nov 12 15:11:14 2013 [TM][I]: rm -f /vmfs/volumes/0/5/disk.0/*
 Tue Nov 12 15:11:14 2013 [TM][I]:
 Tue Nov 12 15:11:14 2013 [TM][I]: vmkfstools -i
 /var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b/disk.vmdk -d thin
 /vmfs/volumes/0/5/disk.0/disk.vmdk
 Tue Nov 12 15:11:14 2013 [TM][I]: else
 Tue Nov 12 15:11:14 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/5 ]; then
 Tue Nov 12 15:11:14 2013 [TM][I]: mkdir -p /vmfs/volumes/0/5
 Tue Nov 12 15:11:14 2013 [TM][I]: fi
 Tue Nov 12 15:11:14 2013 [TM][I]:
 Tue Nov 12 15:11:14 2013 [TM][I]: rm -f /vmfs/volumes/0/5/disk.0
 Tue Nov 12 15:11:14 2013 [TM][I]:
 Tue Nov 12 15:11:14 2013 [TM][I]: cp
 /var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b
 /vmfs/volumes/0/5/disk.0
 Tue Nov 12 15:11:14 2013 [TM][I]: ln -s /vmfs/volumes/0/5/disk.0
 /vmfs/volumes/0/5/disk.0.iso
 Tue Nov 12 15:11:14 2013 [TM][I]: fi failed: Permission denied
 (publickey,keyboard-interactive).
 Tue Nov 12 15:11:14 2013 [TM][E]: Error cloning
 nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b to
 10.24.101.72:/vmfs/volumes/0/5/disk.0
 Tue Nov 12 15:11:14 2013 [TM][I]: ExitCode: 255
 Tue Nov 12 15:11:14 2013 [TM][E]: Error executing image transfer script:
 Error cloning
 nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b to
 10.24.101.72:/vmfs/volumes/0/5/disk.0
 Tue Nov 12 15:11:14 2013 [DiM][I]: New VM state is FAILED
 Tue Nov 12 15:11:14 2013 [DiM][I]: New VM state is CLEANUP.
 Tue Nov 12 15:11:14 2013 [HKM][I]: Success executing Hook:
 on_failure_recreate: .




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] opennebula4.2 with esxi5.1 when install vms faild

2013-11-11 Thread hansz
Tue Nov 12 15:11:07 2013 [DiM][I]: New VM state is ACTIVE.
Tue Nov 12 15:11:07 2013 [LCM][I]: New VM state is PROLOG.
Tue Nov 12 15:11:14 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/clone 
nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b 
10.24.101.72:/vmfs/volumes/0/5/disk.0 5 1
Tue Nov 12 15:11:14 2013 [TM][I]: clone: Cloning 
nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b in 
10.24.101.72:/vmfs/volumes/0/5/disk.0
Tue Nov 12 15:11:14 2013 [TM][E]: clone: Command cd /vmfs/volumes/0/5
Tue Nov 12 15:11:14 2013 [TM][I]: 
Tue Nov 12 15:11:14 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
Tue Nov 12 15:11:14 2013 [TM][I]: 
Tue Nov 12 15:11:14 2013 [TM][I]: if [ FILE != CDROM ]; then
Tue Nov 12 15:11:14 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/5/disk.0 ]; then
Tue Nov 12 15:11:14 2013 [TM][I]: mkdir -p /vmfs/volumes/0/5/disk.0
Tue Nov 12 15:11:14 2013 [TM][I]: fi
Tue Nov 12 15:11:14 2013 [TM][I]: 
Tue Nov 12 15:11:14 2013 [TM][I]: vmkfstools -U 
/vmfs/volumes/0/5/disk.0/disk.vmdk
Tue Nov 12 15:11:14 2013 [TM][I]: rm -f /vmfs/volumes/0/5/disk.0/*
Tue Nov 12 15:11:14 2013 [TM][I]: 
Tue Nov 12 15:11:14 2013 [TM][I]: vmkfstools -i 
/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b/disk.vmdk -d thin 
/vmfs/volumes/0/5/disk.0/disk.vmdk
Tue Nov 12 15:11:14 2013 [TM][I]: else
Tue Nov 12 15:11:14 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/5 ]; then
Tue Nov 12 15:11:14 2013 [TM][I]: mkdir -p /vmfs/volumes/0/5
Tue Nov 12 15:11:14 2013 [TM][I]: fi
Tue Nov 12 15:11:14 2013 [TM][I]: 
Tue Nov 12 15:11:14 2013 [TM][I]: rm -f /vmfs/volumes/0/5/disk.0
Tue Nov 12 15:11:14 2013 [TM][I]: 
Tue Nov 12 15:11:14 2013 [TM][I]: cp 
/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b 
/vmfs/volumes/0/5/disk.0
Tue Nov 12 15:11:14 2013 [TM][I]: ln -s /vmfs/volumes/0/5/disk.0 
/vmfs/volumes/0/5/disk.0.iso
Tue Nov 12 15:11:14 2013 [TM][I]: fi failed: Permission denied 
(publickey,keyboard-interactive).
Tue Nov 12 15:11:14 2013 [TM][E]: Error cloning 
nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b to 
10.24.101.72:/vmfs/volumes/0/5/disk.0
Tue Nov 12 15:11:14 2013 [TM][I]: ExitCode: 255
Tue Nov 12 15:11:14 2013 [TM][E]: Error executing image transfer script: Error 
cloning nebula:/var/lib/one/datastores/1/db26556239aeae23087af8083e70bb1b to 
10.24.101.72:/vmfs/volumes/0/5/disk.0
Tue Nov 12 15:11:14 2013 [DiM][I]: New VM state is FAILED
Tue Nov 12 15:11:14 2013 [DiM][I]: New VM state is CLEANUP.
Tue Nov 12 15:11:14 2013 [HKM][I]: Success executing Hook: on_failure_recreate: 
. ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] esxi windows vms lost NIC dirver

2013-11-08 Thread hansz
hi,
i have try follow 

http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
  ,but my windows lost NIC driver too,i use opennebula 4.2 install on centos 
6.4  and esxi 5.1
the template


REQUIREMENTS=ID=\4\
GRAPHICS=[LISTEN=0.0.0.0,TYPE=VNC]
INPUT=[BUS=ps2,TYPE=tablet]
INPUT=[BUS=ps2,TYPE=mouse]
DISK=[IMAGE_ID=34]
MEMORY=1024
NIC=[MODEL=e1000,NETWORK_ID=12]
CPU=1
CONTEXT=[PASSWORD=password,SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY],NETWORK=YES,FILES=/var/lib/one/scripts/SetupComplete.cmd
 /var/lib/one/scripts/one-context.ps1 /var/lib/one/scripts/unattend.xml   
/var/lib/one/scripts/README.txt  /var/lib/one/scripts/startup.vbs]


anything wrong?







At 2013-11-04 19:22:57,Tino Vazquez cvazq...@c12g.com wrote:
Hi,

NIC_ID is internally assigned by OpenNebula, the user should not want
or be able to change this.

Regards,

-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 Mon, Nov 4, 2013 at 10:27 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 today i find my windows vms which lost Nic drver the NIC_ID  is 0,where can
 i configure the NIC_ID ?



 ___
 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] esxi windows vms lost NIC dirver

2013-11-04 Thread hansz
hi man,
today i find my windows vms which lost Nic drver the NIC_ID  is 0,where can i 
configure the NIC_ID ?___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] windows vm lose NIC driver

2013-10-31 Thread hansz
hi,
i am sure now i use  onehost create -v vmware -i vmware -n vmware. 
and when i create virtual network ,and the Network model:VMware  and the 
bridge:vSwitch0。
but when i create windows vms it lost nic dirver too. 
the vm i do not configure AIK







At 2013-10-30 18:03:53,Tino Vazquez cvazq...@c12g.com wrote:
Hi,

Not really, you can use both. Just wondering which one did you chose
so I can provide support. How did you add the host (ie onehost create
-v ... -i --- -n ...). It is the -n which will tell OpenNebula to
use dynamic (vmware) or pre-defined (dummy) network mode.

Regards,

-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 Wed, Oct 30, 2013 at 10:37 AM, hansz hanshizhun...@126.com wrote:
 you mean i should used fixed network  at the sunstone's virtual network ?






 At 2013-10-30 17:33:52,Tino Vazquez cvazq...@c12g.com wrote:
Hi,

It looks like you are using the dynamic network mode [1], can you
confirm this? Depending on the mode used I can advise one way or the
other.

Regards,

-Tino

[1] http://opennebula.org/documentation:rel4.2:vmwarenet

--
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.



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


[one-users] get windows2008.one

2013-10-31 Thread hansz
hi,
i see the http://wiki.ieeta.pt/wiki/index.php/OpenNebula has example for  
,could you be kind enough   show me one id and passwd
SetupComplete.cmd
startup.vbs
one-context.ps1
README.txt
unattend.xml
Windows2008.one___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] windows vm context

2013-10-30 Thread hansz
en,i have another question, if i use esxi create an windows7 vm ,and then tar 
the disk-flat.vmdk and the disk.vmdk ,then upload to the sunstone's image ,then 
create template ,create vm.but all the created vms all lost NIC dirver?
anything wrong?








在 2013-10-30 15:59:23,Martin Alfke tux...@gmail.com 写道:

On 30 Oct 2013, at 02:00, hansz hanshizhun...@126.com wrote:

 hi man,i see you are trying windows vm context?have you make it sucessful? 
 any message? any advice?
 
Hi Hans,

please keep OpenNebula related mails on the list.

We run Windows 7 and 8 professional as VM managed by OpenNebula.
On the OpenNebula wiki (http://wiki.opennebula.org/) you will find a section 
called “Images and Stores”.
Within that section you will find a link to a complete documentation:
http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines

We only did one modification to the one-context.ps1 script which allows us to 
read data properly:

function getContext($file) {
   $context = @{}
   switch -regex -file $file {
   '(.+)=(.+)’ {## ——— other regexp
   $name,$value = $matches[1..2]
   $context[$name] = $value
   }
   }
   return $context
}

hth,

Martin

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


Re: [one-users] windows vm lose NIC driver

2013-10-29 Thread hansz
the onevm show


[oneadmin@opennebula ~]$ onevm show 93 -x
VM
  ID93/ID
  UID0/UID
  GID0/GID
  UNAMEoneadmin/UNAME
  GNAMEoneadmin/GNAME
  NAMEtestwindows-93/NAME
  PERMISSIONS
OWNER_U1/OWNER_U
OWNER_M1/OWNER_M
OWNER_A0/OWNER_A
GROUP_U0/GROUP_U
GROUP_M0/GROUP_M
GROUP_A0/GROUP_A
OTHER_U0/OTHER_U
OTHER_M0/OTHER_M
OTHER_A0/OTHER_A
  /PERMISSIONS
  LAST_POLL1383094352/LAST_POLL
  STATE3/STATE
  LCM_STATE3/LCM_STATE
  RESCHED0/RESCHED
  STIME1383036562/STIME
  ETIME0/ETIME
  DEPLOY_IDone-93/DEPLOY_ID
  MEMORY1080320/MEMORY
  CPU2/CPU
  NET_TX0/NET_TX
  NET_RX0/NET_RX
  TEMPLATE
CONTEXT
  DISK_ID![CDATA[1]]/DISK_ID
  ETH0_DNS![CDATA[10.24.1.10]]/ETH0_DNS
  ETH0_GATEWAY![CDATA[10.24.101.252]]/ETH0_GATEWAY
  ETH0_IP![CDATA[10.24.101.105]]/ETH0_IP
  ETH0_MASK![CDATA[255.255.255.0]]/ETH0_MASK
  HOSTNAME![CDATA[testwindows-93]]/HOSTNAME
  NETWORK![CDATA[YES]]/NETWORK
  TARGET![CDATA[hdb]]/TARGET
/CONTEXT
CPU![CDATA[1]]/CPU
DISK
  CLONE![CDATA[YES]]/CLONE
  DATASTORE![CDATA[Vmimage]]/DATASTORE
  DATASTORE_ID![CDATA[105]]/DATASTORE_ID
  DEV_PREFIX![CDATA[hd]]/DEV_PREFIX
  DISK_ID![CDATA[0]]/DISK_ID
  IMAGE![CDATA[testwindows]]/IMAGE
  IMAGE_ID![CDATA[26]]/IMAGE_ID
  READONLY![CDATA[NO]]/READONLY
  SAVE![CDATA[NO]]/SAVE
  
SOURCE![CDATA[/var/lib/one/datastores/105/7740fe3e8f70e768546d0926dd6f39df]]/SOURCE
  TARGET![CDATA[hda]]/TARGET
  TM_MAD![CDATA[vmfs]]/TM_MAD
  TYPE![CDATA[FILE]]/TYPE
/DISK
GRAPHICS
  LISTEN![CDATA[0.0.0.0]]/LISTEN
  PASSWD![CDATA[hansz]]/PASSWD
  PORT![CDATA[5993]]/PORT
  TYPE![CDATA[VNC]]/TYPE
/GRAPHICS
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[mouse]]/TYPE
/INPUT
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
INPUT
  BUS![CDATA[ps2]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
INPUT
  BUS![CDATA[ps2]]/BUS
  TYPE![CDATA[mouse]]/TYPE
/INPUT
MEMORY![CDATA[1024]]/MEMORY
NIC
  BRIDGE![CDATA[one-pg-19]]/BRIDGE
  IP![CDATA[10.24.101.105]]/IP
  IP6_LINK![CDATA[fe80::400:aff:fe18:6569]]/IP6_LINK
  MAC![CDATA[02:00:0a:18:65:69]]/MAC
  NETWORK![CDATA[private]]/NETWORK
  NETWORK_ID![CDATA[4]]/NETWORK_ID
  NIC_ID![CDATA[0]]/NIC_ID
  VLAN![CDATA[NO]]/VLAN
/NIC
TEMPLATE_ID![CDATA[42]]/TEMPLATE_ID
VMID![CDATA[93]]/VMID
  /TEMPLATE
  USER_TEMPLATE
SCHED_REQUIREMENTS![CDATA[ID=2]]/SCHED_REQUIREMENTS
  /USER_TEMPLATE
  HISTORY_RECORDS
HISTORY
  OID93/OID
  SEQ0/SEQ
  HOSTNAME10.24.101.72/HOSTNAME
  HID2/HID
  STIME1383036578/STIME
  ETIME0/ETIME
  VMMMADvmware/VMMMAD
  VNMMADdummy/VNMMAD
  TMMADvmfs/TMMAD
  DS_LOCATION/vmfs/volumes/DS_LOCATION
  DS_ID104/DS_ID
  PSTIME1383036578/PSTIME
  PETIME1383038126/PETIME
  RSTIME1383038126/RSTIME
  RETIME0/RETIME
  ESTIME0/ESTIME
  EETIME0/EETIME
  REASON0/REASON
  ACTION0/ACTION
/HISTORY
  /HISTORY_RECORDS
/VM
[oneadmin@opennebula ~]$ 









At 2013-10-29 17:50:43,Tino Vazquez cvazq...@c12g.com wrote:
Hi,

Could you send us the template of one the windows VMs?

$ oneshow vid -x

where vid is the ID of the windows VM without the NIC.

Regards,

-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 Tue, Oct 29, 2013 at 10:40 AM, hansz hanshizhun...@126.com wrote:
 hi man
 i use centos6.4 opennebula4.2 and esxi 5.1 ,first i install windows vm
 (windows2008 R2) on esxi5.1 and tar the *.vmdk ,then upload the tar to
 sunstone image,and then create windows vms ,but all the created window vms
 lost NIC driver. anything wrong?



 ___
 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] can I bakup vm use opennebula

2013-10-15 Thread hansz
hi,man
can I bakup vm use opennebula?how? i does not find ,could you give me some 
advices?___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] migrate vm live error

2013-10-10 Thread hansz
hi,
live migrate error


Fri Oct 11 09:28:20 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/migrate 'one-203' '10.24.101.73' '10.24.101.35' 
203 10.24.101.35
Fri Oct 11 09:28:20 2013 [VMM][E]: migrate: Error executing: -r virsh -c 
vpx://10.24.101.71/123/10.24.101.35/?no_verify=1 migrate one-203 
vpx://10.24.101.71/123/10.24.101.73/?no_verify=1 err: ExitCode: 1
Fri Oct 11 09:28:20 2013 [VMM][I]: out: failed to connect to the hypervisor
Fri Oct 11 09:28:20 2013 [VMM][I]: ExitCode: 1
Fri Oct 11 09:28:20 2013 [VMM][I]: Failed to execute virtualization driver 
operation: migrate.
Fri Oct 11 09:28:20 2013 [VMM][E]: Error live migrating VM
Fri Oct 11 09:28:20 2013 [LCM][I]: Fail to live migrate VM. Assuming that the 
VM is still RUNNING (will poll VM).


my front-end /etc/one/vmware
# Libvirt congfiguration
:libvirt_uri: 'esx://@HOST@/?no_verify=1auto_answer=1'


# Username and password of the VMware hypervisor
:username: oneadmin
:password: cloud1234!


# VMotion configuration attributes
:datacenter: 123
:vcenter: 10.24.101.71






i have i try if i change :datacenter:ha-datacenter


Fri Oct 11 09:42:51 2013 [VMM][E]: migrate: Error executing: -r virsh -c 
vpx://10.24.101.71/ha-datacenter/10.24.101.35/?no_verify=1 migrate one-203 
vpx://10.24.101.71/ha-datacenter/10.24.101.73/?no_verify=1 err: ExitCode: 1
Fri Oct 11 09:42:51 2013 [VMM][I]: out: internal error curl_easy_perform() 
returned an error: Couldn't connect to server (7) : couldn't connect to host
Fri Oct 11 09:42:51 2013 [VMM][I]: error: failed to connect to the hypervisor
Fri Oct 11 09:42:51 2013 [VMM][I]: ExitCode: 1
Fri Oct 11 09:42:51 2013 [VMM][I]: Failed to execute virtualization driver 
operation: migrate.


[root@manager one]# virsh -c 
vpx://10.24.101.71/ha-datacenter/10.24.101.35/?no_verify=1 migrate one-203 
vpx://10.24.101.71/ha-datacenter/10.24.101.73/?no_verify=1
Enter username for 10.24.101.71 [administrator]: administrator   
Enter administrator's password for 10.24.101.71: 
error: internal error Could not find datacenter specified in 
'/ha-datacenter/10.24.101.35/'
error: failed to connect to the hypervisor




[root@manager one]# virsh -c 
vpx://10.24.101.71/ha-datacenter/10.24.101.35/?no_verify=1 migrate one-203 
vpx://10.24.101.71/ha-datacenter/10.24.101.73/?no_verify=1
Enter username for 10.24.101.71 [administrator]: oneadmin
Enter oneadmin's password for 10.24.101.71: 
error: internal error Could not find datacenter specified in 
'/ha-datacenter/10.24.101.35/'
error: failed to connect to the hypervisor

the Attachment is my vcenter's Architecture 






在 2013-10-10 17:15:08,Tino Vazquez cvazq...@c12g.com 写道:
Hi,

Ok, perfect. Can you give us the output of:

virsh -c vpx://10.24.101.71/123/qianyi/?no_verify=1migrate one-187
vpx://10.24.101.71/123/vmware/?no_verify=1

Regards,

-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.


Architecture.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] migrate vm live error

2013-10-09 Thread hansz
hi, 
i have a try to migrate vm live,but it allways faild,i user opennebula 4.1  
install centos 6.4  and vm on two esxi 5.1, and as follow i have install 
vcenter on esxi5.1 (1),and i can migrate vm esxi51.(1) to esxi5.1(2) use 
sunstone migrate cold, 
and my vmware file as follow


# Libvirt congfiguration
:libvirt_uri: 'esx://@HOST@/?no_verify=1auto_answer=1'


# Username and password of the VMware hypervisor
:username: oneadmin
:password: cloud1234!


# VMotion configuration attributes
:datacenter: 123
:vcenter: 10.24.101.71




the log
Thu Sep 26 16:43:00 2013 [LCM][I]: New VM state is MIGRATE
Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute transfer manager driver 
operation: tm_premigrate.
Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Thu Sep 26 16:43:06 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/migrate 'one-187' 'vmware' 'qianyi' 187 qianyi
Thu Sep 26 16:43:06 2013 [VMM][E]: migrate: Error executing: -r virsh -c 
vpx://10.24.101.71/ha-datacenter/qianyi/?no_verify=1 migrate one-187 
vpx://10.24.101.71/ha-datacenter/vmware/?no_verify=1 err: ExitCode: 1
Thu Sep 26 16:43:06 2013 [VMM][I]: out: internal error Could not find 
datacenter specified in '/ha-datacenter/qianyi/'
Thu Sep 26 16:43:06 2013 [VMM][I]: error: failed to connect to the hypervisor
Thu Sep 26 16:43:06 2013 [VMM][I]: ExitCode: 1
Thu Sep 26 16:43:06 2013 [VMM][I]: Failed to execute virtualization driver 
operation: migrate.
Thu Sep 26 16:43:06 2013 [VMM][E]: Error live migrating VM
Thu Sep 26 16:43:06 2013 [LCM][I]: Fail to live migrate VM. Assuming that the 
VM is still RUNNING (will poll VM).




is there anything wrong ? pls give me some detail advices

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


Re: [one-users] migrate vm live error

2013-10-09 Thread hansz
i am so sorry i install opennebula 4.2 on front-end not 4.1 








At 2013-10-09 20:35:54,Tino Vazquez cvazq...@c12g.com wrote:
Hi


On Wed, Oct 9, 2013 at 10:58 AM, hansz hanshizhun...@126.com wrote:
 hi,
 i have a try to migrate vm live,but it allways faild,i user opennebula 4.1
 install centos 6.4  and vm on two esxi 5.1, and as follow i have install
 vcenter on esxi5.1 (1),and i can migrate vm esxi51.(1) to esxi5.1(2) use
 sunstone migrate cold,
 and my vmware file as follow

Please upgrade to OpenNebula 4.2 whenever possible.



 # Libvirt congfiguration
 :libvirt_uri: 'esx://@HOST@/?no_verify=1auto_answer=1'

 # Username and password of the VMware hypervisor
 :username: oneadmin
 :password: cloud1234!

 # VMotion configuration attributes
 :datacenter: 123
 :vcenter: 10.24.101.71


 the log
 Thu Sep 26 16:43:00 2013 [LCM][I]: New VM state is MIGRATE
 Thu Sep 26 16:43:00 2013 [VMM][I]: Succe ssfully execute transfer manager
 driver operation: tm_premigrate.
 Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute network driver
 operation: pre.
 Thu Sep 26 16:43:06 2013 [VMM][I]: Command execution fail:
 /var/lib/one/remotes/vmm/vmware/migrate 'one-187' 'vmware' 'qianyi' 187
 qianyi
 Thu Sep 26 16:43:06 2013 [VMM][E]: migrate: Error executing: -r virsh -c
 vpx://10.24.101.71/ha-datacenter/qianyi/?no_verify=1 migrate one-187
 vpx://10.24.101.71/ha-datacenter/vmware/?no_verify=1 err: ExitCode: 1
 Thu Sep 26 16:43:06 2013 [VMM][I]: out: internal error Could not find
 datacenter specified in '/ha-datacenter/qianyi/'
 Thu Sep 26 16:43:06 2013 [VMM][I]: error: failed to connect to the
 hypervisor
 Thu Sep 26 16:43:06 2013 [VMM][I]: ExitCode: 1
 Thu Sep 26 16:43:06 2013 [VMM][I]: Failed to execute virtualization driver
 operation: migrate.
 Thu Sep 26 16:43:06 2013 [VMM][E]: Error live migrating VM
 Thu Sep 26 16:43:06 2013 [LCM][I]: Fail to live migrate VM. Assuming that
 the VM is still RUNNING (will poll VM).

Looks that the datacenter 123 is not getting picked properly. Could
you give us the output of

virsh -c vpx://10.24.101.71/123/qianyi/?no_verify=1migrate one-187
vpx://10.24.101.71/123/vmware/?no_verify=1


Regards,

-Tino



 is there anything wrong ? pls give me some detail advices




 ___
 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


Re: [one-users] opennebula front-end reboot ip change

2013-10-08 Thread hansz
i have found if i install the opennebula-context.rpm  ,if i reboot  my 
front-end it 's ip change ,if i chkconfig  vmcontext off  reboot  ,ip not 
change 






在 2013-10-09 00:12:58,Carlos Martín Sánchez cmar...@opennebula.org 写道:

Hi,


On Sun, Sep 29, 2013 at 11:02 AM, hansz hanshizhun...@126.com wrote:

hi,man
this days i have found a question, i install opennebula 4.2 on centos 6.4 (as 
the front-end)  but everytime i reboot the  front-end it's ip always change to 
i different one, where mybe has a wrong config? pls give help
 
OpenNebula does not make any changes to the frontend networking configuration, 
you can configure any IP you need.


Regards
--

Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple

www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula

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


[one-users] opennebula front-end reboot ip change

2013-09-29 Thread hansz
hi,man
this days i have found a question, i install opennebula 4.2 on centos 6.4 (as 
the front-end)  but everytime i reboot the  front-end it's ip always change to 
i different one, where mybe has a wrong config? pls give help___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] migrate live error

2013-09-28 Thread hansz
hi, 
i have a try to migrate vm live,but it allways faild,i user opennebula 4.1  
install centos 6.4  and vm on two esxi 5.1, and as follow i have install 
vcenter on esxi5.1 (1),and i can migrate vm esxi51.(1) to esxi5.1(2) use 
sunstone migrate cold, 
and my vmware file as follow


# Libvirt congfiguration
:libvirt_uri: 'esx://@HOST@/?no_verify=1auto_answer=1'


# Username and password of the VMware hypervisor
:username: oneadmin
:password: cloud1234!


# VMotion configuration attributes
:datacenter: 123
:vcenter: 10.24.101.71




the log
Thu Sep 26 16:43:00 2013 [LCM][I]: New VM state is MIGRATE
Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute transfer manager driver 
operation: tm_premigrate.
Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Thu Sep 26 16:43:06 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/migrate 'one-187' 'vmware' 'qianyi' 187 qianyi
Thu Sep 26 16:43:06 2013 [VMM][E]: migrate: Error executing: -r virsh -c 
vpx://10.24.101.71/ha-datacenter/qianyi/?no_verify=1 migrate one-187 
vpx://10.24.101.71/ha-datacenter/vmware/?no_verify=1 err: ExitCode: 1
Thu Sep 26 16:43:06 2013 [VMM][I]: out: internal error Could not find 
datacenter specified in '/ha-datacenter/qianyi/'
Thu Sep 26 16:43:06 2013 [VMM][I]: error: failed to connect to the hypervisor
Thu Sep 26 16:43:06 2013 [VMM][I]: ExitCode: 1
Thu Sep 26 16:43:06 2013 [VMM][I]: Failed to execute virtualization driver 
operation: migrate.
Thu Sep 26 16:43:06 2013 [VMM][E]: Error live migrating VM
Thu Sep 26 16:43:06 2013 [LCM][I]: Fail to live migrate VM. Assuming that the 
VM is still RUNNING (will poll VM).




is there anything wrong ? pls give me some detail advices___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vmware migreate error

2013-09-26 Thread hansz
hi,
i find at http://opennebula.org/documentation:rel4.2:devel-vmm   there is 
migrate on kvm  , but how can i config the vmware driver


like this ?  
VM_MAD = [
name   = vmware,
executable = one_vmm_exec,
arguments  = -t 15 -r 0 -l migrate,save vmware,
default= vmm_exec/vmm_exec_vmware.conf,
type   = vmware]

i want to migrate online 







At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote:
Hi there,

We would need a bit more of context of that log file, could you send
an excerpt covering 10 lines before and after?

Also, it would be good to know which version of OpenNebula, and which
migration are you trying to invoke (cold or live migration). If it is
a live migration, please bear in mind that you would need a working
vCenter installation, with vMotion capabilities.

Best regards,

-Tino
--
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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 today i have a try to migrate one vm ,but it faild
 the log :
 rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae
 one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:!
 my environment
 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the
 datastores system and the datastores iamge into it, and mount the iscsi disk
 /var/lib/one/datastore)
 2, x3650 install vmware esxi 5.1
 3.x3650 install vmware esxi 5.1
 i have already add the two esxi to the onehost ,and  i can create vm on
 both, but i want to migrate  one vm one vmware1 to vmware 2 it faild.

 what is wrong ?
 pls gave me some ideals .
 thinks




 ___
 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] vmware migreate error log

2013-09-26 Thread hansz
the log
Thu Sep 26 16:43:00 2013 [LCM][I]: New VM state is MIGRATE
Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute transfer manager driver 
operation: tm_premigrate.
Thu Sep 26 16:43:00 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Thu Sep 26 16:43:06 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/vmm/vmware/migrate 'one-187' 'vmware' 'qianyi' 187 qianyi
Thu Sep 26 16:43:06 2013 [VMM][E]: migrate: Error executing: -r virsh -c 
vpx://10.24.101.71/ha-datacenter/qianyi/?no_verify=1 migrate one-187 
vpx://10.24.101.71/ha-datacenter/vmware/?no_verify=1 err: ExitCode: 1
Thu Sep 26 16:43:06 2013 [VMM][I]: out: internal error Could not find 
datacenter specified in '/ha-datacenter/qianyi/'
Thu Sep 26 16:43:06 2013 [VMM][I]: error: failed to connect to the hypervisor
Thu Sep 26 16:43:06 2013 [VMM][I]: ExitCode: 1
Thu Sep 26 16:43:06 2013 [VMM][I]: Failed to execute virtualization driver 
operation: migrate.
Thu Sep 26 16:43:06 2013 [VMM][E]: Error live migrating VM
Thu Sep 26 16:43:06 2013 [LCM][I]: Fail to live migrate VM. Assuming that the 
VM is still RUNNING (will poll VM).






At 2013-09-26 16:31:22,hansz hanshizhun...@126.com wrote:

hi,
i find at http://opennebula.org/documentation:rel4.2:devel-vmm   there is 
migrate on kvm  , but how can i config the vmware driver


like this ?  
VM_MAD = [
name   = vmware,
executable = one_vmm_exec,
arguments  = -t 15 -r 0 -l migrate,save vmware,
default= vmm_exec/vmm_exec_vmware.conf,
type   = vmware]

i want to migrate online 







At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote:
Hi there,

We would need a bit more of context of that log file, could you send
an excerpt covering 10 lines before and after?

Also, it would be good to know which version of OpenNebula, and which
migration are you trying to invoke (cold or live migration). If it is
a live migration, please bear in mind that you would need a working
vCenter installation, with vMotion capabilities.

Best regards,

-Tino
--
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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 today i have a try to migrate one vm ,but it faild
 the log :
 rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae
 one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:!
 my environment
 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the
 datastores system and the datastores iamge into it, and mount the iscsi disk
 /var/lib/one/datastore)
 2, x3650 install vmware esxi 5.1
 3.x3650 install vmware esxi 5.1
 i have already add the two esxi to the onehost ,and  i can create vm on
 both, but i want to migrate  one vm one vmware1 to vmware 2 it faild.

 what is wrong ?
 pls gave me some ideals .
 thinks




 ___
 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] vmware migreate error

2013-09-24 Thread hansz
hi man,
today i have a try to migrate one vm ,but it faild
the log :
rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae 
one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:!
my environment
1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the datastores 
system and the datastores iamge into it, and mount the iscsi disk 
/var/lib/one/datastore)
2, x3650 install vmware esxi 5.1
3.x3650 install vmware esxi 5.1
i have already add the two esxi to the onehost ,and  i can create vm on both, 
but i want to migrate  one vm one vmware1 to vmware 2 it faild.


what is wrong ?
pls gave me some ideals .
thinks 

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


Re: [one-users] vmware migreate error

2013-09-24 Thread hansz
hi ,
 the version is 4.2 and esxi 5.1, follow your advices,i have ready create a 
working vCenter  with vMotion capabilities.
and i can migrate vm from esxi5.1(1)to esxi 5.2 (2) use vcenter, but how can i 
use opennebula do migration ,
i see in the vmwarerc file has :vcenter should i write like vcenter: 
192.168.1.1 or not, i want to try live migration


thinks for some advices.
 
 






At 2013-09-24 17:25:05,Tino Vazquez cvazq...@c12g.com wrote:
Hi there,

We would need a bit more of context of that log file, could you send
an excerpt covering 10 lines before and after?

Also, it would be good to know which version of OpenNebula, and which
migration are you trying to invoke (cold or live migration). If it is
a live migration, please bear in mind that you would need a working
vCenter installation, with vMotion capabilities.

Best regards,

-Tino
--
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 Tue, Sep 24, 2013 at 8:41 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 today i have a try to migrate one vm ,but it faild
 the log :
 rror: executing: -r virsh -c vpx:///ha-datacenter/qianyi/?no_verify=1 migrae
 one-180 vpx:///ha-datacenter/vmware/?no_verify=1 err:ExitCode:!
 my environment
 1, x3650 install opennebual 4.2 (with one 1T iscsi disk,and i cp the
 datastores system and the datastores iamge into it, and mount the iscsi disk
 /var/lib/one/datastore)
 2, x3650 install vmware esxi 5.1
 3.x3650 install vmware esxi 5.1
 i have already add the two esxi to the onehost ,and  i can create vm on
 both, but i want to migrate  one vm one vmware1 to vmware 2 it faild.

 what is wrong ?
 pls gave me some ideals .
 thinks




 ___
 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] about *.vmdk.tar.bz2

2013-09-11 Thread hansz
hi man.
i have a problem about *.vmdk.tar.bz2 , how much big  caps is the 
*.vmdk.tar.bz2  ,i made one for 10G,but when i upload it to the image i faild,
the log is  ERROR copying image in the datastore: Error copying 
/var/tmp/thin-body* to /var/lib/one/datastores/113/c9c44*


how can i solve this problem? pls... help___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] opennebula + esxi 5.1

2013-08-22 Thread hansz
i have already do this test for 2 weeks, but no one successful ,
could you give me some help, how to make it work,
pls give some more detail steps,ok?


I use centos 6.4 and opennebula ,when i install my centos6.4 os i only select 
desktop.___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] onedatastore list -x

2013-08-22 Thread hansz
[oneadmin@manager01 ~]$ onedatastore list -x
DATASTORE_POOL
  DATASTORE
ID0/ID
UID0/UID
GID0/GID
UNAMEoneadmin/UNAME
GNAMEoneadmin/GNAME
NAMEsystem/NAME
PERMISSIONS
  OWNER_U1/OWNER_U
  OWNER_M1/OWNER_M
  OWNER_A0/OWNER_A
  GROUP_U1/GROUP_U
  GROUP_M0/GROUP_M
  GROUP_A0/GROUP_A
  OTHER_U0/OTHER_U
  OTHER_M0/OTHER_M
  OTHER_A0/OTHER_A
/PERMISSIONS
DS_MAD-/DS_MAD
TM_MADshared/TM_MAD
BASE_PATH/var/lib/one/datastores/0/BASE_PATH
TYPE1/TYPE
DISK_TYPE0/DISK_TYPE
CLUSTER_ID-1/CLUSTER_ID
CLUSTER/
TOTAL_MB0/TOTAL_MB
FREE_MB0/FREE_MB
USED_MB0/USED_MB
IMAGES/
TEMPLATE
  TM_MAD![CDATA[shared]]/TM_MAD
  TYPE![CDATA[SYSTEM_DS]]/TYPE
/TEMPLATE
  /DATASTORE
  DATASTORE
ID1/ID
UID0/UID
GID0/GID
UNAMEoneadmin/UNAME
GNAMEoneadmin/GNAME
NAMEdefault/NAME
PERMISSIONS
  OWNER_U1/OWNER_U
  OWNER_M1/OWNER_M
  OWNER_A0/OWNER_A
  GROUP_U1/GROUP_U
  GROUP_M0/GROUP_M
  GROUP_A0/GROUP_A
  OTHER_U1/OTHER_U
  OTHER_M0/OTHER_M
  OTHER_A0/OTHER_A
/PERMISSIONS
DS_MADfs/DS_MAD
TM_MADshared/TM_MAD
BASE_PATH/var/lib/one/datastores/1/BASE_PATH
TYPE0/TYPE
DISK_TYPE0/DISK_TYPE
CLUSTER_ID-1/CLUSTER_ID
CLUSTER/
TOTAL_MB18953/TOTAL_MB
FREE_MB12688/FREE_MB
USED_MB1/USED_MB
IMAGES/
TEMPLATE
  DS_MAD![CDATA[fs]]/DS_MAD
  TM_MAD![CDATA[shared]]/TM_MAD
  TYPE![CDATA[IMAGE_DS]]/TYPE
/TEMPLATE
  /DATASTORE
  DATASTORE
ID2/ID
UID0/UID
GID0/GID
UNAMEoneadmin/UNAME
GNAMEoneadmin/GNAME
NAMEfiles/NAME
PERMISSIONS
  OWNER_U1/OWNER_U
  OWNER_M1/OWNER_M
  OWNER_A0/OWNER_A
  GROUP_U1/GROUP_U
  GROUP_M0/GROUP_M
  GROUP_A0/GROUP_A
  OTHER_U1/OTHER_U
  OTHER_M0/OTHER_M
  OTHER_A0/OTHER_A
/PERMISSIONS
DS_MADfs/DS_MAD
TM_MADssh/TM_MAD
BASE_PATH/var/lib/one/datastores/2/BASE_PATH
TYPE2/TYPE
DISK_TYPE0/DISK_TYPE
CLUSTER_ID-1/CLUSTER_ID
CLUSTER/
TOTAL_MB18953/TOTAL_MB
FREE_MB12688/FREE_MB
USED_MB1/USED_MB
IMAGES/
TEMPLATE
  DS_MAD![CDATA[fs]]/DS_MAD
  TM_MAD![CDATA[ssh]]/TM_MAD
  TYPE![CDATA[FILE_DS]]/TYPE
/TEMPLATE
  /DATASTORE
  DATASTORE
ID100/ID
UID0/UID
GID0/GID
UNAMEoneadmin/UNAME
GNAMEoneadmin/GNAME
NAMEvmwareimage/NAME
PERMISSIONS
  OWNER_U1/OWNER_U
  OWNER_M1/OWNER_M
  OWNER_A0/OWNER_A
  GROUP_U1/GROUP_U
  GROUP_M0/GROUP_M
  GROUP_A0/GROUP_A
  OTHER_U0/OTHER_U
  OTHER_M0/OTHER_M
  OTHER_A0/OTHER_A
/PERMISSIONS
DS_MADfs/DS_MAD
TM_MADvmfs/TM_MAD
BASE_PATH/var/lib/one/datastores/100/BASE_PATH
TYPE0/TYPE
DISK_TYPE0/DISK_TYPE
CLUSTER_ID-1/CLUSTER_ID
CLUSTER/
TOTAL_MB18953/TOTAL_MB
FREE_MB12688/FREE_MB
USED_MB612/USED_MB
IMAGES
  ID0/ID
  ID3/ID
/IMAGES
TEMPLATE
  DS_MAD![CDATA[fs]]/DS_MAD
  DS_USE_SSH![CDATA[YES]]/DS_USE_SSH
  TM_MAD![CDATA[vmfs]]/TM_MAD
  TM_USE_SSH![CDATA[YES]]/TM_USE_SSH
  TYPE![CDATA[IMAGE_DS]]/TYPE
/TEMPLATE
  /DATASTORE
/DATASTORE_POOL
[oneadmin@manager01 ~]$ ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] vnc grep

2013-08-22 Thread hansz
centos 6.4 +opennebula 4.2
(1)now  in my opennebula i can see vnc ,but the clour is grep ,if i click it 
,can show an window ,but it is blank ,and i can see 
VNC Server disconnection(code 1006)


(2)i am sure i install the novnc ,python-setuptools,python-websockify rpm 
package.
i also set the language english.
(3) this is the nonvc.log
190 I, [2013-08-22T16:00:03.567586 #9629]  INFO -- : Killing VNC proxy
191 I, [2013-08-22T16:00:04.589507 #9629]  INFO -- : Deleting stale lock 
file
192 I, [2013-08-22T16:00:04.841151 #9656]  INFO -- : Starting VNC proxy: 
python /usr/share/one/websockify/websocketproxy.py 
--target-config=/var/lib/one/sunstone_vnc_tokens  29876
193 WARNING: no 'numpy' module, HyBi protocol is slower or disabled
194 WebSocket server settings:
195   - Listen on :29876
196   - Flash security policy server
197   - No SSL/TLS support (no cert file)
198   - proxying from :29876 to targets in /var/lib/one/sunstone_vnc_tokens
199 
200   1: 10.24.12.132: SSL connection but '/root/self.pem' not found

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


[one-users] Missing VNC icon in sunstone

2013-08-19 Thread hansz
 I have performed aninstall opennebula using RPM packages ,but the VNC icon in 
the sunstone page is not appearing anymore on any running instance. VNC proxy 
is running and no errors are shown in sunstone.log or novnc.log. Direct VNC 
connection to instances is working correctly. Any hint?


I read this is a bug ,but how can i solve the bug,i see set the sunstone's 
language english? However it does not work?
any solutions? pls more detail .___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] vnc can not see and how to create an windos vm

2013-08-19 Thread hansz
Mon Aug 19 16:30:58 2013 [DiM][I]: New VM state is ACTIVE.
Mon Aug 19 16:30:58 2013 [LCM][I]: New VM state is PROLOG.
Mon Aug 19 16:31:02 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/clone 
opennebula:/var/lib/one/datastores/100/5405318d2fafa21d45ec5d3dd82d61e4 
192.168.3.134:/vmfs/volumes/0/36/disk.1 36 100
Mon Aug 19 16:31:02 2013 [TM][I]: clone: Cloning 
opennebula:/var/lib/one/datastores/100/5405318d2fafa21d45ec5d3dd82d61e4 in 
192.168.3.134:/vmfs/volumes/0/36/disk.1
Mon Aug 19 16:31:02 2013 [TM][E]: clone: Command cd /vmfs/volumes/0/36
Mon Aug 19 16:31:02 2013 [TM][I]: 
Mon Aug 19 16:31:02 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
Mon Aug 19 16:31:02 2013 [TM][I]: 
Mon Aug 19 16:31:02 2013 [TM][I]: if [ FILE != CDROM ]; then
Mon Aug 19 16:31:02 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/36/disk.1 ]; then
Mon Aug 19 16:31:02 2013 [TM][I]: mkdir -p /vmfs/volumes/0/36/disk.1
Mon Aug 19 16:31:02 2013 [TM][I]: fi
Mon Aug 19 16:31:02 2013 [TM][I]: 
Mon Aug 19 16:31:02 2013 [TM][I]: vmkfstools -U 
/vmfs/volumes/0/36/disk.1/disk.vmdk
Mon Aug 19 16:31:02 2013 [TM][I]: rm -f /vmfs/volumes/0/36/disk.1/*
Mon Aug 19 16:31:02 2013 [TM][I]: 
Mon Aug 19 16:31:02 2013 [TM][I]: vmkfstools -i 
/var/lib/one/datastores/100/5405318d2fafa21d45ec5d3dd82d61e4/disk.vmdk -d thin 
/vmfs/volumes/0/36/disk.1/disk.vmdk
Mon Aug 19 16:31:02 2013 [TM][I]: else
Mon Aug 19 16:31:02 2013 [TM][I]: if [ ! -d /vmfs/volumes/0/36 ]; then
Mon Aug 19 16:31:02 2013 [TM][I]: mkdir -p /vmfs/volumes/0/36
Mon Aug 19 16:31:02 2013 [TM][I]: fi
Mon Aug 19 16:31:02 2013 [TM][I]: 
Mon Aug 19 16:31:02 2013 [TM][I]: rm -f /vmfs/volumes/0/36/disk.1
Mon Aug 19 16:31:02 2013 [TM][I]: 
Mon Aug 19 16:31:02 2013 [TM][I]: cp 
/var/lib/one/datastores/100/5405318d2fafa21d45ec5d3dd82d61e4 
/vmfs/volumes/0/36/disk.1
Mon Aug 19 16:31:02 2013 [TM][I]: ln -s /vmfs/volumes/0/36/disk.1 
/vmfs/volumes/0/36/disk.1.iso
Mon Aug 19 16:31:02 2013 [TM][I]: fi failed: Failed to delete virtual disk: 
The system cannot find the file specified (25).
Mon Aug 19 16:31:02 2013 [TM][I]: DiskLib_Check() failed for source disk The 
system cannot find the file specified (25).
Mon Aug 19 16:31:02 2013 [TM][E]: Error cloning 
opennebula:/var/lib/one/datastores/100/5405318d2fafa21d45ec5d3dd82d61e4 to 
192.168.3.134:/vmfs/volumes/0/36/disk.1
Mon Aug 19 16:31:02 2013 [TM][I]: ExitCode: 255
Mon Aug 19 16:31:02 2013 [TM][E]: Error executing image transfer script: Error 
cloning opennebula:/var/lib/one/datastores/100/5405318d2fafa21d45ec5d3dd82d61e4 
to 192.168.3.134:/vmfs/volumes/0/36/disk.1
Mon Aug 19 16:31:02 2013 [DiM][I]: New VM state is FAILED___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org