Skip to content

Commit c6c46e1

Browse files
committed
Standardize naming for DB2 to Db2 across configuration files for consistency and clarity.
1 parent 025b38e commit c6c46e1

File tree

11 files changed

+44
-44
lines changed

11 files changed

+44
-44
lines changed

src/playbook_00_configuration_checks.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,24 +130,24 @@
130130
(configuration_test_type == 'all' or
131131
configuration_test_type == 'Database')
132132
133-
- name: "Run role-specific checks for DB2 DB hosts"
133+
- name: "Run role-specific checks for Db2 DB hosts"
134134
ansible.builtin.include_tasks:
135135
file: "./roles/configuration_checks/tasks/main.yml"
136136
vars:
137137
check_type:
138-
name: "Database (DB2) Checks"
138+
name: "Database (Db2) Checks"
139139
file_name: "db2"
140140
checks_var: "db_db2_checks"
141141
results_var: "db_db2_results"
142142
when: >-
143143
role == 'DB' and
144-
(platform | default('HANA') | upper == 'DB2') and
144+
(platform | default('HANA') | upper == 'Db2') and
145145
(configuration_test_type == 'all' or
146146
configuration_test_type == 'Database')
147147
148-
- name: "Debug DB2 checks execution"
148+
- name: "Debug Db2 checks execution"
149149
ansible.builtin.debug:
150-
msg: "Executing Database (DB2) checks on host {{ inventory_hostname }}"
150+
msg: "Executing Database (Db2) checks on host {{ inventory_hostname }}"
151151
when: >-
152152
role == 'DB' and
153153
(platform | default('HANA') | upper == 'DB2') and
@@ -324,7 +324,7 @@
324324
loop: "{{ groups[sap_sid | upper + '_DB']|default([]) }}"
325325
when: hostvars[item].db_hana_results is defined
326326

327-
- name: "Collect DB (DB2) check results"
327+
- name: "Collect DB (Db2) check results"
328328
ansible.builtin.set_fact:
329329
all_results: "{{ all_results + hostvars[item].db_db2_results
330330
| default([]) }}"

src/roles/configuration_checks/tasks/files/app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ enums:
3030
- hana: &hana "HANA"
3131
- mssql: &mssql "MSSQL"
3232
- oracle: &oracle "Oracle"
33-
- db2: &db2 "DB2"
33+
- db2: &db2 "Db2"
3434
- ase: &ase "ASE"
3535
- all_db: &all_db [*hana, *mssql, *oracle, *db2, *ase]
3636

src/roles/configuration_checks/tasks/files/ascs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ enums:
3838
- hana: &hana "HANA"
3939
- mssql: &mssql "MSSQL"
4040
- oracle: &oracle "Oracle"
41-
- db2: &db2 "DB2"
41+
- db2: &db2 "Db2"
4242
- ase: &ase "ASE"
4343
- all_db: &db [*hana, *mssql, *oracle, *db2, *ase]
4444

src/roles/configuration_checks/tasks/files/db2.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ enums:
4040
- hana: &hana "HANA"
4141
- mssql: &mssql "MSSQL"
4242
- oracle: &oracle "Oracle"
43-
- db2: &db2 "DB2"
43+
- db2: &db2 "Db2"
4444
- ase: &ase "ASE"
4545
- all_db: &db [*hana, *mssql, *oracle, *db2, *ase]
4646

@@ -90,9 +90,9 @@ enums:
9090
# Checks for DB roles for database_type == hana
9191

9292
checks:
93-
- id: "DB-DB2-0001"
94-
name: "DB2 Hardware Check"
95-
description: "Check if the hardware type is supported for DB2"
93+
- id: "DB-Db2-0001"
94+
name: "Db2 Hardware Check"
95+
description: "Check if the hardware type is supported for Db2"
9696
category: *sap_check
9797
severity: *high
9898
workload: *sap
@@ -112,9 +112,9 @@ checks:
112112
valid_list: ["x86_64", "x64"]
113113
report: *check
114114

115-
- id: "DB-DB2-0002"
115+
- id: "DB-Db2-0002"
116116
name: "Linux installation & system language"
117-
description: "Check if the Linux installation and system language are supported for DB2"
117+
description: "Check if the Linux installation and system language are supported for Db2"
118118
category: *sap_check
119119
severity: *high
120120
workload: *sap
@@ -134,7 +134,7 @@ checks:
134134
expected_output: "en_US.UTF-8"
135135
report: *check
136136

137-
- id: "DB-DB2-0003"
137+
- id: "DB-Db2-0003"
138138
name: "SELinux settings"
139139
description: "SAP recommended SELinux in permissive mode or disabled"
140140
category: *sap_check
@@ -156,7 +156,7 @@ checks:
156156
expected_output: "en_US.UTF-8"
157157
report: *check
158158

159-
- id: "DB-DB2-0004"
159+
- id: "DB-Db2-0004"
160160
name: "vm.max_map_count setting"
161161
description: "vm.max_map_count setting"
162162
category: *sap_check
@@ -178,7 +178,7 @@ checks:
178178
expected_output: "OK"
179179
report: *check
180180

181-
- id: "DB-DB2-0005"
181+
- id: "DB-Db2-0005"
182182
name: "VM Swappiness setting"
183183
description: "vm.swappiness setting"
184184
category: *sap_check
@@ -200,7 +200,7 @@ checks:
200200
expected_output: "32000 1024000000 500 32000"
201201
report: *check
202202

203-
- id: "DB-DB2-0006"
203+
- id: "DB-Db2-0006"
204204
name: "VM Overcommit recovery setting"
205205
description: "vm.overcommit_memory setting"
206206
category: *sap_check
@@ -222,7 +222,7 @@ checks:
222222
expected_output: "0"
223223
report: *check
224224

225-
- id: "DB-DB2-0007"
225+
- id: "DB-Db2-0007"
226226
name: "Randomize VA Space setting"
227227
description: "Randomize VA Space"
228228
category: *sap_check
@@ -244,7 +244,7 @@ checks:
244244
expected_output: "5"
245245
report: *check
246246

247-
- id: "DB-DB2-0008"
247+
- id: "DB-Db2-0008"
248248
name: "Max Async I/O"
249249
description: "Max Async I/O setting"
250250
category: *sap_check
@@ -268,7 +268,7 @@ checks:
268268
references:
269269
sap: "2936683"
270270

271-
- id: "DB-DB2-0009"
271+
- id: "DB-Db2-0009"
272272
name: "kernel.sem"
273273
description: "kernel.sem"
274274
category: *sap_check
@@ -292,7 +292,7 @@ checks:
292292
references:
293293
sap: "2936683"
294294

295-
- id: "DB-DB2-0010"
295+
- id: "DB-Db2-0010"
296296
name: "Kernel out of process"
297297
description: "Parameter that controls the system's behavior in response to a kernel out of process [OOPS]."
298298
category: *sap_check
@@ -316,7 +316,7 @@ checks:
316316
references:
317317
microsoft: "https://www.ibm.com/docs/en/db2/11.1?topic=unix-kernel-parameter-requirements-linux"
318318

319-
- id: "DB-DB2-0011"
319+
- id: "DB-Db2-0011"
320320
name: "Max File Handles"
321321
description: "Parameter sets the maximum number of file handles (file descriptors) that the kernel will allocate."
322322
category: *sap_check
@@ -340,7 +340,7 @@ checks:
340340
references:
341341
microsoft: "https://www.ibm.com/docs/en/db2/11.1?topic=unix-kernel-parameter-requirements-linux"
342342

343-
- id: "DB-DB2-0012"
343+
- id: "DB-Db2-0012"
344344
name: "Transparent Huge Pages"
345345
description: "Transparent Huge Pages (THP) is a Linux kernel feature related to memory management."
346346
category: *sap_check
@@ -365,7 +365,7 @@ checks:
365365
sap: "2391706"
366366
microsoft: "https://www.ibm.com/docs/en/db2/11.1?topic=unix-kernel-parameter-requirements-linux"
367367

368-
- id: "DB-DB2-0013"
368+
- id: "DB-Db2-0013"
369369
name: "HADR TIMEOUT"
370370
description: "HADR TIMEOUT"
371371
category: *sap_check
@@ -389,7 +389,7 @@ checks:
389389
references:
390390
microsoft: "https://learn.microsoft.com/en-us/azure/sap/workloads/high-availability-guide-rhel-ibm-db2-luw?tabs=lb-portal#ibm-db2-hadr-settings-for-azure"
391391

392-
- id: "DB-DB2-0014"
392+
- id: "DB-Db2-0014"
393393
name: "HADR TIMEOUT"
394394
description: "HADR TIMEOUT"
395395
category: *sap_check
@@ -413,7 +413,7 @@ checks:
413413
references:
414414
microsoft: "https://learn.microsoft.com/en-us/azure/sap/workloads/high-availability-guide-rhel-ibm-db2-luw?tabs=lb-portal#ibm-db2-hadr-settings-for-azure"
415415

416-
- id: "DB-DB2-0015"
416+
- id: "DB-Db2-0015"
417417
name: "PEER WINDOW (seconds)"
418418
description: "PEER WINDOW (seconds) RedHat"
419419
category: *sap_check
@@ -437,7 +437,7 @@ checks:
437437
references:
438438
microsoft: "https://learn.microsoft.com/en-us/azure/sap/workloads/high-availability-guide-rhel-ibm-db2-luw?tabs=lb-portal#ibm-db2-hadr-settings-for-azure"
439439

440-
- id: "DB-DB2-0016"
440+
- id: "DB-Db2-0016"
441441
name: "PEER WINDOW (seconds)"
442442
description: "PEER WINDOW (seconds) SUSE SBD"
443443
category: *sap_check
@@ -462,7 +462,7 @@ checks:
462462
references:
463463
microsoft: "https://learn.microsoft.com/en-us/azure/sap/workloads/high-availability-guide-rhel-ibm-db2-luw?tabs=lb-portal#ibm-db2-hadr-settings-for-azure"
464464

465-
- id: "DB-DB2-0017"
465+
- id: "DB-Db2-0017"
466466
name: "PEER WINDOW (seconds)"
467467
description: "PEER WINDOW (seconds) SUSE Fencing Agent"
468468
category: *sap_check
@@ -487,7 +487,7 @@ checks:
487487
references:
488488
microsoft: "https://learn.microsoft.com/en-us/azure/sap/workloads/high-availability-guide-rhel-ibm-db2-luw?tabs=lb-portal#ibm-db2-hadr-settings-for-azure"
489489

490-
- id: "DB-DB2-0018"
490+
- id: "DB-Db2-0018"
491491
name: "Maximum shared memory segments"
492492
description: "Maximum shared memory segments"
493493
category: *sap_check
@@ -512,7 +512,7 @@ checks:
512512
microsoft: "https://www.ibm.com/docs/en/db2/11.1?topic=unix-kernel-parameter-requirements-linux"
513513
sap: "2751102"
514514

515-
- id: "DB-DB2-0019"
515+
- id: "DB-Db2-0019"
516516
name: "Instance Memory size"
517517
description: "Instance Memory size"
518518
category: *sap_check

src/roles/configuration_checks/tasks/files/hana.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ enums:
4040
- hana: &hana "HANA"
4141
- mssql: &mssql "MSSQL"
4242
- oracle: &oracle "Oracle"
43-
- db2: &db2 "DB2"
43+
- db2: &db2 "Db2"
4444
- ase: &ase "ASE"
4545
- all_db: &db [*hana, *mssql, *oracle, *db2, *ase]
4646

src/roles/configuration_checks/tasks/files/network.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ enums:
4040
- hana: &hana "HANA"
4141
- mssql: &mssql "MSSQL"
4242
- oracle: &oracle "Oracle"
43-
- db2: &db2 "DB2"
43+
- db2: &db2 "Db2"
4444
- ase: &ase "ASE"
4545
- all_db: &db [*hana, *mssql, *oracle, *db2, *ase]
4646

src/roles/configuration_checks/tasks/files/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ enums:
3939
- hana: &hana "HANA"
4040
- mssql: &mssql "MSSQL"
4141
- oracle: &oracle "Oracle"
42-
- db2: &db2 "DB2"
42+
- db2: &db2 "Db2"
4343
- ase: &ase "ASE"
4444
- db: &db [*hana, *mssql, *oracle, *db2, *ase]
4545

src/roles/configuration_checks/tasks/files/sap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ enums:
3939
- hana: &hana "HANA"
4040
- mssql: &mssql "MSSQL"
4141
- oracle: &oracle "Oracle"
42-
- db2: &db2 "DB2"
42+
- db2: &db2 "Db2"
4343
- ase: &ase "ASE"
4444
- all_db: &db [*hana, *mssql, *oracle, *db2, *ase]
4545

src/roles/configuration_checks/tasks/files/virtual_machine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ enums:
3939
- hana: &hana "HANA"
4040
- mssql: &mssql "MSSQL"
4141
- oracle: &oracle "Oracle"
42-
- db2: &db2 "DB2"
42+
- db2: &db2 "Db2"
4343
- ase: &ase "ASE"
4444
- all_db: &db [*hana, *mssql, *oracle, *db2, *ase]
4545

src/roles/configuration_checks/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
execution_warnings: "{{ execution_warnings | default([]) }}"
4040
when: compute_metadata is not failed
4141

42-
- name: "{{ check_type.name }} - Include disks task when HANA or DB2 checks to be run"
42+
- name: "{{ check_type.name }} - Include disks task when HANA or Db2 checks to be run"
4343
ansible.builtin.include_tasks: disks.yml
4444
when: check_type.file_name in ["hana", "db2"]
4545

0 commit comments

Comments
 (0)