5. The Purpose of VMware PowerCLI
https://code.vmware.com/tool/vmware-powercli/6.5
• A CLI and scripting tool
built on Windows
PowerShell
• Automate all aspects of
vSphere Management
which includes network,
storage, VMs, guest OS
and much more..
Runs on [Server]
• Windows Server 2016
• Windows Server 2012
R2
• Windows Server 2008
R2 Service Pack 1
Runs on [WorkStation]
• Windows 10
• Windows 8.1
• Windows 7 Service Pack
1
• Ubuntu 16.04
• macOS 10.12
More than 500 cmdlets for
managing VMware vSphere
products
PowerShell Interface for Managing VMware Products
8. We need a tool which is -
Simple
Easy to Use
Can be used by Dev & Ops
Team both.
• No additional programming skillset
required.
• Non-complex in day-to-day
operations
Portable
Scalable
Lightweight
• Must be portable
• Less Dependency
• Easy to install
• Easy Maintenance
Linux Friendly
Based on Linux Platform
• Can be used easily by Linux
Engineers.
• Can be automated by Linux Shell
scripting.
Built for Distributed
System
• Solid option for Public Cloud
Infrastructure.
• Can be used to deploy VMs on both
– Public & Private Cloud.
10. What is GOVC?
An Open source project with close to 1000 GITHUB stars
A statically compiled vSphere CLI built on top of govmomi.
Govmomi is a GoLang library for interacting with VMware vSphere APIs (ESXi & vCenter)
This library is built for and tested against ESXi and vCenter 6.0, 6.5 and 6.7.
Written in Go Language
Compiled for Linux, FreeBSD, OSX & Windows
User friendly CLI alternative to GUI
Linux-Friendly
Can be used with Bash scripting for automation tasks
Projects using govmomi
11. Demo #1
- Installing GOVC
- Create a New Datacenter
- Creating a new Cluster
- Adding ESXi Hosts to the Cluster
< 5 Min