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-1004229.1
Update Date:2011-04-18
Keywords:

Solution Type  Technical Instruction Sure

Solution  1004229.1 :   Clearing the FMA faults from Solaris[TM] and SC (System Controller) on Sun Fire[TM] T1000/T2000 and SPARC Enterprise[TM] T5x20/T5x40  


Related Items
  • Sun SPARC Enterprise T5440 Server
  •  
  • Sun Fire T2000 Server
  •  
  • Sun SPARC Enterprise T5120 Server
  •  
  • Sun SPARC Enterprise T5220 Server
  •  
  • Sun SPARC Enterprise T5240 Server
  •  
  • Sun Fire T1000 Server
  •  
  • Sun SPARC Enterprise T1000 Server
  •  
  • Sun SPARC Enterprise T5140 Server
  •  
  • Sun SPARC Enterprise T2000 Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>CMT Servers
  •  

PreviouslyPublishedAs
205850


Applies to:

Sun SPARC Enterprise T5140 Server - Version: Not Applicable and later   [Release: N/A and later ]
Sun SPARC Enterprise T5220 Server - Version: Not Applicable and later    [Release: N/A and later]
Sun SPARC Enterprise T5240 Server - Version: Not Applicable and later    [Release: N/A and later]
Sun SPARC Enterprise T5440 Server - Version: Not Applicable and later    [Release: N/A and later]
Sun Fire T1000 Server
All Platforms

Goal

Description
This document describes how to clear the FMA faults and error logs from Solaris[TM] and SC/ALOM or SP/ILOM level on Sun Fire[TM] T1000/T2000 and SPARC Enterprise[TM] T5x20/T5x40.

Solution

Steps to Follow

Clearing faults from SP:
a)  Show the faults on the system controller

sc> showfaults -v

b)  For each fault listed run

sc> clearfault 

c)  If there are any disabled components run

sc> clearasrdb

d)  Clear ereports

sc> setsc sc_servicemode true
sc> showfmerptlog1 -v
sc> showfmerptlog2 -v
sc> clearereports -y (if you want to clear them and start with a clean slate)
sc> setsc sc_servicemode false
sc> resetsc

Clearing faults from SP/ILOM:

a) Refer to the T5120/T5220 Service Manual for detailed steps
b) Refer to the T5140/T5240 Service Manual for detailed steps

To clear the FMA faults and error logs from Solaris:

a) Show faults in FMA

# fmadm faulty

NOTE: Do not use 'fmadm faulty -a' in this step. When you specify the -a option
all resource information cached by the Fault Manager is listed, including
faults, which have already been corrected or where no recovery action is needed
(see 'fmadm' man page). The listing also include information for resources,
that may no longer be present in the system

b)  For each fault UUID listed in the 'fmadm faulty' run

# fmadm repair <uuid>
# fmadm faulty     (to make sure the output is clean after repair)

c) Clear ereports and resource cache

# cd /var/fm/fmd
# rm e* f* c*/eft/* r*/*

d)  Reset the fmd serd modules

# fmadm reset cpumem-diagnosis
# fmadm reset cpumem-retire
# fmadm reset eft
# fmadm reset io-retire

e) Reboot the system


To clear the FMA faults and error logs from Solaris without rebooting the system:

a) Stop the fmd:

# svcadm disable -s svc:/system/fmd:default

b) Remove all files from the FMA log directories. This is very specific to the files found in the FMS directories, all directories must be left intact.

# cd /var/fm/fmd
# find /var/fm/fmd -type f -exec ls {} \;

c) Check that only files within the /var/fm/fmd directory are identified then replace the ls with rm to remove them.

# find /var/fm/fmd -type f -exec rm {} \;

d) Restart fmd after the files are removed

# svcadm enable svc:/system/fmd:default

Product
Sun Fire T1000 Server
Sun Fire T2000 Server
SPARC Enterprise T5120 Server
SPARC Enterprise T5220 Server
SPARC Enterprise T5140 Server
SPARC Enterprise T5140 Server

Internal Comments
This document contains normalized content and is managed by the the Domain Lead
(s) of the respective domains. To notify content owners of a knowledge gap
contained in this document, and/or prior to updating this document, please
contact the domain engineers that are managing this document via the "Document
Feedback" alias(es) listed below:

Domain Lead: Dencho.Kojucharov@sun.com
VSP-SPARC-Normalization@sun.com

normalized, FMA, fault, error log, SC, fmadm, showfaults, T1000, T2000, T5x20, T5x40
Previously Published As
88049

Change History
Date: 2011-02-01
User Name: Dencho Kojucharov
Action: Updated
Comment: process comments, audited by Entry-Level SPARC Content lead
Date: 2009-11-18
User Name: Anthony Rulli
Action: Updated
Comment: currency check, audited by Anthony Rulli, Entry Level SPARC Content team


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