I searched dev central for an option to move the VIPs, pools & nodes from common partition to a different partition and most of the answers were it is available in the versions 11.6 and above. But could not find the procedure to do that. Please let me know what is the procedure to do the same. I am running a version 12.2 in my F5s which are running as a HA pair.
@DineshVM_265886 For the scenario where i have to migrate the configuration by pick and choose only for certain configuration items like
VIP, pool or pool members or profiles or SSL profiles I extensively use following MAGIC command command in tmsh mode
load sys config merge from-terminal
Press CTRL-D to submit or CTRL-C to cancel
Very helpful command for Enter configuration.
To use this command we have to do preparation few steps as follows:
use Bigip.conf file either by running qkview and download that qkview file outside of the F5 box using WINSCP.
qkview -s0 -f "/var/tmp/$(/bin/hostname)_$(date +%Y-%m-%d-%H-%M-%S).tgz"
Upload this qkview file to to the f5 ihealth site as follows:
You must have credentials to login on this site, if not create one logins which is absolutely free.
from there you can see bigip.conf and bigip_base.conf files for LTM, for other modules there are more files need to consider like for GTM, ASm or APM,
for knowing more about configuration files read this
Most of the times these 2 files will work for LTM:
High-level traffic management and system configuration, such as virtual servers, profiles, access policies, iRules, and authentication settings None
Base-level network and system configuration, such as VLANs, self IPs, device service clustering (DSC), and provisioning None
for every partition there will be one file for each , so suppose you have 3 partitions then you must have 3 bigip.conf files and 3 bigip_base.conf files, one file for each partiton.
Once you got the required files, I gather/copy all the configuration items in one separate notepad files from source partiton to destinaition partiton, usually one set in a partuicular order like virtual servers, pools , profiles etc etc, so that i can identify all the configuration items with dependency on each other are gather all in one place for easy reference and get ready.
Now when i am ready i either change the objects partition name from /Common/Virtual_Server to the destination partiton like /DMZ1/Virtual_Server, for all the objects, if you are running this command from /Common partion in tmsh
load sys config merge from-terminal
Its better if you change the partion to the destination partiton using cd command
Then you dont have to change the object names or else i guess you have to remove /Common from the object names, so check on those simple things
Now once you know which objects to enter first to maintian the order so that not to get an error for dependent objects, you can easily migrate configuration in no time.
I usually migrate any length of configuraiton from few lines like 10-15 lines upto 7000-10000 lines very very easily, just need to plan and organize and check all the items and their dependent config items, if you know all those order and sequence of items, you can easliy pick and chose what configuration items to move from one partitoin to another or from one box to aother or from one hardware to another hardware box .
Please wite back to me if you still need a more details.
You must meet the following prerequisite to use this procedure:
You have Advanced Shell (bash) access to the BIG-IP system.
You are proficient with basic Linux commands.
References for load /sys config merge from-terminal with sample examples
"load sys config merge " with the help of an example
You can use the load sys config merge command to import the configuration as written in bigip.conf
If you want to write to a particular partiton change your folder using
and then use the load sys config merge command so that the configuration will be written in bigip.conf file for that specific partition or else you have to give in the name reference like we give
Do write back to me for more details and i will try to share details with an example