GMU different options to handle cluster-wide properties
search cancel

GMU different options to handle cluster-wide properties

book

Article ID: 267146

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Current version: 10.1 CR03

We are working on using the GMU tool for policy migrations from one environment to another. 

Source GW cluster wide property that is used in a policy 

Using GMU looking how to handle CWP

 

Maybe like this: 

 .\GatewayMigrationUtility.bat --jdk "C:\Program Files\Java\jdk-11.0.16" manageMappings -b MigrateOut_Results\Orders.xml --type CLUSTER_PROPERTY -n server.choices -N example.com

where -n defines name of the cluster_property $ -N defines its value,

Please correct me if I am wrong. 

Environment

Release : 10.1

Cause

No you can’t set the value with GMU -N is targetname to be mapped

Resolution

You will need to know how you want the CLUSTER_PROPERTY to be handled then managemapping accordingly 

Command that ignores the property, leaving the value untouched

GMU.bat manageMappings --argFile args/src-gw.properties  --bundle JWT-1.xml --action ignore --type  CLUSTER_PROPERTY

If you want the CLUSTER_PROPERTY to be updated if it does not exists but untouch if it does: 

GMU.bat manageMappings --argFile args/src-gw.properties  --bundle JWT-1.xml --action NewOrExisting --type CLUSTER_PROPERTY

If you want the CLUSTER_PROPERTY to be updated from src-gw to dest-gw 

GMU.bat manageMappings --argFile args/src-gw.properties  --bundle JWT-1.xml --action neworupdate --type CLUSTER_PROPERTY