Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sunw.derby(5) [opensolaris man page]

SUNW.derby(5)						     Sun Cluster Miscellaneous						     SUNW.derby(5)

NAME
SUNW.derby, derby - resource type implementation of the Java DB database DESCRIPTION
SUNW.derby is the failover resource type that enables you to use the Java DB database with Sun Cluster. The Java DB database is based on the Derby database. For information about the database, see http://db.apache.org/derby/. The extension properties associated with the SUNW.derby resource type are as follows: Child_mon_level(integer) Provides control over the processes that are monitored through the process monitor facility. This property denotes the level to which the forked children processes are monitored. Omitting this property or setting this property to the default value is the same as omit- ting the -C option for pmfadm(1M) (all children and their descendents are monitored). Category Optional Default -1 Tunable At creation DB_path(string) Specifies the location of the data file for the Java DB database. The value for DB_path is a string specifying PATH. The specified path should be a path controlled by your chosen storage, for example HAStoragePlus. Category Mandatory Default -1 Tunable At creation DB_port(integer) Specifies the port for the Java DB database. Category Mandatory Default 1527 Tunable At creation DB_probe_port(integer) Specifies the port that Sun Cluster uses to test the health of the server for the Java DB database. Category Mandatory Default 1528 Tunable At creation Monitor_retry_count(integer) Controls fault-monitor restarts. The property indicates the number of times that the process monitor facility restarts the fault moni- tor. The property corresponds to the -n option passed to the pmfadm(1M) command. The Resource Group Manager (RGM) counts the number of restarts in a specified time window (see Monitor_retry_interval). Note that Monitor_retry_count refers to the restarts of the fault monitor itself, not of the SUNW.derby resource. Category Optional Default 2 Tunable Anytime Monitor_retry_interval(integer) Indicates the time window in minutes during which the RGM counts fault-monitor failures. The property corresponds to the -t option passed to the pmfadm(1M) command. If the number of times that the fault monitor fails exceeds the value of the extension property Mon- itor_retry_count, the process monitor facility does not restart the fault monitor. Category Optional Default 2 minutes Tunable Anytime Probe_timeout(integer) Specifies the timeout value, in seconds, for the probe command. Category Optional Default 30 seconds Tunable Anytime SEE ALSO
pmfadm(1M) Sun Cluster 3.2 12 Nov 2005 SUNW.derby(5)

Check Out this Related Man Page

scds_hasp_check(3HA)					 Sun Cluster HA and Data Services				      scds_hasp_check(3HA)

NAME
scds_hasp_check - get status information about SUNW.HAStoragePlus resources that are 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_hasp_check(scds_handle_t handle, scds_hasp_status_t *hasp_status DESCRIPTION
The scds_hasp_check() function retrieves status information about SUNW.HAStoragePlus(5) resources that are used by a resource. This infor- mation is obtained from the state, online or otherwise, of all SUNW.HAStoragePlus resources on which the resource depends. This state is obtained by using the Resource_dependencies or Resource_dependencies_weak system properties that are defined for the resource. Resource type implementations can use scds_hasp_check() in VALIDATE and MONITOR_CHECK method callback implementations to determine whether checks that are specific to any file systems that are managed by SUNW.HAStoragePlus resources should be carried out. When the function succeeds, a status code is stored in hasp_status. This code can be one of the following values: SCDS_HASP_NO_RESOURCE Indicates that the resource does not depend on a SUNW.HAStoragePlus resource. SCDS_HASP_ERR_CONFIG Indicates that at least one of the SUNW.HAStoragePlus resources on which the resource depends is located in a different resource group. SCDS_HASP_NOT_ONLINE Indicates that a SUNW.HAStoragePlus resource on which the resource depends is not online on any potential primary node or zone. SCDS_HASP_ONLINE_NOT_LOCAL Indicates that at least one SUNW.HAStoragePlus resource on which the resource depends is online, but on another node or zone from which this function is called. SCDS_HASP_ONLINE_LOCAL Indicates that all SUNW.HAStoragePlus resources on which the resource depends are online on the node or zone from which this function is called. Note - The preceding status codes have precedence over each other in the order in which they appear. For example, if a SUNW.HAStoragePlus resource is not online and another SUNW.HAStoragePlus resource is online on a different node or zone, the status code is set to SCDS_HASP_NOT_ONLINE rather than SCDS_HASP_ONLINE_NOT_LOCAL. The scds_hasp_check() function ignores all SUNW.HAStoragePlus resources for which the FilesystemMountPoints or Zpools property is set to an empty list, the default. PARAMETERS
The following parameters are supported: handle Handle that is returned from scds_initialize(3HA). hasp_status Status of SUNW.HAStoragePlus resources that are used by the resource. RETURN VALUES
SCHA_ERR_NOERR The function succeeded. This value also indicates that the status code that is stored in hasp_status is valid. SCHA_ERR_INTERNAL The function failed. The value that is stored in hasp_status is undefined. Ignore this undefined value. See the scha_calls(3HA) man page 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_initialize(3HA), scha_calls(3HA), attributes(5), SUNW.HAStoragePlus(5) Sun Cluster 3.2 7 Sep 2007 scds_hasp_check(3HA)
Man Page