Core And Log Files; Saving The Last Core To Flash - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Core and Log Files

S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .
Core and Log Files
You can save cores (from the active supervisor module, the standby supervisor module, or any switching
module) to an external Flash (slot 0) or to a TFTP server in one of two ways:
A new scheme overwrites any previously issued scheme. For example, if you perform another core log
copy task, the cores are periodically saved to the new location or file.
Be sure to create any required directory before performing this task. If the directory specified by this
Tip
task does not exist, the switch software logs a system message each time a copy cores is attempted.
To copy the core and log files on demand, follow this step:
Command
Step 1
switch# copy core:7407 slot0:coreSample
switch# copy core://5/1524 tftp:/1.1.1.1/abcd
To copy the core and log files periodically, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# system cores slot0:coreSample
switch(config)# system cores tftp:/1.1.1.1/abcd
switch(config)# no system cores

Saving the Last Core to Flash

This last core dump is automatically saved to the flash in the /mnt/pss/ partition before the switchover
or reboot occurs. Three minutes after the supervisor module reboots, the saved last core is restored from
the flash partition (/mnt/pss) back its original RAM location. This restoration is a background process
and is not visible to the user.
Cisco MDS 9000 Family Configuration Guide
50-6
On demand—Copies a single file based on the provided process ID.
Periodically—Copies core files periodically as configured by the user.
If the core file for the specified process ID is not available, you see the following response:
switch# copy core:133 slot0:foo
No core file found with pid 133
If two core files exist with the same process ID, only one file is copied:
switch# copy core:7407 slot0:foo1
2 core files found with pid 7407
Only "/isan/tmp/logs/calc_server_log.7407.tar.gz" will be copied to the destination.
Chapter 50
Monitoring System Processes and Logs
Purpose
Copies the core file with the process ID 7407 as
coreSample in slot 0.
Copies cores (if any) of a process with PID 1524
generated on slot 5 to a TFTP server.
Purpose
Enters configuration mode.
Copies the core file coreSample to slot 0.
Copies the core file (abcd) in the specified
directory on the TFTP server.
Disables the core files copying feature.
OL-6973-03, Cisco MDS SAN-OS Release 2.x

Advertisement

Table of Contents
loading

Table of Contents