cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3289
Views
35
Helpful
12
Replies

Cisco Prime full disk issue

Turki.A.Baqatada
Beginner
Beginner

Dears 

I am facing issue that 

Opt and var is full due this ncs is not starting 

And I need to know that 

1- what ncs clean up can do and files will remove is going to remove important and will be helpful

 

2-if I want to delete files what files should I delete to free space in opt and var that will not harm if I removed

 

Our Cisco Prime is hardware appliance so we can't extend 

1 Accepted Solution

Accepted Solutions

i go with superuser

 

#cd /opt/oracle/base/fast_recovery_area/WCS/archivelog/

# ls -al (list the files in the foder)

# rm -rf filename.x ( -rf not ask you confirmation it deletes).

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

12 Replies 12

balaji.bandi
VIP Community Legend VIP Community Legend
VIP Community Legend

here is troubleshooting prime disk issue :

 

https://www.cisco.com/c/en/us/support/docs/cloud-systems-management/prime-infrastructure/200720-Prime-Infrastructure-Troubleshooting-L.html

 

anything older log files it is safe to delete (if you are concerned, move that files to different place where space available)

 

once everything back normal and working, you can safe to delete those from the safe location.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

julian.bendix
Participant
Participant

Hey man,

what version of Prime Infrastructure are you running?

Up to PI Version 3.5 I kept seeing an issue with logrotate...
So the disk always completely filled up with logfiles..

If you look at the folder "/var/logs", you should see your log files being rotated.
You can just delete any of the rotated log files without thinking (any files with ".<number>" at the end, like .1, .2, .3, etc.)..

If the log files are just keep growing without being rotated, you can clear out their contents.
I always did that by echoing an empty string writing over the content of the log files.

I mostly saw those three files growing up to several GBs: (all in /var/log) messages, secure and wtmp ..

Clearing out the contents of those files without touching the metadata:

cat /dev/null > /var/log/messages
cat /dev/null > /var/log/secure
cat /dev/null > /var/log/wtmp

Let me know if any of that helps.

BR Juls

You are running prime infrastructure 2.2?

I would really recommend to deploy a new prime infrastructure as soon as you can.. with version 3.8 ..

BR Juls

2.2 EOL Long Long Ago. PI 3.8 is the latest. soon DNAC comes in place, PI also go faded from the market.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Turki.A.Baqatada
Beginner
Beginner

can I delete this file which a lot of files with this name and taking too much space  is it backup file

/opt/oracle/base/fast_recovery_area/WCS/archivelog/2017_06_16

 

also i compared oracle with opt oracle consumed 85% of opt half of of them taken by mentioned file

that is archive, if you do not need compliance, safe to delete

 

stop ncs service if possible and delete and start service and check.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

What will contain this file is it backup file

If so I will delete the older files and keep just one because I have more than  10 files like this and taking around 300gb 

What is the command to delete files in opt

Is there any documentation for it 

Probably this:

sudo rm /opt/oracle/base/fast_recovery_area/WCS/archivelog/2017_06_16

Assuming that is a file and not a folder. If it's a folder, add a -r after the rm command. I suggest taking a backup first and store it externally. 

i go with superuser

 

#cd /opt/oracle/base/fast_recovery_area/WCS/archivelog/

# ls -al (list the files in the foder)

# rm -rf filename.x ( -rf not ask you confirmation it deletes).

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Turki.A.Baqatada
Beginner
Beginner

Hi

Actually now web interface is working fine but actually when I try show application status nce result that application not installed 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers