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

CloudEC V600R019C00 Troubleshooting (Enterprise On-premises, Convergent Conference)

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).
Linux Two-Node Cluster Installation Failure

Linux Two-Node Cluster Installation Failure

Symptom

During the installation of the two-node cluster, the VM detects only one network adapter. The two-node cluster fails to be installed, and the two-node cluster process fails to query the peer end. That is, the query result of the hatool -status command is abnormal.

Possible Causes

The subnet mask of the heartbeat network adapter is different from that of the service network adapter on the VM.

Procedure

  1. Log in to the Linux VM where the eMP active node is installed as the root user.
  2. Run the following command to stop the mirror process:

    stopHaSystem

  3. Run the following commands to delete residual files:

    cd /opt/hasystem

    sh uninstall.sh /opt/hasystem

  4. Check whether the planned information about the heartbeat network adapter and service network adapter is correct. The subnet masks of the heartbeat network adapter and service network adapter must be the same. If they are different, plan them again.
  5. Run the following command to check whether the heartbeat network adapter and service network adapter are correctly configured:

    ifconfig

  6. Reconfigure the network adapter information to ensure that the subnet masks of the heartbeat network adapter and service network adapter are the same.

    vi /etc/sysconfig/network/ifcfg-ethx

    NOTE:

    The configuration file of the heartbeat network adapter is ifcfg-eth1.

    The configuration file of the service network adapter is ifcfg-eth0.

    Use arrow keys to move the cursor. Press i in the IPADD configuration item to enter the editing mode.

    After the editing is complete, press Ecs to exit the editing mode, and then run :wq to save the modification and exit the file.

  7. After the network adapter information is configured, run the following command to restart the network adapters:

    service network restart

  8. Repeat 1 to 6 to configure the subnet masks of the heartbeat network adapter and service network adapter on the standby node of the eMP.
  9. Modify the eMP configuration file.

    Run the following command on the active and standby eMP VMs:

    vi /home/eMPV300R001C00SPC***_installeMP_linux/conf/config.properties

    Use arrow keys to move the cursor, and then press i at the configuration item to be modified to enter the editing mode.

    After the editing is complete, press Ecs to exit the editing mode, and then run :wq to save the modification and exit the file.

    Table 16-1 Configuration file

    Parameter

    Description

    Setting

    is_install_eMP

    Indicates whether to install the eMP.

    • Set this parameter to yes if the eMP is required.
    • Set this parameter to no if the eMP is not required.

    Indicates whether to install the GaussDB.

    Indicates whether to install the GaussDB.

    • Set this parameter to yes if the GaussDB is required.

    • Set this parameter to no if the GaussDB is not required.

    DB_set_orNot

    Indicates whether to initialize the database.

    • Set this parameter to yes if the database needs to be initialized.

    • Set this parameter to no if the database does not need to be initialized.

    _GaussDBAPassword

    Indicates the system user password for the GaussDB.

    The password must meet database password complexity requirements, for example, Gaussdb@123.

    _eMPPassword

    Indicates the password for the eMP database user.

    The password must meet database password complexity requirements, for example, Huawei@123.

    primary_root_password

    Indicates the password for logging in to the active eMP Linux VM.

    The database password must meet complexity requirements.

    • In the CGP virtualization scenario, the password is cnp200@HW.
    • In the VMware virtualization and FusionSphere or FusionCompute virtualization scenarios, the password is Change_Me.

    standby_root_password

    Indicates the password for logging in to the standby eMP Linux VM.

    The database password must meet complexity requirements.

    • In the CGP virtualization scenario, the password is cnp200@HW.
    • In the VMware virtualization and FusionSphere or FusionCompute virtualization scenarios, the password is Change_Me.
    NOTE:

    Modify the parameters in the config.properties file of the eMP active and standby nodes.

  10. Install the eMP active node again.

    Run the following command on the active eMP VM:

    cd /home/eMPV300R001C00SPC***_installeMP_linux/script

    sh installeMPall.sh

    When the following information is displayed, enter y if you want to uninstall the GaussDB; otherwise, enter n.

    …… 
    GaussDB has been installed on your computer, do you want to uninstall it(y/n):y

    When the following information is displayed, enter y and wait for the uninstallation to be completed. The process lasts a few minutes.

    …… 
    eMP Application has been installed on your computer, do you want to uninstall it(y/n):y

    After uninstallation, the installation automatically begins.

  11. Follow the instructions in 10 to install the eMP standby node again.
Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100059098

Views: 20005

Downloads: 12

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