Dear all,

I'm having some trouble cloning a vmware vm with clone vm.

I followed the instructions in the "xCAT Virtualization with VMWare"
wiki article 
(http://sourceforge.net/apps/mediawiki/xcat/index.php?title=XCAT_Virtualization_with_VMWare#Clone_a_virtual_machine_node)

But it does not seem to work:
[root@xcat ~]# clonevm vm5 -t nfs://10.0.2.31/vms/shared/vmmaster
vm5: Successfully copied to nfs: //10.0.2.31/vms/shared/vmmaster
[root@xcat ~]# tabdump vm
#node,host,migrationdest,storage,storagemodel,cfgstore,memory,cpus,nics,nicmodel,bootorder,clockoffset,virtflags,master,vncport,textconsole,powerstate,beacon,datacenter,guestostype,othersettings,vidmodel,vidproto,comments,disable
"vm5","blade03",,"nfs://xcat.core.cloud/vms/shared",,"nfs://xcat.core.cloud/vms/shared","2048","2","eth0",,,,,,,,,,"vlan5",,,,,"VM
auto created by Moab",
[root@xcat ~]# ls /vms/shared/ -al
total 24
drwxr-xr-x 4 root root 4096 Jul 24 01:39 .
drwxr-xr-x 5 root root 4096 Jul 20 12:41 ..
drwxr-xr-x 2 root root 4096 Jul 24 01:41
nfs_+JQ-2f+JQ-2f10.0.2.31+JQ-2fvms+JQ-2fshar
drwxr-xr-x 2 root root 4096 Jul 24 01:41 vm5
[root@xcat ~]#

Also, i tried creating the vm without specifying the nfs path (since
clonevm's man page mentioned nothing about it) and...
[root@xcat ~]# ls -l /vms/shared/
total 20
drwxr-xr-x 2 root root 4096 Jul 24 01:41
nfs_+JQ-2f+JQ-2f10.0.2.31+JQ-2fvms+JQ-2fshar
drwxr-xr-x 2 root root 4096 Jul 24 01:46
nfs_+JQ-2f+JQ-2fxcat.core.cloud+JQ-2fvms+JQ
drwxr-xr-x 2 root root 4096 Jul 24 01:48 vm5
drwxr-xr-x 2 root root 4096 Jul 24 01:46 vm6
drwxr-xr-x 2 root root 4096 Jul 24 01:48 vmmaster2
[root@xcat ~]#

This time, xCAT did create a "vmmaster2" directory (and i briefly saw
some references to "vmmaster2" on the hypervisor).

The problem is that "clonevm -b vmmaster2 clonevm1" does not work,
because xCAT does not find vmmaster2 anywhere:
[root@xcat ~]# clonevm -b vmmaster2 clonevm1
Error: Invalid nodes and/or groups in noderange: vmmaster2
[root@xcat ~]#

Isn't xCAT supposed to edit the "vm" table and set vm.master on the
source vm to "vmmaster2" ?

Any thoughts on what might be happening?

p.s. i'm using xCAT-2.6.1-snap201106151110.

Thank you,
Luis

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to