Solved

NCLI command line

  • 19 August 2020
  • 5 replies
  • 6069 views

Badge

What are the commands to shutdown and delete guest VMs?

icon

Best answer by Sergei Ivanov 19 August 2020, 18:29

View original

This topic has been closed for comments

5 replies

Userlevel 4
Badge +5

It cannot be done with ncli, but can be done with acli:

To do a graceful guest shutdown: acli vm.guest_shutdown <vm_name> (requires NGT on the VM)

To power off a VM: acli vm.off <vm_name>

To delete a VM: acli vm.delete <vm_name>

Userlevel 4
Badge +5

You can explore the acli commands by typing “acli” and clicking Enter, then you can click Tab twice and it will give you all the possible options of the commands. Then, for example, if you type in the acli prompt “vm.” and hit tab twice again it will show you all the possible commands for VM.

Badge

thank you

 

Badge

Instead of a name, can I use the UUID of the VM?

 

What does NGT stand for?

Userlevel 4
Badge +5

Yes, UUID can be also used.

NGT stands for Nutanix Guest Tools. You can read about it here: https://portal.nutanix.com/page/documents/details?targetId=Web-Console-Guide-Prism-v5_17:man-nutanix-guest-tool-c.html