hello, thank you for your answere.. the task in vsphere ends within 1 second - but the customization needs around 5 - 10 minutes with multiple reboots. i will simple set a waiting timer for 1...
See more...
hello, thank you for your answere.. the task in vsphere ends within 1 second - but the customization needs around 5 - 10 minutes with multiple reboots. i will simple set a waiting timer for 15 minutes and after that time Periode check if the VMWare-Tools are running.
a really simple Solution would be: https://www.vmware.com/support/orchestrator/doc/vco_vsphere55_api/html/VcVirtualMachine.html i hope every VM in your environment has a unique name...
//w...
See more...
a really simple Solution would be: https://www.vmware.com/support/orchestrator/doc/vco_vsphere55_api/html/VcVirtualMachine.html i hope every VM in your environment has a unique name...
//we go through each VM
for(var i in VMS)
{
//each new VM is per default not excluded
var isExcluded = false;
// check against exclude array
for(var j in exclude)
{
if(VMS[i].name == exclude[j].name)
{
isExcluded = true;
}
}
//check if VM is now excluded
if(isExcluded)
{
System.debug(VMS[i].name +" is excluded from restart");
}else
{
System.getModule("com.vmware.library.vc.vm.power").resetVM(VMS[i])
}
}
out of my brain .. not tested.
I would like a coexistence of both. For 'productive'-work the Desktop Client is the best choose, because it is fast and you have a lot of nice overviews. But i'f i'm out in one of our branch ...
See more...
I would like a coexistence of both. For 'productive'-work the Desktop Client is the best choose, because it is fast and you have a lot of nice overviews. But i'f i'm out in one of our branch office it is nice to use the webclient for a short look at a certain vm - or if you want to restart the vm ... I like the feater of the context menue to add orchestrator Workflows, but that is still buggy Basicly it would be nice to import the new vSphere 5.5 features to the Desktop Client, maybe add the functionality of contextmenue for the orchestrator in the desktop Client. But stop forcing people to use only the webclient.
Hello, i'm working on a Workflow which is basicly cloning a VM and after that doing some GuestCustomization via the GuestSpecification. I'm at a point where i want to 'catch' the VcCustomizat...
See more...
Hello, i'm working on a Workflow which is basicly cloning a VM and after that doing some GuestCustomization via the GuestSpecification. I'm at a point where i want to 'catch' the VcCustomizationSucceeded - Event (if i'm correct here) https://www.vmware.com/support/orchestrator/doc/vco_vsphere50_api/html/VcCustomizationSucceeded.html#field-detail i see in the vsphere Client in the "Events" of the cloned VM 2 Events. - 1 is saying that guestcustomization is starting - 1 is saying that the guestcustomization is finished. So my Idea was, that I use in the Workflow the "Waiting event"-element. This elemnt requiers a Trigger - but how do I setup the Trigger? i was looking arround and found somewhere VcEventManager-Class with a 'createTrigger' Method - yay https://www.vmware.com/support/orchestrator/doc/vco_vsphere50_api/html/VcEventManager.html#createTrigger but hell i have no clue how to set the correct parameters. Ok the parameter 'timeout' is easy - but how do I tell that method that I want the event from my clonedVm with that special Event? Maybe someone can help me please.