Hi everyone,
Is there a way I can reset the configuration of my vCMP guest but still retain its network and HA configuration?
I’ve read this article: myF5 but I’m not sure if this still works on the new versions (v11 and v12?
Many thanks!
Hi everyone,
Is there a way I can reset the configuration of my vCMP guest but still retain its network and HA configuration?
I’ve read this article: myF5 but I’m not sure if this still works on the new versions (v11 and v12?
Many thanks!
I dont recall there’s one for 11.x. When you run
tmsh load sys config default
, it wipes out every configuration and sets it to factory default setting.
In order to have default bigip.conf, I’d try the below setups.
Pre-requisite, you should have a fresh bigip.conf file.
Have a ucs backup taken.
tmsh save sys ucs /var/tmp/before_reset.ucs
Have a original bigip.conf backup taken.
cp /config/bigip.conf /var/tmp/before-reset-bigip.conf
Have the fresh bigip.conf file moved to /config/bigip.conf
cp /var/tmp/fresh-bigip.conf /config/bigip.conf
Load the config, in this way, your network settings are intact and you have a fresh bigip.conf
tmsh load sys config
In the event there’s no fresh bigip.conf file, I would just take UCS backup, reset it to default. Now I have fresh bigip.conf file. I would take a copy of this and load the original UCS again and put back this fresh bigip.conf file and load the config.
Have a ucs backup taken.
tmsh save sys ucs /var/tmp/before_reset.ucs
Have a original bigip.conf backup taken.
cp /config/bigip.conf /var/tmp/before-reset-bigip.conf
Reset to factory setting.
tmsh load sys config default
Have the fresh bigip.conf file moved to /var/tmp/bigip.conf
cp /config/bigip.conf /var/tmp/fresh-bigip.conf
Load the original UCS back again, in this way your network settings are again loaded.
tmsh load sys ucs /var/tmp/before_reset.ucs
Now that you have fresh bigip.conf file in the temp folder, move it back and load the config.
cp /var/tmp/fresh-bigip.conf /config/bigip.conf
Load the config.
tmsh load sys config
Do wait for others to comment on their methods. If there’s any easy approach, you can try that.
fairly sure you can just load bigip_base.conf and it will re-load the base file and not bigip.conf.
Hi jaikumar_f5 and MrPlastic, thank you for the suggestions!
Unfortunately, prior to resetting the config to default, we already had an error for
tmsh load sys config
. Due to this error,
tmsh load sys config default
also did not work.
F5 support suggested we run:
mv /config/bigip.conf /config/bigip.conf.old
tmsh load sys config
then proceed with loading bigip_base.conf.
Thank you for the help guys!