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

OceanStor BCManager 6.5.0 eReplication User Guide 02

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).
Configuring the Cloud Platform Quorum Service

Configuring the Cloud Platform Quorum Service

Function

After HA mode is deployed on the eReplication Server, the HA cloud platform quorum service can be configured.

Format

configArbitration.sh

Parameters

None

Usage Guidelines

  1. Use PuTTY to log in to the eReplication Server management server.
    • In template-based installation mode: Log in as user DRManager, and run the su root command to switch to user root.
    • In software package-based installation mode: Log in as user root.
    NOTE:
    The default password of user DRManager is Huawei@CLOUD8. In template-based installation mode, the default password of user root is Huawei@CLOUD8!.
  2. Run the following command to prevent PuTTY from exiting due to session timeout:

    TMOUT=0

    NOTE:

    After you run this command, the system continues to run when no operation is performed, resulting a risk. For security purposes, you are advised to run the exit command to exit the system after completing your operations.

  3. Run the following command to go to the save directory of the script.

    cd /opt/BCManager/Runtime/bin

  4. Run the following command to configure the cloud platform quorum service.

    sh configArbitration.sh

    The following command output is displayed:

    You are about to configure quorum servers.
    The configuration will take effect only after the DR system restarts. The DR protection services configured during the restart of the DR system are invalid. After the DR system restarts, the switchover logic of the DR HA service will be affected.
    Note that the configured gateway IP address will be deleted after the quorum server is configured. 
    
    Suggestion: Perform this operation when no protection task is being executed and restart the DR system after the quorum server configuration.
    
    Are you sure you want to configure quorum servers? (y/n): [y]
    
  5. Enter y and press Enter.

    The following command output is displayed:

    Please enter the number of quorum servers:
  6. Configure the number (an odd number preferred) of the cloud platform quorum servers and press Enter.

    The following command output is displayed:

    According to the order of priority, enter the IP address and port number of each quorum server in sequence(format: IP address:port number):
  7. According to the order of priority, enter the IP address and port number of each cloud platform quorum server in sequence in the format of IP address:port number, and press Enter.
    • The port number: 2379.
    • The IP address of the cloud platform quorum server must be different from the local IP address.
    NOTE:
    • The priority of active eReplication servers is as follows: Public Cloud Quorum Server>Cloud Quorum Server at the Active Site>Cloud Quorum Server at the Standby Site.
    • The priority of standbyeReplication servers is as follows: Public Cloud Quorum Server>Cloud Quorum Server at the Standby Site>Cloud Quorum Server at the Active Site.

    After the IP addresses and port numbers of all cloud platform quorum servers are set, the following command out put is displayed:

    Please enter the absolute path to the certificate of quorum servers:
  8. Enter the full path to the cloud platform quorum server certificate and press Enter.

    Example: /home/DRManager/Runtime/LegoRuntime/certs/ca.crt.

    The following command output is displayed:

    Please enter the user name of the quorum server:
  9. Enter the user name of the cloud platform quorum server and press Enter.

    The following command output is displayed:

    Please enter the password of the quorum server:
    NOTE:

    The default user name of the cloud platform quorum server is arbiterClient.

  10. Enter the password of the cloud platform quorum server and press Enter.

    The following command output is displayed:

    Please enter the local DC name:
    NOTE:

    The default password of the cloud platform quorum server is Zshw3@DH.

  11. Enter the local DC name and press Enter.

    The following command output is displayed:

    Please enter one or multiple local AZ names. If multiple AZ names are entered, separate them with commas (,):
  12. Enter the AZ names corresponding to the local DC and separate them with commas (,). Then press Enter.

    The following command output is displayed:

    Please enter the peer DC name:
  13. Enter the name of the peer DC and press Enter.

    The following command output is displayed:

    Please enter one or multiple peer AZ names. If multiple AZ names are entered, separate them with commas (,):
  14. Enter the AZ names corresponding to the peer DC and separate them with commas (,). Then press Enter.

    The configuration is successful if the following command output is displayed.

    Configuring the system... Please wait.
    
    Configuration succeeded.
    Please restart DR system to make the configuration effective.
    Are you sure to restart the DR system immediately? (y/n): [y]
  15. Enter y and press Enter. Restart the eReplication service to make the arbitration service configuration takes effect.

Example

You are about to configure quorum servers.
The configuration will take effect only after the DR system restarts. The DR protection services configured during the restart of the DR system are invalid. After the DR system restarts, the switchover logic of the DR HA service will be affected.
Note that the configured gateway IP address will be deleted after the quorum server is configured. 

Suggestion: Perform this operation when no protection task is being executed and restart the DR system after the quorum server configuration.

Are you sure you want to configure quorum servers? (y/n): [y]
Please enter the number of quorum servers:
1

According to the order of priority, enter the IP address and port number of each quorum server in sequence(format: IP address:port number):

 1--> 192.168.53.199:2379

Please enter the absolute path to the certificate of quorum servers:
/opt/BCManager/Runtime/LegoRuntime/certs/cacert/cacert.pem

Please enter the user name of the quorum server:
arbiterClient

Please enter the password of the quorum server:

Please enter the local DC name:
ldc

Please enter one or multiple local AZ names. If multiple AZ names are entered, separate them with commas (,):
laz

Please enter the peer DC name:
rdc

Please enter one or multiple peer AZ names. If multiple AZ names are entered, separate them with commas (,):
raz

Configuring the system... Please wait.

Configuration succeeded.
Please restart DR system to make the configuration effective.
Are you sure to restart the DR system immediately? (y/n): [y]y

System is starting. Please wait...

Total memory:  9.66(G)
Required memory:  4(G)

Warn: swap partition size is smaller than requirement.

10% complete...
20% complete...
30% complete...
Translation
Download
Updated: 2019-05-21

Document ID: EDOC1100075861

Views: 10828

Downloads: 55

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