This file is indexed.

/usr/share/crmsh/scripts/sapdb/main.yml is in crmsh 2.2.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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"