lost and found ( for me ? )

Showing posts with label F5 BIG-IP LTM. Show all posts
Showing posts with label F5 BIG-IP LTM. Show all posts

BIG-IP LTM 10.2 : install hotfix via CLI


- copy hotfix iso to the LTM

before ( LTM )
[root@bigip01:Active] ~ # ls /shared/images/
BIGIP-10.2.2.763.3.iso  Hotfix-BIGIP-10.2.2-930.0-HF3.iso

copy the hotfix iso to the TLM from the client ( Linux )
# scp Hotfix-BIGIP-10.2.2-969.0-HF4.iso root@192.168.200.1:/shared/images
Password:
Hotfix-BIGIP-10.2.2-969.0-HF4.iso             100%  156MB  22.3MB/s   00:07    

after ( LTM )
# ls /shared/images/
BIGIP-10.2.2.763.3.iso             Hotfix-BIGIP-10.2.2-969.0-HF4.iso
Hotfix-BIGIP-10.2.2-930.0-HF3.iso

check the md5 value
# md5sum /shared/images/Hotfix-BIGIP-10.2.2-969.0-HF4.iso


- install the Hotfix ( HF )

before
[root@bigip01:Active] ~ # bigpipe software show
SOFTWARE
+-> SOFTWARE STATUS
|   Key   Slot Product Version Build Active Status  
|   HD1.1    0 BIG-IP  10.2.2  852.0 no     complete
|   HD1.2    0 BIG-IP  10.2.2  930.0 yes    complete
|   HD1.3    0 none    none    none  no     complete


install the HF on non-active HD ( HD1.1 )
[root@bigip01:Active] ~ # bigpipe software desired HD1.1 product BIG-IP version 10.2.2 build 969.0


Please note that you can not apply the hotfix on active drive.
check the status of the installation
[root@bigip01:Active] ~ # watch bigpipe software status show
SOFTWARE - Status:
+-> SOFTWARE STATUS
|   Key   Slot Product Version Build Active Status
|   HD1.1    0 BIG-IP  10.2.2  763.3 no     installing 92.000 pct
|   HD1.2    0 BIG-IP  10.2.2  930.0 yes    complete
|   HD1.3    0 none    none    none  no     complete



SOFTWARE - Status:
+-> SOFTWARE STATUS
|   Key   Slot Product Version Build Active Status
|   HD1.1    0 BIG-IP  10.2.2  969.0 no     complete
|   HD1.2    0 BIG-IP  10.2.2  930.0 yes    complete
|   HD1.3    0 none    none    none  no     complete


- boot the LTM with new version

boot the LTM from HD1.1 on which I installed HF4.
[root@bigip01:Active] ~ # switchboot -b HD1.1
info: default boot location changed to HD1.1.


reboot the LTM
[root@bigip01:Active] ~ # full_box_reboot
The system is going down for reboot NOW!


after booting the LTM
[root@bigip01:Active] config # bigpipe version | head -5
Kernel:
Linux 2.6.18-164.11.1.el5.1.0.f5app
Package:
BIG-IP Version 10.2.2 969.0
Hotfix HF4 Edition


[root@bigip01:Active] config # switchboot -l

Current boot image:
   HD1.1 - title BIG-IP 10.2.2 Build 969.0
Default boot image:
   HD1.1 - title BIG-IP 10.2.2 Build 969.0
Available boot image(s):
   HD1.1 - title BIG-IP 10.2.2 Build 969.0
   HD1.2 - title BIG-IP 10.2.2 Build 930.0

F5 LTM 1600 : how to activate a license


1.set up an IP address for MGMT port

Connect your PC to LTM console port

baud rate 19200
user: root
pass: default
localhost.localdomain login: root
Password:
Last login: Wed May 11 21:08:29 on ttyS0


Type “config” for setting up an IP address
[root@localhost:NO LICENSE] config # config


Just follow the instructions.
configuration file will be save in bigip_base.conf file.
[root@localhost:NO LICENSE] config # cat /config/bigip_base.conf
mgmt 192.168.1.254 {
  netmask 255.255.255.0
}
self allow {
  default
     tcp ssh
     tcp domain
     tcp snmp
     tcp https
     tcp 4353
     udp domain
     udp snmp
     udp efs
     udp 1026
     udp 4353
     proto ospf
}
shell write partition Common

2. Activate a license

launch Web browser n’ access to MGMT address.

user : admin
pass : admin




You need to get a license file from at https://activate.f5.com/license/ .
Before accessing to https://activate.f5.com/license , you need to prepare a registration key n’ a dossier file which are available on your LTM via Web.
Then generate a license file at https://activate.f5.com/license.

Finally paste a license file generated at F5 site on your LTM.
activation done.



Now you can configure LB setting!

CLI prompt will be changed from NO LICENSE to Active
Before activate
[root@localhost:NO LICENSE] config #

After activate
[root@localhost:Active] config #

license file will be stored in /config/bigip.license.
[root@localhost:Active] config # cat bigip.license