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

FusionStorage V100R006C30 Block Storage Service Disaster Recovery Feature Guide 03

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).
(Optional) Installing the Quorum Server Software

(Optional) Installing the Quorum Server Software

Scenarios

This section describes how to install the quorum server software. The quorum server software needs to be installed only when a quorum server is used for HyperMetro, and remote replication does not.

Prerequisites

Conditions

  • The validity period of the default HyperMetro arbitration certificate is 18 years (starting from June 2017). Ensure that the system time of the quorum server is correct so that the default arbitration certificate is valid.

  • Use a Secure Shell (SSH) tool, such as Xshell or PuTTY, to log in to the quorum server.
    NOTE:
    To ensure the operating system (OS) security, you are advised to harden the OS. For details about how to harden the OS, see the official OS security operation guide.

Procedure

  1. Install the OS.
    1. Mount the OS image file on the server BMC page and install the required OS based on the actual environment. For details about the installation methods, see the documents provided by the OS vendor.

      Table 2-11 lists the server specifications.

      Table 2-11  Server specifications
      Item Specifications
      OS
      Supported OSs:
      • SUSE Enterprise 11 SP1–SP4, 64 bit
      • RedHat Enterprise Linux 6.0–6.7, 64 bit
      CPU Recommended specification: Two dual-core CPUs
      Memory 4 GB or more
      NIC Recommended specification: Two independent GE or 10GE NICs
      Disk Recommended specification: 100 GB

      Table 2-12 lists the minimum space requirements for system partitions. If your system disk space is sufficient, you are advised to properly expand the size of each partition based on the actual condition.

      Table 2-12  Server OS partitions
      Mount Point Size (GB)
      / 20
      swap 20
      /usr 10
      /opt 5
      /tmp 5
      /var 5
      /var/log 5

  2. Decompress the FusionStorage Block version_replication.zip software package on the local PC.
  3. Upload the decompressed OceanStor_OS_version_QuorumServer.zip file to the quorum server.
  4. Log in to the quorum server as user root.
  5. Decompress the installation package.
    1. In the CLI of the quorum server, run the unzip command to decompress the installation package.

      XXX@Linux:~# unzip OceanStor/QuorumServer/OceanStor_OS_VXXXRXXXCXX_QuorumServer  
      Archive: OceanStor_OS_VXXXRXXXCXX_QuorumServer 
      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 switch to the directory containing the decompressed files.

      XXX@Linux:~# cd package 

    3. (Optional) Run the ll command to list files in the directory.
  6. Install the quorum server software.
    1. Run the ./quorum_server.sh -install command to install the quorum server software.
    2. Enter y to create a non-root user.
    3. Set the username and password for the non-root user and install the quorum server software to the directory of the non-root user.

      NOTE:

      Follow-up software running and management operations are performed using this 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 quorum server software is installed in the directory of a non-root user:
      • Enter the password of user root, then enter y to create a non-root user. The quorum server software will be installed to the directory of the newly created non-root user. Follow-up software running and management operations are performed using this non-root user.
      • Enter the password of user root, then enter n. A new user will not be created and the quorum server software will be installed to the directory of the current user you use. Follow-up software running and management operations are performed using this non-root user.

      For security purposes, the permissions of the non-root user is restricted. In this case, to ensure that the quorum server software can be successfully installed, log in as the non-root user before installing the quorum server 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.

  7. (Optional) Perform the post-installation check.
    1. After the quorum server software is installed, it automatically restarts. Enter the CLI of the quorum server, switch to a directory, and run the qsadmin command to open the quorum server software. If the quorum server software page is displayed, the quorum server software restarts successfully.

      XXX@Linux:~# qsadmin
      start main!
      Waiting for connecting to server...
      admin:/>
      

    2. Enter the CLI of the quorum server, switch to a directory, and run the ps -elf |grep quorum_server command to check whether the quorum server software is successfully installed. If ./bin/quorum_serverd is displayed in the command output, the installation is successful.

      XXX@Linux:~# ps -elf |grep quorum_server
      
      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* 
      

Translation
Download
Updated: 2019-01-17

Document ID: EDOC1100044928

Views: 17548

Downloads: 34

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