Skip to content

Commit 1937b75

Browse files
committed
beginner_patching: Inventory for ORDS + APEX
1 parent 984b62b commit 1937b75

File tree

5 files changed

+55
-8
lines changed

5 files changed

+55
-8
lines changed

changelogs/fragments/beginner.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
major_changes:
3+
- "beginner_patching: Inventory for ORDS + APEX (oravirt#473)"

example/beginner_patching/ansible/inventory/group_vars/all/db-homes.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ oracle_sw_patches:
6363
patchid: 30839369
6464
version: 21.0.0.0
6565
description: Latest cluvfy
66+
opatch_needed: false
67+
- filename: p36695709_2410_Generic.zip
68+
patchid: 36695709
69+
version: 24.1
70+
description: PSE BUNDLE FOR APEX 24.1
71+
opatch_needed: false
72+
- filename: p35895964_2320_Generic.zip
73+
patchid: 35895964
74+
version: 23.2
75+
description: PSE BUNDLE FOR APEX 23.2
76+
opatch_needed: false
6677
- filename: p36582781_190000_Linux-x86-64.zip
6778
patchid: 36582781
6879
version: 19.3.0.0

example/beginner_patching/ansible/inventory/host_vars/beginner-dbfs-patching-151-192-168-56-162.nip.io/databases.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ oracle_databases:
7272
- {name: log_buffer, value: '64M', scope: spfile, state: present}
7373
# - {name: pga_aggregate_target, value: '1024M', scope: both, state: present, dbca: false}
7474
- {name: pga_aggregate_target, value: '1G', scope: both, state: present}
75-
- {name: sga_target, value: '3096M', scope: spfile, state: present}
75+
- {name: sga_target, value: '2048M', scope: spfile, state: present}
7676
- {name: recyclebin, value: 'off', scope: spfile, state: present}
7777
- {name: streams_pool_size, value: '152M', scope: spfile, state: present}
7878
# "_cursor_obsolete_threshold" for 12.2+
@@ -109,7 +109,10 @@ oracle_pdbs:
109109
pdb_name: PDB1
110110
state: present
111111
apex_state: present
112-
apex_version: 23.2
112+
apex_version: 24.1
113+
apex_patchid: 36695709
114+
# apex_version: 23.2
115+
# apex_patchid: 35895964
113116
profiles: "{{ oracle_default_profiles }}"
114117
statspack:
115118
purgedays: 14
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# Images are pulled from CDN at Oracle.
3+
# oraords_apex_image_path: /u01/app/oracle/product/apex_24.1/apex/images/
4+
# oraords_apex_image_context: /i
5+
6+
oraords_db_pools:
7+
- db_pool: default
8+
pdb_name: PDB1
9+
admin_user: sys
10+
service: pdb1
11+
port: 1521
12+
host: "{{ inventory_hostname }}"
13+
feature_db_api: true
14+
feature_rest_enabled_sql: true
15+
feature_sdw: true
16+
17+
oraords_db_pools_password:
18+
default:
19+
admin_password: "{{ dbpasswords['DB1']['sys'] }}"
20+
ords_password: "{{ dbpasswords['DB1']['PDB1']['ords_public_user'] }}"
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
---
2-
# todo: Password ist noch fehlerhaft...
3-
# dbpasswords:
4-
# DB1:
5-
# SYS: Oracle123
6-
# PDB1:
7-
# PDBROOT: pdb
2+
default_dbpass: Oracle_123
3+
4+
dbpasswords:
5+
DB1:
6+
sys: Oracle_123
7+
system: Oracle_123
8+
dbsnmp: Oracle_456
9+
10+
PDB1:
11+
pdbadmin: Oracle_456
12+
ords_public_user: ords123
13+
apex_public_router: ords123
14+
apex_public_user: ords123
15+
apex_rest_public_user: ords123
16+
17+
oraapex_default_admin_password: Oracle_Apex_1

0 commit comments

Comments
 (0)