ha_close(3HA) - Once a data service has finished with a snapshot by some previous call to ha_open(3HA), the data service should call ha_close(3HA) to release the snapshot, the handle, and all associated memory.
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_open(ha_handle_t *handlep);
ha_error_t ha_close(ha_handle_t handle);
|
ha_get_calls(3HA) - These are used by data services to obtain selected Sun Cluster configuration and state information as recorded by snapshot by some previous call to ha_open(3HA).
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_getconfig(ha_handle_t handle, ha_config_t
**config);
ha_error_t ha_getcurstate(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getmastered(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getnotmastered(ha_handle_t handle,
ha_lhost_dyn_t **lhosts[]);
ha_error_t ha_getonoff(ha_handle_t handle, char
*service_name, boolean_t *ison);
ha_error_t ha_getlogfacility(ha_handle_t handle, int *facility);
|
ha_getconfig - This is used by data services to obtain selected Sun Cluster configuration and state information as recorded by snapshot by some previous call to ha_open(3HA).
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_getconfig(ha_handle_t handle, ha_config_t
**config);
ha_error_t ha_getcurstate(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getmastered(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getnotmastered(ha_handle_t handle,
ha_lhost_dyn_t **lhosts[]);
ha_error_t ha_getonoff(ha_handle_t handle, char
*service_name , boolean_t *ison);
ha_error_t ha_getlogfacility(ha_handle_t handle, int *facility);
|
ha_getcurstate - This is used by data services to obtain selected Sun Cluster configuration and state information as recorded by snapshot by a previous call to ha_open(3HA).
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_getconfig(ha_handle_t handle, ha_config_t
**config);
ha_error_t ha_getcurstate(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getmastered(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getnotmastered(ha_handle_t handle,
ha_lhost_dyn_t **lhosts[]);
ha_error_t ha_getonoff(ha_handle_t handle, char
*service_name, boolean_t *ison);
ha_error_t ha_getlogfacility(ha_handle_t handle, int *facility);
|
ha_getlogfacility - This is used by data services to obtain selected Sun Cluster configuration and state information as recorded by snapshot by a previous call to ha_open(3HA).
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_getconfig(ha_handle_t handle, ha_config_t
**config);
ha_error_t ha_getcurstate(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getmastered(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getnotmastered(ha_handle_t handle,
ha_lhost_dyn_t **lhosts[]);
ha_error_t ha_getonoff(ha_handle_t handle, char
*service_name, boolean_t *ison);
ha_error_t ha_getlogfacility(ha_handle_t handle, int *facility);
|
ha_getmastered - This is used by data services to obtain selected Sun Cluster configuration and state information as recorded by snapshot by a previous call to ha_open(3HA).
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_getconfig(ha_handle_t handle, ha_config_t
**config);
ha_error_t ha_getcurstate(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getmastered(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getnotmastered(ha_handle_t handle,
ha_lhost_dyn_t **lhosts[]);
ha_error_t ha_getonoff(ha_handle_t handle, char
*service_name, boolean_t *ison);
ha_error_t ha_getlogfacility(ha_handle_t handle, int *facility);
|
ha_getmastered - This is used by data services to obtain selected Sun Cluster configuration and state information as recorded by snapshot by a previous call to ha_open(3HA).
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_getconfig(ha_handle_t handle, ha_config_t
**config);
ha_error_t ha_getcurstate(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getmastered(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getnotmastered(ha_handle_t handle,
ha_lhost_dyn_t **lhosts[]);
ha_error_t ha_getonoff(ha_handle_t handle, char
*service_name, boolean_t *ison);
ha_error_t ha_getlogfacility(ha_handle_t handle, int *facility);
|
ha_getonoff - This is used by data services to obtain selected Sun Cluster configuration and state information as recorded by snapshot by a previous call to ha_open(3HA).
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_getconfig(ha_handle_t handle, ha_config_t
**config);
ha_error_t ha_getcurstate(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getmastered(ha_handle_t handle, ha_lhost_dyn_t
**lhosts[]);
ha_error_t ha_getnotmastered(ha_handle_t handle,
ha_lhost_dyn_t **lhosts[]);
ha_error_t ha_getonoff(ha_handle_t handle, char
*service_name, boolean_t *ison);
ha_error_t ha_getlogfacility(ha_handle_t handle, int *facility);
|
ha_open(3HA) - Obtains a snapshot of the current state of the Sun Cluster environment.
cc [flag ...] - I/opt/SUNWcluster/include file ...
- L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
ha_error_t ha_open(ha_handle_t *handlep);
ha_error_t ha_close(ha_handle_t handle);
|
hads -- The hads library routines provide a programming interface for the addition of data service modules to a Sun Cluster server cluster.
cc [flag ...] -I /opt/SUNWcluster/include file ...
-L /opt/SUNWcluster/lib [threads lib] -lhads -lintl -ldl
[library ...]
#include <hads.h>
|