You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/4.1/content/samples/domains/domain-home-on-pv/_index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ For more information on Domain on PV, see the [Domain on PV]({{< relref "/managi
20
20
21
21
#### Domain on PV domain types (WLS and JRF)
22
22
23
-
Domain on PV is supported on two types of domains: a standard Oracle WebLogic Server (WLS) domain and an Oracle Fusion Middleware Infrastructure, Java Required Files (JRF) domain. This sample demonstrates both Oracle WebLogic Server (WLS) and JRF domain types.
23
+
Domain on PV is supported on two types of domains: a standard Oracle WebLogic Server (WLS) domain and an Oracle Fusion Middleware Infrastructure, Java Required Files (JRF) domain. This sample demonstrates both WLS and JRF domain types.
24
24
25
25
The JRF domain path through the sample includes additional steps required for JRF: deploying an infrastructure database, initializing the database using the Repository Creation Utility (RCU) tool, referencing the infrastructure database from the WebLogic configuration, setting an Oracle Platform Security Services (OPSS) wallet password, and exporting or importing an OPSS wallet file. JRF domains may be used by Oracle products that layer on top of WebLogic Server, such as SOA and OSB.
Copy file name to clipboardExpand all lines: documentation/4.1/content/samples/domains/domain-home-on-pv/build-domain-creation-image.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,12 @@ description: "Create WebLogic images using the WebLogic Image Tool and WebLogic
12
12
### Overview
13
13
14
14
The image build process uses the WebLogic Image Tool to create a Domain on PV `domain creation image`. This image contains:
15
-
- A WebLogic Deploy Tooling installation (expected in an image's `/auxiliary/weblogic-deploy` directory by default).
16
-
- WDT model YAML file (model), WDT variable (property), and WDT archive ZIP (archive) files (expected in directory `/auxiliary/models` by default).
15
+
- A WebLogic Deploy Tooling installation, expected in an image's `/auxiliary/weblogic-deploy` directory by default.
16
+
- WDT model YAML file (model), WDT variable (property), and WDT archive ZIP (archive) files, expected in directory `/auxiliary/models` by default,
17
+
which can include the following file types:
18
+
- WDT model YAML file - A declarative definition of the domain configuration.
19
+
- WDT variable file - A property file that maps names to values. These names can be referenced from the model file to allow a model to be used across environments by applying the variable file for a particular environment to the model.
20
+
- WDT archive file - A ZIP file containing application binaries and other files and directories needed to run the domain.
17
21
18
22
### Build the domain creation image
19
23
@@ -126,9 +130,9 @@ The archive top directory, named `wlsdeploy`, contains a directory named `applic
126
130
127
131
The application displays important details about the WebLogic Server instance that it's running on: namely its domain name, cluster name, and server name, as well as the names of any data sources that are targeted to the server. Also, you can see that application output reports that it's at version `v1`.
128
132
129
-
#### Stage a ZIP file of the archive
133
+
#### Stage the archive ZIP file
130
134
131
-
When you create the image, you will use the files in the staging directory, `/tmp/sample/wdt-artifacts/wdt-model-files/WLS-v1`. In preparation, you need it to contain a WDT application archive (a ZIP) file.
135
+
When you create the image, you will use the files in the staging directory, `/tmp/sample/wdt-artifacts/wdt-model-files/WLS-v1`. In preparation, you need it to contain a WDT application archive ZIP file.
132
136
133
137
Run the following commands to create your application archive ZIP file and put it in the expected directory:
Copy file name to clipboardExpand all lines: documentation/4.1/content/samples/domains/domain-home-on-pv/prerequisites.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ To do this, follow the same steps as the [Quick Start](https://oracle.github.io/
147
147
148
148
### Additional prerequisites for JRF domains
149
149
150
-
**NOTE**: If you're using a Domain on PV WLS domain type, skip this section and continue on to [Build the domain creation image]({{< relref "/samples/domains/domain-home-on-pv/build-domain-creation-image.md" >}})
150
+
**NOTE**: If you're using a Domain on PV, WLS domain type, skip this section and continue on to [Build the domain creation image]({{< relref "/samples/domains/domain-home-on-pv/build-domain-creation-image.md" >}})
Copy file name to clipboardExpand all lines: documentation/4.1/content/samples/domains/model-in-image/update3.md
+18-21Lines changed: 18 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Here are the steps for this use case:
29
29
30
30
2. Create an updated auxiliary image.
31
31
32
-
Recall that a goal of the [Initial]({{< relref "/samples/domains/model-in-image/initial.md" >}}) use case was to demonstrate using the WebLogic Image Tool to create an auxiliary image named `model-in-image:WLS-AI-v1` from files that were staged in `/tmp/sample/model-images/model-in-image__WLS-AI-v1/`. The staged files included a web application in a WDT ZIP archive, and WDT model configuration for a WebLogic Server Administration Server called `admin-server` and a WebLogic cluster called `cluster-1`. The final image was called `model-in-image:WLS-AI-v1` and, in addition to having a copy of the staged files in its `/auxiliary/models` directory, also contained a WebLogic Deploy Tooling installation in its `/auxiliary/weblogic-deploy` directory.
32
+
Recall that a goal of the [Initial]({{< relref "/samples/domains/model-in-image/initial.md" >}}) use case was to demonstrate using the WebLogic Image Tool to create an auxiliary image named `wdt-domain-image:WLS-v1` from files that were staged in `/tmp/sample/model-images/model-in-image__WLS-AI-v1/`. The staged files included a web application in a WDT ZIP archive, and WDT model configuration for a WebLogic Server Administration Server called `admin-server` and a WebLogic cluster called `cluster-1`. The final image was called `wdt-domain-image:WLS-AI-v1` and, in addition to having a copy of the staged files in its `/auxiliary/models` directory, also contained a WebLogic Deploy Tooling installation in its `/auxiliary/weblogic-deploy` directory.
33
33
34
34
In this use case, you will follow similar steps to the [Initial]({{< relref "/samples/domains/model-in-image/initial.md" >}}) use case to create a new image with an updated application and model, plus deploy the updated model and application to the running [Update 1]({{< relref "/samples/domains/model-in-image/update1.md" >}}) use case domain.
35
35
@@ -51,24 +51,24 @@ Here are the steps for this use case:
51
51
# Delete existing archive.zip in case we have an old leftover version
# Move to the directory which contains the source files for our new archive
58
58
```
59
59
```shell
60
-
$ cd /tmp/sample/archives/archive-v2
60
+
$ cd /tmp/sample/wdt-artifacts/archives/archive-v2
61
61
```
62
62
```
63
-
# Zip the archive to the location will later use when we run the WebLogic Image Tool
63
+
# Using the [WDT archive helper tool](#https://oracle.github.io/weblogic-deploy-tooling/userguide/tools/archive_helper/), create the archive in the location that we will use later when we run the WebLogic Image Tool.
64
64
```
65
65
```shell
66
-
$ zip -r /tmp/sample/model-images/model-in-image__WLS-AI-v2/archive.zip wlsdeploy
The WDT model YAML file and properties for this use case have already been staged for you to directory `/tmp/sample/model-in-image__WLS-AI-v2`.
71
+
The WDT model YAML file and properties for this use case have already been staged for you to directory `/tmp/sample/wdt-artifacts/wdt-model-files/WLS-v2`.
72
72
73
73
The `model.10.yaml` file in this directory has an updated path `wlsdeploy/applications/myapp-v2` that references the updated web application in your archive, but is otherwise identical to the model staged for the original image. The final related YAML file stanza looks like this:
74
74
@@ -85,25 +85,22 @@ Here are the steps for this use case:
85
85
86
86
- Create a new auxiliary image from your staged model files using WIT.
87
87
88
-
At this point, you have staged all of the files needed for image `model-in-image:WLS-AI-v2`; they include:
88
+
At this point, you have staged all of the files needed for image `wdt-domain-image:WLS-v2`; they include:
If you don't see the `weblogic-deploy.zip` file, then you missed a step in the [prerequisites]({{< relref "/samples/domains/model-in-image/prerequisites.md" >}}).
96
-
97
-
Now, you use the Image Tool to create an auxiliary image named `model-in-image:WLS-AI-v2`. You've already set up this tool during the prerequisite steps.
94
+
Now, you use the Image Tool to create an auxiliary image named `wdt-domain-image:WLS-v2`. You've already set up this tool during the prerequisite steps.
98
95
99
96
Run the following commands to create the auxiliary image and verify that it worked:
100
97
101
98
```shell
102
-
$ cd /tmp/sample/model-images/model-in-image__WLS-AI-v2
99
+
$ cd /tmp/sample/wdt-artifacts/wdt-model-files/WLS-v2
Also, if you run the `docker images` command, then you will see an image named `model-in-image:WLS-AI-v2`.
124
+
Also, if you run the `docker images` command, then you will see an image named `wdt-domain-image:WLS-v2`.
128
125
129
126
**NOTE**: Before you deploy the domain custom resource, ensure all nodes in your Kubernetes cluster [can access `auxiliary-image` and other images]({{< relref "/samples/domains/model-in-image/_index.md#ensuring-your-kubernetes-cluster-can-access-images" >}}).
130
127
@@ -140,15 +137,15 @@ Here are the steps for this use case:
140
137
141
138
- Working on a copy is not strictly necessary, but it helps keep track of your work for the different use cases in this sample and provides you a backup of your previous work.
142
139
143
-
- Change the `/tmp/sample/mii-update3.yaml` Domain YAML file's `image` field to reference `model-in-image:WLS-AI-v2` instead of `model-in-image:WLS-AI-v1`.
140
+
- Change the `/tmp/sample/mii-update3.yaml` Domain YAML file's `image` field to reference `wdt-domain-image:WLS-v2` instead of `wdt-domain-image:WLS-v1`.
0 commit comments