Oracle by Example brandingEdit a Stack for Oracle WebLogic Server for Oracle Cloud Infrastructure

section 0Before 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.

Background

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.

Note:

  • 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.

section 1Edit a Stack

  1. Sign in to the Oracle Cloud Infrastructure console.
  2. Click the navigation menu Menu icon, select Developer Services. Under Resource Manager group, select Stacks.
  3. From the Compartment dropdown, select the compartment where your stack is located.
  4. Click the name of your stack.
  5. Click Edit Stack.
  6. (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.
  7. (Optional) Edit name and description of the stack.

    Note: You cannot edit the Terraform Version.

  8. Click Next.

    The Configure Variables page appears.

  9. Select the Weblogic Server Node Count to add a compute instance.
  10. For Weblogic Server Shape, select the shape of the new compute instance. If you select VM.Standard.E3.Flex shape, 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.

  11. 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.

  12. Select the Weblogic Server Nodes Limit to scale the domain.
  13. 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).

  14. 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).

  15. Click Next.
  16. Review the updated Stack information and then click Save Changes.
  17. Click Terraform Actions and then click Apply.
  18. When prompted for confirmation, click Apply.

more informationWant to Learn More?