troubleshooting - cisco · [09-06-2012 09:06:47-411]main core info...

4
Troubleshooting There are logs available for troubleshooting the DCC as well as the operational tools. Troubleshooting the Device Command and Control UI, page 1 Operational Tools Troubleshooting, page 2 Using the Logs for Troubleshooting, page 3 Troubleshooting the Device Command and Control UI The DCC UI log files are generated and stored in the logs directory,/rms/log/dcc_ui/, by default. The Audit logs capture the entire tool access process. You can check the logs for checking the tool access details. A sample Audit log of the application is shown below: [03-13-2012 00:00:02]Timer-1 - Writing perf log header after file rotation[03-13-2012 . . . 05:11:33]http-80-3 - [000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73] Attr: xmlns = http://www.cisco.com/ca/sse/PMGMessages-v1_0_0[03-13-2012 05:11:33]http-80-3 - [000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73] Attr: xmlns:xsd = http://www.w3.org/2001/XMLSchema[03-13-2012 05:11:33]http-80-3 - [000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73] Attr: xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance[03-13-2012 05:11:33]http-80-3 - [000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73] Attr: xsi:schemaLocation = http://www.cisco.com/ca/sse/PMGMessages-v1_0_0 pmg-messages.xsd[03-13-2012 05:11:33]http-80-3 - . . . The Debug logs are used for debugging the errors that occur during programming. A sample Debug log of the application is shown below [04-20-2012 00:00:14-668]Timer-1 Servlet INFO [SystemStatusMonitor$FPGHourlyStatusTask.run] - Start running hourly timer task[04-20-2012 00:00:14-670]Timer-1 Servlet DEBUG [SingletonInstanceManager.getInstance] - Using existing SingletonInstanceManager object...[04-20-2012 00:00:14-671]Timer-1 Servlet DEBUG [SingletonInstanceManager.getInstance] - Reusing existing singleton instance: . . . 14:14:09-332]main Servlet DEBUG [SetupServlet.destroy] - Destroying SetupServlet... Shutting down SystemMonitor timers...[04-20-2012 14:14:09-333]main Servlet DEBUG [SetupServlet.destroy] - Destroying SetupServlet... Shutting down SystemMonitor timers.. DONE.[04-20-2012 14:14:09-335]main Servlet INFO [SetupServlet.destroy] - Destroying Cisco RAN Management System Administration Guide, Release 4.1.0 April 28, 2015 HF5 1

Upload: others

Post on 08-Oct-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Troubleshooting - Cisco · [09-06-2012 09:06:47-411]main Core INFO [DCCProperties.loadProperties:93] - Property file ... *Password = ARlogs Cisco RAN Management

Troubleshooting

There are logs available for troubleshooting the DCC as well as the operational tools.

• Troubleshooting the Device Command and Control UI, page 1

• Operational Tools Troubleshooting, page 2

• Using the Logs for Troubleshooting, page 3

Troubleshooting the Device Command and Control UIThe DCCUI log files are generated and stored in the logs directory,/rms/log/dcc_ui/, by default. The Auditlogs capture the entire tool access process. You can check the logs for checking the tool access details.

A sample Audit log of the application is shown below:[03-13-2012 00:00:02]Timer-1 - Writing perf log header after file rotation[03-13-2012...05:11:33]http-80-3 - [000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73]Attr: xmlns = http://www.cisco.com/ca/sse/PMGMessages-v1_0_0[03-13-2012 05:11:33]http-80-3- [000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73] Attr: xmlns:xsd= http://www.w3.org/2001/XMLSchema[03-13-2012 05:11:33]http-80-3 -[000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73] Attr: xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance[03-13-2012 05:11:33]http-80-3 -[000001-000000001000|FPGe89e1e45-dba9-46d9-a688-72f4aba3de73] Attr:xsi:schemaLocation = http://www.cisco.com/ca/sse/PMGMessages-v1_0_0pmg-messages.xsd[03-13-2012 05:11:33]http-80-3 -...The Debug logs are used for debugging the errors that occur during programming. A sampleDebug log ofthe application is shown below[04-20-2012 00:00:14-668]Timer-1 Servlet INFO [SystemStatusMonitor$FPGHourlyStatusTask.run]- Start running hourly timer task[04-20-2012 00:00:14-670]Timer-1 Servlet DEBUG[SingletonInstanceManager.getInstance] - Using existing SingletonInstanceManagerobject...[04-20-2012 00:00:14-671]Timer-1 Servlet DEBUG [SingletonInstanceManager.getInstance]- Reusing existing singleton instance:...14:14:09-332]main Servlet DEBUG [SetupServlet.destroy] - Destroying SetupServlet... Shuttingdown SystemMonitor timers...[04-20-2012 14:14:09-333]main Servlet DEBUG[SetupServlet.destroy] - Destroying SetupServlet... Shutting down SystemMonitor timers..DONE.[04-20-2012 14:14:09-335]main Servlet INFO [SetupServlet.destroy] - Destroying

Cisco RAN Management System Administration Guide, Release 4.1.0 April 28, 2015 HF5 1

Page 2: Troubleshooting - Cisco · [09-06-2012 09:06:47-411]main Core INFO [DCCProperties.loadProperties:93] - Property file ... *Password = ARlogs Cisco RAN Management

SetupServlet... DONE.[04-20-2012 14:14:10-525]ol_Thread-1 Core DEBUG [DebuggableThread.run]- Exiting SCICARE_UMTThreadPool_Thread-1

Operational Tools TroubleshootingThe following logs are available for troubleshooting the Operational tools:

• Audit logs

• Debug logs

• Error logs

For all operational tools, the logs are written into the Central Log file as defined in $RMS_OPS. The logfiles are generated and stored under $RMS_OPS/<time-stamped directory>/logs. However the outputdirectory location can be overridden by using -outdir option. Please see tools -outdir option for details.

Note

Audit Logs

The path to the log file is printed to the console after the tool execution is complete. The Audit logs capturethe entire tool execution process. The administrator can check the logs to ensure that the tool execution is asuccess.

A sample Audit log of the massReboot.sh tool execution is shown below:

$ cat /home/krajain/massReboot.sh/MassReboot-20120906-072717/logs/audit.log[09-06-2012 07:27:19-376]main Audit INFO [ScriptUtils.initLog4j:428] - Audit log configuredand ready.[09-06-2012 07:27:19-912]main Audit INFO [BacConnection.initialize:125] - RDU connectionestablished (host=localhost, port=49187)....Summary Report *****************************************[09-06-2012 07:27:20-489]main Audit INFO [Category$info.call:?] - Number of successfulReboots :: 10[09-06-2012 07:27:20-489]main Audit INFO [Category$info.call:?] - Number of failed Reboots:: 0[09-06-2012 07:27:20-489]main Audit INFO [Category$info.call:?] -********************************************************************************[09-06-2012 07:27:20-490]main Audit INFO [Category$info.call:?] -

Debug Logs

The Debug logs are used for debugging the errors that occur during programming. A sample Debug log ofmassReboot.sh tool execution is shown below:

$ cat /home/krajain/massReboot.sh/MassReboot-20120906-090645/logs/debug.log[09-06-2012 09:06:47-411]main Core INFO [DCCProperties.loadProperties:93] - Property file/rms/app/rms/conf/dcc.properties loaded....[09-06-2012 09:06:48-306]PoolWorker3 Threadpool WARN [QueueClosedException.<init>:31] -Queue closed exception[09-06-2012 09:06:48-362]Thread-2 Core INFO [ApplicationInstanceManager$1.run:102] - Script

Cisco RAN Management System Administration Guide, Release 4.1.02 April 28, 2015 HF5

TroubleshootingOperational Tools Troubleshooting

Page 3: Troubleshooting - Cisco · [09-06-2012 09:06:47-411]main Core INFO [DCCProperties.loadProperties:93] - Property file ... *Password = ARlogs Cisco RAN Management

terminated. Releasing lock.

Error Logs

The Error logs are generated and stored in the $RMS_OPS/<time-stamped directory>/logs by default. Ifanother output directory is specified in the arguments, then the logs are stored in the specified directory. TheError logs capture the errors and exceptions causing the tool to terminate. If the tool terminates, the administratorcan check the Error logs for the error details. This facilitates troubleshooting decisions.

Using the Logs for TroubleshootingThe following log files are available in the RMS:

Description / UsageLog

Logs all DCCUI Operation Logs. Location:/rms/log/dcc_ui/ui-debug.log/rms/log/dcc_ui/ui-audit.log

DCC UI Audit and Debuglogs

Logs all PMG Processing logs. Location:rms/log/pmg/pmg-audit.log/rms/log/pmg/pmg-debug.log

PMG logs

Records all RDU events according to the configured logging severitylevel.Location:/rms/data/CSCObac/rdu/logs/rdu.logTo enable this log, use this command on the Central node:

/rms/app/CSCObac/rdu/bin/setLogLevel.sh 6

/rms/app/CSCObac/rdu/bin/setLogLevel.sh 6Please enter RDU username: bacadminPlease enter RDU password:<RMS_APP_Password>

RDU log

Records all high-level changes to the Cisco BAC configuration or functionalityincluding the user who made the change.

Audit log

Records detailed device information for troubleshooting a specific device.Troubleshooting logs are enabled from the BACUI (admin UI) as follows:

1 Login to the Admin UI.

2 Search for devices.

3 Click the Identifier.

4 Click on Enable Troubleshooting.

5 Click Submit.

Troubleshooting log

Cisco RAN Management System Administration Guide, Release 4.1.0 April 28, 2015 HF5 3

TroubleshootingUsing the Logs for Troubleshooting

Page 4: Troubleshooting - Cisco · [09-06-2012 09:06:47-411]main Core INFO [DCCProperties.loadProperties:93] - Property file ... *Password = ARlogs Cisco RAN Management

Description / UsageLog

Records the performance of message statistics related to the system on RDU.Location:/rms/data/CSCObac/rdu/logs/statisticsRecords the TR-069 messages received and processed by the DPE. Location:/rms/data/CSCObac/dpe/logs/statistics

Performance statistics log

LogsDPE activities such as CWMPmessages, file downloadmessages, extensionflows, PG re-directs, Lease Query, Proxy operations, and so on. To enable thislog, do the following:

1 Log on to the Serving node.

2 telnet localhost 2323

3 show config

4 log level 6-info

[root@blr-rms12-serving_41N ~]# telnet localhost 2323Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.blr-rms12-serving_41N BAC Device Provisioning EngineUser Access VerificationPassword:blr-rms12-serving> enPassword:blr-rms12-serving# show configblr-rms12-serving# log level 6-info% OK* Password will be RMS_APP_Password

DPE logs

Location:rms/data/nwreg2/local/logs/name_dhcp_1_log

NR logs

Location:/rms/app/CSCOar/logs/name_radius_1_traceTo enable this log, use the following command:

/rms/app/CSCOar/usrbin/aregcmd -N admin

/rms/app/CSCOar/usrbin/aregcmd -N adminCisco Prime Access Registrar 6.0.1 Configuration UtilityCopyright (C) 1995-2013 by Cisco Systems, Inc. All rights reserved.Cluster:Password:[ //localhost ]LicenseInfo = PAR-NG-TPS 6.0(100TPS:expires on 11-Sep-2014)Radius/Administrators/Server 'Radius' is Running, its health is 10 out of 10--> trace 5Trace level is set to 5

*Password =<RMS_APP_PASSWORD>

AR logs

Cisco RAN Management System Administration Guide, Release 4.1.04 April 28, 2015 HF5

TroubleshootingUsing the Logs for Troubleshooting