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, default "LISTENER")
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 (optional, string, no default)
45
47 This resource agent supports the following actions (operations):
48
49 start
50 Starts the resource. Suggested minimum timeout: 120s.
51
52 stop
53 Stops the resource. Suggested minimum timeout: 120s.
54
55 status
56 Performs a status check. Suggested minimum timeout: 60s.
57
58 monitor
59 Performs a detailed status check. Suggested minimum timeout: 30s.
60 Suggested interval: 10s.
61
62 validate-all
63 Performs a validation of the resource configuration. Suggested
64 minimum timeout: 5s.
65
66 meta-data
67 Retrieves resource agent metadata (internal use only). Suggested
68 minimum timeout: 5s.
69
70 methods
71 Suggested minimum timeout: 5s.
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="30s" interval="10s"
81
83 The following is an example configuration for a oralsnr resource using
84 pcs(8)
85
86 pcs resource create p_oralsnr ocf:heartbeat:oralsnr \
87 sid=string \
88 op monitor depth="0" timeout="30s" interval="10s"
89
91 http://clusterlabs.org/
92
94 ClusterLabs contributors (see the resource agent source for information
95 about individual authors)
96
97
98
99resource-agents UNKNOWN 03/09/2020 OCF_HEARTBEAT_ORALSN(7)