Configuring the SP Switch Router Adapter

Installing the PCMCIA spinning disk

Installing the PCMCIA spinning disk

Your system is shipped with a PCMCIA disk device that is required to collect the system log files. This disk can hold up to 520MB of data.

You can install the disk any time after the SP Switch Router is powered on and is running. Logging is not enabled until you install the disk and complete this configuration procedure. Logged messages can be helpful while you are configuring media cards.

The configuration is done only once to set up local logs and dumps, and is not affected by software updates or system reboots.

Note that the disk is used only for storage. You cannot boot the router from an external device.

Three logs provide specific information useful for monitoring and debugging SP Switch Router operations. If you are working with Customer Support, these are the three logs they will need to see:

/var/log/gr.console

/var/log/messages

/var/log/gr.boot

The /var/log directory contains other log files that collect low-level information useful primarily to system developers.

The procedure formats and initializes an external device (/dev/wd2a), temporarily mounts it on /mnt, creates subdirectories and symbolic links, and creates a permanent site file for storing the symbolic links.

Note that the iflash command can be used with a -foption that forces any data on the target device to be overwritten. When you use iflash without -f, you are informed if there is a file system already on the device and reminded that you must use the -foption to overwrite it. Because of its “force” capability, use the iflash -fcommand with caution.

The /var/portcards directory only contains media card dump files. These include the dumps from media card panics and dumps created when automatic dumping is selected via the grreset -Dcommand (media card dumps when it comes back up). The /var/crash directory contains dumps from BSD kernel crashes.

Managing PCMCIA slots

Two commands enable remote management of PCMCIA slots. The csconfig slot_number command returns status while csconfig slot_number up and csconfig slot_number down mark the specified PCMCIA slot up or down, respectively.

2-6

SP Switch Router Adapter Guide - 1.4 Update 2

Page 40
Image 40
Lucent Technologies 9077 04S, 9077 16S, 9076 manual Installing the Pcmcia spinning disk, Managing Pcmcia slots