File 0001-Revert-Add-additional-info-to-SAPDatabase-RA.patch of Package resource-agents.11510
From 422516be53951e22f656d2a164ccfcf8fd75cc07 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Mon, 22 Oct 2018 15:39:35 +0200
Subject: [PATCH] Revert "Add additional info to SAPDatabase RA"
This reverts commit e664d8c2e5348a0ca9c4b574015a24775f8244cd.
---
heartbeat/SAPDatabase | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/heartbeat/SAPDatabase b/heartbeat/SAPDatabase
index 4cde3080..a45f45d4 100755
--- a/heartbeat/SAPDatabase
+++ b/heartbeat/SAPDatabase
@@ -91,17 +91,6 @@ The required minimum version of SAPHostAgent is:
Release: 7.20
Patch Number: 90
or compile time after: Dec 17 2011
-
-A single HANA is managed as a primitive resource by the SAPDatabase RA. Therefor the parameter MONITOR_SERVICES has to match the output service names of the command "sapcontrol -nr \$InstNr -function GetProcessList".
-"\$InstNr" has to be replaced by the respective instance number.
-
-For an HANA database with SID "TST" and instance number "10", the resource configuration looks like:
-primitive rsc_SAPDatabase_TST_HDB10 ocf:heartbeat:SAPDatabase \\
- params DBTYPE="HDB" SID="TST" \\
- MONITOR_SERVICES="hdbindexserver|hdbnameserver" \\
- op start interval="0" timeout="3600" \\
- op monitor interval="120" timeout="700" \\
- op stop interval="0" timeout="600"
</longdesc>
<shortdesc lang="en">Manages a SAP database instance as an HA resource.</shortdesc>
<parameters>
@@ -158,10 +147,9 @@ Usually you can leave this empty. Then the default: /usr/sap/hostctrl/exe is use
<content type="boolean" default="false"/>
</parameter>
<parameter name="MONITOR_SERVICES" unique="0" required="0">
- <longdesc lang="en">Defines which services are monitored by the SAPDatabase resource agent. Service names must correspond with the output of the 'saphostctrl -function GetDatabaseStatus' command.
-The default value is derived from the database type DBTYPE. For example, DBTYPE "ORA" sets MONITOR_SERVICES="Instance|Database|Listener".</longdesc>
+ <longdesc lang="en">Defines which services are monitored by the SAPDatabase resource agent, if STRICT_MONITORING is set to true. Service names must correspond with the output of the 'saphostctrl -function GetDatabaseStatus' command.</longdesc>
<shortdesc lang="en">Database services to monitor</shortdesc>
- <content type="string" default=""/>
+ <content type="string" default="Instance|Database|Listener"/>
</parameter>
<parameter name="DIR_BOOTSTRAP" unique="0" required="0">
<longdesc lang="en">Deprecated - do not use anymore. This parameter will be deleted in one of the next releases.</longdesc>
--
2.16.4