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.
19
20 (unique, required, string, no default)
21
22 home
23 The Oracle home directory (aka ORACLE_HOME). If not specified, then
24 the SID should be listed in /etc/oratab.
25
26 (optional, string, no default)
27
28 user
29 Run the listener as this user.
30
31 (optional, string, no default)
32
33 listener
34 Listener instance to be started (as defined in listener.ora).
35 Defaults to LISTENER.
36
37 (unique, optional, string, no default)
38
39 tns_admin
40 Full path to the directory that contains the Oracle listener
41 tnsnames.ora configuration file. The shell variable TNS_ADMIN is
42 set to the value provided.
43
44 (unique, optional, string, no default)
45
47 This resource agent supports the following actions (operations):
48
49 start
50 Starts the resource. Suggested minimum timeout: 120.
51
52 stop
53 Stops the resource. Suggested minimum timeout: 120.
54
55 status
56 Performs a status check. Suggested minimum timeout: 60.
57
58 monitor
59 Performs a detailed status check. Suggested minimum timeout: 30.
60 Suggested interval: 10.
61
62 validate-all
63 Performs a validation of the resource configuration. Suggested
64 minimum timeout: 5.
65
66 meta-data
67 Retrieves resource agent metadata (internal use only). Suggested
68 minimum timeout: 5.
69
70 methods
71 Suggested minimum timeout: 5.
72
74 The following is an example configuration for a oralsnr resource using
75 the crm(8) shell:
76
77 primitive p_oralsnr ocf:heartbeat:oralsnr \
78 params \
79 sid=string \
80 op monitor depth="0" timeout="30" interval="10"
81
83 http://www.linux-ha.org/wiki/oralsnr_(resource_agent)
84
86 Linux-HA contributors (see the resource agent source for information
87 about individual authors)
88
89
90
91resource-agents 3.9.2 03/24/2017 OCF_HEARTBEAT_ORALSN(7)