SAP Knowledge Base Article - Preview

2824863 - setuphadr failed with error: RMI connection could not be made - SRS

Symptom

  • setuphadr fails on Companion node with message:

(SQL command) sap_set_host Site2, 'Comp_Host', 4901, 'Comp_Host', 4905, 4909
TASKNAMETYPE                          VALUE                                                                                                                                                                                                                                    
-------- ----------------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SetHost  Task Name                     Set Host                                                                                                                                                                                                                                 
SetHost  Task State                    Error                                                                                                                                                                                                                                    
SetHost  Short Description             Define a logical host with hostname and port for both ASE and Replication Server.                                                                                                                                                        
SetHost  Long Description              Dropping AGENT entity Site with ASE physical hostname:port as Comp_Host:4901 and Replication Server physical hostname:port as Comp_Host:4905.                                                           
SetHost  Failing Command Error MessageFailed to Add the Agent entity to the design model for local host Site2 and Replication Server 'Comp_Host'. Errors: 'The Distinguished Name (RMA::Agent_Comp_Host) does not exist in the design model'.

SetHost  Hostname                      Prim_Host                                                                                                                                                                                                                 
(SQL command) sap_pre_setup_check dr, Site1, Site2

TASKNAME    TYPE     VALUE                                         
----------- -------- ----------------------------------------------
Prim_Host AgentThe logical hostname 'Site2' is not valid.
 Error: Setup RMA...Fail

  • Primary RMA error log show the following message:


Caused by: com.sybase.rs.container.agent.discovery.DiscoveryException : A connection to the Agent Container at Comp_Host:4909 could not be established due to an error: com.sybase.rs.container.agent.discovery.DiscoveryException: A connection to the Agent Container at Comp_Host:4909 could not be established because the RMI connection could not be made using 
service:jmx:rmi:///jndi/rmi://Comp_host:7000/rsng or service:jmx:rmi:///jndi/rmi://Comp_IP:7000/rsng.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 16.0 with Always-On Option (HADR)
  • SAP Replication Server (SRS) 16.0

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Replication Server 16.0

Keywords

HADR, SYBASE, sap_set_host,  host not valid, sap_pre_setup_check , KBA , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , BC-SYB-REP , Sybase Replication Server (standalone) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.