By bob chen

2011.9.23

 

 

 

一、Version 9.x Hotfix Install

1. 备份数据

bigpipe config save SOL6845.ucs

2. 下载补丁

https://downloads.f5.com/esd/index.jsp

3. MD5校验

md5sum Hotfix-BIG-IP-9.x.x-HFyy.im

cat Hotfix-BIG-IP-9.x.x-HFyy.md5

4. 安装/卸载补丁

im Hotfix-BIG-IP-9.x.x-HFyy.im

Then, reboot the BIG-IP system by typing the full_box_reboot command.

5. 确认补丁安装成功

b version

 

二、Version 10.x Hotfix Install

10.x有2种方式打补丁,web方式和CLI方式

 

1.Web方式

先把补丁文件导入到F5的相应目录/shared/p_w_picpaths/

登陆F5web管理界面

Click System.

Click Software Management.

Click the Hotfix List tab.

Click the hotfix p_w_picpath name you want to install.

Click the Install button.

On the Installation Targets page, click Install.

System > Software > Boot Locations 激活你所需要引导的补丁

系统会自动重启.

 

 

 

2.命令行方式

先把补丁文件导入到F5的相应目录/shared/p_w_picpaths/

bigpipe software desired HD1.2 product BIG-IP version 10.0.0 build 5460.0

查看补丁安装进度

watch bigpipe software status show

安装完毕后,需要激活从此补丁引导

Switchboot

full_box_reboot

 

//

V9.X Hotfix升级参考官方文档

///

sol6845:Managing F5 product hotfixes for BIG-IP version 9.x systems

clip_p_w_picpath001General Solution

Original Publication Date: 01/23/2007
Updated Date: 11/15/2009

Important: F5 recommends that you install hotfixes using a serial console or SSH connection to the management port IP address. The hotfix installation script may restart the TMM process, which will terminate all connectivity to the BIG-IP self IP addresses. If the hotfix is installed when connected to a self IP address, you may leave the BIG-IP system in an inaccessible state.

Important: For hotfixes containing an update that requires a loss of SSH connectivity to the management IP address, the hotfix should only be installed using the serial console. For information about installation requirements, refer to the associated hotfix readme note.

Hotfixes on a system can be uninstalled

You can use the hotfix uninstall installation manager (IM) package to remove all hotfixes from a system. This process brings the system back to the base version installed on the system.

Note: The hotfix uninstall functionality was added to the BIG-IP version 9.3.0 software branch, version 9.4.0 software branch and version 9.1.2 of the 9.1.0 software branch.

Important: The hotfix uninstall functionality is not supported in the BIG-IP version 9.2.0 software branch.

1.Saving and backing up existing configuration data

升级前保存,配置文件

bigpipe config save SOL6845.ucs

Important: It is critical that you back up the archived configuration files to a remote location. In the event the hotfix installation process fails, you may need to use the remotely-stored file in order to restore your BIG-IP version 9.x configuration data.

 

Downloading the hotfix files

After you save the existing configuration, download the hotfix files from the F5 Downloads site. There are three types of files for each hotfix:

· IM files

Each hotfix has two IM files: one IM file for installing the hotfix, and one IM file for removing all hotfixes installed.

· MD5 files

Each IM file has a corresponding MD5 file for checking the integrity of the IM files.

· Hotfix Release Note / readme files

Each IM file has a corresponding Hotfix Release Note / readme file. You should always read the Hotfix Release Note / readme files before you install a hotfix. This file contains important notes about each particular hotfix installation and uninstallation file.
Note: Starting in BIG-IP versions 9.3.0 and 9.4.1, the readme file name was changed to Hotfix Release Note.

Important: Always read the Hotfix Release Note / readme files and follow hotfix instructions for each specific hotfix. These instructions may include critical tasks, including rebooting the host, the SCCP or both.

Download the following files for the hotfix you want to install:

· Download the hotfix installation and uninstallation IM packages:

o Hotfix-BIG-IP-9.x.x-HFyy.im

This file is the hotfix installation IM file. The 9.x.x part of the file name denotes the software version, the HFyy part of the file is the cumulative hotfix number.

o HotfixUninstall-BIG-IP-9.x.x-HFyy.im

This file is the hotfix uninstallation IM file. The 9.x.x part of the file name denotes the software version, the HFyy part of the file is the cumulative hotfix number.

· Download the corresponding MD5 files:

o Hotfix-BIG-IP-9.x.x-HFyy.md5

This file is the hotfix installation MD5 file. The 9.x.x part of the file name denotes the software version, the HFyy part of the file is the cumulative hotfix number.

o HotfixUninstall-BIG-IP-9.x.x-HFyy.md5

This file is the hotfix uninstallation MD5 file. The 9.x.x part of the file name denotes the software version, the HFyy part of the file is the cumulative hotfix number.

Note: For information about transferring files to the BIG-IP system, refer to SOL175: Transferring files to or from an F5 system.

Verifying the MD5 checksum of the hotfix files

After you download the hotfix files and the matching MD5 checksum files, and before you perform the installation, we recommend you test the integrity of each file to ensure file quality. To run the test, type the following command, where Hotfix-BIG-IP-9.x.x-HFyy.im is the name of the upgrade file you downloaded:

md5sum Hotfix-BIG-IP-9.x.x-HFyy.im

cat Hotfix-BIG-IP-9.x.x-HFyy.md5

The two MD5 hash values should be identical. Ensure the output matches the contents of the corresponding MD5 file. If the output matches, install the file; if the output does not match, download the file again and repeat the process.

Installing a hotfix

Before you install a cumulative hotfix, you must first consider whether the system has a hard drive or a CompactFlash media drive.

· Hard drive installation

Systems with hard drives typically have enough disk space to download the hotfix file directly to the hard drive and perform the installation. For hard drive installations, refer to the Installing a hotfix on a system with a hard drive section.

· CompactFlash media drive installation

Systems with only CompactFlash media drives typically do not have enough space to download and install the hotfix file. In this case, you must create a memory file system to accommodate the hotfix file. For CompactFlash media drive installation, refer to Installing the hotfix on systems with CompactFlash media drives.

Installing a hotfix on a system with a hard drive

After you have downloaded the files to the hard drive on the system and checked their integrity using the MD5 files, you can install the hotfix by typing the following command, where Hotfix-BIG-IP-9.x.x-HFyy.im is the name of the hotfix installation IM file:

im Hotfix-BIG-IP-9.x.x-HFyy.im

Then, reboot the BIG-IP system by typing the full_box_reboot command.

Important: After you install the hotfix, for the system to function properly, you must type the full_box_reboot command to reboot the system.

Installing the hotfix on systems with CompactFlash media drives

Note: Before installing the hotfix on systems with CompactFlash media drives, it is recommended to first uninstall any previous hotfix installation. For information about uninstalling previous hotfix installations, refer to the uninstalling hotfixes on systems with CompactFlash media drives section.

To install the hotfix on systems with CompactFlash media drives, perform the following procedure:

1. From the BIG-IP command line, create a memory file system by typing the following command:

mkdir /var/ramfs

2. Mount the directory by typing the following command:

mount -t ramfs none /var/ramfs

3. Change directories to the /var/ramfs directory by typing the following command:

cd /var/ramfs

4. Copy the Hotfix-BIG-IP-9.x.x-HFyy.im file from the location where you downloaded the file, <location>, to the /var/ramfs directory on the target BIG-IP system. For example, if you obtain the files through Secure Copy (scp) on the system where the file is located, you would type the following command:

5. scp root@<bigip_management_ip>:/<location>

/Hotfix-BIG-IP-9.x.x-HFyy.im /var/ramfs/Hotfix-BIG-IP-9.x.x-HFyy.im

6. Install this hotfix by typing the following command:

im /var/ramfs/Hotfix-BIG-IP-9.x.x-HFyy.im

7. Reboot the system by typing the following command:

full_box_reboot

Important: After you install the hotfix, for the system to function properly, you must type the full_box_reboot command to reboot the system.

Uninstalling hotfixes

Important: If you want to uninstall the hotfix using the hotfix uninstall IM file, be aware that all previous hotfixes installed on the system will be removed by this process. After you complete the uninstall process, the system returns to the base version of the product with all previously installed hotfixes removed.

Before you uninstall a cumulative hotfix, you must first consider whether the system has a hard drive or a CompactFlash media drive.

· Hard drive uninstallation

Systems with hard drives typically have enough disk space to download the hotfix file directly to the hard drive and perform the uninstallation. For hard drive uninstallations, refer to Uninstalling hotfixes on a system with a hard drive.

· CompactFlash media drive uninstallation

Systems with CompactFlash media drives typically do not have enough space to download and run the hotfix uninstallation file. In this case, you must create a memory file system to accommodate the hotfix uninstallation file. For CompactFlash media drive uninstallation refer to Uninstalling the hotfix on systems with CompactFlash media drives.

Uninstalling hotfixes on systems with hard drives

After you download the files to the hard drive on the system and check their integrity using the MD5 files, you can uninstall the hotfix by typing the following command, where HotfixUninstall-BIG-IP-9.x.x-HFyy.im is the name of the hotfix uninstallation IM file.

im HotfixUninstall-BIG-IP-9.x.x-HFyy.im

Then, reboot the BIG-IP system by typing the full_box_reboot command.
Important: After you uninstall the hotfix, for the system to function properly, you must type the full_box_reboot command to reboot the system.

Uninstalling hotfixes on systems with CompactFlash media drives

To uninstall hotfixes on systems with CompactFlash media drives, perform the following procedure:

1. From the BIG-IP command line, create a memory file system by typing the following command:

mkdir /var/ramfs

2. Mount the directory by typing the following command:

mount -t ramfs none /var/ramfs

3. Change directories to the /var/ramfs directory by typing the following command:

cd /var/ramfs

4. Copy the HotfixUninstall-BIG-IP-9.x.x-HFyy.im file from the location where you downloaded the file, <location>, to the /var/ramfs directory on the target BIG-IP system. For example, to use scp on the system where the file is located, you would type the following command:

5. scp root@<bigip_management_ip>:/<location>

/Hotfix-BIG-IP-9.x.x-HFyy.im /var/ramfs/Hotfix-BIG-IP-9.x.x-HFyy.im

6. Install this hotfix by typing the following command:

im /var/ramfs/HotfixUninstall-BIG-IP-9.x.x-HFyy.im

7. Reboot the system by typing the following command:

full_box_reboot

Important: After you uninstall the hotfix, for the system to function properly, you must type the full_box_reboot command to reboot the system.

Verifying the hotfix version installed

You can verify the hotfix version running on a system using the bigpipe version command. The Product version number itself is not changed by installing a hotfix. You can identify which hotfix version is installed on the system by the version indicated in the Hotfix Version line of the bigpipe version command output. For example, to obtain information about the hotfix version installed on your system, type bigpipe version in the command line. Output similar to the following indicates the system is running hotfix version 3, or HF3:

Kernel:

Linux 2.4.21-9.1.2.15.4smp

Package:

BIG-IP Version 9.1.2 15.4

Hotfix Version HF3

 

//

V10.X Hotfix升级参考官方文档

///

sol11496:Managing F5 product hotfixes for BIG-IP version 10.x systems using the volumes disk formatting scheme

clip_p_w_picpath001[1]General Solution

Original Publication Date: 05/05/2010
Updated Date: 08/04/2011

This Solution describes the procedure for installing a BIG-IP version 10.x hotfix on a system that uses a logical volume management (LVM) disk-formatting scheme. You can use the Configuration utility or the command line to install a BIG-IP version 10.x hotfix on a system using volumes. To do so, perform one of the following procedures:

Installing the hotfix using the Configuration utility

Installing the hotfix using the command line

Important: If you are installing a BIG-IP ASM or BIG-IP WebAccelerator version 10.0.x hotfix, you can avoid a known issue by instead performing the procedure detailed in SOL11374: Installing a hotfix may create a UCS file without a database configuration.

Note: To determine whether the BIG-IP system is using the volumes disk formatting scheme, refer to SOL10817: Determining the disk-formatting scheme used by a BIG-IP version 10.x system.

Important: Before following the procedures detailed in this Solution, you should review the information in SOL10025: Managing F5 product hotfixes for BIG-IP version 10.x systems.

Note: For information about installing a version 10.x hotfix on a system using the partitions disk formatting scheme, refer to the appropriate Solution from the Installing a hotfix section in SOL10025: Managing F5 product hotfixes for version 10.x systems.

Note: If you are installing a BIG-IP version 10.1.x hotfix from a version 10.0.0 partition, you may need to re-install the BIG-IP software on the partition from which you plan to perform the hotfix installation. For more information, refer to SOL10063: BIG-IP 10.0.0 hotfix installations do not apply a configuration or license to the target installation location.

Note: For information about managing BIG-IP version 9.x hotfixes, refer to SOL6845: Managing F5 product hotfixes for version 9.x systems.

Installing the hotfix using the Configuration utility

Important: When installing a version 10.x hotfix on a system using the volumes formatting scheme, you must run the hotfix installation from a boot location other than the target boot location. To change the default boot location using the Configuration utility, browse to System &gt; Software &gt; Boot Locations and activate a boot location other than that to which you will install the hotfix.

After you have imported the hotfix file to the /shared/p_w_picpaths/ directory on the BIG-IP system, it will appear in the Configuration utility under Software Management: Hotfix List. You can then install the hotfix. To install the hotfix using the Configuration utility, perform the following procedure:

1. Log in to the Configuration utility.

2. Click System.

3. Click Software Management.

4. Click the Hotfix List tab.

5. Click the hotfix p_w_picpath name you want to install.

6. Select the check box next to the appropriate install volume.

7. Click the Install button.

8. On the Installation Targets page, click Install.

Once the installation is complete, if you want to activate the boot location with the hotfix, you will have to change the default boot location and then reboot the BIG-IP system. To do so using the Configuration utility, browse to System &gt; Software &gt; Boot Locations and activate the boot location where you have installed the hotfix. The BIG-IP system will reboot automatically.

Installing the hotfix using the command line

Important: When installing a version 10.x hotfix on a system using the volumes formatting scheme, you must run the hotfix installation from a boot location other than the target boot location. Use the switchboot command to change the default boot location to a boot location other than that to which you will install the hotfix.

After you have imported the hotfix file to the /shared/p_w_picpaths/ directory on the BIG-IP system, you can use the bigpipe software command to install the hotfix p_w_picpath. To install the hotfix using the bigpipe software command, use the following syntax:

bigpipe software desired <install_volume> product BIG-IP version <version_number> build <build_number>

For example, to install BIG-IP version 10.0.0 HF-2 on install volume HD1.2, you would type the following command:

bigpipe software desired HD1.2 product BIG-IP version 10.0.0 build 5460.0

Monitoring the hotfix installation

To monitor the status of the hotfix installation from the command line, type the following command:

watch bigpipe software status show

The following sample command output from the bigpipe software status show command indicates that the installation status is 27.6 percent complete:

SOFTWARE - Status:
+-&gt; SOFTWARE STATUS
| Key Slot Product Version Build Active Status
| HD1.1 0 BIG-IP 10.0.0 5401.0 yes complete
| HD1.2 0 BIG-IP 10.0.0 5401.0 no installing 27.620 pct

Once the installation is complete, if you want to activate the boot location with the hotfix, you will have to change the default boot location and then reboot the BIG-IP system. To do so using the command line, run the switchboot command and select the boot location where you have installed the hotfix; then enter the full_box_reboot command.