Layer7 API Management

 View Only
  • 1.  automated script to check syncing of policies,assertions,actions between Prod and DR site

    Posted May 12, 2020 06:28 PM
    Hi team,

    we have requirement to provide sync artifacts between prod and DR site of CA API Gateway (9.4) wrt policies,assertions,downstream constants,headers,actions.
    Currently we are manually opening all these configurations and validate if both are synced.Take screenshots as artifacts and if any variations than we make it synced manually.
    Through GMU utility migrations we perform for any new APIs configurations.But due to some update command while migrations configurations get updated in DR site.
    Before DR drill we provide manual sync artifacts which consumes our manual efforts a lot and still some human mistakes occur.

    Please let us know if automated script to check syncing of policies,assertions,actions between Prod and DR site is available to shorten and fasten the process.

    Regards
    Alok Chandra


  • 2.  RE: automated script to check syncing of policies,assertions,actions between Prod and DR site

    Posted May 13, 2020 02:39 AM
    Edited by Deactivated User May 13, 2020 05:47 AM
    Hi Alok,
    Is DR part of the same gateway cluster or do you have 2 separate cluster?
    How are you currently migrating export and import or using GMU or restman? 
    Have to look at the MySQL replication option in case your dr is part of the same cluster? 
    There is Ssgbackup and restore script also available if you are using ver 9.4 onwards?


    Similar Links:
    https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?GroupId=1255&MessageKey=6789a0af-dd3a-488d-8925-5aff947fbfa4&CommunityKey=0f580f5f-30a4-41de-a75c-e5f433325a18&tab=digestviewer&ReturnUrl=%2fenterprisesoftware%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d0f580f5f-30a4-41de-a75c-e5f433325a18%26tab%3ddigestviewer

    Also you can look at the comment by @Vince Baker

    ------------------------------
    Pre-Sales Consultant
    CA Southern Africa
    ------------------------------



  • 3.  RE: automated script to check syncing of policies,assertions,actions between Prod and DR site

    Posted May 13, 2020 10:19 AM
    Hi Ronald,

    No DR is not part of same gateway cluster. We have two separate 2 clusters.

    Prod is having 8 processing nodes and 2 DB nodes(master-master replication).
    DR is having 4 processing nodes and 2 DB nodes(master-master replication).

    My every data of Prod should be available in DR.
    We use GMU utility for migration from UAT to Prod/DR.

    Please provide link for ssgbackup and restore script .
    I guess ssgbackup and restore script will create configuration mismatch at those places where DR configurations are required?

    Can you let me know if any syncing check script is there through which artifacts can be prepared?

    Regards
    Alok Chandra


  • 4.  RE: automated script to check syncing of policies,assertions,actions between Prod and DR site
    Best Answer

    Posted May 13, 2020 11:19 AM
    Edited by Christopher Hackett May 15, 2020 01:48 PM
    Hi Alok,

    Recent gateway revamp has provided a lot of option to import and export 

    1. Restman - Bundle import and export
    2. GMU - Updates
    3. Gradle Plugin https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-4/apis-and-toolkits/gateway-developer-plugin.html
    4. Another tool for easy migration and update is provided by APIIDA
    5. SSG Backup and Restore https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-4/administer-the-gateway/restore-gateways.html


    ------------------------------
    Pre-Sales Consultant
    CA Southern Africa
    ------------------------------