Enabling NGT And Mounting The NGT Installer Simultaneously On Multiple Cloned VMs

  • 26 February 2021
  • 0 replies
  • 683 views

Userlevel 3
Badge +2

If you have cloned multiple VMs from a single VM (master VM), you can enable NGT and mount the NGT installer simultaneously on multiple VMs by using the master VM image.

Before you begin

Ensure the following before you perform this task:

  1. Install NGT on the master VM.

  2. Clone the required number of VMs from the master VM.

  3. Shut down the cloned VMs.

Perform the following procedure to enable NGT and mount the NGT installer simultaneously on multiple VMs by using the master VM image.

Note: After you perform the following procedure, you do not need to separately install NGT on the cloned VMs.

Procedure

  1. For every cloned VM, log on to the Controller VM and run the following command.
    ncli> ngt mount vm-id=clone_vm_id

  2. Replace clone_vm_id with the ID of the cloned VM.

To find the ID of the cloned VM, run ncli> vm list name="<clone-vm-name>" command. Note the value of the Id field as clone_vm_id.

<ncli> vm list name="<clone-vm-name>"

Id                        : 00058a81-64bb-27af-69d2-ac1f6b602812::50132bb1-a07b-2e34-a768-d6b0ffc940e7

    Uuid                      : 5522f8cd-1c11-456c-b287-485e5e9de123

    Name                      : abcdef asdf

    VM IP Addresses           : 

    Hypervisor Host Id        : 00058a81-64bb-27af-69d2-ac1f6b602812::3

    Hypervisor Host Uuid      : ae80deac-0224-43c9-9234-7a2071217e6d

    Hypervisor Host Name      : gologolo2-1

    Memory                    : 1 GiB (1,073,741,824 bytes)

    Virtual CPUs              : 1

    VDisk Count               : 0

    Protection Domain         : 

Consistency Group         :

  1. Power on the cloned VM.

  2. (Optional) If you enable NGT and mount the NGT installer while the cloned VMs are powered on, do one of the following:

  • Restart the Nutanix guest agent service by running the $ sudo service ngt_guest_agent restart command on Linux VMs. For Windows VMs, in the command prompt, run the net stop "Nutanix Guest Tools Agent" && net start "Nutanix Guest Tools Agent" command.

  • Guest power cycle the cloned VMs.


This topic has been closed for comments