VMware Cloud Community
admin
Immortal
Immortal

Update Manager silent install works but can't install plugin

Silent installation of Update Manager works using the following script but when I try to install the plugin manually it errors "Unable to connect to the remote server" (screenshot attached)

@echo ON

set VCI_MEDIA=D:\vcinstall\vci

@set SETUP=start /wait %VCI_MEDIA%\VMware-UpdateManager.exe /s /w

%SETUP% /v"/qr WARNING_LEVEL=0 DB_SERVER_TYPE=Custom DB_DSN="VUM" DB_USERNAME="administrator" DB_PASSWORD="<password>" VC_SERVER_ADMIN_USER="administrator" VC_SERVER_ADMIN_PASSWORD="<password>""

Have noticed that if I specify the VC server's hostname during a manual install then the plugin installation works. Tried adding "VC_SERVER_IP=<VC hostname>" to the above command but the installation is not taking that value. If I check HKLM\Software\VMware\Vmware update manager\VCServer it is still set to localhost IP address and not the VC Server's IP or hostname. How can I feed in the VC Server's hostname to the above command?

Thanks

0 Kudos
6 Replies
admin
Immortal
Immortal

Got the VUM silent install working with help from Engg. by specifying /qn instead of /qr. The /qr option does not seem to take the value of VC_SERVER_IP and defaults to localhost. Also specify the VUM_Server_IP if your VC and VUM are on separate VMs.

@echo ON

set VCI_MEDIA=C:\VCInstall\updateManager

@set SETUPVUM=start /wait %VCI_MEDIA%\VMware-UpdateManager.exe /s /w

%SETUPVUM% /v"/qn WARNING_LEVEL=0 DB_SERVER_TYPE=Custom DB_DSN="VCDB" DB_USERNAME="<user>" DB_PASSWORD="<password>" VC_SERVER_IP="<VC_Server_IP>" VC_SERVER_ADMIN_USER="Administrator" VC_SERVER_ADMIN_PASSWORD="<password>" VMUM_SERVER_SELECT="<VUM_Server_IP>" REBOOT=SUPPRESS"

0 Kudos
pic
VMware Employee
VMware Employee

Hi Swapna,

I would like to substitute

VC_SERVER_IP="<VC_Server_IP>" with VC_SERVER_SHORT_DNS="<VC_Server_short_dns_name>"

and

VUM_SERVER_SELECT="<VUM_Server_IP>" with VUM_SERVER_SELECT="<VUM_Server_short_dns_name>"

My question is, how are you pulling/feeding the actual values into the variables?

- Phil

0 Kudos
alasdair_carnie
Enthusiast
Enthusiast

I'd like to do a silent install of VUM using the default SQL express DB, but I can't find any information on how this can be done. Any help would be appreciated.

0 Kudos
RobMokkink
Expert
Expert

I finally got unattendant install working and now i am getting the same errors.

When will the VUM installation be fixed?

0 Kudos
RobMokkink
Expert
Expert

It is fixed now:

VC_SERVER_IP=127.0.0.1

VMUM_SERVER_SELECT=127.0.0.1

Fixes everything.

0 Kudos
Herschelle
Enthusiast
Enthusiast

You could try DB_SERVER_TYPE=[Bundled|Custom]

This is from Page 4 of vsp_41_vcserver_cmdline_install.pdf, though it might also equally apply here to VUM

Custom is for a remote database and Bundled is what you are looking for.

In the notes if you use Bundled also need to add FORMAT_DB=1 to the command line as well.

Update: Just found this document:  http://www.vmware.com/files/pdf/techpaper/vsp_4_vum_cmdline_install.pdf

These look like the options you require:

VCI_DB_SERVER_TYPE=Bundled

VCI_FORMAT_DB=1

Message was edited by: Herschelle

0 Kudos