No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei SAP HANA Appliance Two Node Installation Guide (RH5885H and RH8100 V3+Redhat) 09

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Enabling System Replication for the Primary HANA Node

Enabling System Replication for the Primary HANA Node

Enable the system replication function for the SAP HANA on the primary server (HW00001 in this example).

Before you enable system replication for the HANA database, ensure that the network connection is normal and that the HANA database must be started for the primary server before system replication configuration.

The procedure is as follows:

  1. Log in to the primary HANA node (HW00001 in this example) as the root user. Run the su - s00adm command to switch to the HANA database user s00adm (replace s00 with the lowercase of the actual database SID).
  2. Run the HDB start command to start the HANA database and wait till the database is successfully started.

    The process is similar to the following:

    HW00001:~ # su - s00adm
    HW00001:/usr/sap/S00/HDB00> HDB start
    StartService
    Impromptu CCC initialization by 'rscpCInit'.
    See SAP note 1266393.
    OKOK
    Starting instance using: /usr/sap/S00/SYS/exe/hdb/sapcontrol -prot NI_HTTP -nr 00 -function StartWait 2700 2
    12.10.2015 15:05:28
    StartOK
    12.10.2015 15:06:26
    StartWaitOK

  3. After the HANA database is started successfully, run the command hdbnsutil -sr_enable --name=HW00001 to enable the system replication function. If successfully enabled is displayed, the system replication function is successfully enabled.

    NOTE:

    name=HW00001 indicates the local host name and must be changed to the actual one.

    The process is similar to the following:

    HW00001:/usr/sap/S00/HDB00> hdbnsutil -sr_enable  --name=HW00001
    checking for active nameserver ...
    nameserver is active, proceeding ...
    successfully enabled system as system replication source site
    done.

  4. Run the hdbnsutil -sr_state command to check the database system replication status. If the database mode is primary, the local HANA node is the primary node.

    The process is similar to the following:

    HW00001:/usr/sap/S00/HDB00>  hdbnsutil -sr_state
    checking for active or inactive nameserver ...
    System Replication State
    ~~~~~~~~~~~~~~~~~~~~~~~
    mode: primary
    site id: 1
    site name: HW00001
    Host Mappings:
    ~~~~~~~~~~~~~~
    done.

Translation
Download
Updated: 2019-06-17

Document ID: EDOC1100019155

Views: 20924

Downloads: 99

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next