SAP Knowledge Base Article - Preview

2754218 - setuphadr failed with error: logical hostname 'Site2' is not valid - SRS HADR

Symptom

  • setuphadr fails on Companion node with message "The logical hostname 'Site2' is not valid" when executing the sap_pre_setup_check command:

(SQL command) sap_pre_setup_check dr, Site1, Site2
TASKNAME TYPE VALUE
------------ -------- ------------------------------------------
host_prim_nameDR Agent The logical hostname 'Site2' is not valid.
Error: Setup RMA...Fail

  • RMA error log shows the following messages:


[INFO ] [Thread-xxxx:xxxx][RMA] - [SetHost ] - Task Set Host - Action - Submitting the design changes for local host 'Site2' for server on host 'host_comp_name'.
Description: Unable to connect to host host_comp_name:4909
..

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

  • Network connection to/from Primary and companion hosts show no signs of any issues. Ping ran successfully.

  • All RMA ports show as LISTENING on both machines from netstat -a output.


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) HADR 16.0 SP03 PL04
  • SAP Replication Server (SRS) 16.0 SP03 PL04
  • Linux Red Hat 7.5

Product

SAP Adaptive Server Enterprise 16.0 ; SAP Replication Server 16.0

Keywords

HADR, SYBASE, CR818403. CR#818403, 818403, host not valid, , KBA , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , BC-SYB-REP , Sybase Replication Server (standalone) , How To

About this page

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

Search for additional results

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