Add a secondary or failover master to connections.properties
search cancel

Add a secondary or failover master to connections.properties

book

Article ID: 377733

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

The connections.properties file acts as a listing for the different Masters that can be connected to with the Java Client (RunClient.jar).

Is there a way to add two entries with the same Master name, such as in a secondary RMI configuration?

Environment

Applications Manager 9.4.4+, 9.5.x

Resolution

Applications Manager version 9.4.4 and above has a feature to allow for multiple entries using the same Master name tags and separators.

Example:

AMENGINE#Primary=http://example.host1:8080/AMENGINE
AMENGINE#Secondary=http://example.host2:9090/AMENGINE

AMENGINE#Test=http://example.host1:8080/AMENGINE
AMENGINE#Dev=http://example.host2:9090/AMENGINE

The default separator is #. 

The default separator can be changed by defining the variable "MasterNameSeperator" under client.properties file.

\,[ and ] are not allowed as valid name separators.