Skip to content

Commit 9baef26

Browse files
idm_23.4.2_release (#183)
1 parent 83eb278 commit 9baef26

File tree

26 files changed

+4446
-1566
lines changed

26 files changed

+4446
-1566
lines changed

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

Lines changed: 5 additions & 725 deletions
Large diffs are not rendered by default.

docs-source/content/idm-products/oam/create-oam-domains/create-oam-domains-using-wdt-models.md

Lines changed: 1292 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 733 additions & 0 deletions
Large diffs are not rendered by default.

docs-source/content/idm-products/oam/create-or-update-image/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ description= "Create or update an Oracle Access Management (OAM) container imag
77

88
As described in [Prepare Your Environment](../prepare-your-environment) you can create your own OAM container image. If you have access to the My Oracle Support (MOS), and there is a need to build a new image with an interim or one off patch, it is recommended to use the WebLogic Image Tool to build an Oracle Access Management image for production deployments.
99

10-
1110
### Create or update an Oracle Access Management image using the WebLogic Image Tool
1211

1312
Using the WebLogic Image Tool, you can [create](../create-or-update-image/#create-an-image) a new Oracle Access Management image with PSU's and interim patches or [update](../create-or-update-image/#update-an-image) an existing image with one or more interim patches.

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

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ description: "The WebLogic Kubernetes Operator supports deployment of Oracle Acc
88
The WebLogic Kubernetes Operator supports deployment of Oracle Access Management (OAM).
99

1010
In this release, OAM domains are supported using the “domain on a persistent volume”
11-
[model](https://oracle.github.io/weblogic-kubernetes-operator/userguide/managing-domains/choosing-a-model/) only, where the domain home is located in a persistent volume (PV).
11+
[model](https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/choosing-a-model/) only, where the domain home is located in a persistent volume (PV).
12+
13+
Domain on persistent volume (Domain on PV) is an operator [domain home source type](https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/choosing-a-model/), which requires that the domain home exists on a persistent volume. The domain home can be created either using the Weblogic Scripting Tool (WLST) scripts or Weblogic Deploy Tooling (WDT) model files by specifying the section domain.spec.configuration.initializeDomainOnPV, in the domain resource YAML file. The initial domain topology and resources are described using [WebLogic Deploy Tooling (WDT) models](https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-on-pv/overview/#weblogic-deploy-tooling-models).
14+
15+
NOTE: The initializeDomainOnPV section provides a one time only domain home initialization. The operator creates the domain when the domain resource is first deployed. After the domain is created, this section is ignored. Subsequent domain lifecycle updates must be controlled by the WebLogic Server Administration Console, the WebLogic Remote Console, WebLogic Scripting Tool (WLST), or other mechanisms.
1216

1317
The WebLogic Kubernetes Operator has several key features to assist you with deploying and managing Oracle Access Management domains in a Kubernetes
1418
environment. You can:
@@ -21,9 +25,19 @@ environment. You can:
2125
* Publish operator and WebLogic Server logs into Elasticsearch and interact with them in Kibana.
2226
* Monitor the OAM instance using Prometheus and Grafana.
2327

28+
### Weblogic Deploy Tooling Models
29+
30+
Weblogic Deploy Tooling (WDT) models are a convenient and simple alternative to WLST configuration scripts. They compactly define a WebLogic domain using model files, variable properties files, and application archive files. For more information about the model format and its integration, see [Usage](https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-on-pv/usage/) and [Working With WDT Model Files](https://oracle.github.io/weblogic-kubernetes-operator/managing-domains/domain-on-pv/model-files/). The WDT model format is fully described in the open source, [WebLogic Deploy Tooling GitHub project](https://oracle.github.io/weblogic-deploy-tooling/).
31+
32+
The main benefits of WDT are:
33+
34+
+ A set of single-purpose tools supporting Weblogic domain configuration lifecycle operations.
35+
+ All tools work off of a shared, declarative model, eliminating the need to maintain specialized WLST scripts.
36+
+ WDT knowledge base understands the MBeans, attributes, and WLST capabilities/bugs across WLS versions.
37+
2438
### Current production release
2539

26-
The current production release for the Oracle Access Management domain deployment on Kubernetes is [23.4.1](https://github.com/oracle/fmw-kubernetes/releases). This release uses the WebLogic Kubernetes Operator version 4.1.2.
40+
The current production release for the Oracle Access Management domain deployment on Kubernetes is [23.4.2](https://github.com/oracle/fmw-kubernetes/releases). This release uses the WebLogic Kubernetes Operator version 4.1.2.
2741

2842
For 4.0.X WebLogic Kubernetes Operator refer to [Version 23.3.1](https://oracle.github.io/fmw-kubernetes/23.3.1/idm-products/oam/)
2943

@@ -55,6 +69,7 @@ Please note, you also have the option to follow the Enterprise Deployment Guide
5569

5670
To view documentation for an earlier release, see:
5771

72+
* [Version 23.4.1](https://oracle.github.io/fmw-kubernetes/23.3.1/idm-products/oam/)
5873
* [Version 23.3.1](https://oracle.github.io/fmw-kubernetes/23.3.1/idm-products/oam/)
5974
* [Version 23.2.1](https://oracle.github.io/fmw-kubernetes/23.2.1/idm-products/oam/)
6075
* [Version 23.1.1](https://oracle.github.io/fmw-kubernetes/23.1.1/idm-products/oam/)

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

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,42 @@ You will also need the BASE64 version of the Certificate Authority (CA) certific
122122
$ kubectl describe domains accessdomain -n oamns | grep "Mount Path"
123123
```
124124

125-
The output will look similar to the following:
125+
If you deployed OAM using WLST, the output will look similar to the following:
126126

127127
```
128128
Mount Path: /u01/oracle/user_projects/domains
129129
```
130130

131+
If you deployed OAM using WDT, the output will look similar to the following:
132+
133+
```
134+
Mount Path: /u01/oracle/user_projects
135+
```
136+
137+
#### Find the Domain Home and Log Home details
138+
139+
1. Run the following command to get the `Domain Home` and `Log Home` of your domain:
140+
141+
```bash
142+
$ kubectl describe domains <domain_uid> -n <domain_namespace> | egrep "Domain Home: | Log Home:"
143+
```
144+
145+
For example:
146+
147+
```bash
148+
$ kubectl describe domains accessdomain -n oamns | egrep "Domain Home: | Log Home:"
149+
```
150+
151+
The output will look similar to the following:
152+
153+
```
154+
Domain Home: /u01/oracle/user_projects/domains/accessdomain
155+
Http Access Log In Log Home: true
156+
Log Home: /u01/oracle/user_projects/domains/logs/accessdomain
157+
```
158+
159+
160+
131161
#### Find the persistentVolumeClaim details
132162

133163
1. Run the following command to get the OAM domain persistence volume details:
@@ -189,32 +219,32 @@ You will also need the BASE64 version of the Certificate Authority (CA) certific
189219
logstash-config.conf: |
190220
input {
191221
file {
192-
path => "/u01/oracle/user_projects/domains/logs/accessdomain/AdminServer*.log"
222+
path => "<Log Home>/**/logs/AdminServer*.log"
193223
tags => "Adminserver_log"
194224
start_position => beginning
195225
}
196226
file {
197-
path => "/u01/oracle/user_projects/domains/logs/accessdomain/oam_policy_mgr*.log"
227+
path => "<Log Home>/**/logs/oam_policy_mgr*.log"
198228
tags => "Policymanager_log"
199229
start_position => beginning
200230
}
201231
file {
202-
path => "/u01/oracle/user_projects/domains/logs/accessdomain/oam_server*.log"
232+
path => "<Log Home>/**/logs/oam_server*.log"
203233
tags => "Oamserver_log"
204234
start_position => beginning
205235
}
206236
file {
207-
path => "/u01/oracle/user_projects/domains/accessdomain/servers/AdminServer/logs/AdminServer-diagnostic.log"
237+
path => <Domain Home>/servers/AdminServer/logs/AdminServer-diagnostic.log"
208238
tags => "Adminserver_diagnostic"
209239
start_position => beginning
210240
}
211241
file {
212-
path => "/u01/oracle/user_projects/domains/accessdomain/servers/**/logs/oam_policy_mgr*-diagnostic.log"
242+
path => "<Domain Home>/servers/**/logs/oam_policy_mgr*-diagnostic.log"
213243
tags => "Policy_diagnostic"
214244
start_position => beginning
215245
}
216246
file {
217-
path => "/u01/oracle/user_projects/domains/accessdomain/servers/AdminServer/logs/auditlogs/OAM/audit.log"
247+
path => <Domain Home>/servers/AdminServer/logs/auditlogs/OAM/audit.log"
218248
tags => "Audit_logs"
219249
start_position => beginning
220250
}
@@ -246,7 +276,7 @@ You will also need the BASE64 version of the Certificate Authority (CA) certific
246276
Change the values in the above file as follows:
247277

248278
+ Change the `<ELKNS>`, `<ELK_HOSTS>`, `<ELK_SSL>`, and `<ELK_USER>` to match the values for your environment.
249-
+ Change `/u01/oracle/user_projects/domains` to match the `mountPath` returned earlier
279+
+ Change `<Log Home>` and `<Domain Home>` to match the Log Home and Domain Home returned earlier.
250280
+ If your domainUID is anything other than `accessdomain`, change each instance of `accessdomain` to your domainUID.
251281
+ If using API KEY for your ELK authentication, delete the `user` and `password` lines.
252282
+ If using a password for ELK authentication, delete the `api_key` line.
@@ -259,29 +289,29 @@ You will also need the BASE64 version of the Certificate Authority (CA) certific
259289
kind: ConfigMap
260290
metadata:
261291
name: oam-logstash-configmap
262-
namespace: oamns
292+
namespace: <ELKNS>
263293
data:
264294
logstash.yml: |
265295
#http.host: "0.0.0.0"
266296
logstash-config.conf: |
267297
input {
268298
file {
269-
path => "/u01/oracle/user_projects/domains/logs/accessdomain/AdminServer*.log"
299+
path => "/u01/oracle/user_projects/domains/logs/accessdomain/**/logs/AdminServer*.log"
270300
tags => "Adminserver_log"
271301
start_position => beginning
272302
}
273303
file {
274-
path => "/u01/oracle/user_projects/domains/logs/accessdomain/oam_policy_mgr*.log"
304+
path => "/u01/oracle/user_projects/domains/logs/accessdomain/**/logs/oam_policy_mgr*.log"
275305
tags => "Policymanager_log"
276306
start_position => beginning
277307
}
278308
file {
279-
path => "/u01/oracle/user_projects/domains/logs/accessdomain/oam_server*.log"
309+
path => "/u01/oracle/user_projects/domains/logs/accessdomain/**/logs/oam_server*.log"
280310
tags => "Oamserver_log"
281311
start_position => beginning
282312
}
283313
file {
284-
path => "/u01/oracle/user_projects/domains/accessdomain/servers/AdminServer/logs/AdminServer-diagnostic.log"
314+
path => /u01/oracle/user_projects/domains/accessdomain/servers/AdminServer/logs/AdminServer-diagnostic.log"
285315
tags => "Adminserver_diagnostic"
286316
start_position => beginning
287317
}
@@ -371,7 +401,7 @@ You will also need the BASE64 version of the Certificate Authority (CA) certific
371401
- containerPort: 5044
372402
name: logstash
373403
volumeMounts:
374-
- mountPath: /u01/oracle/user_projects
404+
- mountPath: <mountPath>
375405
name: weblogic-domain-storage-volume
376406
- name: shared-logs
377407
mountPath: /shared-logs
@@ -411,8 +441,8 @@ You will also need the BASE64 version of the Certificate Authority (CA) certific
411441
emptyDir: {}
412442
```
413443

414-
+ Change the `<ELKNS>`, `<ELK_VER>` to match the values for your environment.
415-
+ Change `/u01/oracle/user_projects/domains` to match the `mountPath` returned earlier
444+
+ Change the `<ELKNS>`, `<ELK_VER>` to match the values for your environment
445+
+ Change `<mountPath>` to match the `mountPath` returned earlier
416446
+ Change the `claimName` value to match the `claimName` returned earlier
417447
+ 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`
418448

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ For usage details execute `./setup-monitoring.sh -h`.
8282
# Name of the Kubernetes secret for the Admin Server's username and password
8383
weblogicCredentialsSecretName: accessdomain-credentials
8484
```
85+
86+
**Note**: For WDT domains, `weblogicCredentialsSecretName` should be set to `accessdomain-weblogic-credentials`.
87+
8588
**Note**: If your cluster does not have access to the internet to pull external images, such as grafana or prometheus, you must load the images in a local container registry. You must then set `additionalParamForKubePrometheusStack` to set the location of the image in your local container registry, for example:
8689

8790
```

docs-source/content/idm-products/oam/post-install-config/_index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,18 @@ Follow these post install configuration steps.
1818

1919
1. Navigate to the following directory:
2020

21+
For OAM domains created with WLST:
22+
2123
```bash
2224
$ cd $WORKDIR/kubernetes/create-access-domain/domain-home-on-pv/output/weblogic-domains/accessdomain
2325
```
2426

27+
For OAM domains created with WDT:
28+
29+
```bash
30+
$ cd $WORKDIR/kubernetes/create-access-domain/domain-home-on-pv/
31+
```
32+
2533
1. Create a `setUserOverrides.sh` with the following contents:
2634

2735
```

docs-source/content/idm-products/oam/prepare-your-environment/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,9 @@ Before following the steps in this section, make sure that the database and list
609609

610610
### Preparing the environment for domain creation
611611

612-
In this section you prepare the environment for the OAM domain creation. This involves the following steps:
612+
**Note**: If you want to create an OAM domain using WDT models, skip the steps below and continue from [Create OAM Domains Using WDT Models](../create-oam-domains/create-oam-domains-using-wdt-models).
613+
614+
In this section you prepare the environment for the OAM domain creation using WLST scripts. This involves the following steps:
613615

614616
a. [Creating Kubernetes secrets for the domain and RCU](#creating-kubernetes-secrets-for-the-domain-and-rcu)
615617

docs-source/content/idm-products/oam/release-notes/_index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ Review the latest changes and known issues for Oracle Access Management on Kuber
1010

1111
| Date | Version | Change |
1212
| --- | --- | --- |
13+
| November, 2023 | 23.4.2 | Supports Oracle Access Management 12.2.1.4 domain deployment using the October 2023 container image which contains the October Patch Set Update (PSU) and other fixes released with the Critical Patch Update (CPU) program.|
14+
| | | This release contains the following changes:
15+
| | | Support for creation of OAM domains using Weblogic Deploy Tooling (WDT) Models. See [Create OAM domains Using WDT Models](../create-oam-domains/create-oam-domains-using-wdt-models).|
16+
| | | If currently on October 23 (23.4.1) there is no need to upgrade as the November 23 (23.4.2) release only adds the ability to create new OAM domains using WDT.
17+
| | | If upgrading to November 23 (23.4.2) from October 22 (22.4.1) or later, you must upgrade the following in order:
18+
| | | 1. WebLogic Kubernetes Operator to 4.1.2|
19+
| | | 2. Patch the OAM container image to October 23|
20+
| | | If upgrading to November 23 (23.4.2) from a release prior to October 22 (22.4.1), you must upgrade the following in order:
21+
| | | 1. WebLogic Kubernetes Operator to 4.1.2|
22+
| | | 2. Patch the OAM container image to October 23|
23+
| | | 3. Upgrade the Ingress|
24+
| | | 4. Upgrade Elasticsearch and Kibana|
25+
| | | See [Patch and Upgrade](../patch-and-upgrade) for these instructions.|
1326
| October, 2023 | 23.4.1 | Supports Oracle Access Management 12.2.1.4 domain deployment using the October 2023 container image which contains the October Patch Set Update (PSU) and other fixes released with the Critical Patch Update (CPU) program.|
1427
| | | This release contains the following changes:
1528
| | | + Support for WebLogic Kubernetes Operator 4.1.2.|

0 commit comments

Comments
 (0)