Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1944353.1
Update Date:2017-01-30
Keywords:

Solution Type  Technical Instruction Sure

Solution  1944353.1 :   Diameter Intelligence Hub (DIH) Setup Purge File That Are Filling up the Filesystem  


Related Items
  • Oracle Communications Diameter Signaling Router (DSR)
  •  
Related Categories
  • PLA-Support>Sun Systems>CommsGBU>Global Signaling Solutions>SN-SND: Tekelec DSR
  •  




In this Document
Goal
Solution


Created from <SR 3-9851563031>

Applies to:

Oracle Communications Diameter Signaling Router (DSR) - Version DSR 5.0 and later
Tekelec

Goal

How to purge DIH file that are filling up the file system?

Solution

Procedure:

  1. Run a syscheck to see if the Oracle Guest is exhibiting the space issue:
    syscheck
  2. Output example:
    Running modules in class system...
    OK
    Running modules in class net...
    OK
    Running modules in class disk...
    * fs: FAILURE:: MAJOR::3000000000001000 -- Server Disk Space Shortage Error
    * fs: FAILURE:: Space used in "/" exceeds the set limit 90%. 96% used.
    One or more module in class "disk" FAILED
  3. Do a change directory to the following path:
    cd /home/oracle/oradiag_oracle/diag/clients/user_oracle/host_*/alert
  4. Do a ll to see the amount of files that have been collected:
    ll
  5. Here you see that there are numerous log files that are causing the space issues:
    total 270448
    -rw-r----- 1 oracle oinstall 10485803 Jan 19 2013 log_10.xml
    -rw-r----- 1 oracle oinstall 10485921 Feb 10 2013 log_11.xml
    -rw-r----- 1 oracle oinstall 10485921 Mar 3 2013 log_12.xml
    -rw-r----- 1 oracle oinstall 10485921 Mar 24 2013 log_13.xml
    -rw-r----- 1 oracle oinstall 10485921 Apr 14 2013 log_14.xml
    -rw-r----- 1 oracle oinstall 10485921 May 6 2013 log_15.xml
    -rw-r----- 1 oracle oinstall 10485921 May 27 2013 log_16.xml
    -rw-r----- 1 oracle oinstall 10485921 Jun 17 2013 log_17.xml
    -rw-r----- 1 oracle oinstall 10485921 Jul 8 18:31 log_18.xml
    -rw-r----- 1 oracle oinstall 10486012 Jul 30 19:09 log_19.xml
    -rw-r----- 1 oracle oinstall 10485766 Jul 11 2012 log_1.xml
  6. Remove logs:
    rm -f log_*
  7. Verify syscheck is clean:
    syscheck:

    Running modules in class disk...
    OK

    Running modules in class proc...
    OK

    Running modules in class net...
    OK

    Running modules in class system...
    OK

    Running modules in class hardware...
    OK

    LOG LOCATION: /var/TKLC/log/syscheck/fail_log

  8. Switch to oracle user:
    # su - oracle
  9. Open adrci:
    $ adrci
  10. Type the following command:
    adrci> show control
  11. Column is not populated:
    LAST_MANUPRG_TIME
    ----------------------------------
     
  12. Enter the following command to purge all trace files after 6 days:
  13. adrci> purge -age 8640 -type TRACE
  14. Validate the command has been taken into account:
    LAST_MANUPRG_TIME
    ----------------------------------
    2014-01-03 13:01:03.837182 +00:00
  15. Exit adrci tool:
    adrci> exit

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback