@NutanixNext
Visit Nutanix

Server Virtualization

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Pathfinder
Posts: 4
Registered: ‎01-22-2016
Accepted Solution

Install NGT on VM template before Sysprep?

Is it ok to install Nutanix Guest Tools in a guest vm template before the template is Sysprepped?

 

I need to deploy a bunch of Server 2008 r2 VMs that will need NGT. I'm aware that it's easy to automate NGT install  AFTER vm deployment and I do that for most cases; however on Server 2008 r2 builds there's a techinical limitation that prevents this from working.

 

So I'm wondering if there is anything in NGT that will break if the vm is Sysprepped afterward.

 


Accepted Solutions
Nutanix Employee
Posts: 8
Registered: ‎08-28-2014

Re: Install NGT on VM template before Sysprep?

[ Edited ]

Hi @JBPrado 

 

Yes, you can follow portal documentation https://portal.nutanix.com/#/page/docs/details?targetId=Web-Console-Guide-Prism-v50:man-nutanix-gues....  In this method you add NGT to the base image then confirm you have connectivity from the guest to cluster VIP.  Once connectivity is confirmed use that VM as your base image.  On each clone of the base VM run the following command to link the new clone to NGT:

ncli> ncli ngt mount vm-id=clone_vm_id

 

The vm-id can be found in `ncli vm ls`.  This will establish the communication link between the cluster VIP to the guest's NGT agent.  Also note in AOS 5.0 we added NGT silent installer which lets you enable NGT a lot easier on multiple guests without clicking through the installer.  Documentation can be found at https://portal.nutanix.com/#/page/docs/details?targetId=Web-Console-Guide-Prism-v50:man-nutanix-gues....

 

What issue are you seeing on the deploying NGT in Win2k8 R2 VMs post install?

 

-Ben

 

 

View solution in original post


All Replies
Nutanix Employee
Posts: 8
Registered: ‎08-28-2014

Re: Install NGT on VM template before Sysprep?

[ Edited ]

Hi @JBPrado 

 

Yes, you can follow portal documentation https://portal.nutanix.com/#/page/docs/details?targetId=Web-Console-Guide-Prism-v50:man-nutanix-gues....  In this method you add NGT to the base image then confirm you have connectivity from the guest to cluster VIP.  Once connectivity is confirmed use that VM as your base image.  On each clone of the base VM run the following command to link the new clone to NGT:

ncli> ncli ngt mount vm-id=clone_vm_id

 

The vm-id can be found in `ncli vm ls`.  This will establish the communication link between the cluster VIP to the guest's NGT agent.  Also note in AOS 5.0 we added NGT silent installer which lets you enable NGT a lot easier on multiple guests without clicking through the installer.  Documentation can be found at https://portal.nutanix.com/#/page/docs/details?targetId=Web-Console-Guide-Prism-v50:man-nutanix-gues....

 

What issue are you seeing on the deploying NGT in Win2k8 R2 VMs post install?

 

-Ben

 

 

Pathfinder
Posts: 4
Registered: ‎01-22-2016

Re: Install NGT on VM template before Sysprep?

[ Edited ]

Hey, @Bensation (Sweet handle)

 

EDIT: Sorry, I've completely rewritten this post because that procedure you linked me to might solve my problem. At first I thought it was just telling me to mount the CD AFTER cloning and install NGT AFTER cloning but after rereading a couple of times it looks like an install BEFORE cloning and sort of a reinstall after cloning. This might work for me.

 

My problem, and I've opened a support case for this, is that for Server 2008 r2 VMs the NGT installer looks for KB3033929 as a prerequisite. That KB patch has long been superseded, so any updated servers will refuse to install KB3033929 and NGT will refuse to install.

 

I was hoping that I could build a new template, patch it with KB3033929 so that NGT will install, then do the rest of the patches and sysprep.

 

 

Nutanix Employee
Posts: 8
Registered: ‎08-28-2014

Re: Install NGT on VM template before Sysprep?

@JBPrado happy to help.  I just edited my post as well to include to use the NGT installed VM as your base image to clone from.  Prior it wasn't as too clear.  

 

Also kb 3700 (https://portal.nutanix.com/#/page/kbs/details?targetId=kA032000000TV6ACAW) how to install a modified VMmobility .msi that bypasses the SHA2 check.  After if that .msi is installed prior to running NGT you should not receive an error.

 

-Ben

Pathfinder
Posts: 4
Registered: ‎01-22-2016

Re: Install NGT on VM template before Sysprep?

Perfect, thank you!

 

Yes, I just received that same link from Support Smiley Happy I think both my problems are now solved.

 

BTW I'd done multiple searches using the keywords 'Nutanix guest tools' and 'server 2008' and didn't find that article. But I realize now that if I'd included 'sha-2' i would've found it.

 

Thanks again for your quick help.