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
| Server |`IF_NEEDED`|`IF_NEEDED`, `ALWAYS`, `NEVER`|
29
28
30
-
#### Admin Server Start/Stop Rules
29
+
#### Administration Server start and stop rules
31
30
| Domain | Admin Server | Started / Stopped |
32
31
| --- | --- | --- |
33
-
| NEVER | any value | Stopped |
34
-
| ADMIN_ONLY, IF_NEEDED | NEVER | Stopped |
35
-
| ADMIN_ONLY, IF_NEEDED | IF_NEEDED, ALWAYS | Started |
32
+
|`NEVER`| any value | Stopped |
33
+
|`ADMIN_ONLY`, `IF_NEEDED`|`NEVER`| Stopped |
34
+
|`ADMIN_ONLY`, `IF_NEEDED`|`IF_NEEDED`, `ALWAYS`| Started |
36
35
37
-
#### Standalone Managed Server Start/Stop Rules
36
+
#### Standalone Managed Server start and stop rules
38
37
| Domain | Standalone Server | Started / Stopped |
39
38
| --- | --- | --- |
40
-
| ADMIN_ONLY, NEVER | any value | Stopped |
41
-
| IF_NEEDED | NEVER | Stopped |
42
-
| IF_NEEDED | IF_NEEDED, ALWAYS | Started |
39
+
|`ADMIN_ONLY`, `NEVER`| any value | Stopped |
40
+
|`IF_NEEDED`|`NEVER`| Stopped |
41
+
|`IF_NEEDED`|`IF_NEEDED`, `ALWAYS`| Started |
43
42
44
-
#### Clustered Managed Server Start/Stop Rules
43
+
#### Clustered Managed Server start and stop rules
45
44
| Domain | Cluster | Clustered Server | Started / Stopped |
46
45
| --- | --- | --- | --- |
47
-
| ADMIN_ONLY, NEVER | any value | any value | Stopped |
48
-
| IF_NEEDED | NEVER | any value | Stopped |
49
-
| IF_NEEDED | IF_NEEDED | NEVER | Stopped |
50
-
| IF_NEEDED | IF_NEEDED | ALWAYS | Started |
51
-
| IF_NEEDED | IF_NEEDED | IF_NEEDED | Started if needed to get to the cluster's "replicas" count |
46
+
|`ADMIN_ONLY`, `NEVER`| any value | any value | Stopped |
47
+
|`IF_NEEDED`|`NEVER`| any value | Stopped |
48
+
|`IF_NEEDED`|`IF_NEEDED`|`NEVER`| Stopped |
49
+
|`IF_NEEDED`|`IF_NEEDED`|`ALWAYS`| Started |
50
+
|`IF_NEEDED`|`IF_NEEDED`|`IF_NEEDED`| Started if needed to get to the cluster's `replicas` count |
52
51
53
-
Note: servers configured as ALWAYS count towards the cluster's "replicas" count.
52
+
**Note**: Servers configured as `ALWAYS` count toward the cluster's `replicas` count.
54
53
55
-
Note: if more servers are configured as ALWAYS than the cluster's "replicas" count, they will all be started and the "replicas" count will be ignored.
54
+
**Note**: If more servers are configured as `ALWAYS` than the cluster's `replicas` count, they will all be started and the `replicas` count will be ignored.
56
55
57
-
### Common Scenarios
56
+
### Common scenarios
58
57
59
-
#### Normal Running State
60
-
Normally, the admin server, all of the stand alone managed servers, and enough managed servers in each cluster to satisfy its "replicas" count should be started.
61
-
In this case, the domain resource does not need to specify "serverStartPolicy", or list any "clusters" or "servers", but it does need to specify a "replicas" count.
58
+
#### Normal running state
59
+
Normally, the Administration Server, all of the standalone Managed Servers, and enough Managed Servers in each cluster to satisfy its `replicas` count, should be started.
60
+
In this case, the domain resource does not need to specify `serverStartPolicy`, or list any `clusters` or `servers`, but it does need to specify a `replicas` count.
62
61
63
62
For example:
64
63
```
@@ -68,26 +67,26 @@ For example:
68
67
replicas: 10
69
68
```
70
69
71
-
#### Shut Down All the Servers
72
-
Sometimes the user needs to completely shut down the domain (i.e. take it out of service).
70
+
#### Shut down all the servers
71
+
Sometimes you need to completely shut down the domain (for example, take it out of service).
73
72
```
74
73
domain:
75
74
spec:
76
75
serverStartPolicy: "NEVER"
77
76
...
78
77
```
79
78
80
-
#### Only Start the Admin Server
81
-
Sometimes the user wants to only start the admin server, that is, take the domain out of service but leave the admin server running so that the user can administer the domain.
79
+
#### Only start the Administration Server
80
+
Sometimes you want to start the Administration Server only, that is, take the domain out of service but leave the Administration Server running so that you can administer the domain.
82
81
```
83
82
domain:
84
83
spec:
85
84
serverStartPolicy: "ADMIN_ONLY"
86
85
...
87
86
```
88
87
89
-
#### Shut Down A Cluster
90
-
To shut down a cluster (i.e. take it out of service), add it to the domain resource and set its "serverStartPolicy" to "NEVER".
88
+
#### Shut down a cluster
89
+
To shut down a cluster (for example, take it out of service), add it to the domain resource and set its `serverStartPolicy` to `NEVER`.
91
90
```
92
91
domain:
93
92
spec:
@@ -97,8 +96,8 @@ To shut down a cluster (i.e. take it out of service), add it to the domain resou
97
96
...
98
97
```
99
98
100
-
#### Shut Down a Specific Stand Alone Server
101
-
To shut down a specific stand alone server, add it to the domain resource and set its "serverStartPolicy" to "NEVER"
99
+
#### Shut down a specific standalone server
100
+
To shut down a specific standalone server, add it to the domain resource and set its `serverStartPolicy` to `NEVER`.
102
101
```
103
102
domain:
104
103
spec:
@@ -108,11 +107,11 @@ To shut down a specific stand alone server, add it to the domain resource and se
108
107
...
109
108
```
110
109
111
-
#### Force a Specific Clustered Managed Server To Start
112
-
Normally, all of the managed servers in a cluster are identical and it doesn't matter which ones are running as long as the operator starts enough to get to the cluster's "replicas" count.
113
-
However, sometimes some of the managed servers are different (e.g support some extra services that the other servers in the cluster use) and need to always to started.
110
+
#### Force a specific clustered Managed Server to start
111
+
Normally, all of the Managed Servers in a cluster are identical and it doesn't matter which ones are running as long as the operator starts enough of them to get to the cluster's `replicas` count.
112
+
However, sometimes some of the Managed Servers are different (for example, support some extra services that the other servers in the cluster use) and need to always be started.
114
113
115
-
This is done by adding the server to the domain resource and settings its "serverStartPolicy" to "ALWAYS".
114
+
This is done by adding the server to the domain resource and setting its `serverStartPolicy` to `ALWAYS`.
116
115
```
117
116
domain:
118
117
spec:
@@ -122,67 +121,67 @@ This is done by adding the server to the domain resource and settings its "serve
122
121
...
123
122
```
124
123
125
-
Note: the server will count towards the cluster's "replicas" count. Also, if the user configures more than "replicas" servers to "ALWAYS", they will all be started, even though "replicas" will be exceeded.
124
+
**Note**: The server will count toward the cluster's `replicas` count. Also, if you configure more than the `replicas` servers count to `ALWAYS`, they will all be started, even though the `replicas` count will be exceeded.
126
125
127
-
## Restarting Servers
126
+
## Restarting servers
128
127
129
-
The operator runtime automatically recreates (restarts) server pods when properties on the domain resource that affect server pods change (such as "image", "volumes" and "env").
130
-
The "restartVersion" property on the domain resource lets the user force the operator to restart a set of server pods.
128
+
The operator runtime automatically recreates (restarts) server pods when properties on the domain resource that affect server pods change (such as `image`, `volumes`, and `env`).
129
+
The `restartVersion` property on the domain resource lets you force the operator to restart a set of server pods.
131
130
132
131
The operator runtime does rolling restarts of clustered servers so that service is maintained.
133
132
134
-
### Properties that Cause Servers To Be Restarted
135
-
The operator will restart servers when any of the follow properties on the domain resource that affect the server are changed:
136
-
* annotations
137
-
* containerSecurityContext
138
-
* domainHome
139
-
* domainHomeInImage
140
-
* env
141
-
* image
142
-
* imagePullPolicy
143
-
* imagePullSecrets
144
-
* includeServerOutInPodLog
145
-
* labels
146
-
* logHomeEnabled
147
-
* logHome
148
-
* livenessProbe
149
-
* podSecurityContext
150
-
* readinessProbe
151
-
* restartVersion
152
-
* serverStartState
153
-
* volumes
154
-
* volumeMounts
155
-
156
-
Note: the operator does not restart affected servers when `nodeSelector` or `resources` is changed on the domain resource.
157
-
In these cases, the user can use `restartVersion` to force the operator to restart the servers.
158
-
159
-
### Rolling Restarts
160
-
161
-
Clustered servers that need to be restarted are gradually restarted (i.e. 'rolling restarted') so that the cluster is not taken out of service and in-flight work can be migrated to other servers in the cluster.
162
-
163
-
The "maxUnavailable" property on the domain resource determines how many of the cluster's servers may be taken out of service at a time when doing a rolling restart.
133
+
### Properties that cause servers to be restarted
134
+
The operator will restart servers when any of the follow properties on the domain resource that affect the server, are changed:
135
+
*`annotations`
136
+
*`containerSecurityContext`
137
+
*`domainHome`
138
+
*`domainHomeInImage`
139
+
*`env`
140
+
*`image`
141
+
*`imagePullPolicy`
142
+
*`imagePullSecrets`
143
+
*`includeServerOutInPodLog`
144
+
*`labels`
145
+
*`logHomeEnabled`
146
+
*`logHome`
147
+
*`livenessProbe`
148
+
*`podSecurityContext`
149
+
*`readinessProbe`
150
+
*`restartVersion`
151
+
*`serverStartState`
152
+
*`volumes`
153
+
*`volumeMounts`
154
+
155
+
**Note**: The operator does not restart affected servers when `nodeSelector` or `resources` is changed on the domain resource.
156
+
In these cases, you can use `restartVersion` to force the operator to restart the servers.
157
+
158
+
### Rolling restarts
159
+
160
+
Clustered servers that need to be restarted are gradually restarted (for example, `rolling restarted`) so that the cluster is not taken out of service and in-flight work can be migrated to other servers in the cluster.
161
+
162
+
The `maxUnavailable` property on the domain resource determines how many of the cluster's servers may be taken out of service at a time when doing a rolling restart.
164
163
It can be specified at the domain and cluster levels and defaults to 1 (that is, by default, clustered servers are restarted one at a time).
165
164
166
-
### Using restartVersion to Force the Operator to Restart Servers
165
+
### Using `restartVersion` to force the operator to restart servers
167
166
168
-
The "restartVersion" property lets users force the operator to restart servers.
167
+
The `restartVersion` property lets you force the operator to restart servers.
169
168
170
169
It's basically a user-specified string that gets added to new server pods (as a label) so that the operator can tell which servers need to be restarted.
171
170
If the value is different, then the server pod is old and needs to be restarted. If the value matches, then the server pod has already been restarted.
172
171
173
-
Each time the user wants to restart some servers, the user needs to set "restartVersion" to a different string (the particular value doesn't matter).
172
+
Each time you want to restart some servers, you need to set `restartVersion` to a different string (the particular value doesn't matter).
174
173
175
174
The operator will notice the new value and restart the affected servers (using the same mechanisms as when other properties that affect the server pods are changed, including doing rolling restarts of clustered servers).
176
175
177
-
"restartVersion" can be specified at the domain, cluster and server levels. A server will be restarted if any of these three values change.
176
+
The `restartVersion` property can be specified at the domain, cluster, and server levels. A server will be restarted if any of these three values change.
178
177
179
-
Note: the servers will also be restarted if restartVersion is removed from the domain resource (for example, if the user had previously specified a value to cause a restart then the user removes that value after the previous restart has completed).
178
+
**Note**: The servers will also be restarted if `restartVersion` is removed from the domain resource (for example, if you had previously specified a value to cause a restart, then you remove that value after the previous restart has completed).
180
179
181
-
### Common Scenarios
180
+
### Common scenarios
182
181
183
-
#### Restart All the Servers in the Domain
182
+
#### Restart all the servers in the domain
184
183
185
-
Set "restartVersion" at the domain level to a new value.
184
+
Set `restartVersion` at the domain level to a new value.
186
185
187
186
```
188
187
domain:
@@ -191,9 +190,9 @@ Set "restartVersion" at the domain level to a new value.
191
190
...
192
191
```
193
192
194
-
#### Restart All the Servers in the Cluster
193
+
#### Restart all the servers in the cluster
195
194
196
-
Set "restartVersion" at the cluster level to a new value.
195
+
Set `restartVersion` at the cluster level to a new value.
197
196
198
197
```
199
198
domain:
@@ -205,9 +204,9 @@ Set "restartVersion" at the cluster level to a new value.
205
204
...
206
205
```
207
206
208
-
#### Restart the Admin Server
207
+
#### Restart the Administration Server
209
208
210
-
Set "restartVersion" at the adminServer level to a new value.
209
+
Set `restartVersion` at the `adminServer` level to a new value.
211
210
212
211
```
213
212
domain:
@@ -217,9 +216,9 @@ Set "restartVersion" at the adminServer level to a new value.
217
216
...
218
217
```
219
218
220
-
#### Restart a Standalone or Clustered Manged Server
219
+
#### Restart a standalone or clustered Managed Server
221
220
222
-
Set "restartVersion" at the managedServer level to a new value.
221
+
Set `restartVersion` at the `managedServer` level to a new value.
0 commit comments