Task 16
Running NCC on a cluster prior to an upgrade results in the following output
FAIL: CVM System Partition /home usage at 93% (greater than threshold, 90%)
Identify the CVM with the issue, remove the fil causing the storage bloat, and check the health again by running the individual disk usage health check only on the problematic CVM do not run NCC health check
Note: Make sure only the individual health check is executed from the affected node
To identify the CVM with the issue, remove the file causing the storage bloat, and check the health again, you can follow these steps:
Log in to Prism Central and click on Entities on the left menu.
Select Virtual Machines from the drop-down menu and find the NCC health check output file from the list. You can use the date and time information to locate the file. The file name should be something like ncc-output-YYYY-MM-DD-HH-MM-SS.log.
Open the file and look for the line that says FAIL: CVM System Partition /home usage at 93% (greater than threshold, 90%). Note down the IP address of the CVM that has this issue. It should be something like X.X.X.X.
Log in to the CVM using SSH or console with the username and password provided.
Run the commanddu -sh /home/*to see the disk usage of each file and directory under /home. Identify the file that is taking up most of the space. It could be a log file, a backup file, or a temporary file. Make sure it is not a system file or a configuration file that is needed by the CVM.
Run the commandrm -f /home/<filename>to remove the file causing the storage bloat. Replace <filename> with the actual name of the file.
Run the commandncc health_checks hardware_checks disk_checks disk_usage_check --cvm_list=X.X.X.Xto check the health again by running the individual disk usage health check only on the problematic CVM. Replace X.X.X.X with the IP address of the CVM that you noted down earlier.
Verify that the output shows PASS: CVM System Partition /home usage at XX% (less than threshold, 90%). This means that the issue has been resolved.
#access to CVM IP by Putty
allssh df -h #look for the path /dev/sdb3 and select the IP of the CVM
ssh CVM_IP
ls
cd software_downloads
ls
cd nos
ls -l -h
rm files_name
df -h
ncc health_checks hardware_checks disk_checks disk_usage_check
Noah
2 months agoAllene
2 months agoHerman
2 months agoTesha
2 months agoPeggie
3 months agoFelicitas
3 months agoMilly
3 months agoDallas
4 months agoMable
4 months agoBasilia
4 months agoTrinidad
5 months agoRickie
5 months agoNancey
5 months agoWhitney
6 months agoMignon
6 months agoMarquetta
6 months agoAsuncion
7 months agoJettie
7 months agoMatthew
7 months agoLashandra
7 months agoMaricela
8 months agoWalton
8 months agoCruz
8 months agoDorian
8 months agoJill
9 months agoZita
9 months agoCurtis
9 months agoAlana
9 months agoIsadora
9 months agoCristina
10 months agoArlene
10 months agoTimothy
10 months agoKaty
10 months agoDomitila
10 months agoJaclyn
11 months agoJohana
11 months agoTennie
11 months agoHermila
11 months agoToi
11 months agoMelodie
12 months agoLauna
12 months agoTruman
12 months agoLisbeth
1 years agoLynette
1 years agoLanie
1 years agoLinn
1 years agoJosefa
1 years agoNana
1 years agoDaniel
1 years agoTomoko
1 years agoVelda
1 years ago