Problem background and phenomenon
A large number of backup files exist in the /opt/huawei/Bigdata/FusionInsight_V100R002C60U10/dbservice/bak
directory of the standby DBServer and are not rolled back. As a result, the /opt partition space is full.
Cause Analysis
The DBService backup mechanism is first backed up on the primary DBServer node and then synchronized to the
standby DBServer node. Only the latest 10 backups are kept on the primary, and all the backups are kept. Therefore,
the /opt can be easily filled.
If an active/standby switchover occurs, a large number of backup files may exist on the active and standby DBServer nodes.
Solution
Step 1 Log in to the primary DBServer node using the omm user and modify the configuration file.
/opt/huawei/Bigdata/FusionInsight/dbservice/ha/module/hasync/plugin/conf/dbservice_sync.xml
/opt/huawei/Bigdata/FusionInsight/dbservice/setup/conf/ha_plugin/ha_sync_conf/dbservice_sync.xml
Step 2 Change <file name="/opt/huawei/Bigdata/FusionInsight_V100R002C60U10/dbservice/bak"delete="no"/> to: <file name="/opt/huawei/Bigdata/FusionInsight_V100R002C60U10/dbservice/bak"/ > Remove the delete="no" parameter.
Step 3 Log in to the standby DBServer node to perform the above modifications.

