Forum Discussion

Ciscokid2010_28's avatar
Ciscokid2010_28
Icon for Nimbostratus rankNimbostratus
Sep 08, 2016

How to migrate VS one by one from one Platform to the other using SCF

Looking into the SCF file I'm able to locate portions of the configuration of the first Virtual Server that I'd like to migrate, from one platform to the other. The question is, is there a special order these configurations need to be organized in, so that they're migrated successfully? I have to migrate each virtual server one by one in separate maintenance windows. Can someone provide a guide on the best approach for this?

 

4 Replies

  • Hi,

    Are version of the new and the old appliances the same?

    If you want to move VS by VS and versions are the same, use the following command:

    Export configuration from the old appliance:

    tmsh list ltm virtual  one-line
    

    this command will export properties of the virtual server you must export all virtual servers sharing the same IP address

    Then, to remove the virtual server:

    tmsh delete ltm virtual 
    

    And remove the virtual address:

    tmsh delete ltm virtual-address 
    

    You can now load the configuration on the new appliance:

    tmsh load sys config merge from-terminal
    
        paste the configuration previously exported
        CRTL-D
    

    The configuration is now imported. the virtual address is created automatically.

  • your are not trying to move VS but iApp. this is not the same.

    I am not sure you can export iapp with scf and import it on a different appliance.

    object with

    app-service /Common/APPNAME.app/APPNAME
    are part of an iapp which cannot be imported alone.

    you may convert it no iapp before import it:

    • convert any object name from /Common/APPNAME.app/APPNAME_XXX to /Common/APPNAME_XXX
    • remove parameter app-service /Common/APPNAME.app/APPNAME from any object
    • replace iapp object reference to new one in VS properties:

      • before :
        pool /Common/APPNAME.app/APPNAME_pool
      • after :
        pool /Common/APPNAME_pool
  • As a general rule, anything that references anything else needs to be implemented in reverse order. Very high level. (I've not attributed this to your specific configuration) Monitor Certs Profiles Pools Persistence Virtual Server