Modify This Dynamic Servers
/management/weblogic/{version}/edit/clusters/{name}/dynamicServers
Modify this dynamic servers.
Request
- application/json
-
name(required): string
The name property of the instance in the collection.
-
version(required): string
The version of the WebLogic REST interface.
-
X-Requested-By(required): string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain the modified dynamic servers model.
object-
calculatedListenPorts:
boolean
Default Value:
trueSpecifies whether listen ports are calculated.
-
calculatedMachineNames:
boolean
Default Value:
falseThe CalculatedMachineNames attribute controls how server instances in a dynamic cluster are assigned to a machine. If the attribute is not set, then the dynamic servers will not be assigned to a machine. If the attribute is set, then the MachineNameMatchExpression attribute is used to select the set of machines to use for the dynamic servers.
-
dynamicallyCreated:
boolean
Read Only:
trueDefault Value:falseReturn whether the MBean was created dynamically or is persisted to config.xml
-
dynamicClusterCooloffPeriodSeconds:
integer(int32)
Minimum Value:
0Default Value:900Get the cool-off period (in seconds) used by the Elasticity Framework while performing scale up or scale down operations. If a scale up or scale down operation was performed, subsequent requests for scale up or down operations will be ignored by the Elasticity Framework during this period.
-
dynamicClusterShutdownTimeoutSeconds:
integer(int32)
Minimum Value:
0Default Value:0Get the timeout period (in seconds) used by the Elasticity Framework while gracefully shutting down a server. If the server does not shut down before the specified timeout period, the server will be forcibly shut down. With a negative time value, no timeout will be applied.
-
dynamicClusterSize:
integer(int32)
Minimum Value:
0Maximum Value:800Get the current size of the dynamic cluster (the number of dynamic server instances allowed to be created). The specified number of server instances are dynamically created as ServerMBeans at runtime and associated ServerLifeCycleRuntimeMBeans are created.
-
dynamicServerNames:
array Items
Title:
ItemsRead Only:trueReturn an array of all the dynamic server names
-
id:
integer(int64)
Read Only:
trueReturn the unique id of this MBean instance
-
ignoreSessionsDuringShutdown:
boolean
Default Value:
falseIndicates if the Elasticity Framework should ignore inflight HTTP sessions while shutting down servers.
-
machineMatchExpression:
string
Get the machine tag expression to use when selecting machine names. If the MachineMatchType is "name", each value will either match a machine name exactly or, if specified with a trailing '*' suffix, will match multiple machine names. If the MachineMatchType is "tag", the values will match all of the machines that have all of the tag values.
-
machineMatchType:
string
Default Value:
nameAllowed Values:[ "name", "tag" ]Get the machine tag expression to use when selecting machine names. If the MachineMatchType is "name", each value will either match a machine name exactly or, if specified with a trailing '*' suffix, will match multiple machine names. If the MachineMatchType is "tag", the values will match all of the machines that have all of the tag values.
-
machineNameMatchExpression:
string
The expression is used when determining machines to use for server assignments. If null, then all machines in the domain are used. If a expression is provided, then only the machines in the domain that match the expression will be used when assigning machine names to dynamic servers. The expression is a comma separated set of values that specify the machines to match. Each value will either match a machine name exactly or if specified with a trailing '*' suffix, the value will match multiple machine names.
-
maxDynamicClusterSize:
integer(int32)
Minimum Value:
0Maximum Value:800Default Value:8Get the upper bound on the DynamicClusterSize that the Elasticity Framework is allowed to assign to DynamicClusterSize.
-
minDynamicClusterSize:
integer(int32)
Minimum Value:
0Maximum Value:800Default Value:1Get the minimum number of running server instances that the Elasticity Framework will attempt to keep in the dynamic cluster.
-
name:
string
Read Only:
trueThe user-specified name of this MBean instance.
This name is included as one of the key properties in the MBean's
javax.management.ObjectNameName=user-specified-nameConstraints
- legal null
-
notes:
string
Optional information that you can include to describe this configuration.
WebLogic Server saves this note in the domain's configuration file (
config.xml) as XML PCDATA. All left angle brackets (<) are converted to the xml entity<. Carriage returns/line feeds are preserved.)>Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
-
serverNamePrefix:
string
The server name prefix is used to specify the naming convention when creating server names. When the server name prefix is defined, server names are calculated with the specified prefix followed by the index starting with the value specified by getServerNameStartingIndex().
-
serverNameStartingIndex:
integer(int32)
Minimum Value:
0Maximum Value:2147480000Default Value:1Get the starting index to use in server names. Server names are calculated with the prefix specified in getServerNamePrefix() followed by an index starting with the value specified in this attribute.
-
serverTemplate:
array Server Template Reference
Title:
Server Template ReferenceContains the server template reference.The server template used to create dynamic servers.
Constraints
- restart required
-
tags:
array Items
Title:
ItemsReturn all tags on this Configuration MBean
-
type:
string
Read Only:
trueReturns the type of the MBean.
Constraints
- unharvestable
-
waitForAllSessionsDuringShutdown:
boolean
Default Value:
falseIndicates if the Elasticity Framework should wait for all (persisted and non-persisted) HTTP sessions during inflight work handling while shutting down servers.
arrayItemstrueReturn an array of all the dynamic server names
arrayServer Template ReferenceThe server template used to create dynamic servers.
Constraints
- restart required
-
Admin: basic
Type:
basicDescription:A user in the Admin security role.