Forum Discussion
Migrating older F5 BIG-IP has 3 partitions & Route Domains (RD) to new F5 BIG-IP with 2 partion & RD
Hi mmsuwaid ,
1st Method
===========
1. you need to identify Partition specific configuration files which are loacated in /config/partitions/<name>/bigip*.conf
Once you finish the procedure use
load sys config verify
Your UCS Should simply be an archive.
Try zipping it up with winzip/winrar and changing the file extension to .ucs. after removing/editing the desired partiton files residing in /config/partitions/<name>/bigip*.conf
Once done you can zip/pack your UCS file back and give it a file extension .ucs.
2nd Method
===========
I extensively use
load sys config merge from-terminal
Very helpful command for Enter configuration.
Press CTRL-D to submit or CTRL-C to cancel
Prerequisites
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.
Procedures
Extracting the UCS archive to a temporary directory
Deleting all unnecessary large files from the UCS archive
Repacking the UCS archive
Installing the new UCS archive
https://support.f5.com/csp/article/K12278
https://support.f5.com/csp/article/K13830181
References for load /sys config merge from-terminal with sample examples
https://support.f5.com/csp/article/K81271448
https://www.xglobe.com/knowledgebase/networking/f5-load-balancer/f5-copy-ltm-config-to-another-device/
"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
cd /Partition1
or
cd /Partiton2
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
/Common/VIP1
......
/partition1/VIP10
/Partition2/VIP20
First, enter the load sys config merge from-terminal command.
Create a text file like the one below and paste it into the terminal.
1 2 3 Four Five 6 7 8 9 Ten 11 12 13 14 15 16 17 18 19 20 twenty one twenty two twenty three twenty four twenty five 26 27 | net vlan VLAN0200 { interfaces { 1.3 { tagged } } mtu 9000 tag 200 } net vlan VLAN0201 { interfaces { 1.3 { tagged } } mtu 9000 tag 201 } net vlan VLAN0202 { interfaces { 1.3 { tagged } } mtu 9000 tag 202 } |
Ctrl+D reflects the settings, and Ctrl+C cancels the operation.
Let me know for any further help.
HTH
- mmsuwaidDec 21, 2022Altocumulus
Thanks for this information, I will check it and let u know.
- mmsuwaidJan 27, 2023Altocumulus
Hi F5_Design_Engineer,
I have tried to deploy the first method in my lab and I was able to extract the ucs.
After extracting this archive file I found this file configsync-2.0-1-Linux-3.10.0862.14.4.7..8664.im I was able to modify this file with notepad as you said just remove the desired file residing in /config/partitions/<name>/bigip*.conf for my case was part-2 then I tried to zip it up and change the extension to ucs. After I had uploaded to my F5 machine and then tried to restore it I received this error:
Operation Status Unexpected Error: UCS loading process failed.
Further, I noticed many lines inside this file configsync-2.0-1-Linux-3.10.0862.14.4.7..8664.im with this config/partitions/<name>/bigip*.conf check the attached image. I tried both either deleting all lines related to config/partitions/<name>/bigip*.conf or deleting the more specific one and still receiving the same error.
let me know if I did it in the correct way!
Also, I still didn't try the second method if you could clarify more about the second method I will be so glad.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com