Connecting Cloud Innovators: Building Community at .NEXT 2024
When you replace the NIC cards in the Nutanix AHV cluster, it is possible that the new NIC card interfaces are recognised as additional interfaces and are numbered after the existing interfaces. So, for example, in the current AHV node you have 4 interfaces - eth0, eth1, eth2 and eth3 and you replace the NIC card and you see additional interfaces - eth0, eth1, eth2, eth3, eth4 and eth5. Also, if your host was connected earlier on the replaced NIC card, you will lose the host connectivity. We now have the script in AOS 5.10.10 and AOS 5.15 to get the NIC interfaces re-numbered correctly. If you are running older versions or unable to run the script for any reason, you can use the annual method. Please check the Nutanix portal page here and KB3261 for the exact script and the manual method steps.
The default name of the CVM is in the below format: NTNX-<Block serial number>-<Node position>-CVM This is what you see as the CVM name in the PRISM. If you want to change the CVM name in your AHV cluster, then we have a script for changing this with the following limitations. nutanix@cvm:~$ change_cvm_display_name --cvm_ip=<IP of CVM that should be renamed> --cvm_name=<new name> The script is available in AOS - 5.10.10, 5.15 and 5.16. The naming convention needs to start with “NTNX-” and end with “-CVM”, Letters, numbers and “-” are supported in the CVM name, CVM should be able to get a shutdown token to be turned off, There will be no redirection of storage traffic to other CVMs, so make sure you have no user vms running in the AHV host - put the AHV host into maintenance mode, Run the script from a different CVM than the CVM that is being re-named and make sure the SSH session is intact until the re-named CVM comes up. For more
In Nutanix clusters running AHV hypervisors, we can use the LLDP protocol to find more details about the directly connected switches. LLDP needs to be enabled in the switches for the details to be seen in the AHV hosts. From the AHV host, [root@AHV-HOST ~]# lldpctl------------------------------------------------------------------------LLDP neighbors:------------------------------------------------------------------------Interface: eth2, via: LLDP, RID: 7478, Time: 35 days, 22:55:59 Chassis: ChassisID: mac 00:XX:XX:2d:b6:ba SysName: AHV-HOST SysDescr: Network Switch TTL: 120 MgmtIP: xx.xx.xx.xx Capability: Bridge, on Capability: Router, off Port: PortID: ifname Ethernet9 PortDescr: Nutanix-AHV-Node-A MFS: 9236 VLAN: 100, pvid: yes------------------------------------------------------------------------ You can get the following switch details: Management IP address MAC address I
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.