Forum Discussion

dragonflymr's avatar
dragonflymr
Icon for Cirrostratus rankCirrostratus
Nov 16, 2015

Editing 9.x scf

Hi,

I am trying to import scf from 9.4.8 396.1 (from BIG-IP 1600) into VE 10.2.4 577.0. It always fails with message:

Saving configuration to /var/local/scf/.backup-0.scf.
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /shared/configi/lb1_mod_10_x_01.scf.
Renaming /var/local/scf/.backup-0.scf to /var/local/scf/backup.scf.
Loading the configuration ...
BIGpipe unknown operation error:
   01071009:3: No provisioned objects found.

When searching for both 01071009:3: or No provisioned objects found. I only found SOL12204 but seems to be irrelevant as there is already entry:

provision ltm {
   level nominal
}

in bigip_sys.conf

So I started to wonder if it's at all supported to remove any entries from scf file? I am not saying about entries other objects depend on but some looking like standalone:

shell write partition Common
ntp {
   servers 1.1.1.1
   timezone "Europe/Warsaw"
}

Maybe this is the reason? If it's possible to remove parts of scf then how to debug what is reason for this error?

Piotr

6 Replies

  • Well, very strange but the same scf file that failed with described error when using b import file.scf worked without issue when using b merge file.scf.

     

    Seems that merge is better choice in such situations :-)

     

    Piotr

     

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Piotr, glad you're working. I was going to post but thought it still worth doing so.

     

    I've done this a few times and you can absolutely modify an scf file, in fact you can take lots out of the scf file to build the config up gradually. What ive found works best is to create an scf file on both versions and then move across the config from the old to the new in a piecemeal fashion - bearing in mind dependencies so the pool before the virtual server etc. This way any v10 syntax that you need (normally the top of the file) is already in place.

     

    To be honest i wish i'd tried the merge option now!

     

    N

     

  • Yes, editing an SCF is complete ok and one of the only recommended ways to edit a config file(outside of tmsh or the GUI). Editing the bigip.conf directly is not such a good idea. The reason merge probably worked better than your import is because it is modifying the running config vs replacing it. Glad everything is working for you now.

     

    • dragonflymr's avatar
      dragonflymr
      Icon for Cirrostratus rankCirrostratus
      Hi, Thanks for confirmation. It was real relief that merge worked. Now I have to figure out how to move from 10.2.4 to 11.5.3 - from what I was reading not so easy task :-( Piotr
  • Yes, editing an SCF is complete ok and one of the only recommended ways to edit a config file(outside of tmsh or the GUI). Editing the bigip.conf directly is not such a good idea. The reason merge probably worked better than your import is because it is modifying the running config vs replacing it. Glad everything is working for you now.

     

    • dragonflymr's avatar
      dragonflymr
      Icon for Cirrostratus rankCirrostratus
      Hi, Thanks for confirmation. It was real relief that merge worked. Now I have to figure out how to move from 10.2.4 to 11.5.3 - from what I was reading not so easy task :-( Piotr