My customer asked me how to display the VLAN ID for a virtual machine in vROPs.
The short answer is, due to the VLAN ID only being available from the Distributed switch adapter, its not simple to display this in a single list view.
So after some thinking around this, I came up with the following simple dashboard which was edited from the default “Distributed Switch Configuration” dashboard.
The dashboard is simple, and shows a selectable list of port groups, which then will refresh the virtual machine list, so you can see which virtual machines are attached to that port group.
You can download the dashboard and edited view here:
In my first post, we got as far as setting up the management interface of the Cisco UCS Platform. In this second part, I’ll be covering;
- Setting up the connectivity
- Configuring the VLAN connectivity
- Setting up Port Channels
- Setting up the Appliance connectivity
- Configuring LAN policies
- Configuring VNIC Templates
- Creating Server Policies
- Building a Service Profile Template
- Deploying a Service Profile from a Template
Setting up the connectivity
Continue reading Deploy a Cisco UCS system – Part 2 – from scratch for VMware ESXi
So basically I had a host failure where all of the configure was lost, if I was more savvy with Powershell/PowerCLI, I would have been able to rebuild it all via scripts, but that clones the settings from a working host.
But nevermind that is for a different day of learning.
So I configured the host to the point of Networking, so the vSwitches had the correct NICs, but I needed to do all the port groups, which in the GUI if you have a few to do is time consuming.
So in PowereCLI, pull all of your information, port-group names and VLAN IDs.
Get-Vmhost -name <FQDN of host> | Get-VirtualSwitch -name | Get-VirtualPortGroup
To create a port-group
Get-Vmhost -name <FQDN of host> | Get-VirtualSwitch -Name | New-VirtualPortgroup -Name "Name of PG" -VlanID
Obviously this is a very short crude method of achieving what I need, but here you can see the basic building blocks needed to create Port Group in PowerCLI.