Configuring Patching and Server Control
Before you can patch a domain, you must enable patching and set how servers stop, start and restart. You can also enable patch rollback and set server timeout limit.
By default, patching is not configured for domains because the terms and conditions must be accepted (per domain) before you can apply or rollback patches. When you enable patching, you must also decide whether to use Node Manager or scripts to start, stop and restart servers. During patching, you can optionally elect to rollback server patching if failures occur and set the timeout period before a server is forced to shutdown.
When WebLogic Management performs server lifecycle or patching operations, administrative credentials for the WebLogic domains are required. You must decide whether to use WebLogic or NodeManager credentials.
To learn more about patching, see Patching Server Middleware.
- On the Domains list page, select the name of the domain.
- On the details page, click Edit domain settings.
- Under Patching:
- Check Enable patching for the domain. You might be prompted to accept Terms and Conditions if you have not already done so.
- Check Enable rollback when patching fails if you want to rollback to previous patches when failures occur. Rollbacks are at the managed instance level. If patching fails for one managed instance but succeeds for others, the rollback is performed for all managed instances.
- Enter a number for Server shutdown timeout (seconds) to specify the number of seconds to wait before a server is forced to shutdown.
- Under Server control, configure how the Administration Server and managed servers are started, stopped and restarted.
In the Administration Server Control section, choose one of the following:
- Use scripts to start and stop Administration server. Enter the paths to the scripts for starting and stopping the Administration server.
- Use Node Manager to start and stop Administration server.
In the Managed Server Control section, choose one of the following:
- Use scripts to start and stop Managed servers. Enter the paths to the scripts for starting and stopping the managed servers.
- Use Node Manager to start and stop Managed servers.
For detailed instructions on using scripts, see Using Scripts to Manage Server Lifecycle.
- Click Save changes.
Next Steps
After configuring patching, next steps might include:
Use the oci wlms wls-domain update command and required parameters to configure patching for a WebLogic domain.
oci wlms wls-domain update --configuration file://configuration.json --wls-domain-id ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the UpdateWlsDomain operation to configure patching for a domain using UpdateWlsDomainConfigurationDetails.