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/userguide/managing-domains/model-in-image/debugging.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ description = "Debugging a deployed Model in Image domain."
8
8
9
9
Here are some suggestions for debugging problems with Model in Image after your Domain YAML file is deployed.
10
10
11
-
####Contents
11
+
### Contents
12
12
13
13
-[Check the Domain status](#check-the-domain-status)
14
14
-[Check the Domain events](#check-the-domain-events)
@@ -18,20 +18,20 @@ Here are some suggestions for debugging problems with Model in Image after your
18
18
-[Check the FAQ](#check-the-faq)
19
19
20
20
21
-
####Check the Domain status
21
+
### Check the Domain status
22
22
23
23
To check the Domain status: `kubectl -n MY_NAMESPACE describe domain MY_DOMAINUID`.
24
24
25
25
If you are performing an online update to a running domain's WebLogic configuration,
26
26
then see [Online update status and labels]({{<relref "/userguide/managing-domains/model-in-image/runtime-updates#online-update-status-and-labels">}}).
27
27
28
-
####Check the Domain events
28
+
### Check the Domain events
29
29
30
30
To check events for the Domain: `kubectl -n MY_NAMESPACE get events --sort-by='.lastTimestamp'`.
31
31
32
32
For more information, see [Domain events]({{< relref "/userguide/managing-domains/domain-events.md" >}}).
33
33
34
-
####Check the introspector job
34
+
### Check the introspector job
35
35
36
36
If your introspector job failed, then examine the `kubectl describe` of the job and its pod, and also examine its log, if one exists.
37
37
@@ -92,7 +92,7 @@ when `spec.logHome` is configured and `spec.logHomeEnabled` is true.
92
92
If a model file error references a model file in your `spec.configuration.model.configMap`, then you can correct the error by redeploying the ConfigMap with a corrected model file and then initiating a domain restart or roll. Similarly, if a model file error references a model file in your model image, then you can correct the error by deploying a corrected image, modifying your Domain YAML file to reference the new image, and then initiating a domain restart or roll.
93
93
{{% /notice %}}
94
94
95
-
####Check the WebLogic Server pods
95
+
### Check the WebLogic Server pods
96
96
97
97
If your introspector job succeeded, then there will be no introspector job or pod, the operator will create a `MY_DOMAIN_UID-weblogic-domain-introspect-cm` ConfigMap for your domain, and the operator will then run the domain's WebLogic Server pods.
98
98
@@ -101,7 +101,7 @@ If `kubectl -n MY_NAMESPACE get pods` reveals that your WebLogic Server pods hav
101
101
If you are performing an online update to a running domain's WebLogic configuration,
102
102
then see [Online update status and labels]({{<relref "/userguide/managing-domains/model-in-image/runtime-updates#online-update-status-and-labels">}}).
103
103
104
-
####Check the operator log
104
+
### Check the operator log
105
105
106
106
Look for `SEVERE` and `ERROR` level messages in your operator logs. For example:
107
107
@@ -133,7 +133,7 @@ Look for `SEVERE` and `ERROR` level messages in your operator logs. For example:
133
133
| grep "domainUID...sample-domain1"
134
134
```
135
135
136
-
####Check the FAQ
136
+
### Check the FAQ
137
137
138
138
Common issues that have corresponding FAQ entries include:
139
139
- When a Domain YAML file is deployed and no introspector or WebLogic Server pods start, plus the operator log contains no mention of the domain, then check to make sure that the Domain's namespace has been set up to be monitored by an operator. See the [Managing domain namespaces FAQ]({{<relref "/faq/namespace-management">}}).
-[Using environment variables in model files](#using-environment-variables-in-model-files)
18
18
-[Combining secrets and environment variables in model files](#combining-secrets-and-environment-variables-in-model-files)
19
19
20
-
####Introduction
20
+
### Introduction
21
21
22
22
This document describes basic Model in Image model file syntax, naming, and macros. For additional information, see the [WebLogic Deploy Tool](https://oracle.github.io/weblogic-deploy-tooling/) documentation.
23
23
24
24
{{% notice tip %}} The WDT [Discover Domain Tool](https://oracle.github.io/weblogic-deploy-tooling/userguide/tools/discover/) is particularly useful for generating model files from an existing domain home.
25
25
{{% /notice %}}
26
26
27
-
####Sample model file
27
+
### Sample model file
28
28
29
29
Here's an example of a model YAML file that defines a WebLogic Server Administration Server and dynamic cluster.
30
30
@@ -60,7 +60,7 @@ This sample model file:
60
60
61
61
For a description of model file macro references to secrets and environment variables, see [Model file macros](#model-file-macros).
62
62
63
-
#### Important notes about Model in Image model files
63
+
### Important notes about Model in Image model files
64
64
65
65
- Using model file macros
66
66
@@ -86,7 +86,7 @@ For a description of model file macro references to secrets and environment vari
86
86
87
87
- You can control the order that WDT uses to load your model files, see [Model file naming and loading order](#model-file-naming-and-loading-order).
88
88
89
-
#### Model file naming and loading order
89
+
### Model file naming and loading order
90
90
91
91
Refer to this section if you need to control the order in which your model files are loaded. The order is important when two or more model files refer to the same configuration, because the last model that's loaded has the highest precedence.
Property files (ending in `.properties`) use the same sorting algorithm, but they are appended together into a single file prior to passing them to the WebLogic Deploy Tool.
129
129
130
-
#### Model file macros
130
+
### Model file macros
131
131
132
-
##### Using secrets in model files
132
+
#### Using secrets in model files
133
133
134
134
You can use WDT model `@@SECRET` macros to reference the WebLogic administrator `username` and `password` keys that are stored in a Kubernetes Secret and to optionally reference additional secrets. Here is the macro pattern for accessing these secrets:
135
135
@@ -155,13 +155,13 @@ Here's a sample snippet from a Domain YAML file that sets a `webLogicCredentials
155
155
...
156
156
```
157
157
158
-
##### Using environment variables in model files
158
+
#### Using environment variables in model files
159
159
160
160
You can reference operator environment variables in model files. This includes any that you define yourself in your Domain YAML file using `domain.spec.serverPod.env` or `domain.spec.adminServer.serverPod.env`, or the built-in `DOMAIN_UID` environment variable.
161
161
162
162
For example, the `@@ENV:DOMAIN_UID@@` macro resolves to the current domain's domain UID.
163
163
164
-
##### Combining secrets and environment variables in model files
164
+
#### Combining secrets and environment variables in model files
165
165
166
166
You can embed an environment variable macro in a secret macro. This is useful for referencing secrets that you've named based on your domain's `domainUID`.
@@ -15,7 +15,7 @@ description = "Introduction to Model in Image, description of its runtime behavi
15
15
-[Continuous integration and delivery (CI/CD)](#continuous-integration-and-delivery-cicd)
16
16
-[References](#references)
17
17
18
-
####Introduction
18
+
### Introduction
19
19
20
20
Model in Image is an alternative to the operator's Domain in Image and Domain in PV domain types. See [Choose a domain home source type]({{< relref "/userguide/managing-domains/choosing-a-model/_index.md" >}}) for a comparison of operator domain types.
21
21
@@ -37,7 +37,7 @@ This feature is supported for standard WLS domains, Restricted JRF domains, and
37
37
38
38
For JRF domains, Model in Image provides additional support for initializing the infrastructure database for a domain when a domain is started for the first time, supplying an database password, and obtaining an database wallet for re-use in subsequent restarts of the same domain. See [Requirements for JRF domain types]({{< relref "/userguide/managing-domains/model-in-image/usage/_index.md#requirements-for-jrf-domain-types" >}}).
39
39
40
-
####WebLogic Deploy Tool models
40
+
### WebLogic Deploy Tool models
41
41
42
42
WDT models are a convenient and simple alternative to WebLogic Scripting Tool (WLST)
43
43
configuration scripts and templates.
@@ -49,7 +49,7 @@ and [Model files]({{< relref "/userguide/managing-domains/model-in-image/model-f
49
49
The WDT model format is fully described in the open source,
Copy file name to clipboardExpand all lines: documentation/staging/content/userguide/managing-domains/model-in-image/runtime-updates.md
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ pre = "<b> </b>"
6
6
description = "Updating a running Model in Image domain's images and model files."
7
7
+++
8
8
9
-
####Contents
9
+
### Contents
10
10
11
11
-[Overview](#overview)
12
12
-[Supported updates](#supported-updates)
@@ -26,7 +26,7 @@ description = "Updating a running Model in Image domain's images and model files
26
26
-[Using the WDT Discover and Compare Model Tools](#using-the-wdt-discover-domain-and-compare-model-tools) below.
27
27
-[Changing a Domain `restartVersion` or `introspectVersion`](#changing-a-domain-restartversion-or-introspectversion)
28
28
29
-
####Overview
29
+
### Overview
30
30
31
31
If you want to make a WebLogic domain home configuration update to a running Model in Image domain,
32
32
and you want the update to survive WebLogic Server pod restarts,
@@ -75,7 +75,7 @@ Unlike configuration overrides, the syntax for a model file update exactly match
75
75
the syntax for specifying your model file originally.
76
76
{{% /notice %}}
77
77
78
-
####Supported updates
78
+
### Supported updates
79
79
80
80
The following updates are *supported* for offline or online updates,
81
81
except when they reference an area that is specifically
@@ -133,7 +133,7 @@ documented as [unsupported](#unsupported-updates) below:
133
133
[Declaring Named MBeans to Delete](https://oracle.github.io/weblogic-deploy-tooling/concepts/model/#declaring-named-mbeans-to-delete)
134
134
in the WebLogic Deploying Tooling documentation.
135
135
136
-
#### Unsupported updates
136
+
### Unsupported updates
137
137
138
138
{{% notice warning %}}
139
139
It is important to avoid applying unsupported model updates to a running domain. An attempt to use an unsupported update may not always result in a clear error message, and the expected behavior may be undefined. If you need to make an unsupported update and no workaround is documented, then shut down your domain entirely before making the change. See [Full domain restarts]({{< relref "/userguide/managing-domains/domain-lifecycle/startup/_index.md#full-domain-restarts">}}).
@@ -233,7 +233,7 @@ and a description of workarounds and alternatives when applicable:
233
233
`domainInfo.RCUDbinfo.*`, `topology.Security.*`, and `topology.SecurityConfiguration.*`.
234
234
Any online update changes in these sections will result in a failure.
235
235
236
-
#### Updating an existing model
236
+
### Updating an existing model
237
237
238
238
If you have verified your proposed model updates to a running
239
239
Model in Image domain are supported by consulting
@@ -296,9 +296,9 @@ After your model updates are prepared, you can instruct the operator to propagat
296
296
to a running domain by following the steps in [Offline updates](#offline-updates)
297
297
or [Online updates](#online-updates).
298
298
299
-
#### Offline updates
299
+
### Offline updates
300
300
301
-
##### Offline update steps
301
+
#### Offline update steps
302
302
303
303
Use the following steps to initiate an offline configuration update to your model:
304
304
@@ -343,15 +343,15 @@ If the job reports a failure, see
0 commit comments