Hi there!
1. Log in to FusionInsight Manager, choose Cluster > Service and stop the component services that depend on DBService.
2. To start the GaussDB database, perform the following steps:
- Log in to the active DBService instance node as the root user.
su - omm- Run the following command to execute the environment variable:
source $DBSERVER_HOME/.dbservice_profile- Go to the $GAUSSDATA/pg_xlog directory:
cd $GAUSSDATA/pg_xlog
- A total of 5-10 files whose names start with 0000 are removed to other backup directories. One file can be removed at a time.
- Example: mv 0000000100000000000000073 /opt/backup
Note:
The file that is being written (the latest time) and the four to five files around the file cannot be removed.
For example, in the following figure, the file that is being written is 0000000100000000000000078, except that 74-7C cannot be removed.
http://10.88.69.41:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258426.png
Run the gs_ctl -D $GAUSSDATA restart command to start the GaussDB database.
http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258427.png
http://10.88.194.32:7088/idp-edit-service/editor/image/11108756775/A-1_1_en-us_image_0161258428.png
Note:
If the file is not started, repeat
2.e to
2.f . If the file is not started after 10 files are removed, contact Huawei technical support.
Back up the DBService data by referring to the Administrator Guide > Backup and Recovery Management > Backing Up Data > Backing Up DBService Data in the product documentation.
Expand the disk capacity by referring to the FusionInsight HD Capacity Expansion Guide.
Start components that depend on DBService.