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 CLOUD Stack 6.5.0 Alarm and Event Reference 04

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).
ALM-2000904 HAProxy Is Abnormal

ALM-2000904 HAProxy Is Abnormal

Description

This alarm is generated when the HAProxy process is abnormal or the HAProxy floating IP address is not bound to the corresponding NIC.

Attribute

Alarm ID

Alarm Severity

Auto Clear

2000904

Critical

Yes

Parameters

Parameter

Description

Resource name

Name of the device for which the alarm is generated

Resource type

MONITOR

Monitor type

Service monitoring

Host IP address

IP address of the host

Details

Data in recent periods

Threshold

Threshold for generating an alarm

Impact on the System

Messages of all services cannot be normally forwarded by calling HAProxy.

Possible Causes

  • An HAProxy process exception occurs.
  • The HAProxy floating IP address is not bound to the corresponding NIC.

Procedure

  1. Log in to ManageOne Maintenance Portal using a browser.

    • URL: https://Address for accessing the homepage of ManageOne Maintenance Portal:31943, for example, https://oc.type.com:31943
    • Default username: admin; default password: Huawei12#$

  2. On the menu bar in the upper part of the page, choose Alarms > Current Alarms.
  3. In the alarm list, locate the alarm to be handled, and click on the left of the alarm. The Details page is displayed.
  4. Choose Location Info, obtain the host IP address, that is, the IP address of the node where the alarm is generated.
  5. Use PuTTY to log in to the VM in 4.

    The default username is ulb. The default password is cnp200@HW.

  6. Run the following command to disable user logout upon timeout:

    TMOUT=0

  7. Run the following command to switch to the root user:

    sudo su - root

    The default username is root. The default password is Cloud12#$.

  8. Run the following command to restart the HAProxy process and then check whether the alarm persists:

    service haproxy restart

    • If yes, go to 9.
    • If no, no further action is required.

  9. Run the following command to check whether the floating IP address is successfully bound to the corresponding NIC:

    ip a

    If the command output contains the unreachable floating IP address, the floating IP address is successfully bound to the corresponding NIC.

    • If yes, go to 10.
    • If no, assign the floating IP address again.

  10. Check whether the floating IP address and IP addresses of the HAPROXY01 and HAPROXY02 nodes are in the same network segment.

    • If yes, go to 11.
    • If no, assign the floating IP address again.

  11. Run the following command on the HAPROXY01 and HAPROXY02 nodes, respectively, to check whether the floating IP address is configured on the two nodes:

    cat /home/elb/keepalived/etc/keepalived/keepalived.conf

    The floating IP address is configured on the nodes if the following information is displayed:

    ! Configuration File for keepalived
       vrrp_script chk_http_port {
       script "/home/elb/keepalived/script/check_haproxy.sh"interval 2weight 20
       }
        vrrp_instance VI_1 {
        state BACKUP
        nopreempt
        interface eth0
        virtual_router_id 162
        priority 100
        advert_int 1
        virtual_ipaddress {
             IP address
             ......
    
       }
       track_script {
       chk_http_port
       }
        notify_master "/home/elb/keepalived/script/notify.sh master"
        notify_backup "/home/elb/keepalived/script/notify.sh backup"
    }
    • If yes, go to 12.
    • If no, configure the floating IP address on the two HAProxy nodes.

  12. Run the following command to check whether the floating IP address is conflict with other IP addresses:

    arping Floating IP address

    NOTE:

    If two MAC addresses are displayed, the floating IP address is conflict with other floating IP addresses.

    • If yes, assign the floating IP address again.
    • If no, contact technical support for assistance.

Reference

None

Translation
Download
Updated: 2019-08-30

Document ID: EDOC1100062365

Views: 36211

Downloads: 31

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