Patch-ID# 118809-01
Keywords: qlogic 2 gb fibre channel switch firmware sanbox sanbox2 manager 5200
Synopsis: qlogic 2 gb fibre channel switch firmware sanbox sanbox2 manager 5200
Date: Jan/14/2005


Install Requirements: None                      
                      
Solaris Release: 8 9

SunOS Release: 5.8 5.9

Unbundled Product: QLogic SANbox 5200/SANbox2 firmware

Unbundled Release: 4.0.2.04

Xref: 

Topic: QLogic SANbox 5200/SANbox2 firmware

Relevant Architectures: sparc

BugId's fixed with this patch: 4703972 4784817 4942075 4942996 4962526 4980415 4993973 5076507 620462

Changes incorporated in this version: 4962526 4942996 4784817 4980415 4703972 
4942075 4993973 5076507 620462
NOTE: See the included file FirmwareReleaseNotes_4.0.2.04

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

118809-01.zip
4.0.2.04.00_mpc
4.0.2.04.00_x86
FirmwareReadme_4.0.2.04
FirmwareReleaseNotes_4.0.2.04
README.118809-01
patchinfo

Problem Description:

4962526 When installing on a Solaris x86 platform, the SUNWsmgr2 package
        installs SPARC based JRE binaries in /usr/opt/SUNWsmgr2/jre/bin.
        The SANbox_Manager startup script in /usr/opt/SUNWsmgr2/bin
        explicitly sets JAVAPATH to the SPARC JRE binaries and consequently
        fails to start the SANbox Manager GUI.
 
4942996 switch gui pop-up hung after fw upgrade to 2.0.0.5-0
 
4784817 Notify user or post a message dialog on reaching the maximum number
        of Grapher sessions.
 
4980415 ESM 2.0 doesn't show all connections in the topology
 
4703972 Provide zoning information via SNMP
 
4942075 snmp does not return correct port name
 
4993973 snmp does not return switch sensor data
 
5076507 snmp query response on Sanbox2-64 indicating ethernet port down
 
6204624 Invalid snmp data being returned
 
Revision History;
 
118809-01

Patch Installation Instructions:
--------------------------------
This is not an OS patch and is not installed with the standard patchadd(1M)
command.  After unpacking the patch, follow the "Special Install Instructions"
below to upgrade the fibre channel switch firmware.
 
This patch is not OS-dependent.
 
This patch contains firmware which is installed on the QLogic SANbox2 or SANbox
5200 FC switch model, rather than using installpatch or patchadd.
 
Followings Prerequisites for installing the new firmware; 
 
 * FTP server (Solaris host).
 
 * An ethernet connection from a Solaris host to the QLogic Switch.  To use an
ethernet connection, the QLogic SANbox2/SANbox 5200 must have an IP address
assigned and the user must know the admin password assigned to the switch.
 
* If you plan to use the SANbox Manager GUI to administer this switch, you
must upgrade to Version 4.00.12.07.  This GUI can be obtained from the QLogic
website by selecting the SUN link on the following URL:
    http://www.qlogic.com/support/drivers_software.asp
 
The old SUNWsmgr2 packaged GUI is no longer used to manage SANbox2 switches
running 4.x firmware.  See the "Special Notes" section for instructions on
how to remove the old SANbox Manager GUI.
 
* Unzip this patch into any convenient directory such as /var/tmp, and refer to
the Special Install Instructions below.
 
Notes:
1. This release consists of upgraded firmware and management GUIs.
   The updated management GUIs can be obtained from the QLogic website by
   selecting the SUN link on the following URL:
   http://www.qlogic.com/support/drivers_software.asp
 
2. SANbox 5200/SANbox2 running 4.0 firmware does not support SANbox 1G switches
   in the same fabric. SanBox2 product downgrade instructions can be found
   below in the Special Downgrade Instructions below.
 
3. The SANbox 5200 can only load 4.0 or newer version of firmware.
 
4. SANbox 5200/SANbox2 running 4.0 firmware does not support SANbox2 running
   pre-4.0 firmware in the same fabric.
 
5. VPF hard-zoning has been removed in 4.0 FW. On SANbox2 platforms running the
   older 2.0.0.5 FW, existing VPF zones will be converted to soft zones after
   upgrading to the 4.0 FW. If hard zones are still desired the ACL zone type
   is supported.
 
6. TL ports have been removed in the 4.0 FW for SANbox2 platforms. As a result
   of this feature removal the switch no longer supports FC-AL only devices
   such as the T3A. Configurations that require the use of TL_Ports should
   remain on 2.0.0.5 FW. In the event that and upgrade has already been
   performed please see the Special Downgrade Instructions below.
 
7. User Authentication is now enabled by default mandating a valid
   username/password to enter the GUI.
 
8. If you do not plan to manage any Sun StorEdge SANbox 1Gb or Sun StorEdge
   SANbox2 switches with 1.x or 2.x firmware on your SAN admin host, then you
   may safely remove any instances of the previous SANbox Manager GUI.
 
   - Remove all revs of the following patches if they exist:
     112429-xx 112433-xx 112434-xx
 
     # patchrm 112429-xx
     # patchrm 112433-xx
     # patchrm 112434-xx
 
   - Remove the SUNWsmgr2 package if it exists.
 
    # pkgrm SUNWsmgr2
 
   If you do plan to continue to manage some SANbox 1Gb or SANbox2 switches
   with 1.x or 2.x firmware from this host, you may leave the previous version 
   of SANbox Manager on the host.  It is installed in a different location and 
   can safely coexist with the 4.00.12.07 GUI version needed for the firmware
   in this patch.
 
 
Special Install Instructions;
-----------------------------
 
1. telnet to the switch
2. login using username: admin, password: password
3. enter the following commands
	SANbox2 #> admin start
	SANbox2 (admin) #> config backup
	SANbox2 (admin) #> admin end
	SANbox2 #> exit
4. Change your working directory to the directory in which the patch
   was unzipped.
 
	cd /var/tmp/118809-01
 
5. ftp to the switch
6. login using name: images, password: images
7. enter the following commands;
	> bin
	> get config
	> put 4.0.2.04.00_xxx (where xxx is mpc for SANbox 5200
				and x86 for SANbox2 products)
	> quit
8. move the config backup obtained to a safe location
	mv config $home/switch_config_backup_before_upgrade
9. telnet to the switch
10. login using username: admin, password: password
11. enter the following commands;
 
	SANbox2 #> admin start
	SANbox2 (admin) #> image unpack 4.0.2.04.00_xxx (where xxx is mpc for
				SANbox 5200 and x86 for SANbox2 products)
	Wait until you get the following response from the switch
	SANbox2 (admin) #>
	image unpack command result: Passed
	The firmware will be active after the next switch reset.
 
	a) If upgrading a switch with version 1.5 firmware or earlier
	   you must substitute the reset command for hotreset below.
	b) If upgrading a 2.0.0.5 firmware version a hotreset may be 
	   performed. For more details please see "help hotreset".
 
	SANbox2 (admin) #> hotreset
 
		Please confirm (y,n): [n] y
12. The telnet session to the switch will be lost as the new firmware is
   activated.
13. Re-login to the switch after one to two minutes to verify that the upgrade
   was succesful. Verify the reported firmware revision from the login banner.
For this patch the reported ActiveSWVersion should be V4.0.2.4-0.
 
Special Downgrade Instructions
-----------------------------
 
If a SANbox2 is running 4.0 firmware and will connect to a 2.0 fabric,
the following steps are necessary to downgrade the switch to a pre-4.0
firmware image
1) Place the switch into maintenance mode.
   A. To place the switch in maintenance mode, perform the following:
      1. Power down the switch.
      2. Press and hold the Maintenance button with a pointed tool, then power
         up the switch. All chassis LEDs will illuminate, then extinguish
         leaving only the Input Power LED illuminated. Release the button.
   B. Allow one minute for the switch to complete its tests. When the switch
      is in maintenance mode, the Input LED will be illuminated and the
      Heartbeat LED will illuminate continuously. All other chassis LEDs will
      be extinguished.
   C. Establish a Telnet session with the switch using the maintenance mode IP
      address 10.0.0.1.
   D. Enter the maintenance mode account name and password (prom, prom), and
      press the Enter key.
         [username@hostname]% telnet 10.0.0.1
         Trying 10.0.0.1...
         Connected to 10.0.0.1.
         Escape character is '^]'
         Sanbox login: prom
         Password:xxxx
      NOTE: If the username and password of prom do not work, then the attempt
            to enter maintenance mode failed. Please return to step A and pay
            close attention to step A.2.
   E. The maintenance menu displays several options. To select a switch
          option, press the corresponding number (displayed in option: field)
          on the keyboard and press the Enter key. We will return to this menu
          in a few steps.
          0) Exit
          1) Image Unpack
          2) Reset Network Config
          3) Reset User Accounts to Default
          4) Copy Log Files
          5) Remove Switch Config
          6) Remake Filesystem
          7) Reset Switch
          8) Show Firmware Versions
          9) Set Active Image Option:
2) Move to the folder or directory on the workstation that contains the 2.0
   firmware image file.
3) Establish communications with the switch using the FTP.
   Enter the following on the command line:
    # ftp 10.0.0.1
4) Use the following account name and password: user:images password: images
5) Activate binary mode and upload the firmware image file on the switch:
    ftp>bin
    ftp>put fullimage.2.0.0.05.00
6) Wait for the transfer to complete, then close the FTP session.
    xxxxx bytes sent in xx secs.
    ftp>quit
7) Return to the telnet session established with the switch and use option 1 to
   perform an image unpack.
8) Use option 6 to remake the switch's filesystem
9) Use option 7 to reset the switch
10) After the switch completes the reset, the switch will have a 4 blink code
    on the heartbeat LED. To recover, you must login to the switch and perform
    the following:
     a) enter admin mode using "admin start"
     b) perform a "config backup"
     c) perform a "config restore", and after that command is
        entered the switch will automatically reset.
11) Upon completion of the reset the heartbeat LED will be normal.
12) At this point the switch will have factory default settings. If a config
    backup was performed before the original 4.0 upgrade, now is the time to
    restore the config.
      a) # ftp 10.0.0.1
      b) login with the user:images and password: images
      c) ftp> bin
      d) ftp> put switch_config_backup_before_upgrade config
      e) ftp> quit
      f) telnet to the switch address of 10.0.0.1 and login with
         the admin username and password password.
      g) enter admin mode using "admin start"
      h) perform a "config restore", and after that command is
         entered the switch will automatically reset.
13) Upon completion of the reset the switch will be operating with the
    configuration and network settings previously saved.
 
Reference
---------
SANbox Manager installers, SANbox Manager release notes and readme files
may be found by selecting the SUN link on this URL
http://www.qlogic.com/support/drivers_software.asp 
 
For SANbox2 and SanBox 5200 documentation for firmware version 4.0, refer
to this URL:
http://www.qlogic.com/support/sunresource.asp

Special Install Instructions:
------------------------------

None.

README -- Last modified date:  Friday, January 14, 2005

