VMware Cloud Community
Pilu1978
Enthusiast
Enthusiast
Jump to solution

VMware Enhanced vMotion Capability

Hi,

I am try to enable VMware EVC on a cluster using vRO workflow. The workflow is taking cluster compute resource as input. I have the following code but it is failing with error "Property or method 'id' not found on object VcClusterComputeResource":

var clu = cluster
var evcModeKey = 'intel-broadwell'

var myVcClusterEVCManager = new VcClusterEVCManager() ;
var myVcClusterComputeResource = new VcClusterComputeResource() ;
myVcClusterComputeResource.id = clu.id;
myVcClusterComputeResource.name = clu.name;
myVcClusterEVCManager.managedCluster = myVcClusterComputeResource;
myVcClusterEVCManager.ConfigureEvcMode_Task(evcModeKey);

Please help.

0 Kudos
1 Solution

Accepted Solutions
Pilu1978
Enthusiast
Enthusiast
Jump to solution

No worries guys. I have figured out myself. Below is the JavaScript code to enable EVC as well as apply the baseline feature set of Intel® "Broadwell" Generation processors to all hosts in the cluster.

var evcModeKey = 'intel-broadwell'
var evc = cluster.evcManager()
evc.configureEvcMode_Task(evcModeKey)

Happy learning.

View solution in original post

0 Kudos
2 Replies
Pilu1978
Enthusiast
Enthusiast
Jump to solution

Could anyone please help on this.?

0 Kudos
Pilu1978
Enthusiast
Enthusiast
Jump to solution

No worries guys. I have figured out myself. Below is the JavaScript code to enable EVC as well as apply the baseline feature set of Intel® "Broadwell" Generation processors to all hosts in the cluster.

var evcModeKey = 'intel-broadwell'
var evc = cluster.evcManager()
evc.configureEvcMode_Task(evcModeKey)

Happy learning.

0 Kudos