Do we have any workflow through which we can increase CPU,Memory or Storage of vCAC VM ?
Regards,
Govardhan
There are library workflows to do so to vCenter VMs and vCloud Director vApps.
On vCAC < 6.1 the following code from the workflow runner workflow included in the vCAC plug-in will get you the VMs / vApps. For 6.1 the ID type was changed for vCenter VM if I recall well. There is a patch or hotfix toupdate the vCAC plug-in workflow runner. Then you can check the scripting.
if (vCACVm.vmUniqueID != null) { // vmUniqueID may be null (i.e at BuildingMachine state)
if (vCACVm.vmUniqueID.indexOf("vcloud") > -1) {
System.log("Got vCloud Director VM ID");
var vdcHosts = System.getModule("com.vmware.library.vcac").getEnabledHosts() ;
for each (var vcdHost in vdcHosts) {
var vCloudVApp = vcdHost.getEntityById(VclFinderType.VAPP, vCACVm.vmUniqueID);
if (vCloudVApp != null) {
break;
}
}
}
else {
System.log("Trying to resolve a vCenter VM");
var sdkConnections = VcPlugin.allSdkConnections;
System.log(sdkConnections.length + " sdk Connections found...");
for each (var sdkConnection in sdkConnections) {
try {
vCenterVm = sdkConnection.searchIndex.findByUuid(null, vCACVm.vmUniqueID, true, false);
} catch(e) {System.log("Error for SDK connection " + sdkConnection.name + " : " + e);}
if (vCenterVm != null) {
System.log("Resolved vCenter VM " + vCenterVm.name);
break;
}
}
}
}
Hi Govardhan,
to reconfigure a vCAC VM (vCAC 6.x) you can use the vCO Workflow: "Request a resource action" and trigger the "Edit" Action.
Some caveats with this action, i tried to described here: Re: VCAC Request Resource Action EDIT to change Memory And CPU
Hope this will help you finding a solution.
Greets
Sascha
Hi Sascha,
Thanks for the update,I have tried "Request a resource action" to trigger the "Edit" Action and passing all the parameters but its failing with error 'Exception during request callback with id 5a8ce792-f85b-4bc9-beeb-67a434f0bf80 for item bb74359e-147c-4d39-9d08-baa1e7a41bcf. Error Message: [Error code: 42000 ] - [Error Msg: Infrastructure service provider error]' .
Regards,
Govardhan
Hi,
check the error logging module for ASP for a more detailed error message.
You can find it on the IaaS Web Service machine:
https://localhost/WAPI/elmah.axd
Check also your location and environment settings of the IaaS installation => everything should be English (US)
http://elasticskies.com/vcac-6-edit-vm-failing/
Greets,
Sascha