FNQ DB Upgrade
FNQ DB Upgrade
hdbnsutil -sr_disable
Takeover:
Alternatively, to perform a takeover on the command line, execute the following command:
The secondary system must be fully initialized (system view M_SERVICE_REPLICATION) and all services
active. Optionally, you can add a comment that will be persisted in the system view
M_SERVICE_REPLICATION_TAKEOVER_HISTORY.
if the installed system version on the primary is HANA 2.0 SPS 04 or greater
then you have the option to use the --suspendPrimary parameter for a
'takeover with handshake' which ensures that all redo logs are written to
disk. In this case, execute the takeover as <sid>adm with the following
command:
hdbnsutil -sr_takeover --suspendPrimary
https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/
ee3fd9a0c2e74733a74e4ad140fde60b.html
https://help.sap.com/docs/SAP_HANA_PLATFORM/4e9b18c116aa42fc84c7dbfd02111aba/
9a4a4cdcda454663ba0c75d180c7ed11.html
Note:
When the primary system isn’t available, the takeover will be a failover. In this case, you need to make
sure that the primary system doesn’t reconnect to the network to claim it’s role. It first needs to be
stopped and registered as secondary. If everything is back online again and working as expected, you
can return to the original situation by repeating the takeover, now called failback.
The Python script getTakeoverRecommendation.py supports the decision-making process. It calls two
other scripts: landscapeHostConfiguration.py and systemReplicationStatus.py.
Possible: All flags are green with the primary system up and running and with system replication in sync.
Let’s move on to system replication configuration. First, to change the log replication mode, enter the
command: