Close Menu
DPC Virtual Tips
    Read More

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Tuesday, August 25
    DPC Virtual Tips
    • Home
    • Operating Systems
    • PowerFlex
    • HPC
    • Virtualization
    • About the Author
    • About Us
    • Contact
    DPC Virtual Tips
    Home » Host Acropolis Command-Line Interface (aCLI) Overview
    Virtualization

    Host Acropolis Command-Line Interface (aCLI) Overview

    DaniloBy DaniloNovember 24, 2024Updated:July 31, 2026No Comments4 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Nutanix aCLI host commands
    Share
    Facebook Twitter LinkedIn Pinterest Email

    The Host Acropolis Command-Line Interface (aCLI) Overview is an article that demonstrates some useful commands for managing Hypervisors in a Nutanix Cluster.

    Acropolis includes a command-line interface that allows administrators to manage different Nutanix components, including hosts, networks, snapshots, and virtual machines. Using aCLI can simplify troubleshooting and daily administration tasks in Nutanix environments.

    First and foremost, How can I access the Acropolis Command Line?

    To access the Acropolis CLI, log on to a Controller VM (CVM). You can choose to log in to any controller VM.

    Access it by SSH and type “acli” at the shell command line. You will notice that the command line will be changed to “acropolis” mode, as we can see in the following picture:

    To exit the “acli” mode, type “exit”:

    In the “acli” command, there are several “namespaces”. We can understand the “namespaces” as cluster properties or functions to explore. To see all available namespace, we can type “acli help,” as we can see in the following picture:

    To get details of each namespace, we highly recommend to the check the following documentation:

    https://portal.nutanix.com/page/documents/details?targetId=Command-Ref-AOS-v6_10:Command-Ref-AOS-v6_10

    Note: This article will show some namespaces with examples. To check the full namespaces and their operations, access the above link!

    acli host

    The first recommended command is the command to list all hosts in the Nutanix Cluster:

    acli host.list

    In this case, for instance, our Nutanix Cluster has three AHV hosts. In the command output, we can see many details such as Hypervisor IP, Hypervisor DNS Name, Node state, CVM IP, etc:

    To get details of a specific host:

    acli host.get 192.168.255.131

    Where:
    – 192.168.255.131: Hypervisor IP address

    After powering on some “Webservers” VMs, we will list all VMs running on each host:

    #List all VMs running on the host 192.168.255.131:
    acli host.list_vms 192.168.255.131
    
    #List all VMs running on the host 192.168.255.133:
    acli host.list_vms 192.168.255.133
    
    #List all VMs running on the host 192.168.255.135:
    acli host.list_vms 192.168.255.135

    If any maintenance activity on a host is necessary, it is recommended that the specific host be put in maintenance mode first. When a host is in maintenance mode, no VMs will be instantiated.

    So, there is a command to check (test only) if a specific host can be put in maintenance mode:

    #Testing if the host 192.168.255.131 can be put in maintenance mode:
    acli host.enter_maintenance_mode_check 192.168.255.131
    
    #Testing if the host 192.168.255.133 can be put in maintenance mode:
    acli host.enter_maintenance_mode_check 192.168.255.133
    
    #Testing if the host 192.168.255.135 can be put in maintenance mode:
    acli host.enter_maintenance_mode_check 192.168.255.135

    In this case, for instance, each host can be put in maintenance mode because each command gave us the following output:

    Ok to enter maintenance mode.

    If you have a different output, analyze it before putting the host in maintenance mode:

    To put a specific host in maintenance mode – This task can take several times depending on the number of VMs that are running on this host (when we put a host in maintenance mode, the Acropolis Dynamic Scheduling will try to migrate (“live migration”) all running VMs from this host to anywhere in the cluster):

    acli host.enter_maintenance_mode 192.168.255.133

    The namespace “host.get” can be executed to confirm the host is not able to schedule VMs:

    acli host.get 192.168.255.133

    We can see the same detail with “host.list” namespace:

    To remove the host from maintenance mode:

    acli host.exit_maintenance_mode 192.168.255.133

    To Wrapping This Up

    So, the Acropolis Command Line is an essential tool that all Nutanix administrators must know. As we told us before, several “acli” namespaces exist beyond the “host” namespace. As we have been writing this article, we have been using the following link (you can check more operations from the “host” namespace and other namespaces):

    https://portal.nutanix.com/page/documents/details?targetId=Command-Ref-AOS-v6_5:acl-acli-host-auto-r.html

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleVM Acropolis Command-Line Interface (aCLI) Overview
    Next Article Sharing a Nutanix Volume Group with Windows
    Danilo

    Infrastructure Engineer with experience in Virtualization, Linux, Windows Server and learning automation using Python. DPC Virtual Tips was created to share practical tutorials, lab experiences and troubleshooting guides focused on enterprise infrastructure technologies.

    Related Posts

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    VM Replication with vSphere Replication and Site Recovery Manager

    June 16, 2025

    Changing DNS Settings on ESXi Hosts

    May 20, 2025

    Comments are closed.

    Search
    Categories
    • HPC (12)
    • Operating Systems (85)
    • PowerFlex (22)
    • Virtualization (130)
    Read More
    Virtualization

    How to Troubleshoot Packet Drops on an ESXi Host

    By DaniloAugust 16, 20260
    HPC

    SlurmDBD Is Down: What Continues Working and What Does Not

    By DaniloAugust 15, 20260
    HPC

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    By DaniloAugust 14, 20260
    Operating Systems

    Linux Server Has Free Memory but Is Swapping: Why?

    By DaniloAugust 13, 20260
    Operating Systems

    How to Determine Whether Packet Loss Is Local or Network Related on Linux

    By DaniloAugust 12, 20260
    Latest Posts

    How to Troubleshoot Packet Drops on an ESXi Host

    August 16, 2026

    SlurmDBD Is Down: What Continues Working and What Does Not

    August 15, 2026

    How to Investigate Jobs Stuck in COMPLETING State on Slurm

    August 14, 2026
    Images from Gallery
    hpc main commands
    linux commands
    install rock linux
    lustre fs
    shell scripting
    vSAN Trace Files
    Categories
    • HPC
    • Operating Systems
    • PowerFlex
    • Virtualization
    • Home
    • About Us
    • Contact
    • Cookie Policy
    • Comment Policy
    • Privacy Policy
    • Terms of Use
    • Disclaimer
    Copyright © 2026, DPC Virtual Tips. All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.

    We use cookies to ensure your best experience on our website. If you continue using our website, we'll assume you agree to our cookie policy