ALM-45641 Data Synchronization Exception Between the Active and Standby FlinkServer Nodes
This section applies to MRS 3.2.0 or later.
Alarm Description
The system checks data synchronization between the active and standby FlinkServer nodes every 60 seconds. This alarm is generated when the standby FlinkServer node fails to synchronize files with the active FlinkServer node.
This alarm is cleared when the standby FlinkServer synchronizes files with the active FlinkServer.
Alarm Attributes
Alarm ID |
Alarm Severity |
Auto Cleared |
---|---|---|
45641 |
Major |
Yes |
Alarm Parameters
Parameter |
Description |
---|---|
Source |
Specifies the cluster or system for which the alarm was generated. |
ServiceName |
Specifies the service for which the alarm was generated. |
RoleName |
Specifies the role for which the alarm was generated. |
HostName |
Specifies the host for which the alarm was generated. |
Impact on the System
After an active/standby switchover, some configurations may be lost. Some jobs and connections of the FlinkServer are interrupted, but the FlinkServer can still provide services properly.
Possible Causes
- The link between the active and standby FlinkServer nodes is interrupted.
- The synchronization file does not exist or the file permission is required.
Handling Procedure
Check whether the network between the active and standby FlinkServer is in normal state.
- On FusionInsight Manager, choose Cluster > Services > ClickHouse > Instance. View and record the IP addresses of active and standby FlinkServer.
- Log in to the active FlinkServer node as the root user.
- Run the following command to check whether the standby FlinkServer is reachable:
ping IP address of the standby FlinkServer
- Contact the network administrator to check whether the network is faulty.
- 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.
Check whether the storage space of the /srv/BigData/LocalBackup directory is insufficient.
- Run the following command to check whether the storage space of the /srv/BigData/LocalBackup directory is insufficient:
- Run the following command to clear unnecessary backup files:
rm -rf Directory to be cleared
The following are two examples:
rm -rf /srv/BigData/LocalBackup/0/default-oms_20191211143443
- On FusionInsight Manager, choose O&M > Backup and Restoration > Backup Management.
In the Operation column of the backup task, click Configure and change the value of Maximum Number of Backup Copies to reduce the number of backup file sets.
- Wait for 1 minute and check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 10.
Check whether the synchronization file exists and whether the file permission is valid.
- Run the following command to check whether the synchronization file exists:
find /srv/BigData/ -name "sed*"
find /opt -name "sed*"
- Run the following command to check the synchronization file information and permission queried in 10:
ll Path of the file you want to search for
- View the log file generated when the alarm is reported.
- Run the following command to go to the HA run log file path of the current cluster:
- Decompress log file and view the logs generated when the alarm is reported.
For example, if the name of the file is ha.log.2021-03-22_12-00-07.gz, run the following command:
gunzip ha.log.2021-03-22_12-00-07.gz
vi ha.log.2021-03-22_12-00-07
Check whether error information is displayed before and after the alarm generation time in the logs.
- Wait for about 10 minutes and check whether the alarm is cleared.
- If yes, no further action is required.
- If no, go to 14.
Collect fault information.
- On FusionInsight Manager, choose O&M > Log > Download.
- Select FlinkServer information from Services and click OK.
- Expand the Hosts drop-down list. In the Select Host dialog box that is displayed, select the hosts to which the role belongs, and click OK.
- Click 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.
- Contact O&M personnel and provide the collected logs.
Alarm Clearance
This alarm is automatically cleared after the fault is rectified.
Related Information
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot