Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Alarm Reference/ ALM-12006 NodeAgent Process Is Abnormal
Updated on 2024-11-29 GMT+08:00

ALM-12006 NodeAgent Process Is Abnormal

Alarm Description

Controller checks the NodeAgent heartbeat every 30 seconds. If Controller does not receive heartbeat messages from a NodeAgent, it attempts to restart the NodeAgent process. This alarm is generated if the NodeAgent fails to be restarted for three consecutive times.

This alarm is cleared when Controller can properly receive the status report of the NodeAgent.

Alarm Attributes

Alarm ID

Alarm Severity

Alarm Type

Service Type

Auto Cleared

12006

Major

Quality of service

FusionInsight Manager

Yes

Alarm Parameters

Type

Parameter

Description

Location Information

Source

Specifies the cluster or system for which the alarm is generated.

ServiceName

Specifies the service for which the alarm is generated.

RoleName

Specifies the role for which the alarm is generated.

HostName

Specifies the host for which the alarm is generated.

Additional Information

Detail

Specifies the details for which the alarm is generated.

Impact on the System

NodeAgent process is abnormal, heartbeat messages cannot be reported to the platform. If the problem is caused by network faults, hardware faults, or SSH mutual trust, component services cannot be normal.

Possible Causes

  • The network is disconnected, the hardware is faulty, or the operating system runs slowly.
  • The memory of the NodeAgent process is insufficient.
  • The NodeAgent process is faulty.

Handling Procedure

Check whether the network is disconnected, whether the hardware is faulty, or whether the operating system runs commands slowly.

  1. On FusionInsight Manager, choose O&M > Alarm > Alarms. On the page that is displayed, click in the row containing the alarm, click the host name, and view the IP address of the host for which the alarm is generated.
  2. Log in to the active management node as user root.

    If the faulty node is the active management node and fails login, the network of the active management node may be faulty. In this case, go to 4.

  3. Run the ping IP address of the faulty host command to check whether the faulty node is reachable.

    • If yes, go to 12.
    • If no, go to 4.

  4. Contact the network administrator to check whether the network is faulty.

    • If yes, go to 5.
    • If no, go to 6.

  5. Rectify the network fault and check whether the alarm is cleared from the alarm list.

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

  6. Contact the hardware administrator to check whether the hardware (CPU or memory) of the node is faulty.

    • If yes, go to 7.
    • If no, go to 12.

  7. Repair or replace faulty components and restart the node. Check whether the alarm is cleared.

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

  8. If a large number of node faults are reported in the cluster, the floating IP addresses may be abnormal. As a result, Controller cannot detect the NodeAgent heartbeat.

    Log in to any management node and view the /var/log/Bigdata/omm/oms/ha/scriptlog/floatip.log log to check whether the logs generated one to two minutes before and after the faults occur are complete.

    For example, a complete log is in the following format:

    2017-12-09 04:10:51,000 INFO (floatip) Read from ${BIGDATA_HOME}/om-server_8.1.0.1/om/etc/om/routeSetConf.ini,value is : yes
    2017-12-09 04:10:51,000 INFO (floatip) check wsNetExport : eth0 is up.
    2017-12-09 04:10:51,000 INFO (floatip) check omNetExport : eth0 is up.
    2017-12-09 04:10:51,000 INFO (floatip) check wsInterface : eRth0:oms, wsFloatIp: XXX.XXX.XXX.XXX.
    2017-12-09 04:10:51,000 INFO (floatip) check omInterface : eth0:oms, omFloatIp: XXX.XXX.XXX.XXX.
    2017-12-09 04:10:51,000 INFO (floatip) check  wsFloatIp : XXX.XXX.XXX.XXX is reachable.
    2017-12-09 04:10:52,000 INFO (floatip) check  omFloatIp : XXX.XXX.XXX.XXX is reachable.
    • If yes, go to 12.
    • If no, go to 9.

  9. Check whether the omNetExport log is printed after the wsNetExport is detected or whether the interval for printing two logs exceeds 10 seconds or longer.

    • If yes, go to 10.
    • If no, go to 12.

  10. View the /var/log/message file of the OS to check whether sssd frequently restarts or nscd exception information is displayed when the fault occurs.

    sssd restart example

    Feb  7 11:38:16 10-132-190-105 sssd[pam]: Shutting down
    Feb  7 11:38:16 10-132-190-105 sssd[nss]: Shutting down
    Feb  7 11:38:16 10-132-190-105 sssd[nss]: Shutting down
    Feb  7 11:38:16 10-132-190-105 sssd[be[default]]: Shutting down
    Feb  7 11:38:16 10-132-190-105 sssd: Starting up
    Feb  7 11:38:16 10-132-190-105 sssd[be[default]]: Starting up
    Feb  7 11:38:16 10-132-190-105 sssd[nss]: Starting up
    Feb  7 11:38:16 10-132-190-105 sssd[pam]: Starting up

    Example nscd exception information

    Feb 11 11:44:42 10-120-205-33 nscd: nss_ldap: failed to bind to LDAP server ldaps://10.120.205.55:21780: Can't contact LDAP server
    Feb 11 11:44:43 10-120-205-33 ntpq: nss_ldap: failed to bind to LDAP server ldaps://10.120.205.55:21780: Can't contact LDAP server
    Feb 11 11:44:44 10-120-205-33 ntpq: nss_ldap: failed to bind to LDAP server ldaps://10.120.205.92:21780: Can't contact LDAP server
    • If yes, go to 11.
    • If no, go to 12.

  11. Check whether the LdapServer node is faulty, for example, the service IP address is unreachable or the network latency is too high. If the fault occurs periodically, locate and eliminate it and run the top command to check whether abnormal software exists.

Check whether the memory of the NodeAgent process is insufficient.

  1. Log in to the faulty node as user root and run the following command to view the NodeAgent process logs:

    vi /var/log/Bigdata/nodeagent/scriptlog/agent_gc.log.*.current

  2. Check whether the log file contains an error indicating that the metaspace size or heap memory size is insufficient.

    • If yes, go to 14.
    • If no, go to 21.

  1. Run the su - omm command to switch to user omm, increase the values of nodeagent.Xms (initial heap memory) and nodeagent.Xmx (maximum heap memory) in the $NODE_AGENT_HOME/etc/agent/nodeagent.properties file, and save the modification.
  2. Run the following commands to restart the NodeAgent service:

    sh ${BIGDATA_HOME}/om-agent/nodeagent/bin/stop-agent.sh

    sh ${BIGDATA_HOME}/om-agent/nodeagent/bin/start-agent.sh

  3. Wait a moment and check whether this alarm is cleared.

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

Check whether the NodeAgent process is faulty.

  1. Log in to the faulty node as user omm and run the following command:

    ps -ef | grep "Dprocess.name=nodeagent" | grep -v grep

  2. Check whether the command output is empty.

    • If yes, go to 19.
    • If no, go to 21.

  3. View the NodeAgent startup and run logs to locate the fault. After the fault is rectified, go to 20.

    • NodeAgent run logs: /var/log/Bigdata/nodeagent/agentlog/agent.log
    • NodeAgent start and stop logs: /var/log/Bigdata/nodeagent/scriptlog/nodeagent_ctl.log

  4. Run the following commands to restart the NodeAgent service:

    sh ${BIGDATA_HOME}/om-agent/nodeagent/bin/stop-agent.sh

    sh ${BIGDATA_HOME}/om-agent/nodeagent/bin/start-agent.sh

Collect fault information.

  1. On FusionInsight Manager, choose O&M. In the navigation pane on the left, choose Log > Download.
  2. Select the following nodes from Services and click OK.

    • NodeAgent
    • Controller
    • OS

  3. Click the edit button in the upper right corner, and set Start Date and End Date for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click Download.
  4. Contact O&M engineers and provide the collected logs.

Alarm Clearance

This alarm is automatically cleared after the fault is rectified.

Related Information

None.