Install NGT using cli

Install NGT to Windows VM through CLI

connect to cluster CVM ncli: ncli
list all VM’s to identiefy the vm-uuid: vm list
Enable NGT: ngt enable vm-id=<vm-uuid>
Mount NGT: ngt mount vm-id=<vm-uuid>
Validate this with the following command: ngt list

Connect to VM console
Open command prompt : cmd
Run the following to install NGT : d:\setup.exe /quiet ACCEPTEULA=yes

Run the command to unmount the NGT image on ncli: ngt unmount vm-id=<vm-uuid>

Enable SSR on the VM with the following command: ngt enable-applications vm-id=<vm-uuid> application-names=”file level restore”
Verify NGT: ngt list

Install NGT to Linux VM through CLI

connect to cluster CVM ncli: ncli
list all VM’s to identiefy the vm-uuid: vm list or vm list name=”vm-name”
Enable NGT: ngt enable vm-id=<vm-uuid>
Mount NGT: ngt mount vm-id=<vm-uuid>
Validate this with the following command: ngt list

Connect to VM console
Open command prompt
Mount NGT iso: mount /dev/sr0 /mnt
change directory: cd /mnt/installer/linux
Run the following to install NGT : ./install_ngt.py

Run the command to unmount the NGT image on ncli: ngt unmount vm-id=<vm-uuid>

Enable SSR on the VM with the following command: ngt enable-applications vm-id=<vm-uuid> application-names=”file level restore”
Verify NGT: ngt list

Useful Nutanix CLI Commands

There are two commands for CLI acli and ncli

Acropolis Command-Line Interface (aCLI)
Acropolis provides a command-line interface for managing hosts, networks, snapshots, and VMs.

Accessing the Acropolis CLI
To access the Acropolis CLI, log on to a Controller VM in the cluster with SSH and type acli at the shell prompt.
To exit the Acropolis CLI and return to the shell, type exit at the prompt.

Nutanix Command-Line Interface (nCLI)
The Nutanix command-line interface (nCLI) allows you to run system administration commands against the Nutanix cluster from any of the following machines:

Your local machine (preferred) ncli needs to be downloaded and installed first.
Any Controller VM in the cluster

Viewing Network configuration log on to the Controller VM (CVM)

To view link speed and status
nutanix@cvm$ manage_ovs show_interfaces
name mode link speed
eth0 1000 True 1000
eth1 1000 True 1000
eth2 10000 True 10000
eth3 10000 True 10000

To show the ports and interfaces that are configured as uplinks
nutanix@cvm$ manage_ovs –bridge_name bridge show_uplinks
Bridge: br0
Bond: br0-up
bond_mode: active-backup
interfaces: eth3 eth2 eth1 eth0
lacp: off
lacp-fallback: false
lacp_speed: slow