|
This appendix explains how to re-install LightStream 2020 software onto the hard disk(s) of a LightStream 2020 (LS2020) enterprise ATM 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 or the installation of new or replacement hardware occurs. 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 are described below:
You may also receive:
Before installing the software, ensure that the write protection switch on each diskette is set to "protect" or "read only."
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 listed and described in the LightStream 2020 Installation Guide.
The installation takes about 25 minutes per NP.
To ensure a clean installation, this section includes a procedure for reformatting the hard disk. Reformatting destroys all existing files on the disk.
If you are upgrading an operating LS2020 system to a new software release, follow the instructions in the release notes you received with the software. Those instructions will preserve site-specific information on your system, such as configuration files. The procedures in this appendix tell you how to clear the hard disk and perform a full software installation; they are not designed for upgrades.
The procedures in this section use the following commands:
'.
(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.
Follow this procedure to establish a connection to the NP you want to load, and reboot it in preparation for loading the software.
Step 1 If your prompt says TCS hub<<A>> or TCS hub<<B>>, or if the system is powered down, skip to Step 2. If your prompt says bash# or single-user$, type '.
to get to the TCS hub.
Step 2 Power up the system or use the reset <slot#> command at the TCS hub prompt to reset the NP in a running node. (The NPs reside in slots 1 and 2.) The following example shows that you are resetting the NP in slot 1:
reset 1
Step 3 Quickly use the connect <slot#> command to connect to the NP where you want to install the software. This example assumes that you are connecting to the NP in slot 1:
connect 1
Step 4 When you connect, the NP may still be running POST. Then the following countdown appears on your screen. Press [Return] immediately.
'.
to get to the TCS hub again, then use the reset <slot#> command as described in Step 2. Repeat Step 3 and Step 4.
Step 5 Insert the boot diskette into the disk drive of the active NP. (Hold the disk with the label facing up and insert the edge with the metal slider first.)
Step 6 The following menu appears on the screen:
At the Option> prompt, type 2 and press [Return].
The system takes about 4 minutes to boot, then displays the single-user$ prompt.
Caution Do not remove the boot diskette from the drive until instructed to do so. The NP is now using the boot diskette as its root file system and will not function properly if the diskette is removed before rebooting. |
Perform the following steps to reformat the hard disk, run the date and time script, and load the boot diskette.
Caution This procedure destroys the contents of the hard disk. |
Step 1 To erase the hard disk and start a script that prompts you for the date and time, use the freshdisk command:
freshdisk
Step 2 The system prompts you to enter time and date information:
300
9405041607
[Return]
(The second "Enter date" prompt is for confirmation.)
Step 3 Next, the system prepares to reformat the hard disk by asking you for confirmation:
Y
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:
Step 4 At the single-user$ prompt, reboot the NP by entering:
single-user$ reboot -n
Step 5 The following menu appears on the screen:
At the Option>
prompt, type 5
and press [Return].
Step 6 The system boots from the hard disk in about 10 seconds, then displays the single-user$ prompt.
Step 7 If you are using the boot diskette, press the button on the floppy drive to eject it.
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, below, 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.
Step 1 Put System Disk 1 into the floppy disk drive and type:
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.
Step 2 Use the swinstall command to install software from the remaining diskette sets. (You must re-enter the command for each set.) The diskettes in each series are numbered; always insert diskette number 1 first. Install the remaining software in the following order:
Step 3 At the prompt, type the swchgver command, which activates the newly installed software, copies new images to the flash EEPROMs on the function cards if needed and then resets the line cards, and reboots the NP. If there is another NP in this chassis, and it is active (so that the chassis is operational), use the switches -nolinecardreset and -noflashupdate. The switches prevent the execution of swchgver on this inert NP from disrupting the rest of your system.
The commands and their output are shown below.
For the case of a second NP in a system that is operating:
swchgver -nolinecardreset -noflashupdate
For the first of two inert NPs being installed or for a system with a single NP:
swchgver
Forcing reset of line cards.Step 4 The bootstrap sequence and basic configuration procedure are described in the LightStream 2020 Installation Guide. When you complete basic configuration, return to Step 5 for instructions on how to proceed.
Step 5 Find the best description of your situation in Table A-1 and proceed as indicated.
Number of NPs | What You've Already Done | What to Do Now |
---|---|---|
1 | Installed software and performed basic configuration | Use the LightStream 2020 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 LightStream 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 LightStream 2020 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. |
|