Before You Begin
This 10-minute tutorial shows you how to edit a stack associated with Oracle WebLogic Server for Oracle Cloud Infrastructure (OCI) domain by using Resource Manager.
Marketplace uses Oracle Resource Manager to provision the network, compute instances, and load balancer as single unit called a stack. A stack includes a basic Oracle WebLogic Server 12c domain, one or more WebLogic Server compute instances, network resources, and an optional load balancer.
You can use the Oracle Resource Manager to edit the stack to resize your Oracle WebLogic Server for Oracle Cloud Infrastructure domain to meet the changing workload requirements.
This tuotrial uses a stack that is provisioned for an Oracle WebLogic Server for Oracle Cloud Infrastructure domain using a new VCN and new subnet.
- You can only edit the displayed variables for Oracle WebLogic Server for OCI stacks that are provisioned after 20.3.1 version.
- You can edit all the variables for Oracle WebLogic Server for OCI stacks that are provisioned before 20.3.1 version. In this case, it is important to be careful because certain stack variables will destroy and re-provision the stack. Customizations made to the stack may also be lost.
What Do You Need?
- An Oracle Cloud Infrastructure cloud tenant.
- An Oracle Cloud Infrastructure user name and password.
- A duly created stack in a compartment.
Edit a Stack
- Sign in to the Oracle Cloud Infrastructure console.
- Click the navigation menu , select Developer Services. Under Resource Manager group, select Stacks.
- From the Compartment dropdown, select the compartment where your stack is located.
- Click the name of your stack.
- Click Edit Stack.
- (Optional) On the Stack Information page, upload the Terraform Configuration source files. You can upload the Terraform Configuration source as a folder or .ZIP file.
- (Optional) Edit name and description of the stack.
Note: You cannot edit the Terraform Version.
- Click Next.
The Configure Variables page appears.
- Select the Weblogic Server Node Count to add a compute instance.
- For Weblogic Server Shape, select the shape of the
new compute instance. If you select
VM.Standard.E3.Flexshape, you can specify the OCPU Count for the compute instance shape.
To change the shape of an existing compute instance, see Change Compute Instance Shape.
- For the SSH Public Key, upload the SSH public key
file to access the new compute instance. You can also paste
the contents of the SSH public key file.
The key will be used for new compute instances only. The keys for existing compute instances remain unchanged.
- Select the Weblogic Server Nodes Limit to scale the domain.
- If you want Oracle WebLogic Server for Oracle Cloud
Infrastructure to create compute instances but not update your
domain configuration, select Do Not Update Domain
Configuration For Scale Out.
If you select Do Not Update Domain Configuration For Scale Out, then you must manually update your domain configuration and add the managed servers. Use the WebLogic Server Administration Console or the WebLogic Server Scripting Tool (WLST).
- Select the Provision Load Balancer check box.
If you select the Provision Load Balancer check box, you will be able to edit Load Balancer Subnet CIDR, and then select the Load Balancer Shape (optional).
- Click Next.
- Review the updated Stack information and then click Save Changes.
- Click Terraform Actions and then click Apply.
- When prompted for confirmation, click Apply.