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_get_port_list(3HA) Sun Cluster HA and Data Services scds_get_port_list(3HA)NAME
scds_get_port_list - retrieve the port list 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_port_list(scds_handle_t handle, scds_port_list_t **port_list
DESCRIPTION
The scds_get_port_list() function returns a list of port-protocol pairs used by the resource. Values for the protocol type are defined in
the header file <netinet/in.h>.
Free the memory allocated and returned by this function with scds_free_port_list().
PARAMETERS
The following parameters are supported:
handle The handle returned from scds_initialize()
port_list List of port-protocol pairs used by the resource group
RETURN VALUES
The scds_get_port_list() function returns the following:
0 The function succeeded.
nonzero The function failed.
ERRORS
SCHA_ERR_NOERR Indicates the function succeeded.
Other values Indicate the function failed. See scha_calls(3HA) for the meaning of failure 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_free_port_list(3HA), scha_calls(3HA), attributes(5)Sun Cluster 3.2 7 Sep 2007 scds_get_port_list(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)