Use the esxcli command to upgrade the host

Source: Internet
Author: User

After esxi is installed, some problems may occur, such as bugs found and new hardware is not supported. VMWare occasionally releases upgrade patches, there are currently two types of upgrade packages:

1, occasionally provided patch package, patch package name such as "ESXi550-201410001".

2,The cumulative patch, such as"Update-from-esxi5.5-5.5_update02".

Visit https://my.vmware.com/group/vmware/patch?searchto download the patch. You must first have a registered account.

To upgrade esxi through esxcli commands, you need to understand VIB, image configuration files, and software libraries.

The following technical terms are used throughout the vsphere documentation to discuss installation and upgrade tasks.


ViB

VIB is an esxi software package. Includes VMware and its partner package solutions, drivers, CIM providers, and applications that extend the esxi platform to vib. VIB is available in the software library. You can use VIb to create and customize ISO images or install VIB asynchronously on the esxi host to upgrade the host.


Image configuration file

The image configuration file defines the esxi image and contains VIB. The image configuration file always contains one basic VIB and may contain multiple Vibs. You can use image builder powercli to check and define the image configuration file.


Software library

The software library is a collection of VIB and image configuration files. The software library is a hierarchical structure of files and folders. It can be obtained through http url (online library) or ZIP file (offline library. VMware and its partners provide software libraries. Companies that install large VMware can create internal libraries to prepare vsphere auto deploy for esxi hosts or export ISO for esxi installation.

Pay attention to the following points for upgrade:

1. Some upgrades require the host to be in maintenance mode.

2. If the host belongs to a VMware HA cluster, remove the host from the cluster or disable Ha on the cluster before installation or update.

3. the SSH service must be enabled for esxi.

Steps:

1. Enable the SSH service first, select the host on the vsphere client, choose configuration> install Configuration File> properties, 1.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/84/wKioL1RSXqzxSGDoAASqbFtCbg0658.jpg "Title =" 7.jpg" alt = "wkiol1rsxqzxsgdoaasqbftcb1_658.jpg"/>

Figure 1

2. Click SSH in the Service Properties dialog box, click the option button, and then click Start to start the SSH service. 2

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/84/wKioL1RSX6rAqpd6AALPpgd70Bo002.jpg "Title =" 02.jpg" alt = "wkiol1rsx6raqpd6aalppgd70bo002.jpg"/>

Figure 2

3. Upload the patch package to the host through winscp. After selecting the storage path on the host, upload the file. Of course, you can also upload the file through the vsphere client, as shown in figure 3.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/84/wKiom1RSYBKCxq66AAXFGRJu9hk673.jpg "Title =" 03.jpg" alt = "wkiom1rsybkcxq66aaxfgrju9hk673.jpg"/>

Figure 3

4. Set the host to maintenance mode, 4

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/84/wKiom1RSXsrhPBKiAAQTajlOHYI767.jpg "Title =" 1.jpg" alt = "wkiom1rsxsrhpbkiaaqtajlohyi767.jpg"/>

Figure 4

4. log in with putty and switch to the path of the patch package.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4D/84/wKiom1RSYd_Du5O5AAHOIiljvEM159.jpg "Title =" 04.jpg" alt = "wkiom1rsyd_du5o5aahoiiljvem159.jpg"/>

Figure 5

5. Run the command esxi software VIB install-D patch package path. The path must be correct. This time, we can see a very long file directory, but there is actually a trick, commands or paths under esxi can be automatically completed. Press the tab key to complete, 6

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4D/84/wKioL1RSYpuQa1pcAAHTPur5x3g748.jpg "Title =" 05.jpg" alt = "wkiol1rsypuqa1pcaahtpur5x%748.jpg"/>

Figure 6

6. After the upgrade, restart the host and check the version number of the host. The version number is 7.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/84/wKiom1RSY7CiIAZ6AASd1O6cDos490.jpg "Title =" 06.jpg" alt = "wkiom1rsy7ciiaz6aasd1o6cdos490.jpg"/>

Figure 7

This article is from the "yjkarmon" blog, please be sure to keep this source http://261402.blog.51cto.com/251402/1569919

Use the esxcli command to upgrade the host

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.