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 2600 V3 Storage System V300R005 HyperMetro Feature Guide 06

"This document describes the implementation principles and application scenarios of theHyperMetro feature. Also, it explains how to configure and manage HyperMetro."
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).
Arbitration Software Installation

Arbitration Software Installation

This section describes how to install the arbitration software. Quorum server software needs to be installed only when a quorum server is used for HyperMetro.

Prerequisites

  • You have obtained the arbitration software package OceanStor QuorumServer.zip.
  • The quorum server has been deployed and its hardware meets the requirements.
  • The validity period of the default arbitration certificate is 10 years. Ensure the system time of the quorum server is correct so that the default arbitration certificate is valid.
  • A Secure Shell (SSH) tool such as PuTTY has been prepared to log in to the quorum server.
NOTE:

To ensure security of the operating system, you are advised to harden its security. For details about how to harden security of an operating system, see the official security operation guide of the operating system.

Context

By default, the Ubuntu system uses dash upon the installation. However, the arbitration software must be installed in bash mode. Therefore, you must disable dash when installing the arbitration software in the Ubuntu system.

In any directory of the Ubuntu system's operating system, run the sudo dpkg-reconfigure dash command. Press the key, select No, and press Enter to disable dash.

The system shell is the default command interpreter for shell scripts.
xUsing dash as the system shell will improve the system's overall performance. It does not alter the shell presented to interactive users.

Use dash as the default system shell (/bin/sh)?

<Yes>                        <No>

Procedure

  1. Use the root user to log in to the quorum server.
  2. Decompress the installation package.

    1. In the operating system of the quorum server, run the unzip command to decompress the installation package.
      XXX@Linux:~# unzip OceanStor/QuorumServer/OceanStor_QuorumServer_VXXXRXXXCXX.zip 
      Archive: OceanStor_QuorumServer_VXXXRXXXCXX.zip  
      package/  
      package/quorum_server.sh  
      package/packages/  
      package/packages/QuorumServer-VXXXRXXXCXX-linux.x86_64.rpm  
      package/qs_version.ini  
      package/tools/      
    2. After decompressing the installation package, run the cd package command to go to the directory that is decompressed.
      XXX@Linux:~# cd package 
    3. Optional: Run the ll command to list files in the directory.

  3. Install the arbitration software.

    1. Run the ./quorum_server.sh -install command to install the arbitration software.
    2. Type y to create a new non-root user.
    3. Set a user name and password for the non-root user and install the arbitration software to the directory of the non-root user.
    NOTE:

    Perform software-related operations and management as the non-root user.

    XXX@Linux:~# ./quorum_server.sh -install 
    Verify the QuorumServer existence.  
    The QuorumServer is not installed.  
    The current user is the root user. A quorum server administrator account needs to be created. Continue to install?  
    <Y|N>:y                    
    Enter the new user name:[default: quorumsvr]:        
    usermod: no changes  
    Changing password for the user quorumsvr.  
    New password:                                            
    Retype the password:                                     
    passwd: all authentication tokens updated successfully.  
    Installing the quorum server.  
    Preparing...                ########################################### [100%]  
     1:QuorumServer           ########################################### [100%]  
    [Notice] No old configuration need to resume.  
    QuorumServer install success completed.
    NOTE:

    If the arbitration software is installed in non-root user mode:

    • Type the password of user root. Then type y to create a new non-root user. The arbitration software will be installed to the directory of the new non-root user. Perform software-related operations and management as the non-root user.
    • Type the password of user root. Then type n. A new user will not be created and the arbitration software will be installed to the directory of the user that you use. Perform software-related operations and management as the non-root user.

      For security purpose, restrict the permissions of the non-root user. In this condition, to ensure that the arbitration software is successfully installed, create a non-root user before installing the arbitration software and ensure that the non-root user can obtain the permissions of the following commands by running the sudo command: cat, ps, sh, useradd, groupadd, userdel, groupdel, usermod, passwd, sed, rm, rpm, ls, chmod, chown, find, xargs, killall, mv, ln, and unzip. For example, run the sudo cat xxx command. In the command, xxx indicates the name of a file in the system.

  4. Optional: Check whether the arbitration software is installed successfully.

    1. After the arbitration software is installed, it automatically restarts. Enter the CLI of the quorum server, go to any directory, run the qsadmin command in any directory to open the arbitration software. If the arbitration software page is displayed, the arbitration software restarts successfully.
      XXX@Linux:~# qsadmin 
      start main! 
      Waiting for connecting to server... 
      admin:/>     
    2. Enter the CLI of the quorum server, go to any directory, run the ps -elf |grep quo* command to check whether the arbitration software is installed successfully. If ./bin/quorum_serverd is displayed in the command output, the arbitration software is installed successfully.
      XXX@Linux:~# ps -elf |grep quo* 
       
      0 S testUser  7013     1  0  80 0 -  3700 wait 22:56 ? 
      0 S testUser  7021  7013  0  80 0 - 22958 -      22:56 ? 
      0 S testUser  7232  6394  0  80 0 -  2452 pipe_w 22:57 pts/0     
       
      00:00:00 /bin/sh /opt/quorum_server/bin/quorum_server_monitor.sh 
      00:00:00 ./bin/quorum_serverd 
      00:00:00 grep quo*      

Follow-up Procedure

After the installation is successful, you can directly close the quorum server's CLI window.

If you want to uninstall the arbitration software, see Uninstalling the Arbitration Software.

Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000106183

Views: 26648

Downloads: 269

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