OBSOLETE Patch-ID# 112481-06
Keywords: Sun Fire 15K SMS
Synopsis: Obsoleted by: 112481-07 SMS 1.2: fomd, hwad, esmd, pcd patch
Date: Oct/08/2002

Install Requirements: See Special Install Instructions                      
                      
Solaris Release: 8 9

SunOS Release: 5.8 5.9

Unbundled Product: System Management Services

Unbundled Release: 1.2

Xref: 

Topic: SMS 1.2: fomd, hwad, esmd, pcd patch

Relevant Architectures: sparc

BugId's fixed with this patch: 4474780 4508204 4527712 4527943 4529783 4533704 4549088 4558869 4559093 4592929 4593197 4614577 4615163 4616742 4617507 4618415 4618608 4618703 4622245 4624502 4629480 4632832 4634326 4638290 4638828 4641930 4643724 4647053 4649819 4654482 4655774 4659393 4667446 4670348 4670861 4671526 4671529 4671531 4671914 4673087 4673276 4674350 4674732 4675137 4676477 4680427 4684413 4699827 4717185 4719394 4722664 4724771 4755000

Changes incorporated in this version: 4527712 4533704 4559093 4617507 4622245 4632832 4649819 4654482 4684413 4699827 4724771 4755000

Patches accumulated and obsoleted by this patch: 112483-05 112484-02 112599-01 112633-01 112827-01

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/etc/opt/SUNWSMS/SMS1.2/config/esmd_tuning.txt
/etc/opt/SUNWSMS/SMS1.2/config/fomd.cf
/etc/opt/SUNWSMS/SMS1.2/startup/sms
/opt/SUNWSMS/SMS1.2/bin/esmd
/opt/SUNWSMS/SMS1.2/bin/fomd
/opt/SUNWSMS/SMS1.2/bin/hwad
/opt/SUNWSMS/SMS1.2/bin/marginvoltage
/opt/SUNWSMS/SMS1.2/bin/pcd
/opt/SUNWSMS/SMS1.2/bin/poweroff
/opt/SUNWSMS/SMS1.2/bin/showenvironment
/opt/SUNWSMS/SMS1.2/bin/showfailover
/opt/SUNWSMS/SMS1.2/lib/libESMD.so.1
/opt/SUNWSMS/SMS1.2/lib/libFOMD.so.1
/opt/SUNWSMS/SMS1.2/lib/libI2cCommProxy.so.1
/opt/SUNWSMS/SMS1.2/lib/libKeyswitch.so.1
/opt/SUNWSMS/SMS1.2/lib/libPower.so.1

Problem Description:

4527712 poweroff other SC should check if it provides clk src to any running domain brds
4533704 esmd can be out of step w/ actual power state of rev 2 MCPU boards for ~30 secs
4559093 ESMD needs to monitor clock phase lock
4617507 ESMD should set/clear MAN_OVERRIDE based on component's clock inputs
4622245 Not all fomd resets attempt a graceful shutdown first
4632832 hwad will return timeout error reading temps, even tho it has valid data
4649819 request operator to confirm poweroff of bulk power supply; poweron of BPS is NOO
4654482 hwad deadlocks because of 4647410, need to implement workaround
4684413 takeover in response to env condition on main SC/SCPER does not seem to work
4699827 Deconfigure L1 boards should reset Darb ports if necessary
4724771 LibPower should send events sychronously
4755000 sms startup script does not fully handle return code 255 from ssh.
 
(from 112481-05)
 
4508204 fomd shouldn't use R* services
4529783 fomd core dumps logging an error message after failing to copy a file
4647053 sms start fails with no reason given when the gchip/echip/consbus fail scpost
4719394 "fomd" logs the message " rsh enabled " when "rsh" and "ssh" are both disabled
4722664 fomd should check UID in .fomd_uids.cf when verifying ssh.
 
(from 112481-04)
 
4667446 setdatasync backup fails - internal error  8551
4671914 misleading message in platform log: Failover is in a failed state because...
4673276 Domains unstable after forced main SC to panic to test SC failover
4674732 Propagation/retrieval of xxx failed - unable to create transfer file
4675137 failover may not fully activate when setfailover on is run (after deactivation)
4676477 showfailover -v and log file output (showlog) do not indicate same status
 
(from 112481-03)
 
4629480 "attach ready" state of system boards must be cleared when no domains are active
4670861 New board which is inserted gets old board's board states. Can prove confusing.
 
(from 112481-02)
 
4634326 Power should set PCI cassette LEDs at board power on time
4643724 Cmd reissue timeout/AMX flow control skew when doing DBR after SC failover
4659393 DStop: Slot0 target slot transgression error when MCPU powered off in split-slot
4671526 libPower needs to clear board test status when boards are reset
4671529 deconfiguring boards in a domain with split-slot mcpu can dstop other domain
4674350 MCPU boards were powered off causing domain DStop after forced failover
 
(from 112481-01)
 
4527943 AMX0=32768 and AMX1=0 on Centerplane 1 are not equal
4618608 Stale test status for MCPU board causes cpu/mem board on same exp to fail POST
4618703 SMS power control needs to preserve "attach-ready" state of L1 boards
 
(from 112599-01)
 
4614577 PCD not being propagated to SPARE
4615163 fomd uses significant amount of CPU resources on s8u6
 
(from 112827-01)
 
4671531 libKeyswitch needs to deconfigure L1 boards before the expander.
 
(from 112483-05)
 
4670348 Power mode bit on the expander should be in latch mode
4680427 Support for Ch++
4717185 Showenvironment used the wrong core voltage threshold in maxcat board
 
(from 112483-04)
 
4592929 marginvoltage hPci should report margin status based on status bit not volt read
4673087 stopping sms on both SCs siumltaneously causes global domain dstop
 
(from 112483-03)
 
4474780 dxs hwad error message seen in domain logfile when pci device disconnected
4638290 enable/disable 66Mhz methods in hot plug go to the worng board
4638828 setPCIStatus fails for a set 33MHz request for 33MHz slots
 
(from 112483-02)
 
4593197 hwad core dumped
4618415 SMS deadlocked as one of the components did not release a global lock
4624502 Occasional lock timeouts still seen
 
(from 112483-01)
 
4549088 hwad gethwadClientId() can return wrong id, cause hwad to hang
4616742 Degrade bus to some exps (not all) could cause INTR not to work for these boards
 
(from 112484-02)
 
4655774 showenvironment cannot see remote SCPER ambient temperature
 
(from 112484-01)
 
4558869 esmd does not unregister w/ hwad in all transient threads
 
(from 112633-01)
 
4641930 Env. values need to be modified for new fan tray

Patch Installation Instructions:
--------------------------------
 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-8 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
        example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
        example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.
 
See Also:  System Management Services (SMS) 1.2 Installation Guide and
           Release Notes, Part No. 816-2529-10
           Chapter 1, Patches

Special Install Instructions:
-----------------------------
 
Follow these steps when installing on the SC:
1. Record which SC is the main SC.
2. Disable failover on MAIN SC (setfailover off).
3. Stop the SMS processes on both SC's simultaneously.
        /etc/init.d/sms stop
4. Install the patch on both SC's.
5. Start the SMS processes on the previous main SC first.
        /etc/init.d/sms start
6. After all the sms processes have started (i.e. you're able to run the
   showenvironment command and get all the system's status),
   start the SMS processes on the Spare SC next.
7. Enable failover on MAIN SC (setfailover on).
 
Special Installation instructions if patch 112481-05 or higher has not yet
been installed.  Once this installation has completed, future revs of this
patch can be installed per the instructions above.
 
Patch 112481-05 (or higher) enables the ability to use ssh/scp (secure
 shell/secure copy). If ssh/scp are to be used, the patch must be applied
 first, then the ssh/scp packages. For example:
 
Reference:
[1] Securing the Sun Fire 12K and 15K System Controllers
    http://www.sun.com/blueprints
 
Fresh Install OS, SMS 1.2, and the security fomd patch
------------------------------------------------------
1. Install OS
 
2. Install SMS 1.2
 
3. Install secure fomd patch on both SCs
 
4. Configure the MAN network and SMS user groups 
 
5. Reboot  
 
6. Disable failover 
    % setfailover off
 
7. Install openssh on both SCs (optional for Solaris 9)
   [1]: "To Download OpenSSH Software"
 
8. Configure Secure Shell on both SCs
   [1]: "To Use fomd With Secure Shell Instead of r*"
 
9. Create softlinks under /opt/SUNWSMS/SMS/bin/ to identify 
   the absolute locations of ssh and scp binaries on both SCs: 
 
   % cd /opt/SUNWSMS/SMS/bin/
   % ln -s <absolute_location_of_ssh> ssh
   % ln -s <absolute_location_of_scp> scp
 
   Note: Fomd falls back to rsh/rcp when not finding ssh/scp in 
         /opt/SUNWSMS/SMS/bin/, /usr/bin/, and /opt/OBSDssh/bin/
 
10. Enable failover  
    % setfailover on
 
 
Install the secure fomd patch:
------------------------------
1. Record which SC is the main SC
 
2. Disable failover on MAIN SC 
   % setfailover off
 
3. Stop SMS on both SC's simultaneously
 
4. Install the secure fomd patch on both SC's
 
5. Install openssh on both SCs (optional for Solaris 9)
   [1]: "To Download OpenSSH Software"
 
6. Configure Secure Shell on both SCs
   [1]: "To Use fomd With Secure Shell Instead of r*"
 
7. Create softlinks under /opt/SUNWSMS/SMS/bin/ to identify 
   the absolute locations of ssh and scp binaries on both SCs: 
 
   % cd /opt/SUNWSMS/SMS/bin/
   % ln -s <absolute_location_of_ssh> ssh
   % ln -s <absolute_location_of_scp> scp
 
   Note: Fomd falls back to rsh/rcp when not finding ssh/scp in 
	 /opt/SUNWSMS/SMS/bin/, /usr/bin/, and /opt/OBSDssh/bin/.
 
8. Reboot the SCs on the previous MAIN SC first  
 
9. Reboot the SCs on the previous SPARE SC next  
 
10. Enable failover on the MAIN SC
    % setfailover on 
 
 
------------------------------------- 
 
 
Post Install instructions:
 
 After applying patch 112481-02 (or higher), all expanders not servicing
 active domains must be power cycled. This is to ensure that bug 4671526
 is cleared from the system.
 
 The simplest method to do this is:
 
        % poweron -n ; poweroff -n
 
 The '-n' will answer NO to any query presented by the power commands,
 thus avoiding redundant power on actions, and protecting active domains
 from interruption.
 
--------------------------------------
 
NOTE RE: UltraSPARC III++
 
In order for the UltraSPARC III++ to work fully with this SMS version, Please
also install Post patch id : 112488-07 or higher.
Post changes recognize the new proc type. Please refer to :
RFE: 4661795 POST support for new UltraSPARC III+ processors
for more info.

README -- Last modified date:  Tuesday, October 29, 2002

