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 "AgentThe logical hostname 'Site2' is not valid" when execute 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 errorlog show 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 sign of ssue. ping ran successfully.
  • All RMA Ports show as LISTENING on both machines from netstat -a output

Read more...

Environment

ASE HADR 16 SP03 PL04

Linux Red Hat 7.5

Product

SAP NetWeaver 7.5

Keywords

HADR, SYBASE, CR818403. CR#818403, 818403, host not valid, , KBA , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , Bug Filed

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.