Got it

VCN540-64 offline issue

Latest reply: Nov 10, 2020 17:03:16 656 3 4 0 1

【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



thanks for sharing dear
View more
  • x
  • convention:

good case brother
View more
  • x
  • convention:

hello
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.