Question & Answer
Question
Running switchmgr results in the loss of our Resource CLI. It does not contact the new Broker Server running on the BMDM (BKM). Why?
Cause
Before fix pack 2, the resource CLI was configured, at installation time, to contact the broker server running on the Master domain manager. For this reason, after the switching manager command, the resource CLI was unable to contact the broker server on the primary Master domain manager and was not configured to contact the new broker server running on the backup Master domain manager.
Answer
Starting from this fix pack, you can define in the CLIConfig.properties file the backup broker servers to be contacted by the resource CLI if the current broker server does not respond. To configure the resource CLI to contact the backup servers in case of failure, you must specify in the CLIConfig.properties file the connection properties for each backup broker server. List the same properties specified for the broker server running on the primary Master domain manager.
Specify the following connection properties :-
ITDWBServerHost
ITDWBServerPort
ITDWBServerSecurePort
use_secureconnection
tdwb_user
tdwb_pwd
For backup servers, the same ordinal number must be appended to each property name associated to the same backup server.
In the following example, in the CLIConfig.properties file is specified the broker server running on the primary Master domain manager and two backup broker servers :-
# Properties of the Broker Server running on the primary Master domain manager
ITDWBServerHost = BrokerServer.mycompany.com
ITDWBServerPort = 51117
ITDWBServerSecurePort = 51118
use_secureconnection = true
tdwb_user = tdwbUser
tdwb_pwd = xxxx
# First (_1) Backup Broker Server Properties
ITDWBServerHost_1 = FirstBackupBrokerServer.mycompany.com
ITDWBServerPort_1 = 41117
ITDWBServerSecurePort_1 = 41118
use_secureconnection_1 = false
tdwb_user_1 = backup1TdwbUser
tdwb_pwd_1 = yyyy
# Second (_2) Backup Broker Server Properties
ITDWBServerHost_2 = SecondBackupBrokerServer.mycompany.com
ITDWBServerPort_2 = 61117
ITDWBServerSecurePort_2 = 61118
use_secureconnection_2 = false
tdwb_user_2 = backup2TdwbUser
tdwb_pwd_2 = zzzz
You can define a maximum of 10 broker servers.
To prevent the resource CLI from contacting unavailable servers, the name of the last successfully contacted broker server is saved in the ITDWBLastGoodServerHost property of the CLIConfig.properties file.
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21628532