Topic
3 replies Latest Post - ‏2012-12-07T16:03:34Z by lenisha
lenisha
lenisha
22 Posts
ACCEPTED ANSWER

Pinned topic Import Configurartion File from remote location

‏2012-12-05T18:00:33Z |
Hello experts
Question to you please - we are testing ability to offload XML configuration from Datapower device to fTP server and all DP boxes pointing to the same config files loaded at startup.

What we have noticed that same configuration ZIP package loads fine if uploaded to DP device manually via Import Config, but does not work and gives lots of errors if loaded using "Import Configuration File" pointing to this zip at ftp.
We realized that in the latter case sequence of xml objects in the export.xml is very important.

We had to move ProtocolHandler objects and match rules prior to other Actions and rules objects.

Is there any documentation available anywhere please on the sequence of xml objects in the export.xml file?

Also what is the different with "Include Configuration File" ?

Thanks
Updated on 2012-12-07T16:03:34Z at 2012-12-07T16:03:34Z by lenisha
  • lenisha
    lenisha
    22 Posts
    ACCEPTED ANSWER

    Re: Import Configurartion File from remote location

    ‏2012-12-06T20:06:00Z  in response to lenisha
    it looks like objects should be arranged in the order they defined in the xml-mgmt.xsd for AnyConfigElement
    • HermannSW
      HermannSW
      4320 Posts
      ACCEPTED ANSWER

      Re: Import Configurartion File from remote location

      ‏2012-12-07T10:41:21Z  in response to lenisha
      Importing "unmodified" exports from remote location should not make any difference.
      Please see also the other related thread on this:
      https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14917326#14917326

       
      Hermann<myXsltBlog/> <myXsltTweets/>
      • lenisha
        lenisha
        22 Posts
        ACCEPTED ANSWER

        Re: Import Configurartion File from remote location

        ‏2012-12-07T16:03:34Z  in response to HermannSW
        yes we are splitting certain objects from the export to enable development teams to work properly with source control and see difference in history of objects as well as independently develop componens/services not affecting each other.

        Then the build scipt merges all objects in one export.xml and package as zip for deployment.

        It works but we need to be very accurate in the sequence of objects in the export file

        enerosweb