Hi,
We just get one ESX 4.1 Host upgraded to ESXi 5 Host. And vCenter Server is already running Release 5.
I have installed vCLI on the vCenter Server.
1) When I attempt to make backup by using vicfg-cfgbackup, I am being asked for username / password. Just wonder what ussername and password should I enter (ESXi Host or vCenter Server) ?
C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-cfgbackup.pl --server 192.168.200.111 --username root --password Mypassword -s D:\ProgramData\VMware\Configuration\ESXi5.bak
Enter username:
2) If I enter the username and password of vCenter Server, I get the following error message
The --vihost option must be specified when connecting to vCenter.
Is there anything wrong with the syntax being used ? Your advice is sought.
Thanks
PS: I have already turned on SSH for that ESXi 5 Host
Message was edited by: TonyJK
Just wonder what ussername and password should I enter (ESXi Host or vCenter Server)
You have to provide the ESXi host details and ESXi Host Login credentials
--vihost option must be specified when connecting to vCenter
Are you connecting to ESXi host or vCenter? if vCenter replace the IP of an host and try
Hi,
Thanks for your advice.
When I change the IP address to Host Name, backup task is run properly. Quite weird !
C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-cfgbackup.pl --server 192.168.200.111 --username root --password Mypassword -s D:\ProgramData\VMware\Configuration\ESXi5.bak
Changed to
C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-cfgbackup.pl --server ESXi5 --username root --password Mypassword -s D:\ProgramData\VMware\Configuration\ESXi5.bak
Username and Password are for ESXi Host !
