Skip to content

Commit 48e2ac2

Browse files
author
Kimmo Forss
committed
How to override
1 parent 20e5638 commit 48e2ac2

File tree

1 file changed

+46
-29
lines changed

1 file changed

+46
-29
lines changed

articles/sap/automation/configure-sap-parameters.md

Lines changed: 46 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -22,35 +22,35 @@ This table contains the default parameters defined by the framework.
2222
### User IDs
2323

2424
> [!div class="mx-tdCol2BreakAll "]
25-
> | Parameter | Description | Default Value | Type |
26-
> | ------------------------- | -------------------------------------------------------------------------- | ---------------------------- | ---------- |
27-
> | `sapadm_uid` | The UID for the sapadm account. | 2100 | Required |
28-
> | `sidadm_uid` | The UID for the sidadm account. | 2003 | Required |
29-
> | `hdbadm_uid` | The UID for the hdbadm account. | 2200 | Required |
30-
> | `sapinst_gid` | The GID for the sapinst group. | 2001 | Required |
31-
> | `sapsys_gid` | The GID for the sapsys group. | 2000 | Required |
32-
> | `hdbshm_gid` | The GID for the hdbshm group. | 2002 | Required |
33-
> | | | | |
34-
> | `db2sidadm_uid` | The UID for the db2sidadm account. | 3004 | Required |
35-
> | `db2sapsid_uid` | The UID for the db2sapsid account. | 3005 | Required |
36-
> | `db2sysadm_gid` | The UID for the db2sysadm group. | 3000 | Required |
37-
> | `db2sysctrl_gid` | The UID for the db2sysctrl group. | 3001 | Required |
38-
> | `db2sysmaint_gid` | The UID for the db2sysmaint group. | 3002 | Required |
39-
> | `db2sysmon_gid` | The UID for the db2sysmon group. | 2003 | Required |
40-
> | | | | |
41-
> | `orasid_uid` | The UID for the orasid account. | 3100 | Required |
42-
> | `oracle_uid` | The UID for the oracle account. | 3101 | Required |
43-
> | `observer_uid` | The UID for the observer account. | 4000 | Required |
44-
> | `dba_gid` | The GID for the dba group. | 3100 | Required |
45-
> | `oper_gid` | The GID for the oper group. | 3101 | Required |
46-
> | `asmoper_gid` | The GID for the asmoper group. | 3102 | Required |
47-
> | `asmadmin_gid` | The GID for the asmadmin group. | 3103 | Required |
48-
> | `asmdba_gid` | The GID for the asmdba group. | 3104 | Required |
49-
> | `oinstall_gid` | The GID for the oinstall group. | 3105 | Required |
50-
> | `backupdba_gid` | The GID for the backupdba group. | 3106 | Required |
51-
> | `dgdba_gid` | The GID for the dgdba group. | 3107 | Required |
52-
> | `kmdba_gid` | The GID for the kmdba group. | 3108 | Required |
53-
> | `racdba_gid` | The GID for the racdba group. | 3108 | Required |
25+
> | Parameter | Description | Default Value |
26+
> | ------------------------- | -------------------------------------------------------------------------- | ---------------------------- |
27+
> | `sapadm_uid` | The UID for the sapadm account. | 2100 |
28+
> | `sidadm_uid` | The UID for the sidadm account. | 2003 |
29+
> | `hdbadm_uid` | The UID for the hdbadm account. | 2200 |
30+
> | `sapinst_gid` | The GID for the sapinst group. | 2001 |
31+
> | `sapsys_gid` | The GID for the sapsys group. | 2000 |
32+
> | `hdbshm_gid` | The GID for the hdbshm group. | 2002 |
33+
> | | | |
34+
> | `db2sidadm_uid` | The UID for the db2sidadm account. | 3004 |
35+
> | `db2sapsid_uid` | The UID for the db2sapsid account. | 3005 |
36+
> | `db2sysadm_gid` | The UID for the db2sysadm group. | 3000 |
37+
> | `db2sysctrl_gid` | The UID for the db2sysctrl group. | 3001 |
38+
> | `db2sysmaint_gid` | The UID for the db2sysmaint group. | 3002 |
39+
> | `db2sysmon_gid` | The UID for the db2sysmon group. | 2003 |
40+
> | | | |
41+
> | `orasid_uid` | The UID for the orasid account. | 3100 |
42+
> | `oracle_uid` | The UID for the oracle account. | 3101 |
43+
> | `observer_uid` | The UID for the observer account. | 4000 |
44+
> | `dba_gid` | The GID for the dba group. | 3100 |
45+
> | `oper_gid` | The GID for the oper group. | 3101 |
46+
> | `asmoper_gid` | The GID for the asmoper group. | 3102 |
47+
> | `asmadmin_gid` | The GID for the asmadmin group. | 3103 |
48+
> | `asmdba_gid` | The GID for the asmdba group. | 3104 |
49+
> | `oinstall_gid` | The GID for the oinstall group. | 3105 |
50+
> | `backupdba_gid` | The GID for the backupdba group. | 3106 |
51+
> | `dgdba_gid` | The GID for the dgdba group. | 3107 |
52+
> | `kmdba_gid` | The GID for the kmdba group. | 3108 |
53+
> | `racdba_gid` | The GID for the racdba group. | 3108 |
5454
5555

5656
## Parameters
@@ -184,6 +184,23 @@ Each row must specify the following parameters.
184184
> | `app_inst_no` | The APP instance number for the instance | Required |
185185

186186

187+
## Overriding the default parameters
188+
189+
You can override the default parameters by either specifying them in the sap-parameters.yaml file or by passing them as command line parameters to the Ansible playbooks.
190+
191+
For example if you want to override the default value of the group ID for the sapinst group (`sapinst_gid`) parameter, you can do it by adding the following line to the sap-parameters.yaml file:
192+
193+
```yaml
194+
sapinst_gid: 1000
195+
```
196+
197+
If you want to provide them as parameters for the Ansible playbooks, you can do it by adding the following parameter to the command line:
198+
199+
```bash
200+
ansible-playbook -i hosts SID_hosts.yaml --extra-vars "sapinst_gid=1000" .....
201+
```
202+
203+
187204
## Next steps
188205

189206
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)