1OCF_HEARTBEAT_ORALSN(7) OCF resource agents OCF_HEARTBEAT_ORALSN(7)
2
3
4
6 ocf_heartbeat_oralsnr - Manages an Oracle TNS listener
7
9 oralsnr [start | stop | status | monitor | meta-data | validate-all]
10
12 Resource script for Oracle Listener. It manages an Oracle Listener
13 instance as an HA resource.
14
16 sid
17 The Oracle SID (aka ORACLE_SID). Necessary for the monitor op, i.e.
18 to do tnsping SID. (unique, required, string, no default)
19
20 home
21 The Oracle home directory (aka ORACLE_HOME). If not specified, then
22 the SID should be listed in /etc/oratab. (optional, string, no
23 default)
24
25 user
26 Run the listener as this user. (optional, string, no default)
27
28 listener
29 Listener instance to be started (as defined in listener.ora).
30 Defaults to LISTENER. (unique, optional, string, no default)
31
33 This resource agent supports the following actions (operations):
34
35 start
36 Starts the resource. Suggested minimum timeout: 120.
37
38 stop
39 Stops the resource. Suggested minimum timeout: 120.
40
41 status
42 Performs a status check. Suggested minimum timeout: 60.
43
44 monitor
45 Performs a detailed status check. Suggested minimum timeout: 30.
46 Suggested interval: 10.
47
48 validate-all
49 Performs a validation of the resource configuration. Suggested
50 minimum timeout: 5.
51
52 meta-data
53 Retrieves resource agent metadata (internal use only). Suggested
54 minimum timeout: 5.
55
56 methods
57 Suggested minimum timeout: 5.
58
60 The following is an example configuration for a oralsnr resource using
61 the crm(8) shell:
62
63 primitive p_oralsnr ocf:heartbeat:oralsnr \
64 params \
65 sid=string \
66 op monitor depth="0" timeout="30" interval="10"
67
69 http://www.linux-ha.org/wiki/oralsnr_(resource_agent)
70
72 Linux-HA contributors (see the resource agent source for information
73 about individual authors)
74
75
76
77resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_ORALSN(7)