Top 10 Nutanix Acropolis AHV Commands – Part 1

I will share Nutanix AHV Top 10 commands that will help to take deep dive in to Nutanix AHV hypervisor and proceed one step to understand the Nutanix AHV command line interface.

Nutanix Acropolis Hypervisor is KVM based hypervisor and 100 percent command line based interface to execute any task. But most of the customer or Nutanix Acropolis Hypervisor ( AHV ) user are aware about Nutanix AHV commands list and how to use it.

Lets start the Nutanix AHV Top 10 commands journey of Nutanix AHV Hypervisor right away:

# 1 Check the DIMM part number of Nutanix AHV Host

root@ahv# dmidecode -t 17
root@ahv# dmidecode -t 17
# dmidecode 2.11
 Size: 16384 MB
 Manufacturer: Samsung       
 Serial Number: A3A78D14         
 Part Number: M393B2G70BH0-CK0

# 2 Overview of theNutanix AHV Open vSwitch configuration

root@ahv#  ovs-vsctl show

Output

root@ahv#  ovs-vsctl show
e0d89b99-335d-417f-9fd1-4a0cb8db711e
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "vnet0"
            Interface "vnet0"
        Port "bond0"
            Interface "eth2"
            Interface "eth1"
            Interface "eth0"
    ovs_version: "1.10.0"

# 3 Change the VLAN on the Nutanix AHV Host

root@ahv# ovs-vsctl set port br0 tag=<vlan tag>

Output

root@ahv# ovs-vsctl show
...
    Bridge "br0"
...
        Port "br0-up"
            Interface "eth2"
            Interface "eth3"
        Port "br0"
            tag: 1234    <<<<< Correct vlan tag location for AHV host
            Interface "br0"
                type: internal

# 4 SSH from the Nutanix AHV Host to the local hosted CVM

root@ahv# ssh nutanix@192.168.5.254

# 5 Check Nutanix AHV host’s bond information

root@ahv# ovs-appctl bond/list

# 6 Nutanix AHV: Access Console of Nutanix CVM When VNC Is Not Available

root@ahv# cat /tmp/NTNX.serial.out.0

# 7 Decrease network interface teaming LACP link failure detection time from 90 seconds to 3 seconds on Nutanix AHV host

root@AHV # ovs-vsctl set port br0-up other_config:lacp-time=fast

# 8 Show all VMs hosting on local Nutanix AHV host

root@ahv# virsh list --all

# 9 Start guest VM on Nutanix AHV host

root@ahv# virsh start VM_name

# 10 Shutdown Nutanix AHV host

root@ahv# shutdown -h now

Useful Command Links

Thanks.!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Powered by WordPress.com.

Up ↑