【Problem Description】:
The customer said that the SCU offline .
Product type:VCN540
Version:V100R002C30SPC205.
【Problem Analysis】:
We checked the disk space and found that the home is currently occupied 100%.
So the SCU not running and offline.
【Root Cause】:
The database XLOG log record is enabled in the configuration fileof the Gauss database used by the VCN5X0 cluster center database. The databasegenerates XLOG logs and automatically moves the historical XLOG logs to the/home/center/archive archive directory. When the archive directory exceeds300MB, it automatically Clean up the oldest XLOG data. The home partition ofthe VCN5X0 is limited. When the cleanup condition is not met, the VCN5X0 serverhas filled the /home partition, causing the service to fail.
When the home directory space be used 100%, the current servercannot run normally and the device automatically migrates.
【Solution Description】:
Recovery steps:
Step 1. Log in to VCN5X0 through SSH (username admin, defaultpassword Change_Me), switch to root user, default password Change_Me, commandsu - root
Step 2. Clear the XLOG log file in the /home/center/archivedirectory. Command: rm /home/center/archive/*
Circumvention measures
The following steps need to be run in the cluster member:
Step 1. Log in to VCN5X0 through SSH (username admin, defaultpassword Change_Me), switch to root user, default password Change_Me, commandsu - root
Step 2. Modify the scheduled task configuration file and executethe command:
Commad1:cat cron.sh | grep archive
Comman2:if [ 0 -ne $? ] ; then sed -i '19i\0 2 * * * rm/home/center/archive/*' cron.sh ; fi
Step 3. Restart the scheduled task and execute the command:
Command1:PID=$(ps -ef|grep crond | grep -v grep | awk '{print$1}')
Command2:kill -9 $PID
Command3:/home/ivstool/bin/cron.sh
Step 4. Check that the scheduled task modification has takeneffect. If the output result shows that rm /home/center/archive/* is included,the execution is complete, as shown in the following figure:
Command:crontab –l
