Monday, 30 December 2013

T2000 OBP UPGRADATION

  Section 1.  Verifying that the Sun System Firmware supports this utility
  -----------------------------------------------------------------------------
   1. Check if the currently installed Sun System Firmware version supports
      the use of the sysfwdownload utility for updating from Solaris.  The
      version of Sun System Firmware running on the system to be flash-updated
      must be 6.1.10 or higher.  Consult the Install.info or other system
      documentation to determine your system's Sun System Firmware version.
      If the version of Sun System Firmware is older than 6.1.10, then you must
      use the default protocol for flash-updating via the System Controller
      NET MGT port.

  -----------------------------------------------------------------------------
  Section 2.  Installing the Sun System Firmware from Solaris
  -----------------------------------------------------------------------------
  Assuming you have verified that your system supports this utility, follow
  these steps for updating your Sun System Firmware using the sysfwdownload
  utility:
   1. Login to the system as root via the network using telnet
      or rlogin or via the System Controller SERIAL MGT port.

   2. Change directory to /tmp
          # cd /tmp/

   3. If there is not a subdirectory named 'images', then create it:
          # mkdir images

   4. Change directory to ./images
          # cd images

   5. Copy the 'sysfwdownload' binary and Sun System Firmware image
      (e.g. Sun_System_Firmware-<version>-<platform>-.bin) from the SunSolve
      site to the /tmp/images directory.

   6. Use the sysfwdownload utility to download the Sun System Firmware image
      to the System Controller:
      (In this example, we use Sun_System_Firmware-6_2_0-Sun_Fire_T2000.bin)
          # /tmp/images/sysfwdownload Sun_System_Firmware-6_2_0-Sun_Fire_T2000.bin
          .......... (10%).......... (20%).......... (30%).......... (41%).......... (51%).......... (61%).......... (71%).......... (82%).......... (92%)...
..... (100%)
          Download completed successfully.

   7. Wait until the download completes successfully.  This should take 10-15
      minutes.

   8. Power off the system.  (i.e. to standby mode).
         a) As root, exit the OS such that the system returns to the PROM's "ok"
            prompt:
            # shutdown -i0
            {0} ok
         b) Access the System Controller command line interface (CLI).  This is
            accomplished using the console escape characters. (normally "#.")
            {0} ok #.
            sc>
         c) From the System Controller CLI, issue the poweroff command
            (this sequence will take about 60 seconds to completely power the
             server off):
            sc> poweroff
            Are you sure you want to power off the system [y/n]?  y
            sc>
            SC Alert: SC Request to Power Off Host.
            SC Alert: Host system has shut down.
            sc>

   9. Make sure that your virtual keyswitch setting is not in the LOCKED position.
      You can check the setting from the System Controller CLI with the following
      command:
         sc> showkeyswitch
     If the virtual key switch is in LOCKED position you can change that
     with the following command:
         sc> setkeyswitch -y normal

 10. Flash update the downloaded Sun System Firmware image:
         sc> flashupdate -s 127.0.0.1
     '127.0.0.1' is the default address for the local host.
     As the download process progresses, a series of periods appear across your
     screen.
           .......................
     When the download process is finished, ALOM displays the message:
         Update complete. Reset device to use new software.

 11. The Sun System Firmware has now been updated. For the system to use
     the new firmware you must reset the System Controller.
     Type the resetsc command to reset ALOM.
         sc> resetsc
         User Requested SC Shutdown




 -----------------------------------------------------------------------------
 Appendix:  Manual Documentation of the sysfwdownload utility
 -----------------------------------------------------------------------------

 NAME
     sysfwdownload - downloads the system firmware image from Solaris
     (host) to the System Controller.
 SYNOPSIS
     sysfwdownload [-g(etversion)] [-h]
     sysfwdownload <file>
     sysfwdownload -u <file>
 DESCRIPTION
 The 'sysfwdownload' utility downloads the system firmware image - 'file'
 - from Solaris (host) to the System Controller.  If the 'file' is not of a
 proper Sun System Firmware image format, the utility will display an appropriate
 error message and exit.
 The sysfwdownload utility must be run as root.
 1. sysfwdownload <file>
    The sysfwdownload utility does not update/program the Sun System Firmware;
    it just downloads the image to System Controller.  After downloading the
    Sun System Firmware image, users must use the 'flashupdate' System Controller
    command from the ALOM CLI for updating/programming the Sun System Firmware
    image.
 2. sysfwdownload -u <file>
    The sysfwdownload prompts user to confirm an auto firmware update sequence
    with this message:
    WARNING: Host will be powered down for automatic firmware update when download
    is completed. Do you want to continue(yes/no)?
    If user's response is "yes/YES", the following steps are performed:
    Download System Firmware image
    Power down host
    Update System Firmware
    Reset SC
    Power on host
    User can continue logon to host or SC when system starts up with new firmware.
    CAUTION: Under conditions that the upgrade does not succeed in the ALOM/ILOM,
    users must get to ALOM/ILOM over the net or serial connection and check the
    error condition.
 OPTIONS
    -h    displays the usage information.
    -g[etversion] - For ILOM compatible platforms, gets firmware version
                    not enabled for ALOM platforms
    -u            - Download System Firmware and auto update.
 EXIT STATUS
      The following exit values are returned:
      0             Successful completion.
      non-zero      An error occurred.

      Note: When an error condition is encountered, the sysfwdownload
            utility also displays an appropriate error message on the stderr
            stream.
root@RETAILSAPT21 # ls
Install.info                                              copyright
LEGAL_LICENSE.TXT                                         sysfw670_README_docs.css
README.139434-01                                          sysfw670_README_docs.html
Sun_System_Firmware-6_7-download_SLA_and_Entitlement.txt  sysfwdownload
Sun_System_Firmware-6_7_0-SPARC_Enterprise_T2000.bin      sysfwdownload.README
Sun_System_Firmware-6_7_0-Sun_Fire_T2000.bin
root@RETAILSAPT21 # ./sysfwdownload Sun_System_Firmware-6_7_0-Sun_Fire_T2000.bin
sysfwdownload: SC communication initialization failed - "ret = -3"
Please check if current System Firmware supports the firmware installation from Solaris...

# ./sysfwdownload Sun_System_Firmware-6_7_12-Sun_Fire_T2000.bin
sysfwdownload: SP communication initialization failed - "ret = -2"
Please check if current Sun System Firmware supports the firmware installation from Solaris...


The 'sysfwdownload' method (from Solaris) is NOT supported with older firmware versions - earlier than 6.1.10. The firmware upgrade to 6.1.10 must be done as usual via the SC network management port, using the 'flashupdate' command from the sc> prompt. Once running firmware 6.1.10 firmware or later, updates from Solaris will be supported, via 'sysfwdownload'.


Solution:-


>showsc version -v
Advanced Lights Out Manager CMT v1.7
SC Firmware version: CMT 1.7.0
SC Bootmon version: CMT 1.7.0
VBSC 1.7.0
VBSC firmware built Dec 11 2008, 13:51:17
SC Bootmon Build Release: 01
SC bootmon checksum: 89A76C05
SC Bootmon built Dec 11 2008, 14:01:32
SC Build Release: 01
SC firmware checksum: 97A9A75C
SC firmware built Dec 11 2008, 14:01:47
SC firmware flashupdate SEP 17 2013, 15:52:50
SC System Memory Size: 32 MB
SC NVRAM Version = 14
SC hardware type: 4
FPGA Version: 4.1.10.7


D102XRTSAP-SC> flashupdate -s 10.25.12.89 -f /home/139434-09/Sun_System_Firmware                                                                             -6_7_12-Sun_Fire_T2000.bin -v
Username: root
Password: ****


SC Alert: System poweron is disabled.
flashupdate: validating image...
Programming ALOM flash.
Erasing segment     0
Programming segment 0
Erasing segment     1
Programming segment 1
Erasing segment     2
Programming segment 2
Erasing segment     3
Programming segment 3
Erasing segment     4
Programming segment 4
Erasing segment     5
Programming segment 5
Erasing segment     6
Programming segment 6
Erasing segment     7
Programming segment 7
Erasing segment     8
Programming segment 8
Erasing segment     9
Programming segment 9
Erasing segment     a
Programming segment a
Erasing segment     b
Programming segment b
Erasing segment     c
Programming segment c
Erasing segment     d
Programming segment d
Erasing segment     e
Programming segment e
Erasing segment     f
Programming segment f
Erasing segment     10
Programming segment 10
Erasing segment     11
Programming segment 11
Erasing segment     12
Programming segment 12
Erasing segment     13
Programming segment 13
Erasing segment     14
Programming segment 14
Erasing segment     15
Programming segment 15
Erasing segment     16
Programming segment 16
Erasing segment     17
Programming segment 17
Erasing segment     18
Programming segment 18
Erasing segment     19
Programming segment 19
Erasing segment     1a
Programming segment 1a
Erasing segment     1b
Programming segment 1b
Erasing segment     1c
Programming segment 1c
Erasing segment     1d
Programming segment 1d
Erasing segment     1e
Programming segment 1e
Erasing segment     1f
Programming segment 1f
Erasing segment     20
Programming segment 20
Erasing segment     21
Programming segment 21
Erasing segment     22
Programming segment 22
Erasing segment     23
Programming segment 23
Erasing segment     24
Programming segment 24
Erasing segment     25
Programming segment 25
Erasing segment     26
Programming segment 26
Erasing segment     27
Programming segment 27
Erasing segment     28
Programming segment 28
Erasing segment     29
Programming segment 29
Erasing segment     2a
Programming segment 2a
Erasing segment     2b
Programming segment 2b
Erasing segment     2c
Programming segment 2c
Erasing segment     2d
Programming segment 2d
Erasing segment     2e
Programming segment 2e
Erasing segment     2f
Programming segment 2f
Erasing segment     30
Programming segment 30
Erasing segment     31
Programming segment 31
Erasing segment     32
Programming segment 32
Erasing segment     33
Programming segment 33
Erasing segment     34
Programming segment 34
Erasing segment     35
Programming segment 35
Erasing segment     36
Programming segment 36
Erasing segment     37
Programming segment 37
Erasing segment     38
Programming segment 38
Erasing segment     39
Programming segment 39
Erasing segment     3a
Programming segment 3a
Erasing segment     3b
Programming segment 3b
Erasing segment     3c
Programming segment 3c
Erasing segment     3d
Programming segment 3d
Erasing segment     3e
Programming segment 3e
Erasing segment     3f
Programming segment 3f
Validating flash image crc..............ALOM was programmed sucessfully.
Programming HOST flash.
Erasing segment     0
Writing segment     0
Erasing segment     1
Writing segment     1
Erasing segment     2
Writing segment     2
Erasing segment     3
Writing segment     3
Erasing segment     4
Writing segment     4
Erasing segment     5
Writing segment     5
Erasing segment     6
Writing segment     6
Erasing segment     7
Writing segment     7
Erasing segment     8
Writing segment     8
Erasing segment     9
Writing segment     9
Erasing segment     a
Writing segment     a
Erasing segment     b
Writing segment     b
Erasing segment     c
Writing segment     c
Erasing segment     d
Writing segment     d
Erasing segment     e
Writing segment     e
Erasing segment     f
Writing segment     f
Erasing segment     10
Writing segment     10
Erasing segment     11
Writing segment     11
Erasing segment     12
Writing segment     12
Erasing segment     13
Writing segment     13
Erasing segment     14
Writing segment     14
Erasing segment     15
Writing segment     15
Erasing segment     16
Writing segment     16
Erasing segment     17
Writing segment     17
Erasing segment     18
Writing segment     18
Erasing segment     19
Writing segment     19
Erasing segment     1a
Writing segment     1a
Erasing segment     1b
Writing segment     1b
Erasing segment     1c
Writing segment     1c
Erasing segment     1d
Writing segment     1d
Erasing segment     1e
Writing segment     1e
Erasing segment     1f
Writing segment     1f
Erasing segment     20
Writing segment     20
Erasing segment     21
Writing segment     21
Erasing segment     22
Writing segment     22
Erasing segment     23
Writing segment     23
Erasing segment     24
Writing segment     24
Erasing segment     25
Writing segment     25
Erasing segment     26
Writing segment     26
Erasing segment     27
Writing segment     27
Erasing segment     28
Writing segment     28


Update complete. Reset device to use new software.
SC Alert: SC firmware was reloaded

 

No comments:

Post a Comment