SAP Knowledge Base Article - Preview

3614163 - HANA database doesn't start up in the new primary site after takeover in MCOS environment.

Symptom

  • Two HANA database instances are running on the same host with different instance numbers in high isolation mode(MCOS).
    • One is HA1 with instance number 00, while the other is HA2 with instance number 20.

      Landscape

  • After performing a takeover in the secondary site(New primary), indexserver in HA2 HANA instance got failed due to port conflict as below. 
    [209533]{-1}[15/-1] 2025-05-06 04:51:49.305360 i PersistenceManag DisasterRecoverySecondaryImpl.cpp(01472) : Prepare takeover finished
    ............
    ............
    [209533]{-1}[10/-1] 2025-05-06 04:51:53.166884 e sr_dataaccess    DisasterRecoveryPrimaryImpl.cpp(01557) : Listener cannot be started, because port 42040 is already in use!
    [209533]{-1}[10/-1] 2025-05-06 04:51:53.166889 e sr_dataaccess    DisasterRecoveryPrimaryImpl.cpp(01558) : A system replication primary uses replication ports in the range of instance number(s) from 20 to 20
    [209533]{-1}[10/-1] 2025-05-06 04:51:53.166891 e sr_dataaccess    DisasterRecoveryPrimaryImpl.cpp(01559) : Please check, that there is no other system on this machine using instance nr 20! This is just a hint and possibly not the root cause ..
    [209533]{-1}[10/-1] 2025-05-06 04:51:53.166893 e sr_dataaccess    DisasterRecoveryPrimaryImpl.cpp(01560) : In general the port range 42000-42099 must not be used by any other process when system replication is turned on!
    [209533]{-1}[10/-1] 2025-05-06 04:51:53.166896 e sr_dataaccess    DisasterRecoveryPrimaryImpl.cpp(01561) : You may need to set ip_local_port_range as Multitenant Database, please check "System Replication with Tenant Databases" section in admin guide and SAP note 2382421, 401162
    [209533]{-1}[10/-1] 2025-05-06 04:51:53.166922 e PersistenceLayer PersistenceSystem.cpp(00759) : System replication listener for data/log shipping cannot be started! 

     Images/data in this KBA are from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP HANA, platform edition 2.0
  • System Replication in MCOS environment

    Product

    SAP HANA, platform edition 2.0

    Keywords

    HANA, takeover, Listener cannot be started, already in use, system replication, replication, replication ports , 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.