Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 9 of 81

WS5000 Series Switch System Reference Guide: CH 2 Installing the System Image, pages 62 to 70

Pages 62 to 70 of 728, from WS5000 Series Switch System Reference Guide

The original document is the PDF (12 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol WS-5000

Page 62

2-10

WS5000 Series Switch System Reference Guide

Shutting down database main thread...done. Resetting the System.. SKDB kernel debugger installed. SKDB kernel debugger installed. Configuring ethernet ports ... Waiting for network elements to get initialized....done. Flushing stale dns entries......done. Checking database integrity...done. Launching auto-configuration procedure... Waiting for DHCP lease file to be created... DHCP lease file found. Begin parsing DHCP lease file... Results: --------------------------TFTP Server : Command File: --------------------------TFTP server option not found. Exiting auto-configuration... Starting cell controller....done. Waiting for the corba file to be created.......done. Starting apache server in SSL mode...done. Starting snmpd daemon...done. SM-WS5000> 5. Copy the WS5000_v2.1.0.0-xxxx.sys.kdi image (using ftp) to the system to be upgraded. Use the following command under the cfg mode of the CLI: Note You cannot use tftp to acquire this image because the file size exceeds 32 MB.

SM-WS5000> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : WS5000_v2.1.0.0-xxxR.sys.kdi IP address of the FTP server : 1111.111.111.111 Enter the user password : ******* Copying 'WS5000_v2.1.0.0-xxxR.sys.kdi' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 39661568 bytes received in 25 seconds (1.5e+03 Kbytes/s) SM-WS5000>

Page 63

Installing the System Image

2-11

Note If you do not wish to upgrade the firmware, use the following CLI command: launch -c /image/PreUpgradeScript upgrade nofwcheck 6. Run the following command: SM-WS5000> launch -c /image/PreUpgradeScript upgrade The following details are displayed on your monitor. Enter WS5000_v2.1.0.0-xxxx.sys.kdi as image name when the procedure prompts you to - “Enter the image name”. SM-WS5000> launch -c /image/PreUpgradeScript upgrade Verifying dominfo Checksum dominfo Checksum Verification Passed checking type of DOM Showing details of DOM Model Number______________________: Kouwell DOM Serial Number_____________________: HyFlash 00003768 Controller Revision Number________: 14/05/02 Able to do Double Word Transfer___: No Controller buffer size (bytes)____: 512 Transfer Speed____________________: > 10 Mbit/sec Drive Type________________________: Removable IORDY Supported___________________: No Can IORDY be disabled by device___: No LBA Mode supported________________: Yes DMA Supported_____________________: No Number of ECC bytes transferred___: 4 Number of sectors per interrupt___: 1 Number of Cylinders_______________: 980 Number of Heads___________________: 16 Number of Sectors per Track_______: 32 This is a Kouwell DOM which needs to be checked for the version of DOM firmware Checking DOM firmware Verifying vdate Checksum vdate Checksum Verification Passed Current Firmware Version Version Date: 040928b9 Dom Firmware up to date - Done Enter the Image Name: WS5000_v2.1.0.0-xxxR.sys.kdi Verifying Image Checksum Image Checksum Verification Passed Saving the Configuration before upgrading

Page 64

2-12

WS5000 Series Switch System Reference Guide

Saving wireless network management configuration... Configuration saved successfully. Creating the configuration tar tar: Removing leading / from absolute path names in the archive. image/upgrade.cfg Copying the image Rebooting the system Shutting down snmpd agent.....done. Shutting down apache server...done. Shutting down cell controller......done. Shutting down database main thread...done. Rebooting the switch... Note You can also provide the image name a command line argument to the PreUpgradeScript. If you do this, the script does not prompt for the image name. Example: launch -c /image/PreUpgradeScript upgrade<filename> The switch reboots three times in approximately five minutes, and then displays the 2.1 image. The image has the same configuration it had before the upgrade. The serial console displays the system logs. The logs display the switch passing through each reboot state before it finally displays the 2.1 image. The telnet or ssh window displays the logs until the switch reboots the first time.

2.3 Recovering from Upgrade Errors In the unlikely event a power failure occurs during the file writing portion of the upgrade process the system may no longer boot. The most likely symptoms would be the system continuously restarting or never showing any activity on the serial console. Any system with these symptoms will need to be returned to the local Symbol Service Center for repair. See the Symbol Service Web-site http ://www.symbol.com/services/msc/msc.html for RMA procedures. If a serial console is attached to the system during the software upgrade process and the escape key is pressed at during a specific stage of the process automatic loading will be stopped. If the following message is displayed for more than 20 seconds, then a key was pressed. This problem can be rectified by pressing the ENTER key to boot the image. Note Power cycling the system when any of these screens appears will cause an unrecoverable error just like a power failure.

GNU GRUB version 0.95 (639K lower / 130048K upper memory) WS5000-2.x Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, or 'c' for a command-line.

Page 65

Installing the System Image

2-13

If any of the below two messages are displayed then press the escape key (ESC) to return to the boot selection screen Minimal BASH-like line editing is supported. For the first word, TABlists possible command completions. Anywhere else TAB lists the possiblecompletions of a device/filename. ESC at any time exits. grub> or kernel (hd0,0)/boot/vmlinuz-2.4.20_mvl31 console=ttyS0,19200 quiet initrd (hd0,0)/boot/ramdisk.img

2.4 Downgrading from 2.1 to 2.0 1. To downgrade the WS5000 switch from version 2.1 to 2.0 you need to download – Downgrade2.0.0.0-034R.sys.img. Follow the steps mentioned below to download the image: WS5000.(Cfg)> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : /home/ WS5x00Switch/builds/bf-2.1.0.0/R_BF_2.1.0.0-xxxR/downgrade/ Downgrade2.0.0.0-034R.sys.img IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'Downgrade2.0.0.0-034R.sys.img' from ftp:// 111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 15872271 bytes received in 1.9 seconds (8364374 bytes/s) Verifying imagefile... Valid imagefile. Completing verification. 2. Run the following command: WS5000.(Cfg)> restore system Downgrade2.0.0.0-034R.sys.img This command will reset the system and boot up with the new restored image. Do you want to continue (yes/no) : yes Restoring system image and configuration from Downgrade2.0.0.0034R.sys.img It might take a few minutes.......

Page 66

2-14

WS5000 Series Switch System Reference Guide

2.5 Downgrading from 2.1 to 1.4.3/1.4.2/1.4.1/1.4.0 You can downgrade a switch running WS5000 Series Switch 2.1 image to the switch running one of the following versions: •

WS5000 Series Switch 1.4.0.0 (026R)

•

WS5000 Series Switch 1.4.1.0 (014R)

•

WS5000 Series Switch 1.4.1.1 (009R)

•

WS5000 Series Switch 1.4.2.0 (005R)

•

WS5000 Series Switch 1.4.3.0 (012R) Note Save the current system configuration and image files on the network before downgrading because after you downgrade the switch, it uses the default configuration settings and the downgraded image files.

After you downgrade from 2.1 to 1.4.3/1.4.2/1.4.1/1.4.1/1.4.0 WS5000 Series Switch, the switch obtains the following files: •

Running the PreDowngrade Script

•

Running the Downgrade.exe Script

•

Downgrading the Image Version.

2.5.1 Running the PreDowngrade Script To check the system has sufficient memory for the downgrade, run the PreDowngrade script. 1. Copy the PreDowngrade script to the switch using copy ftp/tftp command: copy ftp system -u <user_name> -m bin 2. Enter the PreDowngrade script filename, IP Address, and password at the system prompt. The switch downloads the PreDowngrade script. 3. Log into the service mode CLI using service command from the cfg context (under system context). 4. Run the following service mode CLI command: exec <CR> Executing CLI Service Mode command file .... Enter the command file name: PreDowngrade.exe This script determines whether the switch has the memory required for the downgrade. If the memory is not sufficient, the script provides an option to free the memory needed. If it does not find the required memory to be freed, it stops and displays an error message. Note If you use the PreDowngrade.exe script to release memory, you must proceed with the downgrade.

Page 67

Installing the System Image

2-15

Example

WS5000.(Cfg)> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : /home/ WS5x00Switch/builds/bf-2.1.0.0/R_BF_2.1.0.0-xxxR/ downgrade/PreDowngrade.exe IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'PreDowngrade.exe' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 1059 bytes received in 0.0232 seconds (45617 bytes/s) WS5000.(Cfg)>

2.5.1.1 Executing the Predowngrade Script You have to execute the predowngrade script from the service mode. The example below explains how to execute the predowngrade scipt. WS5000> service Enter CLI Service Mode password: ******** Enabling CLI Service Mode commands...... done. SM-WS5000> exec Executing CLI Service Mode command file .... Enter the command file name: PreDowngrade.exe Finding out the Free Space Needed ... !! Total Free Space on the System: 101 (in MB) OK. Required space to do the downgrade exists .. !! SM-WS5000>

2.5.2 Running the Downgrade.exe Script After you verify the switch has enough memory for the downgrade, run the Downgrade.exe script as follows: 1. Copy the Downgrade.exe and Downgrade<x.x.x.x-xxxR>.image file to the switch using copy ftp system command copy ftp system -u <user_name> -m bin 2. Enter the Downgrade.exe filename, IP Address, and password at the system prompt. 3. Log into the service mode CLI using service command from the cfg context (under system context). 4. Run the following service mode CLI command:

Page 68

2-16

WS5000 Series Switch System Reference Guide exec <CR> Executing CLI Service Mode command file .... Enter the command file name: Downgrade.exe 5. Enter Downgrade<x.x.x.x-xxxR>.image as the image filename (<x.x.x.x-xxxR> corresponds to the version to which you downgrade the switch from 2.0). The switch is downgraded to the corresponding version. Example

SM-WS5000> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : /home/ WS5x00Switch/builds/bf-2.1.0.0/R_BF_2.1.0.0-xxxR/ downgrade/Downgrade.exe IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'Downgrade.exe' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 3500535 bytes received in 0.447 seconds (7823770 bytes/s) SM-WS5000>

2.5.3 Downgrading the Image Version 1. Copy the Downgrade<version>.image file to the switch using copy ftp system command copy ftp system -u <user_name> -m bin 2. Enter the Downgrade<version>.image filename, IP Address, and password at the system prompt. 3. Log into the service mode CLI using service command from the cfg context (under system context). 4. Enter Downgrade<x.x.x.x-xxxR>.image as the image filename (x.x.x.x-xxxR corresponds to the version to which you downgrade the switch from 2.1). 5. Run the following service mode CLI command: exec Downgrade<x.x.x.x-xxxR>.image The switch is downgraded to the corresponding version. Example

SM-WS5000> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : /home/ WS5x00Switch/builds/bf-2.1.0.0/R_BF_2.1.0.0-xxxR/downgrade/ Downgrade1.4.0.0-026R.image IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'Downgrade1.4.0.0-026R.image' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser')

Page 69

Installing the System Image

2-17

Status : Transfer completed successfully 25608008 bytes received in 8.56 seconds (2990804 bytes/s) SM-WS5000>

2.5.3.1 Executing the Downgrade Script You have to execute the Downgrade.exe from the service mode. The example below explains how to execute the Downgrade scipt. SM-WS5000> exec Executing CLI Service Mode command file .... Enter the command file name: Downgrade.exe Enter the Image Name: Downgrade1.4.0.0-xxxR.image Verifying Image Checksum Image Checksum: 60504983eac60093823e2c890ef0143b Image Checksum Saved: 60504983eac60093823e2c890ef0143b Image Checksum Verification Passed Moving the Boot Loader !!! Moving the Kernel !!! Moving the Initrd !!! Moving the Scripts !!! GNU GRUB version 0.95 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal) Running "embed /boot/grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded Done. grub> reboot Creating License Tar File !!! Rebooting Rebooting the switch... Shutting down dhcp daemon.. done Shutting down apache server in the SSL mode...done. Shutting down cell controller........ done

Page 70

2-18

WS5000 Series Switch System Reference Guide

Shutting down snmpd agent...done. Shutting down Postgres....done.