Milestone 4 Automating vCenter API - ItsMmmike/SYS-350 GitHub Wiki
Overview
In this milestone, we learn how to create scripts to automate a variety of different tasks in vCenter using python and the Pyvmomi API. Automation in enterprise virtual environments can be incredibly useful as it can allow system administrators the ability to manage, configure, and deploy a large quantity of VMs and Virtual Environments as needed (helpful when trying to scale up repetitive tasks and operations).
Guide Pages:
Reflection:
- Overall I found this milestone activity to be relatively straightforward once I figured out the command syntax for the vCenter and pyvmomi APIs.
- I had some initial difficulty setting up pyvmomi to complete the tasks for this assignment as I hadn't used Python in while. However I found that online resources/documentation such as vCenter's Managed Object Browser (MOB) and Pyvmomi's Community Samples to be incredibly useful when it comes to learning how to use commands and format the syntax used by API modules in vCenter and pyvmomi.
Deliverables
Deliverable 1 - Screenshot of me successfully cloning my SYS-350 Course GitHub Repo to my Mgmt01 VM. Additionally, VSCode was used to open/view my base repo as well as display the IP of Mgmt01 via VSCode Terminal.
Deliverable 2 - Screenshots of me successfully creating my own interactive session with vCenter via pyvmomi as well as printing out elements of the "aboutInfo" object (ex. aboutInfo.fullName --> shows full version number of vCenter)