Layer7 API Management

Expand all | Collapse all

GMU Export Failing

  • 1.  GMU Export Failing

    Posted 06-29-2017 02:22 PM

    Hello,

     

    Running GMU command to export from gateway 8.4, as below, but it is giving error as below :--

    ./GatewayMigrationUtility.sh --jdk /opt/jdk1.8.0_40/bin/java list --clientCert migrate.p12 -h hostname --username migrate --plaintextPassword '*********' -t USER

     

    Thanks,

    Ankush



  • 2.  Re: GMU Export Failing

    Posted 06-30-2017 05:16 AM

    Hi Ankush ,

     

    Please can you attach the error message. If you would like to export a policy, I would use the following procedure. 

     

    To browse through the published services.
    ./GatewayMigrationUtility.sh browse -h <ip> -u admin --plaintextPassword 7layer --trustHostname --trustCertificate --showIds

     

    To extract policies (backup) -f directory will break it down to different directries within the bundle_all1 folder.
    ./GatewayMigrationUtility.sh migrateOut --a --host <IP> --username admin --plaintextPassword 7layer -dest bundle_all1 -plaintextEncryptionPassphrase 7layer -trustCertificate --trustHostname -f directory

     

    To publish them back (restore)
    ./GatewayMigrationUtility.sh migrateIn -b /home/ssgconfig/abc.xml --host 10.151.21.186 --username admin --plaintextPassword 7layer -plaintextEncryptionPassphrase 7layer -trustCertificate --trustHostname --results results.xml

     

    Regards

    Seenu Mathew



  • 3.  Re: GMU Export Failing

    Posted 06-30-2017 01:41 PM
      |   view attached

    Hi Seenu,

     

    Thanks !! 

    Above works fine for individual policy export/import. I tried for complete export/import, but it gave an error. Attaching the output for the same.

    Also, if I try GMU using client certificate based authentication, it doesn't works, any idea how to fix it.

     

    Thanks,

    Ankush

    Attachment(s)

    zip
    results-2.xml.zip   19K 1 version


  • 4.  Re: GMU Export Failing

    Posted 07-05-2017 01:43 PM

    Ankush,

     

    From reviewing the results file the error appears to related to some Portal integrated assertions. Is this gateway integrated with the CA API Portal? If not, do you know if someone imported policies that may relate to it.

     

    Another area to review is to ensure that you have no identity providers that are not setup properly as the GMU will try to pull all dependencies.

     

    Sincerely,

     

    Stephen Hughes

    Director, CA Support