lost and found ( for me ? )

BIG-IP LTM : how to load new bigip_base.conf and bigip.conf by bigpipe command


Here’s an explanation of how to load new bigip_base.conf and bigip.conf.

Version: 10.2.3
Build: 123.0
BaseBuild: 112.0
Edition: Hotfix HF1

In my case , I sometimes edit bigip_base.conf and bigip_base.conf by text editor , vi or something ,  and then load those configuration files.

1. back up current configuration files
[root@bigip01:Active] config # cp bigip.conf /var/tmp/
[root@bigip01:Active] config # cp bigip_base.conf /var/tmp/

2. upload new bigip_base.conf and bigip.conf you want to load on your LTM device

[root@bigip01:Active] config # ls /root/
bigip_base.conf  bigip.conf

I uploaded new configuration files under /root directory via SSH

3. copy new configuration files under /config directory

[root@bigip01:Active] config # cp /root/bigip.conf /config/
cp: overwrite `/config/bigip.conf'? y
[root@bigip01:Active] config # cp /root/bigip_base.conf /config/
cp: overwrite `/config/bigip_base.conf'? y

4. verify configuration syntax 

[root@bigip01:Active] config # b verify load /config/bigip_base.conf
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Validating the configuration ...
[root@bigip01:Active] config #

[root@bigip01:Active] config # b verify load /config/bigip.conf
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
Reading configuration from /config/bigip_local.conf.
Validating the configuration ...
[root@bigip01:Active] config #

5. check whether new configuration files are loaded

[root@bigip01:Active] config # b base list
[root@bigip01:Active] config # b list

6. load new bigip_base.conf and bigip.conf

[root@bigip01:Active] config # b base load /config/bigip_base.conf
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Loading the configuration ...
[root@bigip01:Active] config #

[root@bigip01:Active] config # b load /config/bigip.conf
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
Reading configuration from /config/bigip_local.conf.
Loading the configuration ...
[root@bigip01:Active] config #

7. save

[root@bigip01:Active] config # b save all
/config/bigip_base.conf was renamed to /config/bigip_base.conf.bak (102 lines).
/config/bigip_sys.conf was renamed to /config/bigip_sys.conf.bak (33 lines).
/config/bigip.conf was renamed to /config/bigip.conf.bak (166 lines).
/config/bigip_local.conf was renamed to /config/bigip_local.conf.bak (1 lines).

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.