ocf_heartbeat_sybaseASE - Man Page

Sybase ASE Failover Instance

Synopsis

sybaseASE [start | stop | status | monitor | meta-data | validate-all]

Description

Sybase ASE Failover Instance

Supported Parameters

sybase_home

The home directory of sybase products

(optional, string, default "detect")

sybase_ase

The directory name under sybase_home where ASE products are installed

(optional, string, default "detect")

sybase_ocs

The directory name under sybase_home where OCS products are installed, i.e. ASE-15_0

(optional, string, default "detect")

server_name

The ASE server name which is configured for the HA service

(unique, required, string, no default)

interfaces_file

The full path of interfaces file which is used to start/access the ASE server

(optional, string, default "detect/interfaces")

sybase_user

The user who can run ASE server

(optional, string, default "sybase")

db_user

The database user required to login to isql.

(required, string, no default)

db_passwd

The database user's password required to login to isql.

(optional, string, no default)

logfile

Logfile

(optional, string, default "detect")

Supported Actions

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 300s.

stop

Stops the resource. Suggested minimum timeout: 300s.

status

Performs a status check. Suggested minimum timeout: 100s. Suggested interval: 30s.

monitor

Performs a detailed status check. Suggested minimum timeout: 100s. Suggested interval: 30s.

status

Performs a status check. Suggested minimum timeout: 100s. Suggested interval: 120s.

monitor

Performs a detailed status check. Suggested minimum timeout: 100s. Suggested interval: 120s.

meta-data

Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.

validate-all

Performs a validation of the resource configuration. Suggested minimum timeout: 5s.

Example CRM Shell

The following is an example configuration for a sybaseASE resource using the crm(8) shell:

primitive p_sybaseASE ocf:heartbeat:sybaseASE \
  params \
    server_name=string \
    db_user=string \
  op monitor interval="30s" timeout="100s" \
  op monitor depth="10" timeout="100s" interval="120s"

Example PCS

The following is an example configuration for a sybaseASE resource using pcs(8)

pcs resource create p_sybaseASE ocf:heartbeat:sybaseASE \
  server_name=string \
  db_user=string \
  op monitor interval="30s" timeout="100s" \
  op monitor OCF_CHECK_LEVEL="10" timeout="100s" interval="120s"

See Also

http://clusterlabs.org/

Author

ClusterLabs contributors (see the resource agent source for information about individual authors)

Info

07/26/2024 resource-agents UNKNOWN OCF resource agents