Hi Stumpr,
Since i could not get better performance from cloning a VM from template we decided to go for linked cloning.
From VM we took snapshot and then from snapshot we creating a Linked VM.
This is very urgent and need immediate assistance. I tried to do Linked clone from snapshot but while customization step it report error and bailout with message as
SOAP Fault:
-----------
Fault string: Cannot complete customization.
Fault detail: CustomizationFault
While looking into vxpd.log following was observed and would like to know what is the issues.
[2013-07-01 03:07:13.837 03592 error 'App' opID=4d18c637] [clone] (win7mcs6161) Unexpected exception (vim.fault.CustomizationFault) during clone. Aborting.
[2013-07-01 03:07:13.805 03592 verbose 'App' opID=4d18c637] [clone] (win7mcs6161) Validating RelocateSpec
[2013-07-01 03:07:13.805 03592 verbose 'App' opID=4d18c637] [clone] (win7mcs6161) Performing pre-clone checks
[2013-07-01 03:07:13.821 03592 verbose 'App' opID=4d18c637] [clone] (win7mcs6161) Checking the customization spec.
[2013-07-01 03:07:13.821 03592 verbose 'App' opID=4d18c637] [IMC] Setting param specialize.Microsoft-indows-Shell-Setup.ComputerName to value win7mcs6161lc2
[2013-07-01 03:07:13.837 03592 error 'App' opID=4d18c637] [clone] (win7mcs6161) Unexpected exception (vim.fault.CustomizationFault) during clone. Aborting.
"win7mcs6161lc2"
name = "win7mcs6161lc2",
here are the option i am using.
deployVMLinked.pl --server company.com --username adminuser --vmhost asdfg.company.com --vmname win7mcs6161 --vmname_destination win7mcs6161lc2 --snapname Wx64Gold --password <apssword> --dnsdomain company.com --gateway <ip address> --dnsservers <ip address> --netmask <ip address> --ipaddress <ip address> --datastore pdwertwN_91 --resourcepool localpool --domain company.com --plaintextpassword --guestid windows7_64Guest --customize_guest yes --domainuserpassword <password>
Please refer my linked clone script. any help would greatly appreciated.