scds_get_resource_group_name(3ha) [opensolaris man page]
scds_get_resource_group_name(3HA) Sun Cluster HA and Data Services scds_get_resource_group_name(3HA)NAME
scds_get_resource_group_name - retrieve the resource group name
SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
const char *scds_get_resource_group_name(scds_handle_t handle
DESCRIPTION
The scds_get_resource_group_name() function returns a pointer to a character string that is the name of the resource group containing the
resource passed to the calling program. The pointer is to memory belonging to the DSDL. Do not modify this memory. A call to scds_close()
invalidates the pointer.
PARAMETERS
The following parameters are supported:
handle The handle returned from scds_initialize()
ERRORS
NULL Indicates an error condition such as not previously calling scds_initialize(3HA)
See scha_calls(3HA) for a description of other error codes.
FILES
/usr/cluster/include/scha.h
Include file
/usr/cluster/lib/libscha.so
Library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO scds_close(3HA), scds_initialize(3HA), scha_calls(3HA), attributes(5)Sun Cluster 3.2 7 Sep 2007 scds_get_resource_group_name(3HA)
Check Out this Related Man Page
scds_fm_tcp_disconnect(3HA) Sun Cluster HA and Data Services scds_fm_tcp_disconnect(3HA)NAME
scds_fm_tcp_disconnect - terminate a tcp connection to an application
SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
scha_err_t scds_fm_tcp_disconnect(scds_handle_t handle, int sock, time_t timeout
DESCRIPTION
The scds_fm_tcp_disconnect() function terminates a TCP connection with a process being monitored.
PARAMETERS
The following parameters are supported:
handle The handle returned by scds_initialize(3HA).
sock The socket number returned by a previous call to scds_fm_tcp_connect(3HA).
timeout Timeout value in seconds.
RETURN VALUES
The following exit values are returned:
0 The function succeeded.
nonzero The function failed.
ERRORS
SCHA_ERR_NOERR Indicates that the function succeeded.
SCHA_ERR_TIMEOUT Indicates that the function timed out.
Other values Indicate that the function failed. See scha_calls(3HA) for the meaning of failure 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 |Deprecated |
+-----------------------------+-----------------------------+
SEE ALSO scds_fm_net_disconnect(3HA), scds_fm_tcp_connect(3HA), scds_initialize(3HA), scha_calls(3HA), attributes(5)Sun Cluster 3.2 7 Sep 2007 scds_fm_tcp_disconnect(3HA)
Newbie question about clusters and memory.
Is there a way using a cluster (or any other Linux feature/technology) where I can link up a bunch of PCs such that an app thinks it has more memory than available on just one local machine?
For example, we have multiple surplus PCs with 512MB RAM... (8 Replies)
Hi
I have a new mount point which is to added to to an existing resource group. I read many docs but I am not able to find the exact methods.
Could anyone help me pls. (1 Reply)
I have installed sun cluster 3.2 on two sprac servers. Configured a failover resource group. Added a LogicalHostname resource to it. LogicalHostname is also added to /etc/hosts with ip address.
I am able to access cluster by share ip used for logical hostname but when i try to switch the resource... (0 Replies)
Hello everyone,
I have two Solaris 10 servers that are on cluster. The cluster is a Sun Cluster 3.2
I have a script cronned that stop/start a ressource in a resource group everyday.
Today I have checked the status of the ressources and I found that my ressource group have a "Error--stop... (1 Reply)
Hi
Well I would like to know step by step process of adding a mountpoint in HAPLUS resource in SUN cluster as I go the below command to add a mount point but not the step by step process of adding a mount point in existing HA Plus resource.
clrs set -p FileSystemMountPoints+=<new_MP>... (3 Replies)