scds_close(3HA) Sun Cluster HA and Data Services scds_close(3HA)NAME
scds_close - free DSDL environment resources
SYNOPSIS
cc [flags...]-I
/usr/cluster/include file -L /usr/cluster/lib -l
dsdev
#include <rgm/libdsdev.h>
void scds_close(scds_handle_t*handle
DESCRIPTION
The scds_close() function reclaims resources that were allocated during data service method initialization by using scds_initialize(3HA).
Call this function once, prior to termination of the program.
PARAMETERS
The following parameters are supported:
handle The handle returned from scds_initialize().
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_initialize(3HA), attributes(5)Sun Cluster 3.2 22 Jun 2006 scds_close(3HA)
Check Out this Related Man Page
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)
hey we doing a clean up here at work and throwing out all the old PC's. Not the best like 300Mhz or around there they are.
I've grab a few since I would like to teach myself how to cluster! Only one thing. I got no idea where to start.
I know do a search on google etc. But I was wondering... (3 Replies)
I want to install a software program on a computer cluster that I have remote access to. I don't have /usr access on the cluster. I am allowed to put software on the cluster, apparently not on /usr tree.
What folder should I put program executables into so that I can access them from all my other... (3 Replies)
I would like to modify the cluster setting from
NODE_NAME hpcluster
NETWORK_INTERFACE lan1
STATIONARY_IP 10.1.1.11
NETWORK_INTERFACE lan2
HEARTBEAT_IP 10.1.2.11
to
NODE_NAME hpcluster
NETWORK_INTERFACE lan1
... (3 Replies)
Hola, he instalado mpich2 vs. 1.2.1p1 en un cluster de biprocesadores con las opciones por defecto (antes usaba ssm pero visto que se quedaba colgado, lo he dejado con nemesis).
El caso es que quisiera que cada vez que lanzo un job (por ejemplo de 2 procesos), cada proceso del trabajo se fuera... (1 Reply)
Hi experts, I have some custom application which I need to make Highly Available using red hat cluster service. How do I do it? i know in /usr/share/cluster i shall find HA agents for well known services like Apache or Sybase but I want to write HA agent for my own. I tried looking up on... (4 Replies)
I currently have in root's crontab:
20 4 * * 0,3 /usr/cluster/lib/sc/newcleventlog /var/cluster/logs/eventlog
20 4 * * 0,3 /usr/cluster/lib/sc/newcleventlog /var/cluster/logs/DS
20 4 * * 0,3 /usr/cluster/lib/sc/newcleventlog /var/cluster/logs/commandlog
there is no man page on... (1 Reply)
I am managing a linux cluster which has been build on Platform Cluster Manager PCM 1.2.1) from IBM Platform Computing. Unfortunately somebody deteled data files of postgresql from /var/lib directory. I somehow managed to start the postmaster service again, but all the administrative commands of... (2 Replies)