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 8 of 81

WS5000 Series Switch System Reference Guide: CH 2 Installing the System Image, pages 53 to 61

Pages 53 to 61 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 53

Installing the System Image This chapter describes how to install a new system image with the latest software on the WS5000 Series Switch. It also guides you through the CLI commands for restoring the site configuration file for the switch. This chapter contains: •

Before Installing the Image

•

Upgrading the Switch Software to 2.1

2.1 Before Installing the Image Before upgrading the software on the WS5000 Series Switch, verify the current software version and update path as described in the following section. Symbol recommends you save the configuration of the system to be upgraded onto the network using the save configuration command.

Page 54

2-2

WS5000 Series Switch System Reference Guide

Note The WS5000 Series Switch Graphical User Interface does not support this process.

After you log into the WS5000 series switch, it displays the software version. For example:. user name: cli Symbol Wireless Switch WS 5000 Series. Please enter your username and password to access the Command Line Interface. userid: admin password: ****** Retrieving user and system information... Setting user permissions flags.. Checking KDC access permissions... Welcome... Creating the Event list... System information... System Name : WS5000 Description : WS5000 Wireless Network Switch Location : Software Ver. : 2.1.0.0-xxxR Licensed to : Symbol Technologies Copyright : Copyright (c) 2000-2006. All rights reserved. Serial Number : 00A0F8545254 Number of Licenses : 48 Max Access Ports : 48 Max Mobile Clients : 4096 MU Idle Timeout value : 1800 seconds Active Switch Policy : symbol2006 Emergency Switch Policy : Not defined Switch Uptime : 00d:00h:35m Global RF stats : Disabled # of Unassigned Access Ports : 0 CLI AutoInstall Status : Enabled WS5000> Table 2.1 lists the procedures to upgrade the WS5000 Series Switch to the latest software version (xxx): Table 2.1 Procedure to Upgrade to 2.1-xxx If Your Switch Version is

To Update to 2.1-xxx

2.1.0.0-xxx

Do nothing. The wireless switch software is up to date.

2.0.0.0-xxx

Follow the procedures in Upgrading the Switch from 2.0 to 2.1 on page 2-4.

1.4.3.0-xxx

Follow the procedures in Upgrading the Switch Software to 2.1 on page 2-3

Page 55

Installing the System Image

2-3

Table 2.1 Procedure to Upgrade to 2.1-xxx If Your Switch Version is

To Update to 2.1-xxx

1.4.2.0-xxx

Follow the procedures in Upgrading the Switch Software to 2.1 on page 2-3

1.4.1.0.xxx

Follow the procedures in Upgrading the Switch Software to 2.1 on page 2-3.

1.4.0.xxx

Follow the procedures in Upgrading the Switch Software to 2.1 on page 2-3.

WS5100 1.1v49

Follow the procedures in Upgrading the Switch Software to 2.1 on page 2-3.

Any other version

Contact your Symbol Support representative.

2.2 Upgrading the Switch Software to 2.1 The WS5000 Series Switch release 2.1 enables you to upgrade to the 2.1 baseline from the platforms: •

WS5000 or 5100 running the 2.0/1.4.0/1.4.1.0/1.4.1.1/1.4.2/1.4.3/2.0 baseline.

You can upgrade the switch using the following methods: •

Upgrading Using the CLI on page 2-3

If you encounter an error during the upgrade process, then refer Recovering from Upgrade Errors on page 2-12 Note There are certain key combinations that might stop the WS5000 Boot Loader (in 1.4.x.x baseline) so that it accepts user inputs. To avoid this, do no press any key and do not enable the scroll lock on the serial console window when the upgrade or downgrade is in progress.

2.2.1 Upgrading Using the CLI Use either ssh, telnet or a serial access cable to log into the CLI. The WS5000 Series Switch software package contains: • vdate, This binary is used to get the firmware version from the DOM.This binary fails to operate over a Simpletech DOM and is used only with a Kouwell DOM.

• dominfo, This binary is used to get the DOM manufacturer information, either Simpletech DOM or Kouwell DOM. This binary is helpful when a Simpletech DOM using the latest firmware is used and the vdate fails over it.

•

PreUpgradeScript - This script uses the dominfo to get the DOM manufacturers information. If the script detects that the DOM is a Kouwell DOM only then it calls the vdate to get the firmware version. The Simpletech DOM, by default, always has the latest firmaware.

•

WS5000_v2.1.0.0-xxxx.sys.kdi, The image needed for the upgrade.

To upgrade to 2.1 using the CLI, use the following steps: 1. Upgrading the Switch from 2.0 to 2.1. 2. Upgrading the Switch from 1.4.0/1.4.1.0/1.4.1.1/1.4.2/1.4.3 to 2.1

Page 56

2-4

WS5000 Series Switch System Reference Guide a. Copy the vdate to the switch b. Copy the dominfo to the switch c.

Copy the PreUpgradeScript to the switch. Note You must run the PreUpgradeScript before you upgrade the switch.This is valid only when you upgrade the switch from 1.4.x to 2.1

2.2.1.1 Upgrading the Switch from 2.0 to 2.1 To upgrade from WS5000 2.0 to the WS5000 2.1 baseline: 1. Copy the WS5000_v2.1.0.0-xxxx.sys.img image (using ftp) to the system to be upgraded. Use the following command under the cfg mode of the CLI: WS5000.(Cfg)> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : WS5000_v2.1.0.0-xxxR.sys.img IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'WS5000_v2.1.0.0-xxxR.sys.img' from ftp:// 111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 17091650 bytes received in 10.3 seconds (1666803 bytes/s) Verifying imagefile... Valid imagefile. Completing verification. WS5000.(Cfg)> 2. Run the following command WS5000.(Cfg)> restore system WS5000_v2.1.0.0-xxxR.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 WS5000_v2.1.0.0xxxR.sys.img It might take a few minutes.......

2.2.1.2 Upgrading the Switch from 1.4.0/1.4.1.0/1.4.1.1/1.4.2/1.4.3 to 2.1 To determine whether your WS5000 Series Switch has the memory required for upgrading to xxx, run the PreUgradeScript. If the switch has the memory, the script tells you how to upgrade. If the switch does not have enough memory, the script enables you to free the memory to upgrade. To upgrade from WS5000 1.4.0/1.4.1.0/1.4.1.1/1.4.2/1.4.3 to the WS5000 2.1 baseline:

Copy the vdate to the switch WS5000.(Cfg)> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : vdate IP address of the FTP server : 111.111.111.111 Enter the user password : *******

Page 57

Installing the System Image

2-5

Copying 'vdate' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 202311 bytes received in 0.036 seconds (5.5e+03 Kbytes/s) WS5000.(Cfg)>

Copy the dominfo to the switch WS5000.(Cfg)> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : dominfo IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'dominfo' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 48346 bytes received in 0.018 seconds (2.6e+03 Kbytes/s) WS5000.(Cfg)>

Copy the PreUpgradeScript to the switch. 1. Copy the PreUpgradeScript script using tftp/ftp to the system to be upgraded using the following command under the cfg mode of the CLI. This example uses ftp. WS5000.(Cfg)> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : PreUpgradeScript IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'PreUpgradeScript' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 12514 bytes received in 0.021 seconds (5.8e+02 Kbytes/s) /bin/dedos: line 69: syntax error near unexpected token `dir' /bin/dedos: line 69: `dedos -R <dir> # recursive from dir' WS5000.(Cfg)> Note When ftping the PreUpgradeScript, the switch displays the error messages: /bin/dedos: line 69: syntax error near unexpected token 'dir' /bin/dedos: line 69: syntax error near unexpected token 'dir' Ignore these messages because they do not indicate a problem in ftp'ing the

Page 58

2-6

WS5000 Series Switch System Reference Guide script. Just verify the size of the script ftp'ed matches with the actual one. 2. Enter the CLI service mode: WS5000.(Cfg)> .. WS5000> service Enter CLI Service Mode password: ******** Enabling CLI Service Mode commands...... done. SM-WS5000> 3. Change the script’s access permissions to make it executable (x): SM-WS5000> launch -c chmod +x /image/PreUpgradeScript 4. Run the script. SM-WS5000> launch -c /image/PreUpgradeScript freemem The script looks for free space on the disk. If it finds the space, it displays the following: SM-WS5000> launch -c /image/PreUpgradeScript freemem 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 check for the version of DOM firmware checking DOM firmware Verifying vdate Checksum vdate Checksum Verification Passed Current Firmware Version Version Date: 040928b9

Page 59

Installing the System Image

2-7

Dom Firmware up to date - Done Finding out the Free Space Needed ... !! Total Free Space on the System: 150 (in MB) OK. Required space to do the upgrade exists .. !! SM-WS5000> Note While running the PreUpgradeScript, you may encounter two problems. Scenario 1: The switch may not have enough space to upgrade. Scenario 2: The switch may ask you to upgrade the DOM firmware before upgrading. Scenario 1 If there is not enough space for the upgrade procedure, the script displays: SM-WS5000> launch -c /image/PreUpgradeScript freemem Verifying dominfo Checksum dominfo Checksum Verification Passed checking type of DOM Showing details of DOM Model Number______________________: HYPERSTONE FLASH DISK Serial Number_____________________: HyFlash 00002973 Controller Revision Number________: 14/05/02 Able to do Double Word Transfer___: No Controller buffer size (bytes)____: 512 Transfer Speed____________________: Drive Type________________________: IORDY Su pported___________________: 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_______________: 1004 Number of Heads___________________: 8 Number of Sectors per Track_______: 32 This is a Kouwell DOM which needs to check 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 Finding out the Free Space Needed ... !! Total Free Space on the System: 33 (in MB) Not enough space to continue with upgrade ... !! NOTE: Freeing up the space makes you committed for upgrade .. !!

Page 60

2-8

WS5000 Series Switch System Reference Guide

Please continue with upgrade after this, as freeing might make the current system unusable .. !! Do you want to free some space (y/n): If the script does not find the required space, it displays: Do you want to free some space (y/n): y Trying to find out how much space can be freed .. !! /image/*.img: File or directory doesn't exist /image/*.txt: File or directory doesn't exist /WS5x00Switch/CC/*txt*: File or directory doesn't exist Image Space 0 Txt Space 0 PG Space 3 Apache Space 7 SNMP Space 2 Log Space 0 Total Space that can be freed : 12 Saving the Configuration before Freeing the space .. !! Saving wireless network management configuration... Configuration saved successfully. Found the space to be freed .. Freeing .. !! SM-WS5000> Scenario 2 At times you may also need to update the DOM firmware when the switch fails to run the preupgrade script. In such a case the script displays: Note If you do not wish to upgrade the firmware, then you can use the following CLI command: launch -c /image/PreUpgradeScript freemem nofwcheck SM-WS5000> launch -c /image/PreUpgradeScript freemem Verifying dominfo Checksum dominfo Checksum Verification Passed checking type of DOM Showing details of DOM Model Number______________________: Kouwell DOM Serial Number_____________________: HyFlash 00002798 Controller Revision Number________: 01/10/09 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

Page 61

Installing the System Image

2-9

DMA Supported_____________________: No Number of ECC bytes transferred___: 4 Number of sectors per interrupt___: 1 Number of Cylinders_______________: 1004 Number of Heads___________________: 8 Number of Sectors per Track_______: 32 This is a Kouwell DOM which needs to check for the version of DOM firmware checking DOM firmware Verifying vdate Checksum vdate Checksum Verification Passed Current Firmware Version Version Date: 011012b9 Need Dom Firmware Upgrade..Aborting upgrade Please upgrade the DOM Firmware before upgrading SM-WS5000> Execute the following steps to upgrade the DOM firmware: •

Copy the WS5k_domfix.cfg file to the switch

SM-WS5000> copy ftp system -u ftpuser -m bin Enter the file name to be copied from FTP server : WS5k_domfix04.cfg IP address of the FTP server : 111.111.111.111 Enter the user password : ******* Copying 'WS5k_domfix04.cfg' from ftp://111.111.111.111 to Switch... Data connection mode : BINARY (Connecting as 'ftpuser') Status : Transfer completed successfully 12514 bytes received in 0.021 seconds (5.8e+02 Kbytes/s) /bin/dedos: line 69: syntax error near unexpected token `dir' /bin/dedos: line 69: `dedos -R <dir> # recursive from dir' SM-WS5000> •

Enter the CLI service mode and execute the WS5k_domfix.cfg file.

SM-WS5000> exec Executing CLI Service Mode command file .... Enter the command file name: WS5k_domfix.cfg Current firmware version Version Date: 011012b9 Version Date: 011012b9 Need firmware upgrade Shutting down Cell controller.. Shutting down snmpd agent.....done. Shutting down apache server...done. Shutting down cell controller......done. Cell controller successfully shut down.