Hello Everyone,
I am facing an issue with a setup of HA and DR replication
Here the issue lies between the Secondary and the DR site.
While checking the landscape host configuration for the DR site, it shows the hostname for the Primary as well as the DR site:
<physicalhost>:HDB:<sid>adm /usr/sap/<SID>/HDB02/exe/python_support 114> python landscapeHostConfiguration.py
| Host | Host | Host | Failover | Remove | Storage | Failover | Failover | NameServer | NameServer | IndexServer | IndexServer | Host | Host |
| | Active | Status | Status | Status | Partition | Config Group | Actual Group | Config Role | Actual Role | Config Role | Actual Role | Config Roles | Actual Roles |
| ------------ | -------- | ------- | -------- | ------ | --------- | ------------ | ------------ | ----------- | ----------- | ----------- | ----------- | ------------ | ------------ |
| <primaryhostname> | unknown | warning | | | 2 | default | default | slave | slave | worker | slave | worker | worker |
| <DRhostname> | starting | warning | | | 1 | default | default | master 1 | master | worker | master | worker | worker |
I checked the nameserver.ini under file for the DR :
[landscape]
id = 55d10971-d01d-015b-e100-0000c612791a
master = <DRhostname>:30201
active_master = <DRhostname>:30201
worker = <primaryhostname><DRhostname>
roles_<primaryhostname> = worker
roles_<DRhostname> = worker
So I brought the DR DB down, removed the entries for the <primaryhostname> from nameserver.ini file under '/hana/shared/<SID>/global/hdb/custom/config, and then started the DB.
But it showed the same entry as above for the DR landscapehostconfiguration.
I know that even if we change the entries from nameserver.ini file, it will still pull up the original entry for nameserver.ini while starting the DB.
My question is, is there any other workaround I can use here to remove the wrong entry for the Primary hostname under nameserver.ini file?
As of now, the only option I can see is uninstalling and installing HANA DB on the DR Site, but I want to know if this issue can be resolved through any other way.
Any suggestion is welcome.
Regards,
Vinay