Unpacking the Upgraded Domain on Node2

You must unpack the domain that you packed on Node1 to Node2, which is the remote node.

To unpack the domain:
  1. Sign in to the Node2.
  2. Copy the template file that you created from Node1 to Node2 using the following command.
    scp template_filename username@remote_host:/directory
    Example:
    scp 12.2.1.4.0_template_managed.jar company@Node2:$12c_ORACLE_HOME/oracle_common/common/bin
  3. Change to the following directory:
    • (Linux) NEW_ORACLE_HOME/oracle_common/common/bin
    • (Windows) NEW_ORACLE_HOME\oracle_common\common\bin
  4. Enter the following command to unpack the domain:
    • (Linux) ./unpack.sh -domain=path to domain -template=path to template -overwrite_domain=true
    • (Windows) DOMAIN_HOME\common\bin\pack.cmd -domain=path to domain -overwrite_domain=true
    Example:
    unpack.cmd -domain=C:\Oracle\Middleware\Oracle_Home\user_projects\domains\bi -template=c:\aaa\12.2.1.4.0_template_managed.jar -overwrite_domain=true
    Sample output:
    << read template from "C:\aaa\12.2.1.4.0_template_managed.jar"
    >>  succeed: read template from "C:\aaa\12.2.1.4.0_template_managed.jar"
    << set config option OverwriteDomain to "true"
    >>  succeed: set config option OverwriteDomain to "true"
    << set config option DomainName to "bi"
    >>  succeed: set config option DomainName to "bi"
    << write Domain to "C:\Oracle\Middleware\Oracle_Home\user_projects\domains\bi"
    ...............................................................................................
    >>  succeed: write Domain to "C:\Oracle\Middleware\Oracle_Home\user_projects\domains\bi"
    << close template
    >>  succeed: close template