1OCF_HEARTBEAT_SAPDAT(7) OCF resource agents OCF_HEARTBEAT_SAPDAT(7)
2
3
4
6 ocf_heartbeat_SAPDatabase - Manages any SAP database (based on Oracle,
7 MaxDB, or DB2)
8
10 SAPDatabase [start | stop | status | monitor | meta-data |
11 validate-all]
12
14 Resource script for SAP databases. It manages a SAP database of any
15 type as an HA resource.
16
18 SID
19 The unique SAP system identifier. e.g. P01 (unique, required,
20 string, no default)
21
22 DIR_EXECUTABLE
23 The full qualified path where to find sapstartsrv and sapcontrol.
24 (unique, optional, string, no default)
25
26 DBTYPE
27 The name of the database vendor you use. Set either: ORA,DB6,ADA
28 (unique, required, string, no default)
29
30 NETSERVICENAME
31 The Oracle TNS listener name. (unique, optional, string, no
32 default)
33
34 DBJ2EE_ONLY
35 If you do not have a ABAP stack installed in the SAP database, set
36 this to TRUE (unique, optional, boolean, default false)
37
38 JAVA_HOME
39 This is only needed if the DBJ2EE_ONLY parameter is set to true.
40 Enter the path to the Java SDK which is used by the SAP WebAS Java
41 (unique, optional, string, no default)
42
43 STRICT_MONITORING
44 This controls how the resource agent monitors the database. If set
45 to true, it will use SAP tools to test the connect to the database.
46 Do not use with Oracle, because it will result in unwanted
47 failovers in case of an archiver stuck (unique, optional, boolean,
48 default false)
49
50 AUTOMATIC_RECOVER
51 The SAPDatabase resource agent tries to recover a failed start
52 attempt automaticaly one time. This is done by running a forced
53 abort of the RDBMS and/or executing recovery commands. (unique,
54 optional, boolean, default false)
55
56 DIR_BOOTSTRAP
57 The full qualified path where to find the J2EE instance bootstrap
58 directory. e.g. /usr/sap/P01/J00/j2ee/cluster/bootstrap (unique,
59 optional, string, no default)
60
61 DIR_SECSTORE
62 The full qualified path where to find the J2EE security store
63 directory. e.g. /usr/sap/P01/SYS/global/security/lib/tools (unique,
64 optional, string, no default)
65
66 DB_JARS
67 The full qualified filename of the jdbc driver for the database
68 connection test. It will be automaticaly read from the
69 bootstrap.properties file in Java engine 6.40 and 7.00. For Java
70 engine 7.10 and higher the parameter is mandatory. (unique,
71 optional, string, no default)
72
73 PRE_START_USEREXIT
74 The full qualified path where to find a script or program which
75 should be executed before this resource gets started. (unique,
76 optional, string, no default)
77
78 POST_START_USEREXIT
79 The full qualified path where to find a script or program which
80 should be executed after this resource got started. (unique,
81 optional, string, no default)
82
83 PRE_STOP_USEREXIT
84 The full qualified path where to find a script or program which
85 should be executed before this resource gets stopped. (unique,
86 optional, string, no default)
87
88 POST_STOP_USEREXIT
89 The full qualified path where to find a script or program which
90 should be executed after this resource got stopped. (unique,
91 optional, string, no default)
92
94 This resource agent supports the following actions (operations):
95
96 start
97 Starts the resource. Suggested minimum timeout: 1800.
98
99 stop
100 Stops the resource. Suggested minimum timeout: 1800.
101
102 status
103 Performs a status check. Suggested minimum timeout: 60.
104
105 monitor
106 Performs a detailed status check. Suggested minimum timeout: 60.
107 Suggested interval: 120.
108
109 validate-all
110 Performs a validation of the resource configuration. Suggested
111 minimum timeout: 5.
112
113 meta-data
114 Retrieves resource agent metadata (internal use only). Suggested
115 minimum timeout: 5.
116
117 methods
118 Suggested minimum timeout: 5.
119
121 The following is an example configuration for a SAPDatabase resource
122 using the crm(8) shell:
123
124 primitive p_SAPDatabase ocf:heartbeat:SAPDatabase \
125 params \
126 SID=string \
127 DBTYPE=string \
128 op monitor depth="0" timeout="60" interval="120"
129
131 http://www.linux-ha.org/wiki/SAPDatabase_(resource_agent)
132
134 Linux-HA contributors (see the resource agent source for information
135 about individual authors)
136
137
138
139resource-agents 3.9.2 07/08/2011 OCF_HEARTBEAT_SAPDAT(7)