Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1313741.1
Update Date:2011-04-27
Keywords:

Solution Type  Technical Instruction Sure

Solution  1313741.1 :   Sun SPARC[TM] Enterprise M3000, M4000, M5000 - How to correct an invalid or wrong brandid setting on a configured XSCFU.  


Related Items
  • Sun SPARC Enterprise M4000 Server
  •  
  • Sun SPARC Enterprise M5000 Server
  •  
  • Sun SPARC Enterprise M3000 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>OPL Servers
  •  




In this Document
  Goal
  Solution
  References


Oracle Confidential (PARTNER). Do not distribute to customers
Reason: Internal Only process

Applies to:

Sun SPARC Enterprise M5000 Server - Version: Not Applicable and later   [Release: N/A and later ]
Sun SPARC Enterprise M4000 Server - Version: Not Applicable and later    [Release: N/A and later]
Sun SPARC Enterprise M3000 Server - Version: Not Applicable and later    [Release: N/A and later]
Information in this document applies to any platform.

Goal

Correcting an invalid or misconfigured brandid on a configured Mx000 xscfu.

An incorrect brandid can be identified by typing <tab><tab> at the XSCF prompt with the current user in "Normal" mode. This sequence will display a list of all available commands. If the command "enablecodboard" is present in the list, then the brandid is set incorrectly.

This procedure is for a configured xscfu that needs to retain a configuration. 
To perform this same procedure on a new xscfu see <Document 1313793.1>



Solution

NOTE:  Internal only process


XCP 1080 or higher is required for this procedure since the commands dumpconfig/restoreconfig were introduced in that release.

The steps below are for a network based dumpconfig.  A USB stick based dumpconfig is MUCH simpler since the network needs to be set up again manually to restore the config.

  1. Login to the xscf and initiate an escalation mode session. 
    Refer to <Document 1002928.1> for the necessary steps.
    In step #3 'enableescalation' and 'escalation' should be substituted for 'enableservice' and 'service'.

  2. Disable root logins:
    escalation# usermod -s/bin/false root

  3. dumpconfig to the USB Stick (preferred):
    escalation# dumpconfig -v file:///media/usb_msd/m5000usb.cfg
    Making sure mount point is clear
    Trying to mount USB device /dev/sda1 as /media/usb_msd
    Mounted USB device
    file ./media/usb_msd/proxytest.cfg. already exists
    Do you want to overwrite this file? [y|n]: y
    removing file .file:///media/usb_msd/proxytest.cfg. ... done
    reading database ... ..............*done
    creating temporary file ... done
    starting file transfer ...transfer from ./tmp/dumpconfig.HE1RZa. to .file:///media/usb_msd/san-ff1-54.cfg.
    done
    removing temporary file ... done
    operation completed
    Unmounted USB device

    #
    # or Dumpconfig across the network
    #
    escalation# dumpconfig -u username ftp://129.157.206.83/m4000.cfg
    Password:
    operation completed


  4. Check the current brandid setting:  ( 1 = SUN,  2 = FUJITSU,  3 = FSC )
    escalation# /scf/bin/brandid
    SunMC : off
    REMCS : on
    RCI : on
    DIMM-PCE : off
    DIDR : off
    SPDR : on
    SvcTag : off
    brandid : 2 <===
    display : 2
    escalation#

  5. Set the correct brandid:
    escalation# /scf/bin/brandid -s brandid=1
    brandid : 2 -> 1

  6. Verify the correct brandid is set ( see step 2 ).
    Settings will take effect the next time the platform is powered

  7. Clear the fru area:
    escalation# /hcp0/scfprog/bin/clearfru  # command may be located /scf/bin/clearfru

  8. Restore factory defaults:
    escalation# /scf/init/scf_initetc/setdefaults factory
    setdefaults will execute
    XSCF : all data clear
    OPNL : all data clear (exclude SYSTEM ID data)
    *** XSCF reboot then execute clear operation automatically. ***
    Are you OK? [y|n] : y
    ..... From here is shown the reboot log ......
    ***** WARNING *****
    XSCF initialization terminate for XSCF/OPNL data clear.
    execute "setdefaults factory" (AUTO)
    setdefaults : FACTORY mode clear : start
    setdefaults : FACTORY mode clear : DBS start
    setdefaults : FACTORY mode clear : wait 20s for DBS initialization
    initialize OPNL SEEPROM 1/6 -- complete
    initialize OPNL SEEPROM 2/6 -- complete
    initialize OPNL SEEPROM 3/6 -- complete
    initialize OPNL SEEPROM 4/6 -- complete
    initialize OPNL SEEPROM 5/6 -- complete
    initialize OPNL SEEPROM 6/6 -- complete
    setdefaults : FACTORY mode clear : OPNL reset complete

    ..... output deleted for readability .....
    setdefaults : FACTORY mode clear : log data clear complete
    setdefaults : FACTORY mode clear : NVRAM(PAGE#0) clear complete
    setdefaults : FACTORY mode clear : NVRAM(PAGE#1) clear complete

    ..... output deleted for readability .....

    XSCF BOOT STOP (recover by NFB-OFF/ON)

  9. Power cycle the system.

  10. Set up a user  to do the restoreconfig:
    XSCF> adduser username
    XSCF> setprivileges username platadm useradm auditadm fieldeng mode
    XSCF> password username
    New XSCF password:
    Retype new XSCF password:

  11. The next section is ONLY necessary if the dumpconfig was done across the network. 
  12. Login as username
    XSCF> setnetwork xscf#0-lan#0 -m 255.255.255.0 10.16.80.224
    XSCF> setroute -c add -n 0.0.0.0 -g 10.16.80.1 xscf#0-lan#0
    XSCF> sethostname -d cte.sun.com
    XSCF> sethostname xscf#0 v4u-m4000a-xscf-epar03
    XSCF> applynetwork
    The following network settings will be applied:
     xscf#0 hostname :v4u-m4000a-xscf-epar03
     DNS domain name :cte.sun.com
     interface :xscf#0-lan#0
     status :up
     IP address :10.16.80.224
     netmask :255.255.255.0
     route :-n 0.0.0.0 -m 0.0.0.0 -g 10.16.80.1
     interface :xscf#0-lan#1
     status :down
     IP address :
     netmask :
     route :
    Continue? [y|n] :y
    XSCF>  restoreconfig -u username ftp://129.157.206.83/m4000.cfg

  13. Or run restoreconfig from the USB stick:
    XSCF>  restoreconfig -v file:///media/usb_msd/m5000usb.cfg

  14. After restoreconfig from network or USB stick the system will need to be power cycled.

  15. Log back in and disablemodes:
    XSCF> showmodes
    Current mode: normal
    Enabled for: escalation
    Expires: Sun Jan 25 14:44:24 2009
    XSCF> disablemodes
    XSCF> showmodes
    Current mode: normal

References

<NOTE:1002928.1> - Accessing service mode on the Sun SPARC(R) Enterprise M9000/M8000/M5000/M4000/M3000 Platform
<NOTE:1313793.1> - Sun SPARC[TM] Enterprise M3000, M4000, M5000 - How to correct an invalid or wrong brandid setting on a new xscfu.

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback