VMware {code} Community
weebledude
Contributor
Contributor

Monitoring Multiple VM Cloning Operations

Hello, I need some advice. My code creates 5 VMs (cloned from template). I need to figure out how to monitor the VM cloning operations and then once they are complete, get the MAC for each clone and power on the machines. What is the recommended way to monitor the cloning operation? ANy advice or example code would be greatly appreciated. My code is C# if it matters. Thanks, Bill

0 Kudos
1 Reply
admin
Immortal
Immortal

You can use waitForUpdates method and use it in a way so that it Waits for a set of values for properties on a managed object to change to new values as specified by the parameters.

Please find a java sample attached, which explains how the cloning operation isbeing monitored, using waitForTask.

0 Kudos