diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:48:59 +0000 |
commit | d835b2cae8abc71958b69362162e6a70c3d7ef63 (patch) | |
tree | 81052e3d2ce3e1bcda085f73d925e9d6257dec15 /scripts/sapdb | |
parent | Initial commit. (diff) | |
download | crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.tar.xz crmsh-d835b2cae8abc71958b69362162e6a70c3d7ef63.zip |
Adding upstream version 4.6.0.upstream/4.6.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/sapdb')
-rw-r--r-- | scripts/sapdb/main.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/scripts/sapdb/main.yml b/scripts/sapdb/main.yml new file mode 100644 index 0000000..db67785 --- /dev/null +++ b/scripts/sapdb/main.yml @@ -0,0 +1,32 @@ +version: 2.2 +category: Script +shortdesc: SAP Database Instance +longdesc: Create a single SAP Database Instance. + +parameters: + - name: id + required: true + shortdesc: Resource ID + longdesc: Unique ID for this SAP instance resource in the cluster. + type: resource + value: rsc_sabdb_NA0 + - name: SID + required: true + shortdesc: Database SID + longdesc: The SID for the database. + type: string + value: NA0 + - name: DBTYPE + required: true + shortdesc: Database Type + longdesc: The type of database. + value: ADA + type: string + +actions: + - cib: | + primitive {{id}} ocf:heartbeat:SAPDatabase + params SID="{{SID}}" DBTYPE="{{DBTYPE}}" + op monitor interval="120" timeout="60" start-delay="180" + op start timeout="1800" + op stop timeout="1800" |