cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6006
Views
5
Helpful
0
Comments
ericwill
Cisco Employee
Cisco Employee

Detailed in the video below is a joint PowerShell integration utilizing both Cisco UCS PowerTool and VMware PowerCLI.  The goal of the integration is to show how easy it is in PowerShell to integrate across different functional areas within a virtualized infrastructure stack.  By taking the power of managing UCS with UCS Powertool and coupling it with the power of managing VMware with PowerCLI an infrastructure administrator can fully automated configuration of a net-new cluster of hypervisors from bare metal in UCS to fully configured clusters in vSphere within minutes with very minimal script writing. 

There was very minimal prework performed for both UCS and VMware in the environment being demoed in the video below.  For UCS, the prework that was performed was racking, stacking, and cabling the physical UCS gear and performing an initial configuration of UCS manager.  On the storage side, a 200 GB LUN was created and zoned to a range of 18 WWPN's as well.  For VMware, vSphere and Auto-Deploy software were both installed and configured inside of a Windows 2008 R2 server that had DNS, DHCP, and TFTP installed and configured to best practices from VMware for Auto-Deploy. 

From there, PowerShell utilizing the Cisco UCS PowerTool module and VMware PowerCLI snap-ins takes over!!!

Initial Configuration - The first scripts configures all of the pools, policies, VLANs, VSANs, Service Profile Templates, etc. needed on the UCS side to create new servers to be used in the cluster to be created in VMware.  On the VMware side, this script will download the latest and greatest ESXi hypervisor, as well as create separate Auto-Deploy Hypervisor and Cluster rules that define the hypervisor version and destination cluster for net new servers with the Service Profile Template name provided in the oem strings like "oemstring=$SPT:CL2012", where CL2012 is the service profile template name.  The script will create new service profile from a template, associate it with a server from a pool, monitor the progress of the association and addition of the host into the cluster, perform initial configuration of the new host in the cluster and create a host profile from the configuration, and create a rule for the cluster to use the new host profile.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links