Thursday, January 28, 2010

1. access esxi server form vsphers Client and bringdown to maintenance mode.


2. Install VMware vSphere CLI on your laptop/Desktop.

run the vihostupdate.pl command with peramaters (-server; -install; -b


C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl --server 10.10.10.1 -i -b INT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip
Enter username: root
Enter password:
Please wait patch installation is in progress ...
Maintenance mode is not enabled or could not be determined.The following VIBs re
quire this host to be in maintenance mode: cross_vmware-esx-drivers-net-igb_400.
1.3.19.12.1-1.0.4.164009. Please put the host in maintenance mode to proceed.
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl --server 10.104.
33.212 -i -b INT-intel-lad-ddk-igb-1.3.19.12.1-offline_bundle-185976.zip
Enter username: root
Enter password:
Please wait patch installation is in progress ...
The update completed successfully, but the system needs to be rebooted for the c
hanges to be effective.
C:\Program Files\VMware\VMware vSphere CLI\bin>

Wednesday, January 20, 2010

# vmware -v

out put will be

[root@localhost ~]# vmware -v
VMware ESX 4.0.0 build-171294
# vmware -v

out put will be

[root@localhost ~]# vmware -v
VMware ESX 4.0.0 build-171294
To enter Maintenance Mode, at the ESX console type:
vimsh -n -e /hostsvc/maintenance_mode_enter
To exit Maintenance Mode type:
vimsh -n -e /hostsvc/maintenance_mode_exit
To display whether the ESX Server is currently in maintenance mode or not type:
vimsh -n -e"hostsvc/hostsummary" | grep inMaintenanceMode