As posted in this blog vCenter Orchestrator plug-in for vCenter Update Manager is now available.The plugin comes with a set of predefined actions and workflows that abstracts the VUM API and reduce the complexity of using it.
I will show how to implement a common usage scenario inspired from vCenter Update Manager Admin Guide.
- Attach an upgrade baseline to the VMs in the datacenter
- Scan the datacenter inventory
- Get the compliance state
- Export the compliance state to a PDF or HTML.
- Remediate the datacenter inventory.
Luckily for each of the actions from the list the plugin provides built-in workflows. Our complex workflow will be quite straight-forward:
The only custom logic in is the the conditional remediation step. Since remediation is potentially disruptive operation I would like to check the compliances before to continue.
The presentation of the workflow is also quite simple. Most of the basic workflows need vCenter server, Baselines and vCenter entities. Specific options for each step are given below this triple.
var fr = new FileReader(file);
content = fr.readAll();
The result of the export looks as pretty as this:
I hope this will be helpful. In the next post I plan to give some details on how export and import baseline functionality leverages the support for multiple vCenter Update Manager servers in the plug-in.