Update the Domain Configuration
Use the Jenkins job to update a domain that you created with Oracle WebLogic Server for OKE for Model in Image and Domain in Image.
Important:
From Oracle WebLogic Server for OKE release 21.2.2 onwards, Domain in Image is deprecated.-
File Upload - Uploads the file from the local system.
-
Object Storage - Uses the pre-authenticated URL on the Object Storage.
-
Shared File System - Uses the path of the shared file storage.
The NFS shared file system path is mounted on
/u01/shared
location on the administration host.
You can provide one of the files to update the domain:
-
Model Yaml file
-
Model Yaml file with variable properties file
-
Archive file containing the model Yaml file
-
Archive file containing the model Yaml file and the variable properties file
-
Archive file containing the model Yaml file, overriding model Yaml file, and the variable properties file
-
Archive file and the model Yaml file.
This archive file should not contain the model Yaml file.
-
Archive file, model Yaml file, and the variable properties file
This archive file should not contain the model Yaml file.
If you are using Model in Image:
- The model Yaml file must contain the required secrets like WebLogic Admin Password, runtime encryption secret, and Repository Schema Utility (RCU) schema user password.
- In case of Oracle Cloud Infrastructure Database (DB system), the model Yaml file must include the datasource secret and in case of Oracle Autonomous Database, the model Yaml file must include the datasource secret and wallet with the keystore passwords. See About Data Sources.
If you are using Domain in Image:
- The model Yaml file and the variable properties can be encrypted using the
encryptModel
command. See Encrypt Model Tool in WebLogic Deploy Tooling documentation. - You must specify a passphrase if the model Yaml file or the variable properties is encrypted with the Encrypt Model Tool.
- You can also update the Repository Schema Utiity (RCU) password for the
model Yaml file; all schema passwords are updated to the same password. See step 10 to update the schema password.
Before you update the schema password, follow the prerequisites in Prerequisites to Update the Repository Schema Utility Password.
An example of model Yaml with RCU schema password:
domainInfo: RCUDbInfo: rcu_prefix:<schema_prefix> rcu_schema_password:'<new_password>'
See RCU Connection Information in WebLogic Deploy Tooling documentation.
To update a domain and deploy applications, shared libraries and resources to the new domain:
You can use the WebLogic Server Administration Console to verify that the domain is updated with all the specified parameters. See Access the WebLogic Console.
Prerequisites to Update the Repository Schema Utility Password
If you are using Domain In Image, perform the following prerequisite tasks before you update the Repository Schema Utility (RCU) password with the update-domain
job.
After the password is updated on the database, WebLogic connection pool periodically tries connecting to the schema using the old password and fails to connect until the RCU password is updated. So, you must change the SQL profile associated with the RCU schema users.
Before you update the RCU schema password: