VMware Cloud Community
mobcdi
Enthusiast
Enthusiast

vC0 5.1 enable hotplug cpu with workflow

Is it possible to enable the hotadd cpu capability to a vm using vCO workflow thats shown in vm settings -> options "Memory/CPU Hoplug" setting using the vSphere client ?

I found the changeVMvCPU action but would it be possible to enable hotadd after shutting down the vm instead?

While on the topic how do you go about enabling hotadd for CPU via the web client when editing settings

Tags (3)
0 Kudos
3 Replies
tschoergez
Leadership
Leadership

Onyx to the rescue? http://www.vcoportal.de/2012/05/using-onyx-for-fast-workflow-development/

With it you should be able to figure out the necessary VirtualMachineConfigSpec to enable cpu/memory hotplug within minutes...

Cheers,

Joerg

TZiegler
VMware Employee
VMware Employee

var spec = new VcVirtualMachineConfigSpec();
spec.memoryHotAddEnabled = false;
spec.cpuHotAddEnabled = false;

managedObject.reconfigVM_Task(spec);  // VirtualMachine

this config spec should do what you want....

0 Kudos
TZiegler
VMware Employee
VMware Employee

and here's the Workflow Package for that...