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.
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.
Could anyone please help on this.?
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.