Hi,
I cloned windows VM with 2 additional disk using built-in clone vm workflow. Vm got cloned but additional virtual disk didn't get cloned. can anyone help me on this?
Thanks in advance.
Wow, I haven't seen this topic come up since vCenter 3.x Back then, I worked a project that had this requirement and as you found the library workflows do not account for multi-disks... I do NOT have a current version of the workflow, but here's a description of the issue and what needs to be done:
Description
- The Clone * workflows call an action named "getRelocateSpec" ... that action has an input named "disk" that is an Array/Any type -- the actual objects that need to be in the array are VirtualMachineRelocateSpecDiskLocator ... Since the Library versions of the workflows pass a null value to that input, only the default disk gets cloned. Here's what you need to do to work around this.
Solution Walk Through
Attached is a package containing my solution built with vCenter 3.x -- it will NOT work for 4.x/5.x environments - I only include it so you have some reference as to how I built it.
Thanks, will try and let you know