Forum Discussion
Request for config migration assistance
Hello,
I am in the process of migrating configurations from one hardware to another, using version 11.6.
I received a SCF file from the old hardware along with a tar file that has all the data from the /config/filestore directory.
My understanding is that I should be able to edit the SCF with the new management IP/gateway (moving to another data center) and just load the configuration via tmsh. I modify the file first and then upload to the F5 vCMP guest via SCP.
The command I'm using is: "tmsh load sys config file sourcefile.scf tar-file sourcetar.tar"
I get the following output after I choose to replace the running configuration: Loading system configuration... /defaults/asm_base.conf /defaults/config_base.conf /defaults/ipfix_ie_base.conf /defaults/ipfix_ie_f5base.conf /defaults/low_profile_base.conf /defaults/low_security_base.conf /defaults/policy_base.conf /defaults/wam_base.conf /defaults/analytics_base.conf /defaults/apm_saml_base.conf /defaults/app_template_base.conf /defaults/classification_base.conf /defaults/daemon.conf /defaults/profile_base.conf /defaults/sandbox_base.conf /defaults/security_base.conf /defaults/urldb_base.conf /usr/share/monitors/base_monitors.conf /usr/local/gtm/include/gtm_base_region_isp.conf /usr/share/monitors/gtm_base_monitors.conf Loading configuration... /var/local/scf/sourcefile.scf 01020036:3: The requested database variable (l"œ^) was not found. Unexpected Error: Loading configuration process failed.
Would anybody be able to point me in the right direction as to troubleshooting this? I should mention that this is all migrating from a non-vCMP system to a new vCMP guest on new hardware.
Thank you! JP
11 Replies
- Renato
Altostratus
Of course that will depends on what modules and the configuration complexity, but I usually prefer to copy the configuration from /config files (only parts I really need) or using the tmsh list command and them pasting it into terminal (load sys config merge from-terminal). How big is this configuration you are having to copy?
- jpeterson6
Nimbostratus
Hi,
The entire SCF is just over 13,000 lines. The installed modules include LTM, APM, and AVR.
- Renato
Altostratus
Hmmm... I think that APM may be a problem. Are both versions 11.6? Why don't you using UCS file or creating a device group to sync the configuration?
- jpeterson6
Nimbostratus
The new box is in a brand new data center (not online yet) with a separate IP scheme, so I was hoping to edit the SCF with the new information on all nodes/vs/selfip's before uploading it.
I may just have to do it manually, but if I do that how can I import the certificates from the tar-file that was created?
- Renato
Altostratus
Well... I don't know if its possible to create or copy the APM configuration using tmsh or if the policy designer has equivalent commands. The ASM, for example, cannot! I always used the graphical policy designer and I don't have access to a running APM to confirm.
Why don't you restore the configuration from UCS first and them fix the addresses manually after? The certificate and key files should be inside the package, you will have to find them by their names using find, grep or anything equivalent if you go ahead with this idea.
- jpeterson6
Nimbostratus
I'll give that a try tomorrow, thanks!
- jpeterson6
Nimbostratus
Unfortunately, upon investigation I realized that the management IP is also changing with the new Datacenter and uploading the UCS will break my remote connectivity to the device.
I was looking into editing the bigip_base.conf file within the UCS itself but when I try updating the 'tar' with the modified file I get errors.
Anyone know a trick to keep the management IP the same when restoring a UCS from a different system?
- Renato
Altostratus
Is there network connectivity between the two devices? In this case you should consider creating a temporary device group only to synchronize their configuration.
- DevBabu
Cirrus
"I was looking into editing the bigip_base.conf file within the UCS itself but when I try updating the 'tar' with the modified file I get errors."
What errors do you get while updating the tar.
Please review working/editing with UCS archive https://support.f5.com/kb/en-us/solutions/public/4000/400/sol4423.html
https://devcentral.f5.com/questions/is-ucs-file-editable-if-so-how-to-compress-it-back-
- jpeterson6
Nimbostratus
It doesn't like the UCS restore option is going to work properly without a lot of tweaking.. it seems like it could be more trouble than it's worth.
I suspect the fact that it was created in a non-vCMP environment is going to be a major factor in solving this riddle.
Here's the information I got on the console while trying to load the UCS - it wouldn't work without 'no-platform-check':
root@(xxx-01)(cfg-sync Standalone)(Active)(/Common)(tmos) load sys ucs upd-7-6-15.ucs no-platform-check Replace all configuration on the system? (y/n) y Saving active configuration... Current configuration backed up to /var/local/ucs/cs_backup.ucs. Product : BIG-IP Platform: UCS : Z100 System: Z101 Version : 11.6.0 Edition : UCS : Hotfix HF4 System: Hotfix HF5 Hostname: UCS : xxx.com System: yyy.com The system hostname is changed to xxx.com Installing --full-- configuration on host xxx.com Installing configuration... <131>Jul 21 11:34:23 yyy.com loaddb[8134]: 01080023:3: Error return while getting reply from mcpd: 0x1070734, 01070734:3: Configuration error: vmw-compat: vlan may only have one interface Error 0x1070734 occurred: 01070734:3: Configuration error: vmw-compat: vlan may only have one interface Post-processing... Reloading License and configuration - this may take a few minutes... Jul 21 11:34:29 zzz emerg load_config_files: "/usr/bin/tmsh -n -g load sys config partitions all" - failed. -- 01070307:3: Invalid interface 1.1 Unexpected Error: Loading configuration process failed. Jul 21 11:34:30 zzz emerg load_config_files: "/usr/bin/tmsh -n -g load sys config partitions all base" - failed. -- 01070307:3: Invalid interface 1.1 Unexpected Error: Loading configuration process failed. Configuration loading error: base-config-load-failed For additional details, please see messages in /var/log/ltm
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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