Skip to content

Commit c835d42

Browse files
authored
Release 23.2.1 - Oracle Identity Management documentation updates (#162)
1 parent 7a4c49b commit c835d42

File tree

554 files changed

+424149
-1455
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

554 files changed

+424149
-1455
lines changed

OracleUnifiedDirectory/kubernetes/helm/oud-ds-rs/templates/service-admin-upgrade-hook.yaml

100644100755
File mode changed.

docs-source/content/idm-products/oam/create-oam-domains/_index.md

Lines changed: 208 additions & 172 deletions
Large diffs are not rendered by default.

docs-source/content/idm-products/oam/introduction/_index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ environment. You can:
2323

2424
### Current production release
2525

26-
The current production release for the Oracle Access Management domain deployment on Kubernetes is [23.1.1](https://github.com/oracle/fmw-kubernetes/releases). This release uses the WebLogic Kubernetes Operator version 3.4.2.
26+
The current production release for the Oracle Access Management domain deployment on Kubernetes is [23.2.1](https://github.com/oracle/fmw-kubernetes/releases). This release uses the WebLogic Kubernetes Operator version 4.0.4.
2727

28-
For 3.3.X WebLogic Kubernetes Operator refer to [Version 22.3.1](https://oracle.github.io/fmw-kubernetes/22.3.1/oam/)
28+
For 3.4.X WebLogic Kubernetes Operator refer to [Version 23.1.1](https://oracle.github.io/fmw-kubernetes/23.1.1/idm-products/oam/)
2929

3030
### Recent changes and known issues
3131

@@ -46,6 +46,7 @@ If performing an Enterprise Deployment where multiple Oracle Identity Management
4646

4747
To view documentation for an earlier release, see:
4848

49+
* [Version 23.1.1](https://oracle.github.io/fmw-kubernetes/23.1.1/idm-products/oam/)
4950
* [Version 22.4.1](https://oracle.github.io/fmw-kubernetes/22.4.1/oam/)
5051
* [Version 22.3.1](https://oracle.github.io/fmw-kubernetes/22.3.1/oam/)
5152
* [Version 22.2.1](https://oracle.github.io/fmw-kubernetes/22.2.1/oam/)

docs-source/content/idm-products/oam/manage-oam-domains/domain-lifecycle.md

Lines changed: 187 additions & 145 deletions
Large diffs are not rendered by default.

docs-source/content/idm-products/oam/manage-oam-domains/logging-and-visualization.md

Lines changed: 36 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ The table below outlines the variables and values you must set:
2727
| --- | --- | --- |
2828
| `<ELK_VER>` | `8.3.1` | The version of logstash you want to install.|
2929
| `<ELK_SSL>` | `true` | If SSL is enabled for ELK set the value to `true`, or if NON-SSL set to `false`. This value must be lowercase.|
30-
| `<ELK_CERT>` | `MIIDVjCCAj6gAwIBAgIRAOqQ3Gy75..etc...P9ovZ/EKPpE6Gq` | If `ELK_SSL=true`, this is the BASE64 version of the certificate between `---BEGIN CERTIFICATE---` and `---END CERTIFICATE---`. This is the Certificate Authority (CA) certificate(s), that signed the certificate of the Elasticsearch server. If using a self-signed certificate, this is the self signed certificate of the Elasticsearch server. See [Copying the Elasticsearch Certificate](https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/ikedg/installing-monitoring-and-visualization-software.html#GUID-C1FC1063-FA76-48AD-AE3D-A39390874C74) for details on how to get the correct certificate.|
3130
| `<ELK_HOSTS>` | `https://elasticsearch.example.com:9200` | The URL for sending logs to Elasticsearch. HTTP if NON-SSL is used.|
3231
| `<ELKNS>` | `oamns` | The domain namespace.|
3332
| `<ELK_USER>` | `logstash_internal` | The name of the user for logstash to access Elasticsearch.|
3433
| `<ELK_PASSWORD>` | `password` | The password for ELK_USER.|
3534
| `<ELK_APIKEY>` | `apikey` | The API key details.|
35+
36+
You will also need the BASE64 version of the Certificate Authority (CA) certificate(s) that signed the certificate of the Elasticsearch server. If using a self-signed certificate, this is the self signed certificate of the Elasticsearch server. See [Copying the Elasticsearch Certificate](https://docs.oracle.com/en/middleware/fusion-middleware/12.2.1.4/ikedg/installing-monitoring-and-visualization-software.html#GUID-C1FC1063-FA76-48AD-AE3D-A39390874C74) for details on how to get the correct certificate. In the example below the certificate is called `elk.crt`.
3637

3738

3839
#### Create Kubernetes secrets
@@ -152,7 +153,29 @@ The table below outlines the variables and values you must set:
152153

153154
#### Create the Configmap
154155

155-
1. Navigate to the `$WORKDIR/kubernetes/elasticsearch-and-kibana` directory and create a `logstash_cm.yaml` file as follows:
156+
1. Copy the `elk.crt` file to the `$WORKDIR/kubernetes/elasticsearch-and-kibana` directory.
157+
158+
1. Navigate to the `$WORKDIR/kubernetes/elasticsearch-and-kibana` directory and run the following:
159+
160+
```
161+
kubectl create configmap elk-cert --from-file=elk.crt -n <namespace>
162+
```
163+
164+
For example:
165+
166+
```
167+
kubectl create configmap elk-cert --from-file=elk.crt -n oamns
168+
```
169+
170+
The output will look similar to the following:
171+
172+
```
173+
configmap/elk-cert created
174+
```
175+
176+
177+
178+
1. Create a `logstash_cm.yaml` file in the `$WORKDIR/kubernetes/elasticsearch-and-kibana` directory as follows:
156179

157180
```
158181
apiVersion: v1
@@ -163,14 +186,9 @@ The table below outlines the variables and values you must set:
163186
data:
164187
logstash.yml: |
165188
#http.host: "0.0.0.0"
166-
167-
elk.crt: |
168-
-----BEGIN CERTIFICATE-----
169-
<ELK_CERT>
170-
-----END CERTIFICATE-----
171189
logstash-config.conf: |
172190
input {
173-
file {
191+
file {
174192
path => "/u01/oracle/user_projects/domains/logs/accessdomain/AdminServer*.log"
175193
tags => "Adminserver_log"
176194
start_position => beginning
@@ -195,16 +213,6 @@ The table below outlines the variables and values you must set:
195213
tags => "Policy_diagnostic"
196214
start_position => beginning
197215
}
198-
file {
199-
path => "/u01/oracle/user_projects/domains/accessdomain/servers/**/logs/oam_server*-diagnostic.log"
200-
tags => "Oamserver_diagnostic"
201-
start_position => beginning
202-
}
203-
file {
204-
path => "/u01/oracle/user_projects/domains/accessdomain/servers/**/logs/access*.log"
205-
tags => "Access_logs"
206-
start_position => beginning
207-
}
208216
file {
209217
path => "/u01/oracle/user_projects/domains/accessdomain/servers/AdminServer/logs/auditlogs/OAM/audit.log"
210218
tags => "Audit_logs"
@@ -226,20 +234,18 @@ The table below outlines the variables and values you must set:
226234
hosts => ["<ELK_HOSTS>"]
227235
cacert => '/usr/share/logstash/config/certs/elk.crt'
228236
index => "oamlogs-000001"
229-
ssl => <ELK_SSL>
237+
ssl => true
230238
ssl_certificate_verification => false
231239
user => "<ELK_USER>"
232240
password => "${ELASTICSEARCH_PASSWORD}"
233-
api_key => "${ELASTICSEARCH_PASSWORD}"
241+
api_key => "${ELASTICSEARCH_PASSWORD}"
234242
}
235243
}
236244
```
237245

238246
Change the values in the above file as follows:
239247

240-
+ Change the `<ELKNS>`, `<ELK_CERT>`, `<ELK_HOSTS>`. `<ELK_SSL>` to match the values for your environment.
241-
+ If using SSL, make sure the value for `<ELK_CERT>` is indented correctly. You can use the command: `sed 's/^/ /' elk.crt` to output the certificate with the correct indentation.
242-
+ If not using SSL, delete the `<ELK_CERT>` line, but leave the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----.
248+
+ Change the `<ELKNS>`, `<ELK_HOSTS>`, `<ELK_SSL>`, and `<ELK_USER>` to match the values for your environment.
243249
+ Change `/u01/oracle/user_projects/domains` to match the `mountPath` returned earlier
244250
+ If your domainUID is anything other than `accessdomain`, change each instance of `accessdomain` to your domainUID.
245251
+ If using API KEY for your ELK authentication, delete the `user` and `password` lines.
@@ -257,28 +263,6 @@ The table below outlines the variables and values you must set:
257263
data:
258264
logstash.yml: |
259265
#http.host: "0.0.0.0"
260-
261-
elk.crt: |
262-
-----BEGIN CERTIFICATE-----
263-
MIIDVjCCAj6gAwIBAgIRAOqQ3Gy75NvPPQUN5kXqNQUwDQYJKoZIhvcNAQELBQAw
264-
NTEWMBQGA1UECxMNZWxhc3RpY3NlYXJjaDEbMBkGA1UEAxMSZWxhc3RpY3NlYXJj
265-
aC1odHRwMB4XDTIyMDgyNDA1MTU1OVoXDTIzMDgyNDA1MjU1OVowNTEWMBQGA1UE
266-
CxMNZWxhc3RpY3NlYXJjaDEbMBkGA1UEAxMSZWxhc3RpY3NlYXJjaC1odHRwMIIB
267-
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsQOnxUm9uF32+lyc9SA3WcMZ
268-
P1X7TbHMDuO/l3UHBUf5F/bt2m3YkGw+enIos9wzuUNpjIwVt8q4WrRCMl80nAQ0
269-
yCXrfLSI9zaHxEC8Ht7V0U+7Sgu5uysD4tyZ9T0Q5zjvkWS6oBPxhfri3OQfPvUW
270-
gQ6wJaPGDteYZAwiBMvPEkmh0VUTBTXjToHrtrT7pzmz5BBWnUzdf+jv0+nEfedm
271-
mMWw/8jqyqid7bu7bo6gKBZ8zk06n2iMaXzmGW34QlYRLBgubThhxyDE7joZ4NTA
272-
UFEJecZR2fccmpN8CNkT9Ex4Hq88nh2OP5XKKPNF4kLh2u6F4auF7Uz42jwvIwID
273-
AQABo2EwXzAOBgNVHQ8BAf8EBAMCAoQwHQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsG
274-
AQUFBwMCMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFLQb/IjHHkSmHgKSPY7r
275-
zBIJZMbdMA0GCSqGSIb3DQEBCwUAA4IBBQA01qY0tGIPsKNkn7blxRjEYkTg59Z5
276-
vi6MCpGtdoyZeJgH621IpwyB34Hpu1RQfyg1aNgmOtIK9cvQZRl008DHF4AiHYhU
277-
6xe3cjI/QxDXwitoBgWl+a0mkwhSmzJt7TuzImq7RMO4ws3M/nGeNUwFjwsQu86+
278-
N/Y3RuuUVbK1xy8Jdz3FZADIgHVPN6GQwYKEpWrZNapKBXjunjCZmpBFxqGMRF44
279-
fcSKFlFkwjyTq4kgq44NPv18NMfKCYZcK7ttRTiep77vKB7No/TM69Oz5ZHhQ+2Q
280-
pSGg3QF+1fOCFCgWXFEOle6lQ5i8a/GihY0FuphrZxP9ovZ/EKPpE6Gq
281-
-----END CERTIFICATE-----
282266
logstash-config.conf: |
283267
input {
284268
file {
@@ -307,7 +291,7 @@ The table below outlines the variables and values you must set:
307291
start_position => beginning
308292
}
309293
file {
310-
path => "/u01/oracle/user_projects/domains/accessdomain/servers/AdminServer/logs/auditlogs/OAM/audit.log"
294+
path => "/u01/oracle/user_projects/domains/accessdomain/servers/AdminServer/logs/auditlogs/OAM/audit.log"
311295
tags => "Audit_logs"
312296
start_position => beginning
313297
}
@@ -387,7 +371,7 @@ The table below outlines the variables and values you must set:
387371
- containerPort: 5044
388372
name: logstash
389373
volumeMounts:
390-
- mountPath: /u01/oracle/user_projects/domains
374+
- mountPath: /u01/oracle/user_projects
391375
name: weblogic-domain-storage-volume
392376
- name: shared-logs
393377
mountPath: /shared-logs
@@ -404,7 +388,7 @@ The table below outlines the variables and values you must set:
404388
items:
405389
- key: elk.crt
406390
path: elk.crt
407-
name: oam-logstash-configmap
391+
name: elk-cert
408392
name: elk-cert
409393
- configMap:
410394
defaultMode: 420
@@ -430,6 +414,7 @@ The table below outlines the variables and values you must set:
430414
+ Change the `<ELKNS>`, `<ELK_VER>` to match the values for your environment.
431415
+ Change `/u01/oracle/user_projects/domains` to match the `mountPath` returned earlier
432416
+ Change the `claimName` value to match the `claimName` returned earlier
417+
+ If your Kubernetes environment does not allow access to the internet to pull the logstash image, you must load the logstash image in your own container registry and change `image: logstash:<ELK_VER>` to the location of the image in your container registry e.g: `container-registry.example.com/logstash:8.3.1`
433418

434419

435420
For example:
@@ -468,7 +453,7 @@ The table below outlines the variables and values you must set:
468453
- containerPort: 5044
469454
name: logstash
470455
volumeMounts:
471-
- mountPath: /u01/oracle/user_projects/domains
456+
- mountPath: /u01/oracle/user_projects
472457
name: weblogic-domain-storage-volume
473458
- name: shared-logs
474459
mountPath: /shared-logs
@@ -485,7 +470,7 @@ The table below outlines the variables and values you must set:
485470
items:
486471
- key: elk.crt
487472
path: elk.crt
488-
name: oam-logstash-configmap
473+
name: elk-cert
489474
name: elk-cert
490475
- configMap:
491476
defaultMode: 420
@@ -505,8 +490,7 @@ The table below outlines the variables and values you must set:
505490
persistentVolumeClaim:
506491
claimName: accessdomain-domain-pvc
507492
- name: shared-logs
508-
emptyDir: {}
509-
```
493+
emptyDir: {} ```
510494
511495
1. Deploy the `logstash` pod by executing the following command:
512496

0 commit comments

Comments
 (0)