Checking HANA DB replication status

From Notes_Wiki
Revision as of 04:03, 21 July 2022 by Saurabh (talk | contribs) (Created page with "Home > Suse > SAP setup and maintenance > Checking HANA DB replication status The HANA database would have a ID such as ABC. In that case use following steps to check database replication status # Login into server as root # Connect to DB admin account using #:<pre> #:: su - <abc>adm #:</pre> #: where <abc> should be replaced with HANA DB ID # First we can check which machine is primary and which is secondary via: #:<pre> #:: hdbnsutil -...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Suse > SAP setup and maintenance > Checking HANA DB replication status

The HANA database would have a ID such as ABC. In that case use following steps to check database replication status

  1. Login into server as root
  2. Connect to DB admin account using
    su - <abc>adm
    where <abc> should be replaced with HANA DB ID
  3. First we can check which machine is primary and which is secondary via:
    hdbnsutil -sr_state
  4. Then check replication status using:
    cd /usr/sap/<ABC>/HDB10/exe/python_support
    python systemReplicationStatus.py
    where <ABC> should be replaced with HANA DB ID



Home > Suse > SAP setup and maintenance > Checking HANA DB replication status