ocf_heartbeat_oraasm - Man Page

Oracle ASM resource agent

Synopsis

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

Description

OCF Resource script for Oracle ASM. It uses the ohasd init-script to manage a Oracle ASM Disk Group as a HA resource.

Supported Parameters

user

Oracle Grid user

(optional, string, default "grid")

diskgroup

The name of the Oracle Disk Group. If not specified, then the Disk Group along with its home should be listed in /etc/oratab.

(required, string, no default)

home

The Oracle Grid home directory

(optional, string, no default)

Supported Actions

This resource agent supports the following actions (operations):

start

Starts the resource. Suggested minimum timeout: 60s.

stop

Stops the resource. Suggested minimum timeout: 60s.

status

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

monitor

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

validate-all

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

meta-data

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

Example CRM Shell

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

primitive p_oraasm ocf:heartbeat:oraasm \
  params \
    diskgroup=string \
  op monitor depth="0" timeout="30s" interval="10s"

Example PCS

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

pcs resource create p_oraasm ocf:heartbeat:oraasm \
  diskgroup=string \
  op monitor OCF_CHECK_LEVEL="0" timeout="30s" interval="10s"

See Also

http://clusterlabs.org/

Author

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

Info

01/30/2024 resource-agents UNKNOWN OCF resource agents