Create the Target Domain Using Oracle WebLogic Server for OCI

Launch the Oracle WebLogic Server for OCI application in the Oracle Cloud Infrastructure Marketplace to create a new domain. This domain must have the same topology and configuration as the source Oracle Java Cloud Service instance.

Before creating a domain, copy the OCIDs for the secrets that contain your Oracle WebLogic Server administrator password and your database password. Use the same credentials as your source instance.

  1. Sign in to the Oracle Cloud Infrastructure Console.
  2. Click the navigation menu, and then select Marketplace.
  3. Select the corresponding Oracle WebLogic Server edition as your source instance.

    Note:

    If you own a valid WebLogic License and a support contract, select the BYOL edition, else, select the corresponding UCM edition.

    Table 3-1 Software Editions

    Oracle Java Cloud Service Oracle WebLogic Server for OCI
    Standard Edition
    • Oracle WebLogic Server Standard Edition BYOL
    • Oracle WebLogic Server Enterprise Edition UCM

    Enterprise Edition

    • Oracle WebLogic Server Enterprise Edition BYOL
    • Oracle WebLogic Server Enterprise Edition UCM

    High Performace

    • Oracle WebLogic Suite BYOL
    • Oracle WebLogic Suite UCM
  4. For Version, select the same major version (X.Y) as the source instance.
    For example, 12.2.1.3 and 12.2.1.4 are the same major versions of Oracle WebLogic Server.
  5. Select the compartment in which you want to create the stack.
  6. Click Launch Stack.
  7. Enter a name for your stack.
  8. Click Next.
  9. Enter a resource name prefix.
  10. Select an Oracle Cloud Infrastructure shape that most closely matches the number of Oracle Compute Units (OCPUs) and the amount of memory that are available in the Oracle Java Cloud Service shape in your source instance.
  11. Enter the SSH public key.
  12. Select the same number of managed servers as the source instance.
  13. Enter the WebLogic Server user name, and paste the OCID for the secret that contains the WebLogic Server password.
  14. For Network Compartment, select the same compartment you selected earlier upon launching the stack.
  15. For Virtual Cloud Network Strategy, select Use Existing VCN and then select the virtual cloud network (VCN) where you want to create the domain.
  16. For Subnet Strategy, select Use Existing Subnet or Create New Subnet.
  17. If you're using an existing subnet, ensure that it has all the required ports. See Create a Subnet for the Oracle WebLogic Server Nodes.

    If you're creating a new subnet, specify a CIDR for the new subnet.

    The new subnet's CIDR should not overlap with any other subnet CIDRs in the existing VCN.

  18. For Subnet Compartment, select the compartment to be used for the existimg subnet.
  19. If your source instance includes a load balancer, then provision a load balancer for the domain.
    1. Select Provision Load Balancer.
    2. Select an existing subnet where you want to create the load balancer.
  20. If your source instance uses Oracle Identity Cloud Service for authentication, then configure Oracle Identity Cloud Service for the target domain.
    This configuration is supported only for WebLogic Server 12c, and also requires a load balancer.
    1. Select Enable Authentication Using Identity Cloud Service.
    2. Enter your Oracle Identity Cloud Service (IDCS) tenant name, which is also referred to as the instance ID.
    3. Enter the client ID and encrypted client secret of an existing confidential application in this Oracle Identity Cloud Service instance.
      The client secret must be encrypted.
  21. In Oracle Java Cloud Service all WebLogic domains are Java Required Files (JRF) enabled domains. To enable JRF in Oracle WebLogic Server for OCI a database is required to create a domain that includes the JRF components.
    Select the Provision with JRF checkbox to create a JRF-enabled domain
  22. For Database Strategy, select Database System.
  23. Select the required database attributes.
  24. If your domain and database are on different VCNs, then you must configure local VCN peering. See Set Local VCN Peering.

    Oracle WebLogic Server for OCI creates a public subnet in each VCN, and then creates a compute instance in each subnet. These compute instances run software to forward DNS requests across the VCNs.

  25. Configure Application Database Strategy. See Configure a Data Source for an Application Database.
  26. If your domain and application database are on different VCNs, then you must configure local VCN peering. See Set Local VCN Peering for an Application Database

    Oracle WebLogic Server for OCI creates a public subnet in each VCN, and then creates a compute instance in each subnet. These compute instances run software to forward DNS requests across the VCNs.

  27. Click Next, and then click Create.