Help Center/ MapReduce Service/ User Guide (Ankara Region)/ Alarm Reference/ ALM-24011 Flume Certificate File Is About to Expire
Updated on 2024-11-29 GMT+08:00

ALM-24011 Flume Certificate File Is About to Expire

Alarm Description

Flume checks whether the Flume certificate file is about to expire every hour. This alarm is generated when the remaining validity period is at most 30 days. This alarm is automatically cleared when the remaining validity period is greater than 30 days.

Alarm Attributes

Alarm ID

Alarm Severity

Alarm Type

Service Type

Auto Cleared

24011

Major

Error handling

Flume

Yes

Alarm Parameters

Type

Parameter

Description

Location Information

Source

Specifies the cluster 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.

Impact on the System

Currently, there is no impact on the system.

Possible Causes

The Flume certificate file is about to expire.

Handling Procedure

View alarm information.

  1. Log in to FusionInsight Manager and choose O&M. In the navigation pane on the left, choose Alarm > Alarms. On the page that is displayed, locate the row containing ALM-24011 Flume Certificate Is About to Expire, and view the Location information. View the IP address of the instance for which the alarm is generated.

Check whether the certificate file in the system is valid. If it is not, generate a new one.

  1. Log in to the node for which the alarm is generated as user root and run the su - omm command to switch to user omm.
  2. Run the following command to go to the Flume service certificate directory:

    cd ${BIGDATA_HOME}/FusionInsight_Porter_*/install/FusionInsight-Flume-*/flume/conf

  3. Run the following command to check the effective time and expiration time of the Flume user certificate:

    openssl x509 -noout -text -in flume_sChat.crt

  4. Perform 6 to 7 during off-peak hours to update the certificate file as needed.
  5. Run the following command to go to the Flume script directory:

    cd ${BIGDATA_HOME}/FusionInsight_Porter_*/install/FusionInsight-Flume-*/flume/bin

  6. Run the following command to generate a new certificate file. Then check whether the alarm is automatically cleared one hour later.

    sh geneJKS.sh -f Custom certificate password of the Flume role on the server -g Custom certificate password of the Flume role on the client
    • If yes, go to 9.
    • If no, go to 8.
    The custom certificate passwords must meet the following complexity requirements:
    • Contain at least four types of uppercase letters, lowercase letters, digits, and special characters.
    • Contain 8 to 64 characters.
    • Be changed periodically (for example, every three months), and certificates and trust lists are generated again to ensure security.

  7. Log in to the Flume node for which the alarm is generated as user omm and repeat 6 to 7. Then, check whether the alarm is automatically cleared one hour later.

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

  8. Check whether this alarm is generated again during periodic system check.

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

Collect the fault information.

  1. On FusionInsight Manager, choose O&M. In the navigation pane on the left, choose Log > Download.
  2. Expand the Service drop-down list, and select Flume for the target cluster.
  3. Click the edit icon 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.