Create a Stack
Use Oracle WebLogic Server for OKE to create a stack that includes a basic Oracle WebLogic Server domain, network resources, Kubernetes cluster, compute instances, and load balancers.
Launch a new stack from Marketplace. For a basic domain, you do not specify a database.
Before you create a domain, you must first perform the following tasks:
- Create a compartment. See Create a Compartment.
- Create an SSH key. See Create an SSH Key.
- Create a Vault and an encryption key within that Vault or use an existing Vault and encryption key. See Create an Encryption Key
- Create the secret for the password that you want to use for the domain. See Create Secrets with Passwords.
- Create the secret for the auth token for a user with access to Oracle Cloud Infrastructure Registry. See Create Secrets with Passwords.
Oracle WebLogic Server for OKE can create the virtual cloud network (VCN) and subnets for your new domain. If you want to use an existing VCN or existing subnets for the domain, then they must meet certain requirements. See:
Topics:
- Launch a Stack
- Configure Stack Information
- Configure WebLogic Server on Container Cluster
- Configure Advanced WebLogic Server Parameters
- Configure the Container Cluster
- Configure the Administration Instances
- Configure the Network
- Configure the Database
- Configure the File System
- Configure the Registry
- Create OCI Policies
- Configure WebLogic Authentication with Oracle Identity Cloud Service
- Create the Stack
- Use Your New Domain
Configure WebLogic Server on Container Cluster
Specify the parameters needed to configure the WebLogic Server domain in a Kubernetes cluster.
Configure the Network
Define the Virtual Cloud Network (VCN) and the subnets configuration for the basic domain.
Configure the Container Cluster
You can specify the parameters needed to create a container cluster or configure the WebLogic Server domain to use an existing container cluster for an existing VCN and an existing subnet only.
Configure the Administration Instances
Specify where you want to create the Oracle WebLogic Server for OKE administration instances and select the shapes to use.
Configure the Database
A basic domain does not require a database.
In the Database section of the Configure Variables page, for Database Strategy, select No Database if you are creating a basic domain.
To create a domain that uses an existing database, see Create a JRF-Enabled Domain.
Configure the Registry
Specify the credentials that Oracle WebLogic Server for OKE uses to access container images in the Oracle Cloud Infrastructure Registry (OCIR).
- In the Registry User Name field, enter a user name that Kubernetes uses to access the image in the registry.
- In the Secrets OCID for Registry Authentication Token field, enter the OCID for the secret for the auth token generated for the registry user.
Create OCI Policies
When you create a basic domain, by default the OCI Policies check box is selected and Oracle WebLogic Server for OKE creates a dynamic group and relevant root-level (tenancy) policies for you.
If you are not an administrator, the necessary groups and policies must be in place before you can create a domain.
Before you deselect the check box, ask your administrator to create the required dynamic group and relevant policies, as described in Create a Dynamic Group and Create Policies for the Dynamic Group.
Configure WebLogic Authentication with Oracle Identity Cloud Service
You have the option to use Oracle Identity Cloud Service to authenticate application users for your domain.
To use Oracle Identity Cloud Service for authentication:
Create the Stack
After you have specified the parameters for your basic domain, finish creating the stack.
On the Review page of the Create Stack wizard, review the information you have provided, and then click Create. This runs the stack creation job.
The Job Details page of the stack in Resource Manager is displayed. A stack creation job name has the format ormjobyyyymmddnnnnnn
. For example, ormjob20200922125850
. Periodically monitor the progress of the job until it is finished. If an email address is associated with your user profile, you will receive an email notification.
Use Your New Domain
Access and manage your new basic domain after creating a stack.
- View the cloud resources that were created to support your domain. See View the Cloud Resources for a Domain
- Access the WebLogic Server Administration Console. See Access the WebLogic Console.
- Access the Jenkins build engine. See Access the Jenkins Console.
- Deploy an Java Enterprise Edition (Java EE) application. See Deploy a Sample Application.
- Update the domain (for example, deploy applications and libraries, apply a patch). See Update a Domain in Oracle WebLogic Server for OKE.