VMware Cloud Community
grealish
Contributor
Contributor

Setting HTTP Proxy for vSphere Host Update Utility

Hi, Just upgrading to ESX 4 and vCenter, is there any way to configure HTTP proxy address in vShpere host update utility?

can't find any config files

Tags (3)
0 Kudos
11 Replies
gkuharic
Contributor
Contributor

If you're using the host update utility, check out the upgrade guide.

http://www.vmware.com/pdf/vsphere4/r40/vsp_40_upgrade_guide.pdf

It's on page 103.

0 Kudos
grealish
Contributor
Contributor

Already did, and i can't find the .zip upgrade release for ESXi 4.0,it's available for SnS subscription to access this file

I've spend the entire day working on this, and they said ESX 4 would be easy to upgrade, it just isn't!! !http://communities.vmware.com/images/emoticons/sad.gif!

Also

it took me incredible long to find that PDF, but lacks real detail, so

far i've got more constructive answer from blogs and outsiders then on

vmware.com

0 Kudos
admin
Immortal
Immortal

ESXi 4.0 upgrade zip is now available for download, SNS is not required to access the download bits. Please follow the link:

VMware-GSS,

VMware Communities User Moderator

0 Kudos
varaway
Contributor
Contributor

Hi,

I have the same problem. I found the settings.config file and try to input our proxy, but it doesn't work.

<?xml version="1.0" encoding="utf-8"?>

<configuration>

<appSettings>

<add key="RemoteDepot" value="https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml" />

<add key="AskBeforeDownload" value="False" />

<add key="ProxyServer" value="http://proxy.xxxx.xx:8080" />

<add key="LocalDepot" value="d:\VMware_VI_Update" />

<add key="UserSettingsDirectory" value="C:\Dokumente und Einstellungen\var\Anwendungsdaten\VMware\VMware VI Update" />

</appSettings>

</configuration>

Our Proxy also need an Username and password.. where should I make these settings?

Thanks a lot......

0 Kudos
beneddt
Contributor
Contributor

Has anyone found a resolution for this? I also need to enter a username / password for my proxy.

thanks,

0 Kudos
StevemanXP
Contributor
Contributor

Yes, same here ... I read the page 103 in the guide and see which file to add a line to, but there is no example. I tried:

<add key="ProxyServer" value="proxy.server" />

<add key="ProxyServer" value="proxy.server:8080" />

<add key="ProxyServer" value="http://proxy.server:8080" />

None of these worked. I also need to authenticate to my proxy server. Do I have to reboot or restart a service to get the new settings to take, or something? I guess I'll throw wireshark on and see what the traffic looks like...

-Steve

0 Kudos
StevemanXP
Contributor
Contributor

ok, so sometimes I get focused on the task at hand and forget the big picture.

I was working in an isolated burb with no egress except to our WSUS server. So forget what I said.

0 Kudos
StevemanXP
Contributor
Contributor

ok, I put the updater onto a machine with internet access this time... I still need to authenticate to my proxy server, and I'm not sure how to handle that ... the update kept failing, so I sniffed with wireshark, and replaying the stream gave me the following...

...

CONNECT hostupdate.vmware.com:443 HTTP/1.1

Host: hostupdate.vmware.com

HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )

...

So yeah, it looks like authenticating to the proxy server may be an issue for me. Has anyone else got proxy authentication to work? I'd really rather not hardcode a password into a text file, it would be sweet to see a popup box.

I tried right-clicking on the updater shortcut icon and doing a runas... command, but that failed to open.

-Steve

0 Kudos
Sreejesh_D
Virtuoso
Virtuoso

To set the proxy for vHUU, you can follow the steps which mentioned in the Ugrade guide(http://www.vmware.com/pdf/vsphere4/r40/vsp_40_upgrade_guide.pdf), page 103.

But, proxy address settings are required only for the Patching (for patching ESXi4.0 hosts) functionality of vSphere Host Update Utility. It wont serve the purpose, ESXi 3.5 to ESXi 4.0 upgrade.

To do ESXi 3.5 to 4.0 upgrade, you have to download the offline upgrade bundle (ESXi 4 (upgrade ZIP)) from following VMware donwload portal.

http://www.vmware.com/downloads/downloadBinary.do?downloadGroup=ESXI40&vmware=downloadBinary&file=ES...

The steps for ESXi upgrade using this offline bundle are available in Page77 of Upgrade guide. (http://www.vmware.com/pdf/vsphere4/r40/vsp_40_upgrade_guide.pdf)

*****If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful.

0 Kudos
simtr
Contributor
Contributor

Same issue here, found viu-0.log file

2009-08-10 13:52:03.387 wrn: Can't download depot: There is an error during the operation, please refer to the logs for investigation.

2009-08-10 13:55:24.429 dbg: DownloadPatches: True

2009-08-10 13:55:24.429 inf: Downloading from depot: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml.

2009-08-10 13:55:24.429 msg: Downloading from url: https://hostupdate.vmware.com/software/VUM/PRODUCTION/index.xml

2009-08-10 13:55:24.429 inf: Using proxy: myproxy:8080

2009-08-10 13:55:24.429 err: Managed utils HTTP download temp file failed: The remote server returned an error: (407) Proxy Authentication Required. Failure details: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.

really didn't want to use offline bundle and trying not to use Update Manager, but may have to now.

0 Kudos
deus42
Contributor
Contributor

At a customer site, I used:

"http://user:password@proxy.dns.com:8080"

that seemed to work.

0 Kudos