Create a JRF-Enabled Domain

Creating a JRF-enabled domain is similar to creating a basic domain in Oracle WebLogic Cloud; however, a database in Oracle Cloud Infrastructure is required as the domain is provisioned with the Java Required Files (JRF) components.

From Marketplace, create a stack by entering parameters that automatically create a domain. For creating a JRF-enabled domain, you specify either a regional or availability domain-specific public subnet, and you specify an autonomous database or DB system.

You'll need the following before you begin:

  • A compartment and a database in Oracle Autonomous Transaction Processing or Oracle Cloud Infrastructure Database (DB System). See Create a Compartment and Create a Database.

    Note:

    The JRF-enabled domain instance and the Oracle Cloud Infrastructure Database (DB System) must be in the same compartment and virtual cloud network (VCN). The Oracle Autonomous Transaction Processing database can be in a different compartment than the JRF-enabled domain instance.

    Note:

    Oracle WebLogic Server 12c must be specified as the version for a JRF-enabled domain if you intend to use an Oracle Autonomous Transaction Processing database.
  • Public SSH key. See Create an SSH Key.
  • Encryption key. You will need to enter the endpoint for this key. See Create an Encryption Key.
  • Encrypted WebLogic Server Administrator password of your choice. See Encrypt Passwords.
  • Encrypted database administrator password. This is the administrator password you provided when you created the database. See Encrypt Passwords.
  • Pluggable database (PDB) name. This is required only for Oracle Cloud Infrastructure Database (DB System) running Oracle Database 12c or later.

Launch a Stack

Use Marketplace to specify initial stack information.

  1. Sign in to the Oracle Cloud Infrastructure Console.
  2. Click the navigation menu Navigation Menu icon and select Marketplace.
  3. Select an Oracle WebLogic Cloud application for the Oracle WebLogic Server edition that you want to provision.
    • WebLogic Cloud Enterprise Edition

    • WebLogic Cloud Suite

  4. Select a version of WLS 12.2.1.3.<patch_number> or WLS 10.3.6.0.<patch_number>(11.1.1.7).

    The latest 12c patch is the default.

    Note:

    To use an Oracle Autonomous Transaction Processing database, you must select a 12c version.
  5. Select the compartment in which to create the stack.

    By default the stack compartment is used to contain the WebLogic domain compute instances and network resources. If later on you specify a network compartment on the Configure Variables page of the Create Stack wizard, then only the compute instances are created in the stack compartment that you select here.

    Note:

    If you're using an Oracle Cloud Infrastructure Database (DB System), the database and the virtual cloud network (VCN) on which it's created must be in the same compartment as the domain compute instances. This means you must select the compartment where the DB System you intend to use is located.

    If you plan to use an Oracle Autonomous Transaction Processing database, the database can be in a different compartment than your compute instances.

  6. Select the Terms and Restrictions check box, and then click Launch Stack.
    The Create Stack wizard is displayed.

Specify Stack Information

Specify the name, description, and tags for the stack.

  1. On the Stack Information page of the Create Stack wizard, enter a name for your stack.
  2. Enter a description for the stack (optional).
  3. Specify one or more tags for your stack (optional).
  4. Click Next.
    The Configure Variables page opens.

Configure WebLogic Instance Parameters

Specify the parameters needed to configure the WebLogic instance domain.

  1. In the WebLogic Server Instance section, enter the resource name prefix.
    The maximum character length is 8.
    This prefix is used by all the created resources.
  2. Select the WebLogic Server shape for the compute instances.
    Only the following shapes are supported: VM.Standard2.x, VM.Standard.E2.x, BM.Standard2.x, BM.Standard.E2.x
  3. Enter the SSH public key.
  4. Select the availability domain where you want to create the domain.
  5. Select the number of managed servers you want to create. You can specify up to 8.
  6. Enter a user name for the WebLogic Server administrator.
  7. Enter an encrypted password for the WebLogic Server administrator. The password must be encrypted. See Create an Encryption Key.

Configure Advanced Parameters for a Domain

You can optionally specify additional parameters by selecting WLS Instance Advanced Configuration on the Configure Variables page of the Create Stack wizard.

Select WLS Instance Advanced Configuration if you want to change the default domain name, change the default port numbers, or remove the sample application.

Configure Network Parameters

Define the Virtual Cloud Network (VCN) and public subnet configuration for the domain.

  1. In the WebLogic Server Network section of the Configure Variables page, select the compartment in which to create the network resources for this domain. The Network Compartment field is optional, but take note of the following:
    • If you don't specify a network compartment, then all the network resources and the domain compute instances are created in the stack compartment that you selected earlier upon launching the stack.
    • If you're using an existing VCN and a single compartment for all stack resources, you must select a network compartment. Select the same stack compartment that you selected earlier upon launching the stack, even if you want to create all resource types in one compartment.
    • If you're using a database in Oracle Cloud Infrastructure Database (DB System), the database and the VCN on which it's created must be in the same compartment as the domain. You must select the same stack compartment that you selected earlier upon launching the stack.
  2. Select a Virtual Cloud Network (VCN) strategy.
    • Select Use Existing VCN, and then select the name of the existing VCN.

      Note:

      If you're using a database in Oracle Cloud Infrastructure Database (DB System) for the JRF schemas, you must select the VCN where the DB system is located.
    • Select Create New VCN, and then enter a name and CIDR for the new VCN.
  3. Select one of the following subnet strategies:
    • Select Use Existing Subnet.
    • Select Create New Subnet.

      Note:

      If you're creating a new VCN, you can only create a new subnet.
  4. Keep the default Use Public Subnet selection.
  5. Select the subnet span:
    • Regional Subnet. The subnet has resources in a region's multiple availability domains, and is not specific to any one availability domain.
    • AD Specific Subnet. The subnet is defined in one particular availability domain.
  6. For the WebLogic Server subnet, specify one of the following:
    • If you want to use an existing regional subnet, then choose the name of an existing regional subnet from the list of regional and availability domain-specific subnets.
    • If you want to use an existing availability domain-specific subnet, choose the name of an existing availability domain-specific subnet from the list of regional and availability domain-specific subnets.
    • If you are creating a new regional or availability domain-specific subnet, specify a CIDR for the new subnet.

Configure a Load Balancer

You have the option to create a load balancer to distribute application traffic to the WebLogic Managed Servers.

  1. Select Provision Load Balancer (optional) and provide the following information:
    • If you specify an existing regional subnet as the WebLogic Server subnet, select an existing regional subnet from the list of regional and availability domain-specific subnets. A load balancer can have only one regional subnet shared between both nodes.
    • If you are creating a regional subnet as the WebLogic Server subnet, specify a CIDR for the new load balancer subnet.
    • If you are creating an availability domain-specific subnet as the WebLogic Server subnet, choose an availability domain for the load balancer's first node, and CIDR for the new subnet, Load Balancer Subnet CIDR. Then choose an availability domain for the load balancer's second node, and CIDR for the new subnet, Load Balancer Subnet 2 CIDR.
    • Select a load balancer shape. The default is 400 Mbps.

Configure Database Parameters for a JRF-Enabled Domain

You must specify a database in Oracle Autonomous Transaction Processing or Oracle Cloud Infrastructure Database (DB System) if you're creating a JRF-enabled Oracle WebLogic Cloud domain.

If you're using a database in Oracle Cloud Infrastructure Database (DB System), the database and the domain you're creating must be in the same virtual cloud network (VCN).

If you are creating a domain for Oracle WebLogic Server 11g:

  • Oracle Autonomous Transaction Processing is not supported.
  • The database must be running Oracle Database 11g or 12.1.

In the Database section of the Configure Variables page, select the database strategy for your domain and configure the database parameters.

  • Autonomous Database Transaction Processing. Then select or enter the following:
    • The compartment in which you've created the autonomous database.
    • The database where you want to create the JRF schemas for this WebLogic domain.
    • The service level that the domain should use to connect to the selected autonomous database.
    • The encrypted password for the ADMIN user to access the selected autonomous database.
  • Database System. Then select or enter the following:
    • The DB system to use for this WebLogic domain.

      If you don't see the DB system you want to use, you might not have selected the appropriate VCN. In the WebLogic Server Network section, make sure you've selected the network compartment and existing VCN in which the DB system is created.

    • The database home within the selected DB system.
    • The database home version.
    • The database within the selected DB system where you want to create the JRF schemas for this domain.
    • The Pluggable database (PDB) name, only if the selected database is running Oracle Database 12c or later.
    • The name of a database user with database administrator (DBA) privileges, and the encrypted password for that database administrator.

Specify the Key Management Service Configuration

Specify information that enables Oracle WebLogic Cloud to decrypt the encrypted password for your domain.

  1. In the Key Management Service Key ID field of the Key Management Service Configuration section of the Configure Variables page, enter the OCID of your encryption key.
  2. In the Key Management Service Endpoint field, enter the endpoint URL for the vault that contains your encryption key.
  3. At the bottom of the Configure Variables page, click Next.
You are now ready to create the stack.

Create the Domain Stack

After you have specified the WebLogic instance variables, finish creating the domain stack.

On the Review page of the Create Stack wizard, review the information you have provided, and then click Create.

The Job Details page in Resource Manager is displayed. Periodically monitor the progress of the Apply job until it is finished. If an email address is associated with your user profile, you will receive an email notification.

Note:

If you run an Apply job on an existing stack that you created with Oracle WebLogic Cloud, all resources in the stack will be deleted and recreated.

Use Your New Domain

Access and manage your new domain after creating a stack with Oracle WebLogic Cloud.

Typical tasks that you might perform after creating a domain:

You can also use the Fusion Middleware Control Console to monitor, configure, and manage a JRF-enabled domain. See Access the Fusion Middleware Control Console.