Nutanix

NGT Installation – Multiple VMS Nutanix guest tool failed with ErrorCode:9 from prism central

NGT INSTALLATION – MULTIPLE VMS with Prism Central

Prerequisites and limitations :-

  • For Guest Operating Systems(Win, Linux) that are supported please refer to  https://portal.nutanix.com/#/page/compatibilitymatrix/guestos
  • Installing NGT on VMs cloned from an image that has NGT already installed need some additional steps.
  • VMs need to have a Empty IDE CD-ROM attached.
  • If you deploy NGT via Prism Central to UVMs running localized (e.g. Spanish, French, German, etc, .) Windows Server 2016 or more recent version of Windows operating systems, bulk installation of NGT may fail with the ‘INTERNAL ERROR’, which is thrown in Prism Central UI, when NGT installation task fails.
  • For Linux machines required lvm2 and python.

Installing NGT On VMs that have been cloned from an Image that had NGT Installed.

  1. Since NGT is already present on the UVM, we do not need to install NGT but rather refresh the certs
  2. Select the VM 
  3. Then Select Install NGT, go through the wizard 
  4. Select Skip restart, if it’s asking on prism central.
  5. On the screen where you provide the credentials , select “Skip and Mount”
  6. This just mounts the NGT ISO on the UVM. Once the ISO is mounted, Reboot the UVM.
  7. The NGT status should refresh and update once the UVM has booted up.

Prerequisites for Install and upgrade of NGT :

Windows VMs:

  1. Local administrator credentials are required. 
  2. winrm needs to be running for Windows (winrm= windows remote manager service)
  3. Cluster VIP should be able to access the UVM over the network
  4. Port 2074 needs be open
  5. winrm with ssl configuration should be configured. Run the below command from the windows power shell as admin to configure winrm with ssl.
  6. ( This requires Powershell version 3.0 as the command New-SelfSignedCertificate does not exist in versions below 3.0)

$c = New-SelfSignedCertificate -DnsName $env:computername -CertStoreLocation cert:\LocalMachine\My ;

 winrm create winrm/config/Listener?Address=*+Transport=HTTPS “@{Hostname=`”$env:computername`”;CertificateThumbprint=`”$($c.ThumbPrint)`”}”

cmd /c ‘winrm set winrm/config/service/auth @{Basic=”true”}’;

netsh advfirewall firewall add rule name=\”WinRM-HTTPS\” dir=in localport=5986 protocol=TCP action=allow

5. UVM(guest virtual machine) should be able to communicate to the cluster VIP and vice versa

Also, See :- Nutanix Move

Leave a Reply