File: main.yml

package info (click to toggle)
crmsh 4.0.0~git20190108.3d56538-3%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,636 kB
  • sloc: python: 29,464; sh: 827; exp: 249; xml: 226; makefile: 204; awk: 23
file content (32 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"