SAP Knowledge Base Article - Preview

3517491 - DR site failed to register with an error "cannot obtain new site id from primary"

Symptom

When registering DR site, it failed with an error below.

[26853]{-1}[-1/-1] 2024-09-10 16:26:53.080301 i Basis            CommandUtil.cpp(00065) : command: hdbnsutil -sr_register --name=NODE2 --remoteHost=mySecondaryHost --remoteInstance=0 --replicationMode=async --operationMode=logreplay --force_full_replica --sapcontrol=1
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.080833 i Basis            CommandUtil.cpp(00098) : called by user 'hanadm' with UID: 1001 (parent process command line '/bin/sh /usr/sap/HAN/HDB00/HDBSettings.sh hdbnsutil -sr_register --name=NODE2 --remoteHost=mySecondaryHost --remoteInstance=0 --replicationMode=async --operationMode=logreplay --force_full_replica --sapcontrol=1 ' with PID: 26828) (parent process executable /usr/bin/bash')
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.080838 w HanaNetRPC       HanaNetExt.cpp(00065) : initializing network for client-only operation
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.106505 i FileIO           LockFile.cpp(00330) : Cannot open pid file </usr/sap/HAN/HDB00/myDRHost//lock/hdbdaemon@30000.pid>: 2 (No such file or directory)
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.106511 w DaemonClient     Client.cpp(01003) : Cannot read daemon pid from its lock file "/usr/sap/HAN/HDB00/vvpddbdr//lock/hdbdaemon@30000.pid"
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.106561 e OSMemory         mmSharedMemoryProxy.cpp(00576) : shmget(10001, 0, 384) failed2 (No such file or directory)
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.107315 w commlib          commlibImpl.cpp(00924) : Connection to '10.1.4.153:30001' failed: exception  1: no.2110017  (Basis/IO/Stream/impl/NetworkChannel.cpp:2860) TID: 26853
    System error: Connect on non-blocking socket failed. rc=111: Connection refused. channel={<NetworkChannel>={<NetworkChannelBase>={this=140492351928856, fd=4, refCnt=1, ............
............
............
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.178030 e sr_nameserver    DRClient.cpp(02013) : cannot obtain new site id from primary
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.179156 e sr_nameserver    srAction.cpp(00044) : cannot obtain new site id from primary; 
[26853]{-1}[-1/-1] 2024-09-10 16:26:53.179945 i Basis            TopologyUtil.cpp(01234) : failed.


Read more...

Environment

SAP HANA, platform edition 2.0 SPS07

Product

SAP HANA, platform edition 2.0

Keywords

HANA, replication, cannot obtain new site id from primary, sr_register , KBA , HAN-DB-HA , SAP HANA High Availability (System Replication, DR, etc.) , Problem

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.