2014-06-11

sun cluster clear stop failed on resource

- if The name of the resource and resource group that are in STOP_FAILED state
     Clear the STOP_FAILED error flag on the resources. 
# clresource clear -f STOP_FAILED -n nodelist resource
-f STOP_FAILED
Specifies the flag name.
-n nodelist
Specifies a comma-separated list of the names of the nodes where the resource is in the STOP_FAILED state. The list may contain one node name or more than one node name.
resource

Specifies the name of the resource.

2014-04-22

set new dumpdevice

After install  Solaris  and set  mirror on disk you must set new dumpdevice for dump file

root@xxhost # dumpadm -d swap 
      Dump content: kernel pages
       Dump device: /dev/md/dsk/d1 (swap)
Savecore directory: /var/crash
  Savecore enabled: yes
   Save compressed: on

2013-11-26

Down SUN Cluster all node

#scshutdown –y –g 0

command to shutdown all cluster nodes to OK prompt

2012-03-02

2011-09-21

Sun cluster add mountpoint more 256 character

on sun cluster if you add mountpoint by #clsetup
you can not add more 256 character to mountpoint but you can save it by
#clresource set -p FilesystemMountPoints="(any old mountpoint),(new mount point ) " Resource-name
Ex:
#clresource set -p FilesystemMountPoints="/oradata1/database1,/oradata2/database1,/oradata20/database1 " database1-rs

then:
/oradata20/database1 is a new mountpoint
database1-rs is resource name
.....

2010-09-15

Find WWN on Linux

# systool -c fc_host -v
# systool -c fc_transport -v

2010-08-24

stop-start sendmail on AIX

1. Verify if sendmail is running. “ps -ef | grep sendmail“.
2. Stop sendmail. “stopsrc -s sendmail”
3. Verify if sendmail is running. “ps -ef | grep sendmail“.
No process should be returned.
4. Start sendmail. “startsrc -s sendmail -a “-bd -q30m”“.
-bd will start the sendmail as a SMTP mail relay router.
-q will the the interval in which the sendmail daemon will process save messages. If none is provided the daemon will default to instant processing.
5. Verify if sendmail is running. “ps -ef | grep sendmail“.