Cisco Prime Network Administration Guide, 3.10
Prime Network Log Files

Table Of Contents

Prime Network Log Files

How Prime Network Saves Log Files

Change Log File Behavior

Log Files


Prime Network Log Files


The following topics describe the logs maintained by Prime Network, and the overall logging mechanism and configurable points:

How Prime Network Saves Log Files

Change Log File Behavior

Log Files

How Prime Network Saves Log Files

Each Prime Network module writes a log file to its own folder within the NETWORKHOME/Main/logs folder. Log sizes are limited to 4 MB by default. When a log file reaches its maximum size, Prime Network does the following:

Zips the log file and appends a number to the backup file.

Starts a new log file.

In the following example, the oldest file is process.log.2.gz, and process.log is the current log file.

11:42 PM      4,481,607      process.out 
07:22 AM      5,120,447      process.out.1.gz 
03:17 AM      5,120,105      process.out.2.gz 

When process.log exceeds the maximum size, the following happens:

The contents of process.out.2.gz are moved to process.log.3.gz.

The contents of process.out.1.gz are moved to process.log.2.gz.

The contents of process.out are moved to process.log.1.gz.

A new log files is started (process.log).

Prime Network saves a maximum of 10 log files for each process. When the number of backups exceeds 10, the oldest file is deleted.

You can change the maximum log file size and the maximum number of backup log files by following the procedure in Change Log File Behavior.

For a complete list of log files, see Log Files.

Log Files and Server Restarts

Whenever the Prime Network server is restarted, all log files are moved to NETWORKHOME/Main/logs/old.

Prime Network saves a maximum of 3 "older" sets of log files in these directories:

NETWORKHOME/Main/logs/old
NETWORKHOME/Main/logs/older
NETWORKHOME/Main/logs/oldest

For example, if a newly-installed Prime Network gateway server has been restarted once, the following happens:

The contents in NETWORKHOME/Main/logs are moved to NETWORKHOME/Main/logs/old.

The latest log files are stored in NETWORKHOME/Main/logs.

If the gateway server is restarted a second time, the following happens:

The contents in NETWORKHOME/Main/logs/older are moved to NETWORKHOME/Main/logs/oldest.

The contents in NETWORKHOME/Main/logs/old are moved to NETWORKHOME/Main/logs/older.

The latest log files are stored in NETWORKHOME/Main/logs.

For a complete list of log files, see Log Files.

Change Log File Behavior

Log file behavior is managed by the settings in NETWORKHOME/Main/scripts/log.pl. To change the number of log files that are saved, or to change the maximum log size, change the following settings in log.pl:

$LASTLOGINDEX = 10;             # max file index to backup. 
$MAXSIZE = 1024*1024*4;         # max file size - hitting that size will cause rollover 

You must restart the gateway server for your changes to take effect.

For a complete list of log files, see Log Files.

Log Files

Table B-1 lists the log files that are stored on the gateway server.You can view these files using any text editor. To view a log file for the VNE Customization Builder, you must first specify a log file name using the procedure documented in the Cisco Prime Network 3.10 Customization Guide.

Table B-1 Gateway Server Log Files 

Gateway Server Log File
Component
Log Files Located in NETWORKHOME/Main/logs

0.out

Switch Virtual Machine (handles communication with unit servers)

11.out

Gateway server

25.out

Event persistence

35.out

Gateway server (CE service discovery)

66.out

Workflow Engine

76.out

Jobs scheduler

77.out

Change and Configuration Management

78.out

VNE topology

83.out

TFTP server (Change and Configuration Management)

84.out

Report manager

99.out

Management Virtual Machine (unit server management)

100.out

Event Collector

nnn.out

User-created AVM nnn management

nnn.log.restartx

AVM restart information for AVM nnn (x can be 1-5)

dmctl.log

 

drivers/ivne-install-log-mmddyy-hhmmss

Device Package installation log (web repository or local folder)

drivers_rollback_mmddyy-hhmmss.log

Device Package rollback log

drivers_backup_mmddyy-hhmmss.log

Device Package backup log

emdb

Logs related to embedded Oracle database

haevents.log

Unit server high availability events

license_server.log

License server

mvm.log

System restart log

mvmcsh.log

System restart log (units) (for units, indicates if files were properly copied from gateway on unit restart)

nccmDeviceMgr.log

 

old (directory)

Logs from last session

older (directory)

Logs from 2 sessions earlier

oldest (directory)

Logs from 3 sessions earlier

setup_xmp_nccm.log

Change and Configuration management installation log

Log Files Located in /var/adm/cisco/prime-network/logs

install-log-xxxxxxxxxx1

Prime Network installation log

uninstall-log-xxxxxxxxxx1

Prime Network uninstallation log

verbose-xxxxxxxxxx1

Prime Network installation log (verbose format)

verbose-uninstall-xxxxxxxxxx1

Prime Network uninstallation log (verbose format)

Other Log Files

NETWORKHOME/XMP_Platform/logs/ConfigArchive.log

Configuration Management log file

NETWORKHOME/XMP_Platform/logs/JobManager.log

Job Manager log file (for Change and Configuration Management jobs)

NETWORKHOME/XMP_Platform/logs/NEIM.log

Network Element Image Management log file

NETWORKHOME/XMP_Platform/logs/NccmGUI.log

Change and Configuration Management GUI client log file

NETWORKHOME/XMP_Platform/logs/Startup.log

XMP server startup log file

$ORACLE_BASE/ana_logs

Prime Network embedded database log

$FLEXNET_HOME/logs

Prime Network license log (Flexnet and liccontrol)

NETWORKHOME/.replication

Used for ADG gateway geographical redundancy to record local and remote timestamps used by GWSync.

NETWORKHOME/.replication_remote

NETWORKHOME/.replication_log

Used for ADG gateway geographical redundancy to log when local and remote timestamps are more than 10 minutes apart (and a System event is generated).

NETWORKHOME/oracle_monitoring.log

Used for ADG gateway geographical redundancy to provide information on the Redo-apply log from the standby server.

NETWORKHOME/Main/network-conf-xxxxxxxxxx.log1

Output of network-conf portion of installation session

NETWORKHOME/Main/ha/logs

Gateway server high availability

NETWORKHOME/Main/mvmcsh.log

Used for debugging purposes

NETWORKHOME/Main/restarts.log

Used for debugging purposes

/var/log/messages

Used for RHCS local gateway redundancy

1 xxxxxxxxxx is a random unique identifier.