Skip to content

Commit 2a92fbe

Browse files
Merge pull request #256850 from KimForss/main
Misc updates
2 parents f1e31c8 + eb04540 commit 2a92fbe

File tree

3 files changed

+89
-11
lines changed

3 files changed

+89
-11
lines changed

articles/sap/automation/configure-control-plane.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ This table shows the parameters related to the deployer VM.
119119
120120
The VM image is defined by using the following structure:
121121

122-
```python
123-
{
124-
"os_type" = ""
125-
"source_image_id" = ""
126-
"publisher" = "Canonical"
127-
"offer" = "0001-com-ubuntu-server-focal"
128-
"sku" = "20_04-lts"
129-
"version" = "latest"
130-
"type" = "marketplace"
122+
```terraform
123+
xxx_vm_image = {
124+
os_type = ""
125+
source_image_id = ""
126+
publisher = "Canonical"
127+
offer = "0001-com-ubuntu-server-focal"
128+
sku = "20_04-lts"
129+
version = "latest"
130+
type = "marketplace"
131131
}
132132
```
133133

articles/sap/automation/configure-system.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,17 @@ These parameters need to be updated in the *sap-parameters.yaml* file when you d
406406
> | `ora_version` | Version of Oracle, for example, 19.0.0 | Mandatory | |
407407
> | `oracle_sbp_patch` | Oracle SBP patch file name, for example, SAP19P_2202-70004508.ZIP | Mandatory | Must be part of the Bill of Materials |
408408
409+
You can use the `configuration_settings` variable to let Terraform add them to sap-parameters.yaml file.
410+
411+
```terraform
412+
configuration_settings = {
413+
ora_release = "19",
414+
ora_version = "19.0.0",
415+
oracle_sbp_patch = "SAP19P_2202-70004508.ZIP",
416+
oraclegrid_sbp_patch = "GIRU19P_2202-70004508.ZIP",
417+
}
418+
```
419+
409420
## Terraform parameters
410421

411422
This section contains the Terraform parameters. These parameters need to be entered manually if you're not using the deployment scripts.

articles/sap/automation/extensibility.md

Lines changed: 69 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,30 @@ The Ansible playbooks must be named according to the following naming convention
105105

106106
```
107107

108+
## Updating the user and group IDs (Linux)
109+
110+
If you want to change the user and group IDs used by the framework, you can add the following section to the sap-parameters.yaml file.
111+
112+
```yaml
113+
# User and group IDs
114+
sapadm_uid: "3000"
115+
sidadm_uid: "3100"
116+
sapinst_gid: "300"
117+
sapsys_gid: "400"
118+
119+
```
120+
121+
You can use the `configuration_settings` variable to let Terraform add them to sap-parameters.yaml file.
122+
123+
```terraform
124+
configuration_settings = {
125+
sapadm_uid = "3000",
126+
sidadm_uid = "3100",
127+
sapinst_gid = "300",
128+
sapsys_gid = "400"
129+
}
130+
131+
108132
## Adding custom repositories (Linux)
109133
110134
If you need to register extra Linux package repositories to the Virtual Machines deployed by the framework, you can add the following section to the sap-parameters.yaml file.
@@ -173,8 +197,6 @@ custom_services:
173197

174198
```
175199

176-
177-
178200
## Adding custom logical volumes (Linux)
179201

180202
You can extend the SAP Deployment Automation Framework by adding logical volumes based on additional disks in your SDAF installation.
@@ -197,6 +219,24 @@ custom_logical_volumes:
197219
> [!NOTE]
198220
> In order to use this functionality you need to add an additional disk named 'custom' to one or more of your Virtual machines. See [Custom disk sizing](configure-extra-disks.md) for more information.
199221
222+
You can use the `configuration_settings` variable to let Terraform add them to sap-parameters.yaml file.
223+
224+
```terraform
225+
configuration_settings = {
226+
custom_logical_volumes = [
227+
{
228+
tier = 'sapos'
229+
node_tier = 'all'
230+
vg = 'vg_custom'
231+
lv = 'lv_custom'
232+
size = '100%FREE'
233+
fstype = 'xfs'
234+
path = '/custompath'
235+
}
236+
]
237+
}
238+
```
239+
200240
## Adding custom mount (Linux)
201241

202242
You can extend the SAP Deployment Automation Framework by mounting additional mount points in your installation.
@@ -214,6 +254,20 @@ custom_mounts:
214254

215255
The `target_nodes` attribute defines which nodes have the mount defined. Use 'all' if you want all nodes to have the mount defined.
216256

257+
You can use the `configuration_settings` variable to let Terraform add them to sap-parameters.yaml file.
258+
259+
```terraform
260+
configuration_settings = {
261+
custom_mounts = [
262+
{
263+
path = "/usr/custom",
264+
opts = "vers=4,minorversion=1,sec=sys",
265+
mount = "xxxxxxxxx.file.core.windows.net:/xxxxxxxx/custom",
266+
target_nodes = "scs,pas,app"
267+
}
268+
]
269+
}
270+
```
217271

218272
## Adding custom export (Linux)
219273

@@ -228,10 +282,23 @@ custom_exports:
228282
229283
```
230284

285+
You can use the `configuration_settings` variable to let Terraform add them to sap-parameters.yaml file.
286+
287+
```terraform
288+
configuration_settings = {
289+
custom_mounts = [
290+
{
291+
path = "/usr/custom",
292+
}
293+
]
294+
}
295+
```
296+
231297
> [!NOTE]
232298
> This applies only for deployments with NFS_Provider set to 'NONE' as this makes the Central Services server an NFS Server.
233299

234300

301+
235302
## Next step
236303

237304
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)