搜索
您的当前位置:首页正文

F5 BIGIP V9 版本升级步骤

2023-08-24 来源:步旅网


Version:

3

文档名称: BIG-IP V9软件版本升级步聚

1、 首先获得升级文件:

以V9.2.3升级为V9.2.4为例,先获得升级文件local-install-9.2.4.13.1.im和相应的local-install.md5文件 下载路径:http://www.f5.com.cn/f5gz/ptf/ftp.f5.com/Domestic/bigip/bip924/local-install-9.2.4.13.1.im 其它版本升级文件可以从以下下载链接获得:

http://www.f5.com.cn/f5gz/ptf/ftp.f5.com/Domestic/bigip 例如BIG-IP 9.1.2的升级链接为:

http://www.f5.com.cn/f5gz/ptf/ftp.f5.com/Domestic/bigip/bigip912/local-install-9.1.2.40.6.im

2、 使用ssh(端口22)登陆BIG-IP的管理网口:

注:如果现场有BIG-IP的串口Console线,也可以直接用串口Console线连接BIG-IP

进行升级。这样,可以直接跳到第6步。

管理网口的地址为液晶显示板上显示的IP地址。假定液晶显示板上的IP地址显示为192.168.10.245,则用SSH连接192.168.10.245。

注:Secure Shell Client 可以用以下链接下载:

http://www.f5.com.cn/f5gz/tools/SSHSecureShellClient-3.2.5.exe。 putty的下载链接如下:

http://www.f5.com.cn/f5gz/tools/putty.zip

3、 设置SCCP管理子系统的IP地址:

3.1在命令行运行以下命令: ssh sccp

进入SCCP管理子系统。

3.2运行netconfig设置SCCP管理子系统网络地址

sccp.bigip.com# netconfig

SCCP Linux Management Network Configurator

Use DHCP? n

Host name (optional): sccp-1.f5.com IP address (required): 192.168.10.247 Network mask (required): 255.255.255.0 Broadcast IP address (optional): Default gateway IP address (optional): Nameserver IP address (optional):

其中的192.168.10.247即为该台BIG-IP SCCP管理子系统的IP地址。注意不要与网络上其它IP地址冲突。这个地址是与液晶显示板上的IP地址不一样的。

注:在设置好SCCP管理子系统的IP地址以后,为了避免忘记,建议在BIG-IP管理网口

旁边贴个小标签,将IP地址写在上面。

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

3.3执行rc.network使地址生效:

sccp.bigip.com# /etc/rc.network sccp.bigip.com#

并运行ifconfig –a | more检查地址是否生效:

sccp.bigip.com# ifconfig -a |more

br0 Link encap:Ethernet HWaddr 00:01:D7:2F:13:40

inet addr:192.168.10.247 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:322171 errors:0 dropped:0 overruns:0 frame:0 TX packets:68114 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0

RX bytes:20413475 (19.4 Mb) TX bytes:5272862 (5.0 Mb)

4、 用SSH登陆SCCP管理子系统,

SCCP管理子系统的IP地址即为刚才设置的地址192.168.10.247。而网络接口还是BIG-IP前面板左边的网络接口。

登陆帐号为root, 缺省密码为default。

注:如果将BIG-IP的管理网口接入外部网络,而SCCP管理子系统已经配置了IP地址的

情况下,要确保管理网口的安全。可以通过passwd命令来修改SCCP管理子系统root帐号的密码。

5、 经用SCCP管理子系统连接BIG-IP负载均衡系统的Console口,

在SCCP管理子系统的命令行运行以下命令:

在命令行运行以下命令:hostconsh

sccp.bigip.com# hostconsh

[hostconsh] Attempting to acquire the host processor console...

Host Console Shell --- Press ( for command menu.

回车进入到负载均衡系统的Console控制台:

[root@bigip1:Active] config #

注:BIG-IP的SCCP管理子系统的命令行的提示符与负载均衡子系统的命令行是不一样

的。SCCP管理子系统的命令行的提示符是sccp.bigip.com#,,而负载均衡子系统的命令行的提示符是[root@bigip1:Active]。

如果要从负载均衡子系统的Console退回到SCCP管理子系统的命令行,只需要再次按Shift-Escape-9键,

[hostconsh] Command Menu:

1 --- Connect to Host subsystem console

2 --- Select Host subsystem boot mode: boot from local drive 3 --- Select Host subsystem boot mode: netboot manufacturing test 4 --- Select Host subsystem boot mode: netboot from external server 5 --- Reboot Host subsystem (sends reboot command)

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

6 --- Halt Host subsystem (sends halt command)

7 --- Reset Host subsystem (issues hardware reset--USE WITH CARE!) 8 --- Reboot SCCP subsystem (issues hardware reset--USE WITH CARE!) 9 --- Halt SCCP subsystem (issues hardware shutdown--USE WITH CARE!) D --- Run Diagnostics

I --- Run BIG-IP Installer (issues hardware reset--USE WITH CARE!) Q --- Exit Host subsystem console shell

[hostconsh] Enter command:

出现菜单后选择Q --- Exit Host subsystem console shell。

6、 备份配置文件以便升级时自动恢复:

在命令行运行以下命令b config save /config.ucs

[root@bigip1:Active] / # b config save /config.ucs Saving active configuration... 注:如果没有将配置按指定名称备份在指定目录,升级完后,所有配置将会丢失!!!

7、 将/config 下的bigip.license和RegKey.license及刚备份的/config.ucs备份出来。

可以通过scp或ssh 客户端软件将文件下载下来。 进行升级操作前,请确认V9.2.3的license已经激活。

注:注意区分scp下载时连接的IP地址是SCCP管理子系统的,还是负载均衡子系统的。

应该是从192.168.10.245下载。

8、 查看文件系统的空间,并将im文件上传(使用ssh工具):

注:下述操作都是通过SCCP管理子系统转接入到负载均衡子系统的Console进行的操

作。

[root@test123:Active] / # df -k

Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda5 380708 288760 72293 80% /

/dev/hda7 58556 4879 50654 9% /config /dev/hda8 48801 13263 33019 29% /var /dev/hdc1 15828588 40260 14984276 1% /shared none 110180 28 110152 1% /dev/shm none 110180 1264 108916 2% /var/tmpfs [root@test123:Active] / # cd /shared

[root@test123:Active] shared # mkdir test [root@test123:Active] shared # cd test [root@test123:Active] test #

系统升级文件有287M,请注意空间

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

9、 上传im文件和md5文件并对im文件进行md5验证。

注:上传升级文件要注意是上传到负载均衡子系统而不是SCCP管理子系统!即文件是上

传到192.168.10.245中,而不是192.168.10.247中。

[root@bigip:Active] test # ls -al total 294564

drwxr-xr-x 2 root root 4096 Dec 5 01:32 . drwxr-xr-x 15 root root 4096 Dec 4 21:10 ..

-rw-r--r-- 1 root root 55 Dec 5 01:21 local-install.md5

-rw-r--r-- 1 root root 301321054 Nov 23 20:07 local-install-9.2.4.13.1.im

做md5验证:

[root@bigip:Active] test # md5sum local-install-9.2.4.13.1.im 8997d4fd7ccccc7f3ec9dbcb9e8295c4 local-install-9.2.4.13.1.im 输出结果应当与local-install.md5相同

[root@bigip:Active] test # tail local-install.md5

8997d4fd7ccccc7f3ec9dbcb9e8295c4 local-install-9.2.4.13.1.im

10、 解压升级文件

[root@test123:Active] test # im local-install-9.2.4.13.1.im Extracting manifest: /shared/test/local-install-9.2.4.13.1.im Installing files.

You may now run the install application /usr/bin/local-install. It will prompt you for further information.

11、 解压完成后执行local-install命令

注:这一步操作一定是要通过SCCP管理子系统(SSH到192.168.10.247,然后hostconsh,

选择1)转接入到负载均衡子系统的Console进行的操作。如果是SSH到负载均衡子系统(这里的地址是192.168.10.245)进行操作,则升级过程中网络会中断,而导致无法对升级过程进行监控。

[root@test123:Active] test # cd /usr/bin/ [root@test123:Active] bin # local-install F5 Product Installer

Auditing system, please wait... surveying disks

12、

进入安装界面:

a) 出现如下界面,回车继续,

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

b) 出现如下界面,回车继续,

c) 如果出现以下界面,说明还没有做配置备份,请选择no,退出升级过程。需要按

提示执行b config save /config.ucs操作,再重新进入升级过程。

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

d) 出现如下界面,选择no,回车

e) 出现如下界面,选择 CF1.1 No-change(默认),选择OK,回车继续

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

f)

出现如下界面,选择Install Packages: LTM v9.2.4 13.1 (/shared/repository),选择OK,回车继续。

g) 出现如下界面,选择Done (默认),选择OK,回车继续。

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

h) 出现如下界面,选择0 CF1.1(默认),选择OK,回车继续。(本图示由于升级的

是HD1.1分区中的系统,因此提示是HD1.1,而不是CF1.1。)

i)

出现如下界面,选择0 CF1.1(默认),选择OK,回车继续。

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

Version:

3

j)

文档名称: BIG-IP V9软件版本升级步聚

出现如下界面,回车继续。

注:这里的CF1.1中的Use Configuration不应该为None,应为From CF1.1 BIG-IP v9.2.3。

k) 出现如下界面,选择Yes,回车继续。

l)

开始进行安装,以下界面都不需要手工干预:

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

直到这一步,BIG-IP自动重启,与BIG-IP SCCP管理子系统的SSH连接将会中断。

13、 等待BIG-IP再次重启完:

可以再次连入SCCP管理子系统,用hostconsh连接负载均衡子系统Console,观察负载均衡的重启过程:

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

14、 重启后执行命令:b version查看版本信息。 输出信息中可以看到当前的version为 9.2.4。

注:也可以等BIG-IP重启完成,直接连接负载均衡子系统的管理网口IP地址192.168.10.245。

检查配置是否成功恢复。

可以用b list命令。

15、

16、 将升级安装包删除

Local-install成功后将所建立的/shared/test文件夹和其中的升级包删除。 rm –rf /shared/test

附录:升级英文说明:

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

Local Installation: Upgrading from BIG-IP software versions 9.x to BIG-IP software version 9.2.4

Release Date: 11/08/06 Updated:

Summary:

11/08/06

This technical note documents upgrading to BIG-IP software version 9.2.4 from BIG-IP software versions 9.1.x and 9.2.x, using the local install procedure. For information about installing the software, please refer to the instructions below.

Contents:

- Minimum system requirements and supported browsers - Supported platforms

- About the BIG-IP version 9.2.4 upgrade - Installing the upgrade - Contacting F5 Networks

Minimum system requirements and supported browsers

The minimum system requirements for this release are:

  

Intel® Pentium® III 933Mhz processor Hard drive 768MB RAM

The supported browsers for the Configuration utility are:

  [ Top ]

Microsoft® Internet Explorer®, version 6.x Mozilla® Firefox®, version 1.5x

Supported platforms

This installation method is supported only on the following platforms that contain hard drives:

Version:

3

     

文档名称: BIG-IP V9软件版本升级步聚

BIG-IP 520 and 540 (D35), for more information, see 520/540 Platform: Installing BIG-IP version 9.2.4. BIG-IP 1500 (C36) BIG-IP 3400 (C62) BIG-IP 6400 (D63) BIG-IP 6800 (D68) BIG-IP 8400 (D84)

If you are unsure which platform you have, look at the sticker on the back of the chassis to find the platform number. [ Top ]

About the BIG-IP version 9.2.4 local upgrade

This technical note describes how to copy an installation manager (IM) file of the BIG-IP software to the hard drive of the unit you want to upgrade to version 9.2.4. You can perform a local upgrade if you have direct access to the system. We recommend using the local upgrade if you have a direct connection to the unit you want to upgrade.

Warning: You can only apply this upgrade to BIG-IP version 9.x systems. Warning: A valid service contract is required to complete this upgrade.

Warning: You must reactivate the license on the BIG-IP system you intend to upgrade before you begin the upgrade.

Important: You should perform the installation on the standby system in a redundant system. If you are satisfied with the results, failover and apply the upgrade to the other unit in the redundant system. [ Top ]

Installing the upgrade

If the BIG-IP system is currently running version 9.0 through 9.1.0, you can upgrade directly to version 9.2.4, using the following procedure.

The process of upgrading to BIG-IP version 9.2.4 requires that you:

Version:

3

  

文档名称: BIG-IP V9软件版本升级步聚

Save and back up existing 9.x BIG-IP system configuration data Download the installation IM package from F5 Networks Copy the local install package to the BIG-IP system

The following sections describe how to perform these tasks. [ Top ]

Saving and backing up existing 9.x BIG-IP configuration data

Before you upgrade to BIG-IP version 9.2.4, you need to save your version 9.x configuration data. This prevents loss of data if, for any reason, the version 9.2.4 upgrade is not successful. Collect and archive the version 9.x configuration files, by typing the following command. bigpipe config save /config.ucs

Note: If you are upgrading a system that is using zone files with named, you must manually back up all necessary zone files and save them to a remote location. After the upgrade is complete, you can place them on 9.2.4 system. There is a new location on the 9.0 system for these files: /var/named/config/namedb.

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

Downloading the installation IM package from F5 Networks

After you save the existing configuration, download the installation local-install-9.2.4.13.1.im file from http://tech.f5.com. For details about downloading the IM package, see SOL167: Downloading software from F5 Networks. [ Top ]

Copying the local install package to the BIG-IP system

After you save the existing 9.x configuration and download the local install package, you need to copy the local-install-9.2.4.13.1.im file to the /var/tmp directory on the BIG-IP system that you want to upgrade. The following example shows how you would use the scp command to

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

copy the file to the BIG-IP system, where .im is the name of the local install IM, and the is the BIG-IP system to which you want to copy the IM file. scp .im root@:/var/tmp .

After you copy the local install IM file to the BIG-IP system you want to upgrade, you can run the im command to extract the installation files from the local install IM file. [ Top ]

Extracting the installation files and running the installation script

Now that you have copied the local install package to the target system, you are ready to install the 9.2.4 software. On the BIG-IP system, use the im command to extract the installation files from the IM package. After you extract the installation packages, you can run the installation script.

To extract the installation software

1. Extract the local-install script from the IM package using the following command:

im local-install-9.2.4.13.1.im 2. To run the local-install script and complete the installation, type the following

command:

local-install

The local install script prompts you for the following information:

Terminal type? [vt100]

3. Press Enter to continue, or type the terminal type you are using. We recommend that

you use vt100.

A number of messages scroll by and then the installation starts. Once the installation starts, you can use the arrow and Tab keys to navigate the options. You can use the Enter key or highlighted letter key to select an option from a menu, or the Spacebar to toggle select boxes on or off.

4. The installer prompts you for the following information.

o When prompted to choose an installation image, select the version 9.2.4

installation image.

Version:

3

文档名称: BIG-IP V9软件版本升级步聚

o After you choose the installation image, you are then prompted for the

installation location on which you want to install the software. An installation location is a portion of a drive with adequate space required for an installation. If the hardware supports multiple installation locations, you can create more than one installation by installing the software on each location. At boot time, you can select the installation that you want to boot. To install on multiple slots, follow the on-screen instructions.

o You then have the option to roll forward the supported configurations

(config.ucs files) found on the system. If you are installing this software on a system that contains a 9.x version of BIG-IP software, you should have already saved a UCS in with the procedure Save existing 9.x BIG-IP configuration data.

5. After you have completed the prompts for the installer, review the installation options

you have selected. Select Yes on the final BIG-IP install screen to begin the install. After the installation is complete, the BIG-IP system reboots and you lose connectivity to the BIG-IP system.

[ Top ]

因篇幅问题不能全部显示,请点此查看更多更全内容

Top