Monthly Archives: July 2011

Clearing FMA faults on Oracle/Sun Fire T1000/T2000

After replacing a defective part on a Sun Fire T1000/T2000 boxes, we need to clear the FMA Faults. There are two ways that we can achieve this task – via the System Controller (SC) or Solaris OS. I usually prefer the path because there is no downtime required but there would be times that we need to do it on the OS side.

Clearing faults from SC:

Show the faults on the system controller

sc> showfaults -v

For each fault listed run

sc> clearfault <uuid>

If there are any disabled components run

sc> clearasrdb

Clear ereports

sc> setsc sc_servicemode true
sc> clearereports -y
sc> setsc sc_servicemode false

To clear the FMA faults and error logs from Solaris:

Show faults in FMA

[email protected]# fmadm faulty

For each fault listed in the ‘fmadm faulty’ run

[email protected]# fmadm repair <uuid>

Clear ereports and resource cache

[email protected]# cd /var/fm/fmd
[email protected]# rm e* f* c*/eft/* r*/*

Reset the fmd serd modules

[email protected]# fmadm reset cpumem-diagnosis
[email protected]# fmadm reset cpumem-retire
[email protected]# fmadm reset eft
[email protected]# fmadm reset io-retire

Reboot the system

[email protected]# reboot
or
[email protected]# shutdown -y -g0 -i6

Install EMC PowerPath License on UNIX Systems

Today we encountered a degraded policy in EMC PowerPath disk on one of our SUN/Oracle Solaris boxes. We found out that the license for our PowerPath was not properly installed on the system. With this current issue – our disks is only running on Basic Failover policy which is not recommended for CLARiiON disks. To mitigate the issue, we need to install the license and set the policy back to CLARiiON Optimization Policy.

Check the current status of the EMC PowerPath

[email protected]# /etc/powermt display dev=emcpower0a
Pseudo name=emcpower0a
CLARiiON ID=APM00063103821 [solaris]
Logical device ID=600601601C0XXXXXXXXXXXXXXXXXXX11 [LUN 356]
state=alive; policy=BasicFailover; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A       Array failover mode: 1
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3074 [email protected][email protected][email protected]/SUNW,[email protected][email protected],0 c3t500601234567890Bd0s0 SP A1
 active  alive       0      1
3074 [email protected][email protected][email protected]/SUNW,[email protected][email protected],0 c3t500601234567891Bd0s0 SP B1
 active  alive       0      0
3075 [email protected][email protected][email protected]/SUNW,[email protected],[email protected],0 c3t500601234567892Bd0s0 SP A3
 unlic   alive       0      1
3075 [email protected][email protected][email protected]/SUNW,[email protected],[email protected],0 c3t500601234567893Bd0s0 SP B3
 unlic   alive       0      0

Install the license

[email protected]# /etc/emcpreg -install
===========   EMC PowerPath Registration ===========
Do you have a new registration key or keys to enter?[n] y
Enter the registration keys(s) for your product(s),
one per line, pressing Enter after each key.
After typing all keys, press Enter again.

Key (Enter if done): ABCD-EFGH-1234-IJKL-5678-MNOP
1 key(s) successfully added.
Key successfully installed.

Key (Enter if done):
1 key(s) successfully registered.

Check if the license was installed

[email protected]# /etc/powermt check_registration
Key ABCD-EFGH-1234-IJKL-5678-MNOP
Product: PowerPath
Capabilities: All

Set the policy to CLARiiON Optimization

[email protected]# /etc/powermt set policy=co dev=emcpower0a

Check the status of the EMC PowerPath after the changes

[email protected]# /etc/powermt display dev=emcpower0a
Pseudo name=emcpower0a
CLARiiON ID=APM00063103821 [solaris]
Logical device ID=600601601C0XXXXXXXXXXXXXXXXXXX11 [LUN 356]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0;
Owner: default=SP A, current=SP A       Array failover mode: 1
==============================================================================
--------------- Host ---------------   - Stor -   -- I/O Path --  -- Stats ---
###  HW Path               I/O Paths    Interf.   Mode    State   Q-IOs Errors
==============================================================================
3074 [email protected][email protected][email protected]/SUNW,[email protected][email protected],0 c3t500601234567890Bd0s0 SP A1
 active  alive       0      1
3074 [email protected][email protected][email protected]/SUNW,[email protected][email protected],0 c3t500601234567891Bd0s0 SP B1
 active  alive       0      0
3075 [email protected][email protected][email protected]/SUNW,[email protected],[email protected],0 c3t500601234567892Bd0s0 SP A3
 active  alive       0      1
3075 [email protected][email protected][email protected]/SUNW,[email protected],[email protected],0 c3t500601234567893Bd0s0 SP B3
 active  alive       0      0

UNIX Note has a new logo

After more than a year of floating around the net. UNIX Note has a new logo!!! A very good friend of UNIX Note has given our logo a total make over. And now may we present to you our new logo:

UNIX Note BOX Logo

UNIX Note BannerTell us what you think.

This entry was posted in Uncategorized on by .