How to move Management modules from Pre Prod to Prod tenant
search cancel

How to move Management modules from Pre Prod to Prod tenant

book

Article ID: 259232

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

How to move Management Modules (MM) from Pre Prod to Prod tenant?

Both Pre Prod and Prod tenant exist in DX APM SAAS, and we want to move MM from Pre Prod tenant to Prod tenant.

We are looking for instructions how to do this.

Environment

Release : SAAS

Resolution

Please use the following steps to accomplish this.

Run the following curl command to list MM in a SAAS tenant:

curl --location --request POST --header "Content-Type: application/json" --header "Authorization: Bearer eyJ0eXAiOiJKV1QeXXXXXXXXXXXXXXXXXXEVDSE5JQ0FMU1VQUEZZZZZZZZZZZZZZZZZZZZZNTMsImp0aSI" --header "Content-Type: text/plain"  --data-raw "{}" "https://apmgw.dxi-na1.saas.broadcom.com/<tenant-number>/apm/atc/api/private/module/query"

Then use the following curl command and you should be able to download/export the SSMM.jar from the tenant:

curl --location --request POST "https://apmgw.dxi-na1.saas.broadcom.com/<tenant-number>/apm/atc/api/private/mgmtmod/export" --header "Content-Type: application/json" --header "Authorization: Bearer eyJ0eXAiOiJKV1QeXXXXXXXXXXXXXXXXXXEVDSE5JQ0FMU1VQUEZZZZZZZZZZZZZZZZZZZZZNTMsImp0aSI" --header "Content-Type: text/plain"  --data-raw "{ \"moduleNames\": [\"SSMM.jar\"] }" --output "c:\SSMM2.jar"

You need to get public API token for your tenant and replace Authorization: Bearer string in the commands.  You need to replace <tenant-number> with your tenant number that can be obtained from browser address when you are reviewing MM in UI. Also, you need to get the MM jar name from the UI.

These curl commands also work on windows. The syntax may be little different if running on Linux.