Files Modified on the Active Node Fail to Be Synchronized to the Standby Node
Symptom
Files modified on the active node fail to be synchronized to the standby node.
Possible Causes
- The file to be synchronized is not in a configuration file or is in a blacklist.
The default blacklists are /sys, /proc, /dev, /lib/udev, /var/lib, /var/run, /var/cache, and $(ha_install_path)/ha/local/ (/opt/middleware/ha/local/ for an Atlas 500 AI edge station).
$(ha_install_path) is the HA installation path. Replace it with the actual path.
- File synchronization is triggered on the active node. The standby node does not support file synchronization.
- The file synchronization function is disabled.
- The file size exceeds 100 MB.
Currently, the system does not synchronize files with a size exceeding 100 MB.
Procedure
- Check whether the file to be synchronized is in a configuration file or is in a blacklist.
- If the file to be synchronized exists in a configuration file and not in a blacklist, go to the next step.
- Otherwise, the file cannot be synchronized. If synchronization is needed, add the file to a configuration file or remove it from the blacklist.
- Check whether file synchronization is triggered by the active node.
- If yes, go to the next step.
- If no, trigger file synchronization from the active node.
- Check whether the synchronization flag file forbidden exists in $(ha_install_path)/ha/local/hasync/conf (/opt/middleware/ha/local/hasync/conf on an Atlas 500 AI edge station).
- If no, go to the next step.
- If yes, the file synchronization function is disabled. In this case, delete the file.
- Run the ls -l command to check whether the file size exceeds 100 MB.
- If no, go to the next step.
- If yes, split the file to reduce the size.
- Contact Huawei technical support.