Vous êtes sur la page 1sur 5

1. Download and install ESXi Server VMware ESXI-5.0.0-469512-STANDARD.x86_64.iso 2. Install Vsphere Client VMware-viclient-all-5.0.0-455964.exe 3. Go to http://www.vmware.com/patchmgr/download.

portal and login with your VMWa re account. 4. After you login with VMware-viclient-all-5.0.0-455964.exe you can start patch ing with following update patch files. 5. Upload all the patch files via VSphere Client - /vmfs/volumes/storage1/ISO 6. Before you patch with new update patch files to ESXi 5.0, you will need to ba ckup the ESXi 5.0 host configuration. #vicfg-cfgbackup.pl server 192.168.1.1 -s my_backup.bak

7. Then put your ESXi 5.0 host to Maintenance Mode via SSH console session. 8. #vim-cmd hostsvc/maintenance_mode_enter 9. #esxcli software vib update -d /vmfs/volumes/storage1/ISO/update-from-esxi5.0 -5.0_update01.zip 10. Once you've updated to update01, you can no longer login with previous VSphe re Client. you need to install and login with VMware-viclient-all-5.0.0-623373.exe - VMware vSphere Client v5.0 Update 1 11. #esxcli software vib update -d /vmfs/volumes/storage1/ISO/update-from-esxi5. 0-5.0_update02.zip 12. Once you've updated to update01, you can no longer login with previous VSphe re Client. you need to install and login with VMware-viclient-all-5.0.0-913577.exe - VMware VSphere Client v5.0 update 2 13. esxcli software vib update -d /vmfs/volumes/storage1/ISO/ESXi500-201303001.z ip esxcli software vib update -d /vmfs/volumes/storage1/ISO/ESXi500-201305001.z ip esxcli software vib update -d /vmfs/volumes/storage1/ISO/ESXi500-201308001.z ip 14. To install the VSphere Power CLI, you will need Microsoft PowerShell, curren tly I've downloaded PowerShell 3.0 Windows6.1-KB2506143-x86.msu - 32bit Windows6.1-KB2506143-x64.msu - 64bit 15. Then download nad install VMware-PowerCLI-5.0.0-435426.exe - Power CLI for V Sphere 5.0 - (Update01) - VMware-vSphere-CLI-5.0.0-615831.exe - - Power CLI for VSphere 5.0 (Update02) 16. Since vCenter 4.x changed to 64-bit installer Download and install VCenter Server 5.0 - VMware-VIMSetup-all-5.0.0-434159.i so - VSphere VCenter Server 5.0 - Processor: Two 64-bit CPUs Intel or AMD x64 2.0GH z or faster

- Memory: 4GB RAM RAM requirements may be higher if your database runs on the same machine. (VMware VirtualCenter Management WebServices requires 128Mb to 1.5GB of mem ory which is allocated at startup) - Disk storage: 5GB (Disk requirements may be higher if your database runs o n the same machine) - Networking: 1GB recommended (If physical team NICs for redundancy) - Database: SQL Express for small deployments (5 hosts/50 VMs) or see below for supported databases. Note: If you will be running SQL Server on the same server as vCenter serv er (thats either express or standard/enterprise) the requirements for the abo ve will be higher. - Operating System: Windows Server 2008 (64-bit) Windows Server 2008 R2 - Database: Microsoft SQL server Microsoft SQL Server (Note: Microsoft SQL ployments of up to 5 hosts Microsoft SQL Server Microsoft SQL Server Microsoft SQL Server Microsoft SQL Server Oracle Oracle Oracle Oracle Oracle Oracle Database Support: 2005 Express Server 2005 Express is intended for use with small de and/or 50 virtual machines) 2005 Standard edition (SP3) 64 bit 2005 Enterprise edition (SP3) 64 bit 2008 Standard Edition 64 bit 2008 Enterprise Edition 64 bit

Database Support: 10g Standard edition (Release 2 [10.2.0.4]) 10g Enterprise edition (Release 2 [10.2.0.4]) 10g Enterprise edition (Release 2 [10.2.0.4]) 64 bit 11g Standard edition 11g Enterprise edition

cd /vmfs/volumes/1.5TB #esxcli software vib update --depot=/vmfs/volumes/1.5TB/ESXi500-201111001.zip

Installing patches on an ESXi 5.x host from the command line -----------------------------------------------------------Purpose This article outlines the procedure for installing patches on an ESXi 5.x host from the command line using esxcli software vib commands. For more information on installing VIBs on an ESX host, see Update a Host with I ndividual VIBs in the vSphere 5 Documentation Center. You can also install patches using esxcli software profile commands. For more in formation, see Getting Started with vSphere Command-Line Interfaces in the vSphe re 5 Documentation Center. To patch an ESXi 5.x host using the Update Manager, see Applying Patches to Host s in the vSphere 5 Documentation Center.

Resolution To patch an ESXi 5.x host from the command line: 1.Patches for VMware products can be obtained from the VMware patch portal. Sel ect ESXi (Embedded and Installable) in the product dropdown and click Search. 2.Click the Download link below the patch Release Name to download the patch to your system. 3.Upload the patch to a datastore on your ESXi 5.x host using the Datastore Bro wser from vCenter or a direct connection to the ESXi 5.x host using the vSphere client. Note: VMware recommends creating a new directory on the datastore and uploading the patch file to this directory. 4.Log into the local Tech Support Mode console of the ESXi 5.x host. For more in formation, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910). 5.Migrate or power off the virtual machines running on the host and put the hos t into maintenance mode. The host can be put into maintenance mode from the comm and line with: # vim-cmd hostsvc/maintenance_mode_enter 6.Navigate to the directory on the datastore where the patch file was uploaded t o and verify that the file exists: # cd /vmfs/volumes/Datastore/DirectoryName # ls Where Datastore is the datastore name where the patch file was uploaded to, and DirectoryName is the directory you created on the datastore. 7.Install or update a patch on the host using these esxcli commands: Notes: To install or update a .zip file, use the -d option. To install or update a .vib file use the -v option. Using the update command is the recommended method for patch application. Using this command applies all of the newer contents in a patch, including all securit y fixes. Contents of the patch that are a lower revision than the existing packa ges on the system are not applied. Using the install command overwrites the existing packages in the system with co ntents of the patch you are installing, including installing new packages and re moving old packages. The install command may downgrade packages on the system an d should be used with caution. If required, the install command can be used to d owngrade a system (only for image profiles) when the --allow-downgrade flag is s et. Caution: The install method has the possibility of overwriting existing drivers. If you are using 3rd party ESXi images, VMware recommends using the update meth od to prevent an unbootable state. To Install:

Using local setup: # esxcli software vib install -d "/vmfs/volumes/Datastore/DirectoryName/PatchNam e.zip" Where PatchName.zip is the name of the patch file you uploaded to the datastore. For example: # esxcli software vib install -d "/vmfs/volumes/datastore1/patch-directory/ESXi5 00-201111001.zip" Using http setup: # esxcli software vib install -v viburl Where viburl is the URL to the http depot where VIB packages reside. For example: # esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PROD UCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_5.0.0-0.7.515841 .vib To Update: Using local setup: # esxcli software vib update -d "/vmfs/volumes/Datastore/DirectoryName/PatchName .zip" Where PatchName.zip is the name of the patch file you uploaded to the datastore. For example: # esxcli software vib update -d "/vmfs/volumes/datastore1/patch-directory/ESXi50 0-201111001.zip" Using http setup: # esxcli software vib update -v viburl Where viburl is the URL to the http depot where VIB packages reside. For example: # esxcli software vib update -v https://hostupdate.vmware.com/software/VUM/PRODU CTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_5.0.0-0.7.515841. vib

8.Verify that the VIBs are installed on your ESXi host: # esxcli software vib list

For example: # esxcli software vib list Name te -----------------ata-pata-amd ata-pata-atiixp ata-pata-cmd64x ata-pata-hpt3x2n Version Vendor Acceptance Level Install Da

--------------------------- ------ ---------------- ---------0.3.10-3vmw.500.0.0.469512 0.4.6-3vmw.500.0.0.469512 0.2.5-3vmw.500.0.0.469512 0.3.4-3vmw.500.0.0.469512 VMware VMware VMware VMware VMwareCertified VMwareCertified VMwareCertified VMwareCertified 2012-05-04 2012-05-04 2012-05-04 2012-05-04

9.After the patch has been installed, reboot the ESX host: # reboot 10.After the host has finished booting, exit maintenance mode and power on the v irtual machines: # vim-cmd hostsvc/maintenance_mode_exit Additional Information VCenter 5 Linux Appliance OVF VMware-VCenter-VirtualAppliance-5.0.0.2467-324914-s.ovf VMware-vCenter-Server-Appliance-5.0.0.3324-472350_OVF10.ovf VMware-vCenter-Server-Appliance-5.0.0.3324-472350-system.vmdk VMware-vCenter-Server-Appliance-5.0.0.3324-472350-data.vmdk

Vous aimerez peut-être aussi