vRealize Automation 8 - Migration Assistant - Entitlements
While assessing the migration to vRA8 most definitely you will run into deprecated entitled actions or extensions.
A lot of the internal VMware Actions or Extensions are no longer valid, here is a small list of common ones:
- Connect using SSH
- Connect using VMRC
- Connect using RDP
- Execute Reconfigure
- Cancel Reconfigure
- Scale In
- Scale Out
- Power Cycle
- ...
A dirty quick fix is to loop all your entitlements before running the migration assistant and remove all of these deprecated if you do not depend on anyone using them in your vRA7 environment.
var entitlements = Server.findAllForType("vCACCAFE:Entitlement");
for each (var entitlement in entitlements) {
System.log(entitlement.name);
var updated = false;
var host = vCACCAFEEntitiesFinder.getHostForEntity(entitlement);
var client = host.createCatalogClient().getCatalogEntitlementService();
var entitledResourceOperations = entitlement.getEntitledResourceOperations();
for each (operation in entitledResourceOperations) {
var obsolete = false;
System.debug(operation.getResourceOperationRef().getLabel());
if (operation.getResourceOperationRef().getLabel() == 'Connect using RDP') obsolete = true;
if (operation.getResourceOperationRef().getLabel() == 'Connect using VMRC')
obsolete = true;
if (operation.getResourceOperationRef().getLabel() == 'Connect using SSH') obsolete = true;
if (operation.getResourceOperationRef().getLabel() == 'Cancel Reconfigure') obsolete = true;
if (operation.getResourceOperationRef().getLabel() == 'Execute Reconfigure') obsolete = true;
if (operation.getResourceOperationRef().getLabel() == 'Power Cycle')
obsolete = true;
if (operation.getResourceOperationRef().getLabel() == 'Scale In')
obsolete = true;
if (operation.getResourceOperationRef().getLabel() == 'Scale Out')
obsolete = true;
if (obsolete) {
updated = true;
System.warn ("Removing " + operation.getResourceOperationRef().getLabel() + " from " + entitlement.name);
vCACCAFEEntityHelper.removeElementFromList(entitlement, "getEntitledResourceOperations", operation);
}
}
if (updated) {
try {
client.update(entitlement);
} catch (e) {
System.warn(e);
}
}
}
Vrealize Automation 8 - Migration Assistant - Entitlements >>>>> Download Now
SvarSlett>>>>> Download Full
Vrealize Automation 8 - Migration Assistant - Entitlements >>>>> Download LINK
>>>>> Download Now
Vrealize Automation 8 - Migration Assistant - Entitlements >>>>> Download Full
>>>>> Download LINK b7