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_get_rs_hostnames
scds_get_rs_hostnames(3HA) Sun Cluster HA and Data Services scds_get_rs_hostnames(3HA)
NAME
scds_get_rs_hostnames - get the network resources used by a resource
SYNOPSIS
cc [flags...] -I /usr/cluster/include file
-L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
scha_err_t scds_get_rs_hostnames(scds_handle_t handle,
scds_net_resource_list_t **netresource_list
DESCRIPTION
The scds_get_rs_hostnames() function retrieves a list of hostnames used by the resource. If the resource property Network_resources_used is
set, then the hostnames correspond to the network resources listed in Network_resources_used. Otherwise, they correspond to all the network
resources in the resource group containing the resource.
This function returns a pointer to the list in netresource_list. It is possible for a resource group to contain no network resources or to
contain resources that do not use network resources, so this function can return netresource_list set to NULL.
Free the memory allocated and returned by this function with scds_free_net_list(3HA).
PARAMETERS
The following parameters are supported
handle The handle returned from scds_initialize(3HA)
netresource_list List of network resources used by the resource group
RETURN VALUES
The scds_get_rs_hostnames() 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
scds_free_net_list(3HA), scds_get_rg_hostnames(3HA), scds_initialize(3HA), scha_calls(3HA), attributes(5), r_properties(5)
Sun Cluster 3.2 14 Sep 2007 scds_get_rs_hostnames(3HA)