xybal
Enthusiast
Enthusiast

VmWare Tools automatization installation

Hi,

I've got around 100 Vitual Machines (Redhat + Win) on which I have out of date (or no installation at all) of VmWare Tools.

Is there a way to automate this installation, via scheduller / or powershell script or anything else ?

Thx

0 Kudos
7 Replies
amvmware
Expert
Expert

Not sure if you would want to automate the process as the servers would require a reboot once vmware tools is installed - so you need to have some degree of control over what happens.

0 Kudos
xybal
Enthusiast
Enthusiast

Hi,

I don't care about reboot. I can reboot if needed.

The only constraint I have is to automate this because I don't want to do more than 100 upgrades / installs

In that case, do you have any command line to do that ?

Thx

0 Kudos
xybal
Enthusiast
Enthusiast

I've found this in a post:

1. Create schedulled task and use this script:


server\vmtools\setup.exe /s /v"/qn REINSTALLMODE=voums REINSTALL=ALL

REBOOT=REALLYSUPPRESS"

You must copy VMtools install files to network share "vmtools"

2. Create another schedulled task which will reboot server

1=> Where can I find this setup.exe ?

2=> Is this working for my RedHat VM ?

Thx

0 Kudos
xybal
Enthusiast
Enthusiast

On PowerCLI I used this to realise update.

$installerArgs = 'REBOOT="ReallySuppress"'

(Get-VM VM_NAME | Get-View).UpgradeTools_Task($installerArgs)

After that My vmwareTools are still "out of date". Do I need to reboot the VM to make them OK ?

Thx

0 Kudos
amvmware
Expert
Expert

yes a reboot will be required

0 Kudos
xybal
Enthusiast
Enthusiast

Hi,

I've rebooted and vmware tools are still "not up to date", is there somthing more to do ?

Thx

0 Kudos
amvmware
Expert
Expert

It looks like your script has not worked - i would target a test system and try and get the script working against that system first.

0 Kudos