blob: ccb857e2414af012fdb550b2f078040d252ce950 (
plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
version: 2.2
category: SAP
shortdesc: SAP ASCS Instance
longdesc: |
Configure a SAP ASCS instance including:
1) Virtual IP address for the SAP ASCS instance,
2) A file system on shared storage (/usr/sap/SID/ASCS##),
3) SAPInstance for ASCS.
parameters:
- name: id
shortdesc: SAP ASCS Resource Group ID
longdesc: Unique ID for the SAP ASCS instance resource group in the cluster.
required: true
type: resource
value: grp_sap_NA0_sapna0as
include:
- script: sapinstance
required: true
parameters:
- name: id
value: rsc_sapinst_NA0_ASCS00_sapna0as
- name: InstanceName
value: NA0_ASCS00_sapna0as
- name: START_PROFILE
value: "/usr/sap/NA0/SYS/profile/START_ASCS00_sapna0as"
- script: virtual-ip
shortdesc: The Virtual IP address configured here will be for the SAP ASCS instance.
required: true
parameters:
- name: id
value: rsc_ip_NA0_sapna0as
- name: ip
value: 172.17.2.53
- name: cidr_netmask
value: 24
- name: nic
value: eth0
- script: filesystem
shortdesc: "File system resource for the /usr/sap/SID/ASCS## directory"
longdesc: >-
If a file system does not already exist on the block device
specified here, you will need to run mkfs to create it, prior
to starting the file system resource. You will also need
to create the mount point directory on all cluster nodes.
parameters:
- name: id
value: rsc_fs_NA0_sapna0as
- name: directory
value: "/usr/sap/NA0/ASCS00"
- name: options
value: "noatime,barrier=0,data=writeback"
ops: |
op stop timeout=300
op monitor interval=30 timeout=130
actions:
- include: sapinstance
- include: virtual-ip
- include: filesystem
- cib:
group {{id}}
{{virtual-ip:id}}
{{filesystem:id}}
{{sapinstance:id}}
meta target-role=Stopped
|