Powered By Blogger

Thursday, July 30, 2009

Clear Faults on Sun Fire2900

lom> showchs -b

lom>showchs -c /N0/SB0 -v

lom>service

lom[service]>setchs -s ok -r "Case#" -c /N0/RP2

lom[service]>setchs -s ok -r "Case#" -c /N0/SB0

Monday, July 13, 2009

Command to enable the disable component-Solaris

-> showcomponent
-> enablecomponent
-> clearasrdb


It will clear all disbled components

-> showcomponent

Friday, June 19, 2009

Below is SUN man page output for better understanding :
# fmdump -v -u d05a9f16-e969-4988-d340-dea1b54bd307TIME
UUID SUNW-MSG-IDAug 17 07:18:43.9562 d05a9f16-e969-4988-d340-dea1b54bd307 SUN4U-8000-2S100% fault.memory.dimmFRU: mem:///component=J0202rsrc: mem:///component=J0202
Once the DIMM(s) have been replaced, the command fmadm faulty should be run to see the status of the memory involved.
Example:
# fmadm faulty
STATE RESOURCE / UUID——– ———————————————————————-degraded mem:///component=J02029f32d247-869f-c9f2-949b-d9ec88b09640——– ———————————————————————-
Then fmadm repair should be run to remove the memory from the faulty list.
# fmadm repair mem:///component=J0202
fmadm: recorded repair to mem:///component=J0202
Verifying the results: After issuing the above commands, you can check the status of memory modules by issuing fmadm faulty command. this time it will not list any results.

Friday, May 8, 2009

Steps for Installing Solaris patch cluster

1. Check all mirrors for "needs maintenance", and if there are any, "metasync" those.

2. "metadetach" the mirror

3. "init 0"

4. "OK> boot -s"

5. If necessary, "zfs mount -a" to get everything mounted in single-user

6. "install_cluster"

7. "init 0"

8. "boot -r"
9. "metattach" the mirror that was broken

Friday, May 1, 2009

Some ZPOOL commands

bash-3.00# /usr/sbin/zpool history
History for 'pool_name':
2009-05-01.15:14:12 zpool create pool_name c2t50060482D52D2E56d10 c2t50060482D52D2E56d11
2009-05-01.15:16:29 zfs create pool_name /u001
2009-05-01.15:16:33 zfs create pool_name /u003
2009-05-01.15:20:33 zfs set mountpoint=/u001 pool_name/u001
2009-05-01.15:24:21 zfs set compression=on pool_name/u001
2009-05-01.15:24:24 zfs set compression=on pool_name/u003
2009-05-01.15:25:11 zfs set mountpoint=/u003 pool_name/u003
2009-05-01.15:31:43 zfs set mountpoint=/u003 pool_name/u003
2009-05-01.15:32:06 zfs set mountpoint=/u003 pool_name/u003
2009-05-01.15:33:36 zfs set mountpoint=/mnt pool_name/u001
2009-05-01.15:33:42 zfs set mountpoint=/u001 pool_name/u001
2009-05-01.15:37:56 zfs set compression=off pool_name/u001
2009-05-01.15:37:57 zfs set compression=off pool_name/u003


No quotas, no compression
Welcome to the UNIX world