09-09-2009
Im a bit rusty on sun cluster so bare with me :-)
Online but not monitored means the instance or resource group is up / functioning, but on the event of a failure detected by the probe, will not be acted upon by cluster i.e. ignored by cluster.
# scswitch -u -g resource-group - makes a group unmanaged
# scswitch -0 -g resource-group - makes a group managed.
scswitch -n -M -j resource-instance - resource instance unmanaged
scswitch -e -M -j resource-instance - resource instance managed
I loved Sun cluster, lovely powerful piece of software. Becareful of dependants of resources and ping-pong values.
SBK
5 More Discussions You Might Find Interesting
1. IP Networking
Ok, I've read the manpages on netstat and it gives a good description of the state values such as CLOSE_WAIT, ESTABLISHED, SYN_RECEIVED, etc..
Can someone give me real world situations where you would get these states. LIke for example if I got SYN_RECEIVED what possible situations would be the... (1 Reply)
Discussion started by: eloquent99
1 Replies
2. UNIX for Advanced & Expert Users
I am trying to write my own Unix compliant (SUSv4) OS - Just a hobby OS, nothing serious. While going through the standard, I couldn't find any explicit information on process states. What I could find was (excluding the real-time considerations)-
From this it can be inferred that the... (2 Replies)
Discussion started by: tinkerbeast
2 Replies
3. Shell Programming and Scripting
netstat | awk '/server/ {for(i=1;i<2;i++) {getline;print}'
Output:
ESTABLISHED
ESTABLISHED
ESTABLISHED
ESTABLISHED
ESTABLISHED
TIME_WAIT
TIME_WAIT
From the above command I'm getting all the states. I want to count the states and write to a file, like
"Count of ESTABLISHED... (6 Replies)
Discussion started by: Roozo
6 Replies
4. Hardware
turbostat reports C-states of all CPU cores, and includes entries for each hyper-threaded core as well. Often enough the two logical cores on a single physical core will list different C state percentages. Does that make any sense?
Is this reporting the c-states of the few duplicated parts... (8 Replies)
Discussion started by: agentrnge
8 Replies
5. Shell Programming and Scripting
I am using HP-UX,KSH
$ jobs -l
+ 19377 Running nohup ksh cat_Duplicate_Records_Removal.ksh </dev/null >/dev/null 2>&1 &
$ ps -p 19377 -fl
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
401 S catmgr 19377 19491 ... (1 Reply)
Discussion started by: TomG
1 Replies
LEARN ABOUT OPENSOLARIS
scds_restart_rg
scds_restart_rg(3HA) Sun Cluster HA and Data Services scds_restart_rg(3HA)
NAME
scds_restart_rg - restart a resource group
SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
scha_err_t scds_restart_rg(scds_handle_t handle
DESCRIPTION
The scds_restart_rg() function performs an scha_control(3HA) SCHA_RESTART operation on the resource group containing the resource passed to
the calling program. Call this function from the fault monitor.
When this function succeeds, it does not return. Therefore, treat this function as the last piece of code to be executed in the calling
program.
PARAMETERS
The following parameters are supported:
handle The handle returned from scds_initialize(3HA)
RETURN VALUES
The scds_restart_rg() function returns the following:
0 The function succeeded.
non-zero The function failed.
ERRORS
SCHA_ERR_NOERR Function succeeded.
See scha_calls(3HA) for a description of other error codes.
FILES
/usr/cluster/include/rgm/libdsdev.h
Include file
/usr/cluster/lib/libdsdev.so
Library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
scha_calls(3HA), scha_control(3HA), scds_initialize(3HA), scds_restart_resource(3HA), attributes(5)
Sun Cluster 3.2 7 Sep 2007 scds_restart_rg(3HA)