get_connection_string fails for probes that rely on data_engine on HA failover

book

Article ID: 186114

calendar_today

Updated On:

Products

DX Infrastructure Management

Issue/Introduction

Mar 09 20:39:40:166 FATAL [main, udm_manager] (1) error, Received status (1) on response (for sendRcv) for cmd = 'get_connection_string'
 at com.nimsoft.nimbus.NimSessionBase.sendRcv(NimSessionBase.java:627)
 at com.nimsoft.nimbus.NimSessionBase.sendRcv(NimSessionBase.java:573)
 at com.nimsoft.nimbus.NimClientSession.send(NimClientSession.java:173)
 at com.nimsoft.nimbus.NimRequest.sendImpersonate(NimRequest.java:264)
 at com.nimsoft.nimbus.NimRequest.send(NimRequest.java:219)
 at com.nimsoft.nimbus.lookup.DataEngineLookup.getConnectionStringsFromDataEngine(DataEngineLookup.java:128)
 at com.nimsoft.nimbus.lookup.DataEngineLookup.getConnectionStringsFromDataEngine(DataEngineLookup.java:94)
 at com.nimsoft.udm.manager.probe.ProbeConfig.getDbConnectionInfo(ProbeConfig.java:67)
 at com.nimsoft.udm.manager.probe.ManagerProbe.<init>(ManagerProbe.java:49)
 at com.nimsoft.udm.manager.probe.ManagerProbe.main(ManagerProbe.java:63)

Cause

certificate.pem not in place on HA server

Environment

UIM 9.02 +

Resolution

-Copy the certificate.pem from the .../nimsoft/security folder on the primary to a folder on the HA server.
-Update the robot config on the HA server to include the following with the path you put the file in (not in quotes)

example:

cryptkey=/opt/nimsoft/robot/certificate.pem

or 

cryptkey = C:\Program Files (x86)\Nimsoft\robot\certificate.pem