When you installed a HyperFlex Cluster, VLANs are created at the UCS-Manager and vSwitches of the nodes. But what if you just want to add VLANs to your environment ? How can you do that ?
Add VLAN to existing HyperFlex Cluster
Here you see some VLANs at the vSwitches of vCenter.
Let’s go to the Installer and do a Post_install
We just want to add VLANs so we use the parameter –vlan. The other parameters are just to find the HyperFlex Cluster and the UCS Manager.
root@Cisco-HX-Installer-Appliance:~# post_install --cluster-ip 10.61.125.53 --vlan --ucsm-ip 10.61.125.30 Logging in to controller 10.61.125.53 HX CVM root password: Getting ESX hosts from HX cluster... vCenter URL: 10.61.125.111 Enter vCenter username (user@domain): firstname.lastname@example.org vCenter Password: Found datacenter AMSCCC Found cluster HXAFM5 UCSM Username: admin UCSM Password:
Now give a Group Name and the VLAN Description will be the same. At the next question give a numeric value for the VLAN ID.
Port Group Name to add (VLAN ID will be appended to the name): EXTRA VLAN ID: (0-4096) 10 Adding VLAN 10 to FI Adding VLAN 10 to vm-network-a VNIC template Could not connect to UCSM. Please create VLAN manually. Adding EXTRA-10 to 10.61.125.85 Adding EXTRA-10 to 10.61.125.86 Adding EXTRA-10 to 10.61.125.88 Add additional VM network VLANs? (y/n) n root@Cisco-HX-Installer-Appliance:~#
When we answer the questions, we see that the post_install creates the VLANs at the right vSwitches and UCS Manager.
And also on the vSwitch EXTRA-10 with VLANTag 10 is created.
It’s very easy !
Here are some other post regarding HyperFlex which are nice to know :