tech note

インフラ技術や車についてつぶやいていくブログ

BIG-IP CLIでVersionUPする方法

CLIからLicense Reactivate

K2595: Activating and installing a license file from the command line

Registration Keyを調べてdossierを取得

# grep Registration bigip.license
# get_dossier -b XXXXX-XXXXX-XXXXX-XXXXX-XXXXXXX

Licenseサーバへアクセスしdossierを貼り付け、License取得

F5 Networks - Product Licensing / Activate F5 Product

Licenseファイルを更新

vi /config/bigip.license

適用(Standby機で実施下さい)

reloadlic

OSVersionUP

以下へisoファイルをSCP等で転送

/shared/images/

現在のVolumeを確認

# switchboot -l

Current boot image:
    HD1.2 - title BIG-IP 14.0.0.3 Build 0.0.4
Default boot image:
    HD1.2 - title BIG-IP 14.0.0.3 Build 0.0.4
Available boot image(s):
    HD1.1 - title BIG-IP 11.5.7 Build 0.0.1
    HD1.2 - title BIG-IP 14.0.0.3 Build 0.0.4

新規にHD1.3を作成しインストール開始

# tmsh install sys software image BIGIP-14.1.0-0.0.116.iso create-volume volume HD1.3

進捗確認コマンド

# tmsh show sys software

例)

root@(bigip09)(cfg-sync Standalone)(Active)(/Common)(tmos)# show sys software

-----------------------------------------------------------------
Sys::Software Status
Volume  Product   Version    Build  Active                 Status
-----------------------------------------------------------------
HD1.1    BIG-IP    11.5.7    0.0.1      no               complete
HD1.2    BIG-IP  14.0.0.3    0.0.4     yes               complete
HD1.3    BIG-IP    14.1.0  0.0.116      no  installing 10.000 pct

---------------------------
Sys::Software Update Check
---------------------------
  Check Enabled        true
  Phonehome Enabled    true
  Frequency          weekly
  Status               none
  Errors                  0

root@(bigip09)(cfg-sync Standalone)(Active)(/Common)(tmos)# show sys software

----------------------------------------------------
Sys::Software Status
Volume  Product   Version    Build  Active    Status
----------------------------------------------------
HD1.1    BIG-IP    11.5.7    0.0.1      no  complete
HD1.2    BIG-IP  14.0.0.3    0.0.4     yes  complete
HD1.3    BIG-IP    14.1.0  0.0.116      no  complete

---------------------------
Sys::Software Update Check
---------------------------
  Check Enabled        true
  Phonehome Enabled    true
  Frequency          weekly
  Status               none
  Errors                  0

root@(bigip09)(cfg-sync Standalone)(Active)(/Common)(tmos)#

HD1.3で起動

# tmsh reboot volume HD1.3

Version確認

# tmsh show sys version

[root@bigip09:Active:Standalone] config # tmsh show sys version

Sys::Version
Main Package
  Product     BIG-IP
  Version     14.1.0
  Build       0.0.116
  Edition     Final
  Date        Wed Nov 14 18:41:56 PST 2018

[root@bigip09:Active:Standalone] config #