|
|
This appendix explains how to re-install LightStream 2020 software onto the hard disk(s) of a LightStream 2020 multiservice ATM switch (LS2020 switch) that has experienced a problem.
Each LS2020 switch is shipped with all system and application software installed on its hard disk(s). A copy of the software is included on a set of floppy diskettes accompanying the hardware. Installing software from floppies is not part of a routine system installation. It is necessary only when a problem occurs or the installation of new or replacement hardware is necessary. For example, you must install software.
Each system is shipped with several sets of software diskettes, each set containing one or more diskettes. The diskette sets have three component parts:
You may also receive
Before installing the software, ensure that the write protection switch on each diskette is set to "protect" or "read only."
The following commands are used in the procedures in this appendix:
`. (single open quote, period)---Breaks a terminal connection to an NP and returns the TCS hub prompt.
reset <slot#>---TCS command that resets the card in the specified slot.
connect <slot#>---TCS command that establishes a connection to the card in the specified slot.
freshdisk---Reformats the hard disk, divides it into four partitions, builds file systems, and copies files from the boot diskette to the hard disk.
reboot -n---Sends the NP into a boot sequence with instructions to prompt you for information about the device, executable, and options to use for the boot procedure.
swinstall---Copies files from software distribution diskettes to the hard disk.
swchgver---Activates newly installed application software, reboots the NP, and starts a basic configuration script that prompts you for IP addresses and other information.
Installing Software on an LS2020 Switch
Follow the procedures in this section to transfer LS2020 software from floppy diskettes to the hard disk(s) in your switch. If your system has two NPs, you must install the software on each NP's hard disk. (It is important for the active and backup NPs in the same node to have the same software.)
During the installation process, the system prompts you for basic configuration information such as the date, IP and Ethernet IP addresses. The information you must enter is described in the LightStream 2020 Installation Guide.
The installation takes about 25 minutes per NP.
To establish a connection to the NP you want to load and reboot it in preparation for loading the software, use these steps:
At the Option> prompt, type 2 and press Return.
The system takes about 4 minutes to boot, and then displays the single-user$ prompt.
Reformatting the Disk and Loading the Boot Diskette
Use these steps to reformat the hard disk, run the date and time script, and load the boot diskette:
(The second "Enter date" prompt is for confirmation.)
The system proceeds to reformat the hard disk, divide it into four partitions, build file systems, and copy files from the floppy to the hard disk. The whole process takes about 4 minutes. You see the following on the screen:
At the Continue to the next section.
This section tells you how to install software from floppy diskettes to the hard disk, and what to do afterwards.
There are three possible states for an NP whose power is on:
The NP on which you perform the loading procedure, described in the next section, must be in the inert state. If you have followed the previous procedures in this appendix, which leave the NP in single-user mode, the NP will be inert. (If there is a second NP in the chassis, it can be in any state.)
This procedure loads the software onto the hard disk, starting with the set of system diskettes.
The system responds:
When you press Return, the swinstall script copies the system distribution files onto the hard disk. The script prompts you to insert the remaining system diskettes and displays progress messages. When the single-user$ prompt reappears, you can remove the last system diskette from the drive.
The commands and their output are as follows:
For the case of a second NP in a system that is operating:
For the first of two inert NPs being installed or for a system with a single NP:
Table A-1 : Basic Configuration Scenarios
Copyright 1988-1996 © Cisco Systems Inc.
TCS hub<<A>>
reset 1
TCS hub<<A>>
connect 1
System will boot in 5 seconds: hit <RETURN> to interrupt.
System will boot in 4 seconds: hit <RETURN> to interrupt.
System will boot in 3 seconds: hit <RETURN> to interrupt.
System will boot in 2 seconds: hit <RETURN> to interrupt.
System will boot in 1 seconds: hit <RETURN> to interrupt.
`.
to get to the TCS hub again, and then use the reset <slot#> command as described in Step 2. Repeat Step 3 and Step 4.
Network Processor bootstrap (version 1.3: Sep 13 1993)
1-Boot ATM switch application
2-Begin full installation with boot from floppy disk
3-List contents of hard disk root directory
4-List contents of floppy disk root directory
5-Boot system single-user
6-Escape to full set of bootstrap options
7-Extended help
Option>
single-user$
freshdisk
Starting the Network Processor "/bin/freshdisk" procedure
1
Step 1: Setting the system date
Set the daylight savings method to one of the following values:
0 (no daylight savings)
1 (USA)
2 (Australia)
3 (East Europe)
4 (Central Europe)
5 (Western Europe)
Daylight savings method:
Set the timezone by specifying the number of minutes west of Greenwich
Examples:
300 (US Eastern Time)
360 (US Central Time)
420 (US Mountain Time)
480 (US Pacific Time)
Minutes west of Greenwich, England:
300
At the prompt, enter a new date or press <RETURN> to continue.
The date is set to Tue May 4 16:04:57 EDT 1994
Enter date (yymmddhhmm[.ss]:
9405041607
At the prompt, enter a new date or press <RETURN> to continue.
The date is set to Tue May 4 16:07:00 EDT 1994
Enter date (yymmddhhmm[.ss]:
[Return]
Step 2: Formatting and partitioning the target disk drive
"/bin/freshdisk" will create new file systems on "/dev/sd0" and then copy to "/dev/sd0" a minimal set of utilities so that a complete system can be loaded from a tar-format source. NOTE that any existing data on "/dev/sd0" will be completely destroyed.
Do you want to continue? Y or N (default is No)
Y
Starting format and partitioning at Tue May 4 16:07:06 EDT 1994
Building a file system on /dev/sd0a
Building a file system on /dev/sd0b
Building a file system on /dev/sd0c
Building a file system on /dev/sd0d
Step 3: Making mount points for file systems and mounting them
Step 4: Copying files to the target disk
Starting file copy at Tue May 4 16:08:51 EDT 1994
Finished file copy at Tue May 4 16:10:45 EDT 1994
Step 5: Unmount the target file systems
"/bin/freshdisk" finished at Tue May 4 16:10:55 EDT 1994.
To continue installing system and application software, enter "reboot -n" and then run the "swinstall" utility.
single-user$ reboot -n
Network Processor bootstrap (version 1.3: Sep 13 1994)
1-Boot ATM switch application
2-Begin full installation with boot from floppy disk
3-List contents of hard disk root directory
4-List contents of floppy disk root directory
5-Boot system single-user
6-Escape to full set of bootstrap options
7-Extended help
Option>
Option>
prompt, type
5
and press [Return].
single-user$
swinstall
Insert the first installation diskette and press <RETURN>
ln -s /usr/app/dist/base-2.1.1/config/mma.communities /usr/app/base-2.1.1/config/mma.communities
ln -s /usr/app/dist/base-2.1.1/config/mma.trap_communities /usr/app/base-2.1.1/config/mma.trap_communities
single-user$
swchgver -nolinecardreset -noflashupdate
Rebooting the network processor.
single-user$
swchgver
Forcing reset of line cards.
Checking and downloading files for standby network processor.
Checking and downloading FLASH memory for all function cards.
Rebooting the network processor.
7.5 minutes per card.) While a flash image is being loaded into a card, the card's yellow FLT LED is lit.
Number of NPs
What You Have Already Done
What to Do Now
1
Installed software and performed basic configuration
Use the LS2020 configurator to download a full configuration to this node. Refer to the LightStream 2020 Configuration Guide for instructions on using the configurator.
2,
both need
software
Installed software and performed basic configuration on the first NP
Return to the procedure "Connecting to an NP" earlier in this appendix. For the second NP, repeat all steps from "Connecting to an NP" to the end of the appendix.
2,
both need
software
Installed software and performed basic configuration on both NPs
Use the LS2020 configurator to load a full configuration into this node. Refer to the LightStream 2020 Configuration Guide for instructions on using the configurator.
2,
only one needs software
Installed software and performed basic configuration
Stop here---your installation is complete.
1
upgrading
to 2
Installed software on the second (new) NP and performed basic configuration
Use the LS2020 configurator to add the new NP to the configuration, and then load the updated configuration into this node. Refer to the LightStream 2020 Configuration Guide for instructions on using the configurator.
![]()
![]()
![]()
![]()
![]()
![]()
![]()