Hi
have tried to upgrade my host using the CLI from 4.0U2 to 4.1.
I have used the VIhostupdate commands vihostupdate.pl --server xxx.xxx.xxx.xxx -i -b "D:\upgrade-from-ESXi4.0-to-4.1.0-0.0.260247.zip" -B ESXi410GA-esxupdate.
After entering a username and password there is a delay and then the response
Server version unavailable at https://localhost/sdk/vimService.wsdl'
My HOST has as its domain as localhost as I dont have an AD domain.
I know there is another command to complete the upgrade but cant get passed this error.
Interestingly, after a rebbot it takes about 10 minutes before I can access the host with the VI client
Tony
Hard to say exactly. If you copy/pasted your command, sometimes I've seen issue with the double dashes not being "right" and the periods not being periods. If you did paste it, maybe try manually typing the whole command out to see if it helps.
Mike P
MCSE, VCP3/4
I think the problem is that it is trying to update your local machine. I had similar issues trying to update a driver package awhile ago and found I had better luck when I set the system variables on my PC before running the vihostupdate.pl command. Perhaps try setting the variables then run your command again.
set VI_SERVER=XXX.XXX.XXX.XXX
set VI_USERNAME=root
set VI_PASSWORD=
vihostupdate.pl -i -b "D:\upgrade-from-ESXi4.0-to-4.1.0-0.0.260247.zip" -B ESXi410GA-esxupdate
Mike P
MCSE, VCP3/4
Thanks
I will give that a try, cant take the VM's down again until Saturday so it will be then. Why do you suspect that is not identifying the server from its IP ?
Tony
Hard to say exactly. If you copy/pasted your command, sometimes I've seen issue with the double dashes not being "right" and the periods not being periods. If you did paste it, maybe try manually typing the whole command out to see if it helps.
Mike P
MCSE, VCP3/4
Mike
No didnt paste it, tried it several times to see if it was typos. Other commands work like -q so the CLI can see the server. I think its somthing todo with DNS as I have this issue where, it takes time before I can access the Host from the VI client. THis started after the update to U2 where I think the equivalent of a HOSTS file was removed.
Tony
Mike
Sorted. As you thought it was trying to look at my PC.
Have a great weekend
Tony
