17.2.2 Creating the domainUpgradeResponse.txt File

Run the following steps to create the domainUpgradeResponse.txt file:
  1. Create a working directory for the upgrade scripts and navigate to it:
    mkdir <workdir>/upgradescripts
    cd <workdir>/upgradescripts
    For example:
    mkdir /OAM12CUPG/upgradescripts
    cd /OAM12CUPG/upgradescripts
  2. Create a domainUpgradeResponse.txt file and replace the environment variables listed with the corresponding values collected in Upgrade Prerequisite Steps:
    [GENERAL]
    
    fileFormatVersion = 3
    
    #==================================================================
    [UAWLSINTERNAL.UAWLS]
    pluginInstance = 1
    
    # Specifies the WebLogic Server domain directory:
    UASVR.path = %DOMAIN_HOME%
    UASVR.enforce = no
    
    #==================================================================
    [MDS.SCHEMA_UPGRADE]
    pluginInstance = 2
    MDS.databaseType = Oracle Database
    MDS.databaseConnectionString = %CONNECTION_STRING%
    MDS.schemaConnectionString = %CONNECTION_STRING%
    MDS.schemaUserName = %RCU_PREFIX%_MDS
    MDS.cleartextSchemaPassword = %RCU_SCHEMA_PWD%
    MDS.dbaUserName = %SYS_USERNAME% as sysdba
    MDS.cleartextDbaPassword = %SYS_USERNAME_PWD%
    
    #==================================================================
    [OPSS.OPSS_SCHEMA_PLUGIN]
    pluginInstance = 3
    OPSS.databaseConnectionString = %CONNECTION_STRING%
    OPSS.schemaUserName = %RCU_PREFIX%_OPSS
    OPSS.cleartextSchemaPassword = %RCU_SCHEMA_PWD%
    OPSS.dbaUserName = %SYS_USERNAME% as sysdba
    OPSS.cleartextDbaPassword = %SYS_USERNAME_PWD%
    
    #==================================================================
    [IAU.AUDIT_SCHEMA_PLUGIN]
    pluginInstance = 4
    IAU.databaseConnectionString = %CONNECTION_STRING%
    IAU.schemaUserName = %RCU_PREFIX%_IAU
    IAU.cleartextSchemaPassword = %RCU_SCHEMA_PWD%
    IAU.dbaUserName = %SYS_USERNAME% as sysdba
    IAU.cleartextDbaPassword = %SYS_USERNAME_PWD%
    
    #==================================================================
    [FMWCONFIG.CIE_SCHEMA_PLUGIN]
    pluginInstance = 5
    STB.databaseConnectionString = %CONNECTION_STRING%
    STB.schemaUserName = %RCU_PREFIX%_STB
    STB.cleartextSchemaPassword = %RCU_SCHEMA_PWD%
    STB.dbaUserName = %SYS_USERNAME% as sysdba
    STB.cleartextDbaPassword = %SYS_USERNAME_PWD%
    
    #==================================================================
    [WLS.WLS]
    pluginInstance = 6
    WLS.databaseConnectionString = %CONNECTION_STRING%
    WLS.schemaUserName = %RCU_PREFIX%_WLS
    WLS.cleartextSchemaPassword = %RCU_SCHEMA_PWD%
    WLS.dbaUserName = %SYS_USERNAME% as sysdba
    WLS.cleartextDbaPassword = %SYS_USERNAME_PWD%
    
    # WLS_RUNTIME entries
    WLS_RUNTIME.databaseConnectionString = %CONNECTION_STRING%
    WLS_RUNTIME.schemaUserName = %RCU_PREFIX%_WLS_RUNTIME
    WLS_RUNTIME.cleartextSchemaPassword = %RCU_SCHEMA_PWD%
    WLS_RUNTIME.dbaUserName = %SYS_USERNAME% as sysdba
    WLS_RUNTIME.cleartextDbaPassword = %SYS_USERNAME_PWD%
    
    #==================================================================
    [OAM.SCHEMAPLUGIN]
    pluginInstance = 7
    OAM.databaseConnectionString = %CONNECTION_STRING%
    OAM.schemaUserName = %RCU_PREFIX%_OAM
    OAM.cleartextSchemaPassword = %RCU_SCHEMA_PWD%
    OAM.dbaUserName = %SYS_USERNAME% as sysdba
    OAM.cleartextDbaPassword = %SYS_USERNAME_PWD%
    For example:
    # Copyright (c) 2024, 2025, Oracle and/or its affiliates.
    # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
    #
    # This is a response file for the Fusion Middleware Upgrade Assistant.
    # Individual component upgrades are performed in the order they are described here.
    # Each upgrade is introduced by a section header containing the name of the
    # component and name of the upgrade plugin. The form of the section header is
    # [ComponentName.PluginName]
    # These names can be found in the Upgrade Descriptor files for the components.
    
    # Individual input lines consist of a name, an equal sign, and a value.
    # The name is in two parts separated by a period.  The first part is the "name"
    # attribute from the Descriptor File XML tag by which the plugin refers to the value.
    # The second part of the name identifies a field within that value.  Some input
    # types have only one field, while other types can have half a dozen.   Do not
    # intermix input lines that apply to different XML tags.
    
    [GENERAL]
    
    fileFormatVersion = 3
    
    #==================================================================
    [UAWLSINTERNAL.UAWLS]
    pluginInstance = 1
    
    # Specifies the WebLogic Server domain directory:
    UASVR.path = /u01/oracle/user_projects/domains/accessdomain
    UASVR.enforce = no
    
    #==================================================================
    [MDS.SCHEMA_UPGRADE]
    pluginInstance = 2
    MDS.databaseType = Oracle Database
    MDS.databaseConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    MDS.schemaConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    MDS.schemaUserName = OAMK8S_MDS
    MDS.cleartextSchemaPassword = <password>
    MDS.dbaUserName = sys as sysdba
    MDS.cleartextDbaPassword = <password>
    
    #==================================================================
    [OPSS.OPSS_SCHEMA_PLUGIN]
    pluginInstance = 3
    OPSS.databaseConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    OPSS.schemaUserName = OAMK8S_OPSS
    OPSS.cleartextSchemaPassword = <password>
    OPSS.dbaUserName = sys as sysdba
    OPSS.cleartextDbaPassword = <password>
    
    #==================================================================
    [IAU.AUDIT_SCHEMA_PLUGIN]
    pluginInstance = 4
    IAU.databaseConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    IAU.schemaUserName = OAMK8S_IAU
    IAU.cleartextSchemaPassword = <password>
    IAU.dbaUserName = sys as sysdba
    IAU.cleartextDbaPassword = <password>
    
    #==================================================================
    [FMWCONFIG.CIE_SCHEMA_PLUGIN]
    pluginInstance = 5
    STB.databaseConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    STB.schemaUserName = OAMK8S_STB
    STB.cleartextSchemaPassword = <password>
    STB.dbaUserName = sys as sysdba
    STB.cleartextDbaPassword = <password>
    
    #==================================================================
    [WLS.WLS]
    pluginInstance = 6
    WLS.databaseConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    WLS.schemaUserName = OAMK8S_WLS
    WLS.cleartextSchemaPassword = <password>
    WLS.dbaUserName = sys as sysdba
    WLS.cleartextDbaPassword = <password>
    
    # WLS_RUNTIME entries
    WLS_RUNTIME.databaseConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    WLS_RUNTIME.schemaUserName = OAMK8S_WLS_RUNTIME
    WLS_RUNTIME.cleartextSchemaPassword = <password>
    WLS_RUNTIME.dbaUserName = sys as sysdba
    WLS_RUNTIME.cleartextDbaPassword = <password>
    
    #==================================================================
    [OAM.SCHEMAPLUGIN]
    pluginInstance = 7
    OAM.databaseConnectionString = mydatabasehost.example.com:1521/orcl.example.com
    OAM.schemaUserName = OAMK8S_OAM
    OAM.cleartextSchemaPassword = <password>
    OAM.dbaUserName = sys as sysdba
    OAM.cleartextDbaPassword = <password>