Upgrade ESXi 4.1 U1 to 4.1 U2
1. Shutdown VMs on the host
2. Disable Fault Tolerance and HA
2. Put host into maintenance mode
3. Run the commands below:
Upgrade
ESXi
Display
details about host and maintenance mode status (including last reboot
time)
vicfg-hostops.pl
--server esx-police1.town.darien.lan -operation info
--server esx-police1.town.darien.lan -operation info
Display
what bundles or patches are installed on the host
vihostupdate.pl
--server esx-police1.town.darien.lan --query
--server esx-police1.town.darien.lan --query
Display
the contents of the update package (what is available for
install)
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip
Display
which bulletins are applicable to the host
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip
Install
the upgrade
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip
Will
display on command line:
Please
wait patch installation is in progress …
wait patch installation is in progress …
The
update completed successfully, but the system needs to be rebooted for the
changes to be effective.
update completed successfully, but the system needs to be rebooted for the
changes to be effective.
NOTE:
The option --bulletin can be used to install a specific patch/bulletin in the
bundle. If you omit the --bulletin argument, vihostupdate will install all the
bulletins in the bundle.
The option --bulletin can be used to install a specific patch/bulletin in the
bundle. If you omit the --bulletin argument, vihostupdate will install all the
bulletins in the bundle.
Here
is an example:
is an example:
vihostupdate.pl
--server esx-co1.dps.darien.lan --install --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip --bulletin
ESXi410-Update02
--server esx-co1.dps.darien.lan --install --bundle
d:\temp\update-from-esxi4.1-4.1_update02.zip --bulletin
ESXi410-Update02
Verify
Upgrade
vihostupdate.pl
--server esx-police1.town.darien.lan --query
--server esx-police1.town.darien.lan --query
Will
display on command line:
---------Bulletin
ID--------- -----Installed-----
----------------Summary-----------------
ID--------- -----Installed-----
----------------Summary-----------------
ESXi410-Update02
2011-01-21T15:38:09 VMware ESXi 4.1 Complete Update 2
2011-01-21T15:38:09 VMware ESXi 4.1 Complete Update 2
(Optional)
Remove individual bulletins.
vihostupdate.pl
--server <server> --remove --bulletin bulletin1
--server <server> --remove --bulletin bulletin1
Reboot
host
Update
HP Offline Bundle, NMI (Non-Maskable Interrupts) Driver, and NIC
Drivers
Display
the contents of the update package (what is available for
install)
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\hp-esxi4.1uX-bundle-1.2-25.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\hp-esxi4.1uX-bundle-1.2-25.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\hp-nmi-bundle-1.2.02.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\hp-nmi-bundle-1.2.02.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-bnx2-2.1.12b.v41.3-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-bnx2-2.1.12b.v41.3-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-bnx2i-2.70.1k.v41.2-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-bnx2i-2.70.1k.v41.2-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-bnx2x-1.70.34.v41.1-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-bnx2x-1.70.34.v41.1-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-cnic-1.11.18.v41.1-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\BCM-cnic-1.11.18.v41.1-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\ntx-nx_nic-4.0.602-164009-offline_bundle-509624.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\ntx-nx_nic-4.0.602-164009-offline_bundle-509624.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\EMU-be2net-4.0.306.0-offline_bundle-473366.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\EMU-be2net-4.0.306.0-offline_bundle-473366.zip
Display
which bulletins are applicable to the host
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\hp-esxi4.1uX-bundle-1.2-25.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\hp-esxi4.1uX-bundle-1.2-25.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\hp-nmi-bundle-1.2.02.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\hp-nmi-bundle-1.2.02.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-bnx2-2.1.12b.v41.3-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-bnx2-2.1.12b.v41.3-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-bnx2i-2.70.1k.v41.2-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-bnx2i-2.70.1k.v41.2-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-bnx2x-1.70.34.v41.1-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-bnx2x-1.70.34.v41.1-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-cnic-1.11.18.v41.1-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\BCM-cnic-1.11.18.v41.1-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\ntx-nx_nic-4.0.602-164009-offline_bundle-509624.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\ntx-nx_nic-4.0.602-164009-offline_bundle-509624.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\EMU-be2net-4.0.306.0-offline_bundle-473366.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\EMU-be2net-4.0.306.0-offline_bundle-473366.zip
Update
the HP CIMs (--bulletin option not necessary because only one bulletin is
included)
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\hp-esxi4.1uX-bundle-1.2-25.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\hp-esxi4.1uX-bundle-1.2-25.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\hp-nmi-bundle-1.2.02.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\hp-nmi-bundle-1.2.02.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-bnx2-2.1.12b.v41.3-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-bnx2-2.1.12b.v41.3-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-bnx2i-2.70.1k.v41.2-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-bnx2i-2.70.1k.v41.2-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-bnx2x-1.70.34.v41.1-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-bnx2x-1.70.34.v41.1-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-cnic-1.11.18.v41.1-offline_bundle-547965.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\BCM-cnic-1.11.18.v41.1-offline_bundle-547965.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\ntx-nx_nic-4.0.602-164009-offline_bundle-509624.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\ntx-nx_nic-4.0.602-164009-offline_bundle-509624.zip
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\EMU-be2net-4.0.306.0-offline_bundle-473366.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\EMU-be2net-4.0.306.0-offline_bundle-473366.zip
Will
display on command line:
display on command line:
Please
wait patch installation is in progress …
wait patch installation is in progress …
The
update completed successfully, but the system needs to be rebooted for the
changes to be effective.
update completed successfully, but the system needs to be rebooted for the
changes to be effective.
Verify
Upgrade
vihostupdate.pl
--server esx-police1.town.darien.lan --query
--server esx-police1.town.darien.lan --query
Will
display on command line:
---------Bulletin
ID--------- -----Installed-----
----------------Summary-----------------
ID--------- -----Installed-----
----------------Summary-----------------
hpq-esxi4.1uX-bundle-1.2
2011-01-21T15:38:09 HP ESXi 4.1 Bundle 1.2
2011-01-21T15:38:09 HP ESXi 4.1 Bundle 1.2
Reboot
host
Apply
Latest ESXi Patch
Display
what bundles or patches are installed on the host
vihostupdate.pl
--server esx-police1.town.darien.lan --query
--server esx-police1.town.darien.lan --query
Display
the contents of the update package (what is available for
install)
vihostupdate.pl
--server esx-police1.town.darien.lan --list --bundle
d:\temp\ESXi410-201201001.zip
--server esx-police1.town.darien.lan --list --bundle
d:\temp\ESXi410-201201001.zip
Display
which bulletins are applicable to the host
vihostupdate.pl
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\ESXi410-201201001.zip
--server esx-police1.town.darien.lan --scan --bundle
d:\temp\ESXi410-201201001.zip
Install
the upgrade
vihostupdate.pl
--server esx-police1.town.darien.lan --install --bundle
d:\temp\ESXi410-201201001.zip
--server esx-police1.town.darien.lan --install --bundle
d:\temp\ESXi410-201201001.zip
Will
display on command line:
Please
wait patch installation is in progress …
wait patch installation is in progress …
The
update completed successfully, but the system needs to be rebooted for the
changes to be effective.
update completed successfully, but the system needs to be rebooted for the
changes to be effective.
Verify
Upgrade
vihostupdate.pl
--server esx-police1.town.darien.lan --query
--server esx-police1.town.darien.lan --query
Will
display on command line:
---------Bulletin
ID--------- -----Installed-----
----------------Summary-----------------
ID--------- -----Installed-----
----------------Summary-----------------
ESXi410-Update02
2011-01-21T15:38:09 VMware ESXi 4.1 Complete Update 2
2011-01-21T15:38:09 VMware ESXi 4.1 Complete Update 2
Reboot
host
Take
host out of maintenance mode
Enable
HA and Fault Tolerance
Start
VMs (Upgrade VMware Tools to latest version and reboot VM)
0 comments: