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/staging/content/quickstart/create-domain.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ weight: 6
26
26
27
27
The script's behavior is controlled by an inputs file plus command-line options. The script downloads the [WebLogic Image Tool](https://oracle.github.io/weblogic-image-tool/) and [WebLogic Deploy Tool](https://oracle.github.io/weblogic-deploy-tooling/) and uses these tools to create a new image with a domain home. The script also creates a domain resource YAML file that references the image, and, if the `-e` option is specified, deploys the domain resource to Kubernetes. For a detailed understanding of the steps that the `create-domain.sh` script performs for you, see the bulleted items under [Use the script to create a domain]({{< relref "/samples/simple/domains/domain-home-in-image/#use-the-script-to-create-a-domain" >}})
28
28
29
-
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes only. In production, we strongly recommend that you use the WebLogic Image Tool and directly work with domain resource files instead.
29
+
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes _only_; its contents and the domain resource file that it generates for you might change without notice. In production, we strongly recommend that you use the WebLogic Image Tool and WebLogic Deploy Tooling (when applicable), and directly work with domain resource files instead.
30
30
{{% /notice%}}
31
31
32
32
First, copy the sample [create-domain-inputs.yaml](http://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/scripts/create-weblogic-domain/domain-home-in-image/create-domain-inputs.yaml) file and update your copy with:
@@ -52,7 +52,7 @@ weight: 6
52
52
{{% /notice %}}
53
53
54
54
For the detailed steps that the `create-domain.sh` script performs, see [Domain Home In Image]({{< relref "/samples/simple/domains/domain-home-in-image/_index.md" >}}).
55
-
55
+
56
56
57
57
1. Confirm that the operator started the servers for the domain:
We will use the `kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/create-domain.sh` script to create the WLS domain in the persistent volume we created previously.
146
146
147
+
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes _only_; its contents and the domain resource file that it generates for you might change without notice. In production, we strongly recommend that you use the WebLogic Image Tool and WebLogic Deploy Tooling (when applicable), and directly work with domain resource files instead.
148
+
{{% /notice%}}
149
+
147
150
We need to set up the domain configuration for the WebLogic domain.
Copy file name to clipboardExpand all lines: documentation/staging/content/samples/simple/domains/domain-home-in-image/_index.md
+11-13Lines changed: 11 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -56,44 +56,46 @@ $ ./create-domain.sh \
56
56
-i create-domain-inputs.yaml \
57
57
-o /<path to output-directory>
58
58
```
59
+
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes _only_; its contents and the domain resource file that it generates for you might change without notice. In production, we strongly recommend that you use the WebLogic Image Tool and WebLogic Deploy Tooling (when applicable), and directly work with domain resource files instead.
60
+
{{% /notice%}}
59
61
60
62
The script will perform the following steps:
61
63
62
64
* Create a directory for the generated properties and Kubernetes YAML files for this domain if it does not already exist. The pathname is `/<path to output-directory>/weblogic-domains/<domainUID>`. If the directory already exists, its contents will be removed.
63
65
64
-
* Create a properties file, `domain.properties`, in the directory that is created above.
66
+
* Create a properties file, `domain.properties`, in the directory that is created above.
65
67
This properties file will be used to create a sample WebLogic Server domain.
66
68
The `domain.properties` file will be removed upon successful completion of the script.
67
69
68
70
* Download the latest [WebLogic Deploy Tooling](https://oracle.github.io/weblogic-deploy-tooling) (WDT) and [WebLogic Image Tool](https://oracle.github.io/weblogic-image-tool/) installer ZIP files to your `/tmp/dhii-sample/tools` directory.
69
71
WIT is required to create your Domain in Image container images, and WDT is required if using `wdt` mode.
70
72
Visit the GitHub [WebLogic Deploy Tooling Releases](https://github.com/oracle/weblogic-deploy-tooling/releases) and [WebLogic Image Tool Releases](https://github.com/oracle/weblogic-image-tool/releases) web pages to determine the latest release version for each.
71
73
72
-
* Set up the WebLogic Image Tool in the `<toolsDir>/imagetool` directory, where `<toolsDir>` is the
74
+
* Set up the WebLogic Image Tool in the `<toolsDir>/imagetool` directory, where `<toolsDir>` is the
73
75
directory specified in the `toolsDir` parameter in the inputs YAML file. Set the
74
76
WIT cache store location to the `<tools>/imagetool-cache` directory and
75
77
put a `wdt_<WDT_VERSION>` entry in the tool's cache, which points to the path of the WDT ZIP file installer.
Copy file name to clipboardExpand all lines: documentation/staging/content/samples/simple/domains/domain-home-on-pv/_index.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,8 @@ $ ./create-domain.sh \
51
51
-i create-domain-inputs.yaml \
52
52
-o /<path to output-directory>
53
53
```
54
+
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes _only_; its contents and the domain resource file that it generates for you might change without notice. In production, we strongly recommend that you use the WebLogic Image Tool and WebLogic Deploy Tooling (when applicable), and directly work with domain resource files instead.
* Create a Kubernetes Namespace for the domain unless you intend to use the default namespace.
27
27
* If `logHomeOnPV` is enabled, create the Kubernetes PersistentVolume where the log home will be hosted, and the Kubernetes PersistentVolumeClaim for the domain in the same Kubernetes Namespace. For samples to create a PV and PVC, see [Create sample PV and PVC]({{< relref "/samples/simple/storage/_index.md" >}}).
@@ -38,10 +38,10 @@ The sample for creating domains is in this directory:
38
38
```shell
39
39
$ cd kubernetes/samples/scripts/create-fmw-infrastructure-domain/domain-home-in-image
40
40
```
41
-
Make a copy of the `create-domain-inputs.yaml` file, update it with the correct values.
41
+
Make a copy of the `create-domain-inputs.yaml` file, update it with the correct values.
42
42
If `fwmDomainType` is `JRF`, also update the input files with configurations for accessing the RCU database schema,
43
43
including `rcuSchemaPrefix`, `rcuSchemaPassword`, `rcuDatabaseURL`, and `rcuCredentialSecrets`.
44
-
Run the create script, pointing it at your inputs file and an output directory, along with user name and password for the WebLogic administrator,
44
+
Run the create script, pointing it at your inputs file and an output directory, along with user name and password for the WebLogic administrator,
45
45
and if creating a JFR FMW domain, also provide the password for the RCU schema:
46
46
47
47
```shell
@@ -52,18 +52,20 @@ $ ./create-domain.sh \
52
52
-i create-domain-inputs.yaml \
53
53
-o /<path to output-directory>
54
54
```
55
+
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes _only_; its contents and the domain resource file that it generates for you might change without notice. In production, we strongly recommend that you use the WebLogic Image Tool and WebLogic Deploy Tooling (when applicable), and directly work with domain resource files instead.
56
+
{{% /notice%}}
55
57
56
58
The script will perform the following steps:
57
59
58
60
* Create a directory for the generated Kubernetes YAML files for this domain if it does not
59
61
already exist. The path name is `/<path to output-directory>/weblogic-domains/<domainUID>`.
60
62
If the directory already exists, its contents must be removed before using this script.
61
63
62
-
* Create a properties file, `domain.properties`, in the directory that is created above.
63
-
This properties file will be used to create a sample FMW Infrastructure domain.
64
+
* Create a properties file, `domain.properties`, in the directory that is created above.
65
+
This properties file will be used to create a sample FMW Infrastructure domain.
64
66
The `domain.properties` file will be removed upon successful completion of the script.
65
67
66
-
* Download the latest [WebLogic Deploy Tooling](https://oracle.github.io/weblogic-deploy-tooling/) (WDT) and [WebLogic Image Tool](https://oracle.github.io/weblogic-image-tool/) installer ZIP files to your `/tmp/dhii-sample/tools` directory.
68
+
* Download the latest [WebLogic Deploy Tooling](https://oracle.github.io/weblogic-deploy-tooling/) (WDT) and [WebLogic Image Tool](https://oracle.github.io/weblogic-image-tool/) installer ZIP files to your `/tmp/dhii-sample/tools` directory.
67
69
WIT is required to create your Domain in Image container images, and WDT is required if using `wdt` mode.
68
70
Visit the GitHub [WebLogic Deploy Tooling Releases](https://github.com/oracle/weblogic-deploy-tooling/releases) and [WebLogic Image Tool Releases](https://github.com/oracle/weblogic-image-tool/releases) web pages to determine the latest release version for each.
69
71
@@ -74,23 +76,23 @@ The script will perform the following steps:
* Create a Kubernetes Namespace for the domain unless you intend to use the default namespace.
27
27
* In the same Kubernetes Namespace, create the Kubernetes PersistentVolume (PV) where the domain
@@ -37,7 +37,7 @@ The following prerequisites must be met prior to running the create domain scrip
37
37
* Unless you are creating a Restricted-JRF domain, you also need to:
38
38
* Configure access to your database. For details, see [here]({{< relref "/userguide/managing-fmw-domains/fmw-infra/_index.md#configuring-access-to-your-database" >}}).
39
39
* Create a Kubernetes Secret with the RCU credentials. For details, refer to this [document](https://github.com/oracle/weblogic-kubernetes-operator/blob/main/kubernetes/samples/scripts/create-rcu-credentials/README.md).
40
-
40
+
41
41
#### Use the script to create a domain
42
42
43
43
The sample for creating domains is in this directory:
@@ -54,6 +54,9 @@ $ ./create-domain.sh \
54
54
-o /<path to output-directory>
55
55
```
56
56
57
+
{{% notice note %}} The `create-domain.sh` script and its inputs file are for demonstration purposes _only_; its contents and the domain resource file that it generates for you might change without notice. In production, we strongly recommend that you use the WebLogic Image Tool and WebLogic Deploy Tooling (when applicable), and directly work with domain resource files instead.
58
+
{{% /notice%}}
59
+
57
60
The script will perform the following steps:
58
61
59
62
* Create a directory for the generated Kubernetes YAML files for this domain if it does not
0 commit comments