Cisco UCS Service Profile Template Config Generator

org leave blank for root
Template Name service profile template to build
UCS domain unique number for this UCS domain -- 0-255 or 00-ff
Max hosts 1 - 160
 
vmknic Enabled NIC redundancy Preferred Fabric VLAN Name VLAN ID
Mgmt yes
vMotion
iSCSI
NFS
FT logging
VTEP
 
guest vmnics VLAN list (optional)
Guest DVS1 yes
Guest DVS2
Guest DVS3
 
vhbas VSAN NAME VSAN ID
FC vHBA 1
FC vHBA 2


Description

This tool generates Cisco UCS Manager CLI config for an VMware ESXi service-profile template given your chosen NIC/HBA configuration, including best practice QoS, pools, vnic/vhba templates, etc. It also builds a matching partial ESXi CLI config.

Pools

Each adapter uses a different MAC/WWPN pool. I do this because it's easier to verify UCS vNIC to ESXi vmnic mapping (which can be butchered by PCIe/NIC ordering). The pool formula is: For example, UCS domain 5, host 7, ethernet nic pair 2 would get and fibrechannel hba pair 1 would get

NIC Redundancy (adapter teaming)

With ESXi teaming or Individual vmknics, adapters are created on both fabrics and teaming/vmknic config is left to the ESXi administrator.
With Fabric Failover, a single adapter is created on one fabric, with the other fabric used for backup. ESXi teaming should not be used.

QoS

The standard QoS configuration is:
    CoSCoS NameWeightEnabledNo Drop?QoS PolicyUsageNotes
    0best-effort5 (50%)yesnoQoS_BestEffortGuest VM's all guest VM traffic
    1bronze1 (10%)yesnoQoS_ScavengervMotion, VTEP "scavenger" is more accurately called "less-than-best effort"
    2silver1 (10%)yesnoQoS_MgmtManagement vmk0 Without management in a separate class, I've seen vCenter lose hosts during multi-vNIC vmotion.
    3fc1 (10%)yesyesbuilt-inFC and FCoE I recommend you leave this on, even if you don't use FC/FCoE
    4gold2 (20%)yesnoQoS_PriorityiSCSI, NFS, FT Logging A true high-volume queue for storage and fault tolerance sync traffic
    5platinumnonounused Available for future use; e.g., high I/O VM's or VTEP
QoS is not witchcraft:

Other things