Forum Discussion

cheezus_115419's avatar
cheezus_115419
Icon for Nimbostratus rankNimbostratus
May 06, 2013

Editing raw conf files in 11.3.0

Hey guys! New to the f5 world here. We have 2 viprions in HA mode running 11.3.0 HF5. We have about 3,000-4,000 virtual servers to create. I created them using the web gui then scp'd off the /config/bigip.conf file after running save /sys config. I copied out the sections I needed and used them as a template in a script that outputs all the lines for each virtual server. Then scp'd the config back and ran load /sys config. That worked fine at first and they were all listed in the gui and configured properly. I sync'd the config back to the other device.

 

But this morning, they're all gone, even the test ones I created. Which leaves me wondering if you can no longer edit the conf files directly or if I missed a step/command to make this stick. I know that I could use icontrol or tmsh but I'd really not learn another api/cli at the moment :)

 

Is there a proper command/method for saving the bigip.conf file after being directly edited? Or is it something that's no longer able to be done...

 

3 Replies

  • Jnon's avatar
    Jnon
    Icon for Nimbostratus rankNimbostratus
    I haven't used 11.3 yet, however the first thing that comes to mind is that maybe you didn't do a save of the config, it it was just loaded, then something during the night re-loaded the config, then it would have loaded your old saved config that was blank.

     

  • Ah, you're right! I just did the load /sys config and didn't follow that with a save /sys config. Thank you. I will try that and report back if it doesn't stick time.
  • The configuration did stick. Although I've seen weird problems pop up again when the config was large and modified. Errors about not being able to sync it to another device. The virtual servers going missing again. The solution is to roll back to the pre changes config, load it, then load the new one.

     

     

    However, it appears the merge command and using merge files are how I should be working. So I'm going to switch to that method instead.