X

@OracleIMC Partner Resources & Training: Discover your Modernization options + Reach new potential through Innovation

How to provision Oracle WebLogic for OCI

Catalin Pohrib
Oracle EMEA A&C Cloud Adoption & Implementation Consultant

Why WebLogic Cloud?

WebLogic Cloud Service is a new Cloud offering focusing specifically on this type of customers, offering a complete Move & Improve scenario in conjunction with the Autonomous Database. It is a true "as a Service” incarnation of the tried and tested WebLogic.

Now, running natively on our 2nd generation OCI Infrastructure, customers get full-featured access to WebLogic, with in addition all the flexibility of our OCI Virtual Networking, available as a set of applications in the Oracle Cloud Infrastructure Marketplace.

  • Oracle Cloud Infrastructure Marketplace offers separate services for:
  • Oracle WebLogic Server Standard Edition
  • Oracle WebLogic Server Enterprise Edition - includes clustering
  • Oracle WebLogic Suite - includes Oracle Coherence for increased performance and scalability, and Active Gridlink for RAC for advanced database connectivity

We will start with WebLogic Server domain configuration, which does not require a database. Oracle WebLogic Server for Oracle Cloud Infrastructure can also be used to create a JRF-enabled domain, if you want to build applications with Oracle Application Development Framework (ADF).

An existing Oracle Autonomous Transaction Processing database or Oracle Cloud Infrastructure DB System is required in order to provision a JRF-enabled domain. For our provisioning we will use an ATP database.

Provisioning a domain in Oracle WebLogic Server for Oracle Cloud Infrastructure requires one or more secrets in Oracle Cloud Infrastructure Vault.
Secrets store one or more passwords you would require when creating a WebLogic Server cluster.

For more information regarding Oracle Cloud Infrastructure Vault and Secrets Management please refer to this article.

What Do You Need?

  • Your Oracle Cloud Infrastructure user name and password.
  • An Oracle Cloud Infrastructure compartment.
  • An Oracle Cloud Infrastructure policy that enables you to work with or create these resources in the selected compartment:
    • Marketplace applications
    • Resource Manager stacks and jobs
    • Vaults, keys, and secrets
    • Compute instances, networks, and load balancers
    • See Common Policies. For a sample policy, download the text file.
  • An SSH public key and corresponding private key.

Launch a Stack

Sign in to Marketplace and specify initial stack information.
Click the navigation Menu icon, and then click Marketplace and f
ilter by selecting:

  • TYPE - Stack
  • Publisher- Oracle
  • Category - Application Development
  • Pryce – Any

Note: If you choose Standard Edition, the two managed servers in the domain will not be part of a cluster.



Select the version and desired Compartment where all the artifacts will be created and launch Stack.

You will be redirected to the Oracle Resources Manager an OCI Service for running Terraform scripts, where you will provide all the necessary information to start your WLS instance.

Next Page will be the Configuration Variables such as:

  • WebLogic Server Shape
  • SSH Public Key  
    • After creating the stack, you can connect to the WebLogic Server compute instances by using an SSH client and the corresponding private key. 
  • Availability Domain  
    • select the availability domain in which to create the compute instances. 
  • WebLogic Server Node Count (choose 2, so we can create WebLogic a cluster over 2 nodes)
  • WebLogic Server Admin User Name  
    • enter the administrator user name for the new WebLogic Server domain.
  • WebLogic Server Admin Password (add an encrypted Key with KMS Service)
    • enter the OCID of the secret you created to contain the password for the WebLogic Server administrator.

  • WebLogic Server Network 
    • You can either choose an existing VCN or create a new one.
    • Click on Provision a Load Balancer
    • You can also choose HTTPS for your Load Balancer
  • Identity Cloud Service (IDCS) Integration 
    • By default, you will have embedded LDAP and if you need IDCS click the box.
  • Database (choose ATP)
  • Tags (optional)

Oracle WebLogic Server for Oracle Cloud Infrastructure can optionally assign tags to the resources (compute, network, and so on) that it creates for your domain.
Tagging allows you to define keys and values and associate them with resources. You can then use the tags to help you organize and find resources based on your business needs. There are separate fields to tag the stack and to tag the resources created within the stack.

Click Next and Create.
The Job Details page in Oracle Resource Manager is displayed.

An Apply job is started to provision your stack.

To return to this page later, click the navigation menu select Resource Manager, and then click Jobs. 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. If the job is in the Failed state, click the job name to view the logs.

After creating an Oracle WebLogic Server domain, you can administer the domain and deploy Java EE applications to it just like on-premises domains.

Access and Use Your New Domain

Access and manage your new domain after creating a stack with Oracle WebLogic Server for Oracle Cloud Infrastructure.
Typical tasks that you might perform after creating a domain:

  • View and manage the cloud resources that were created to support your domain.
  • Use the WebLogic Server administration console to configure your domain. Create data sources, JMS modules, Coherence clusters, and so on, or deploy applications.
  • Access the sample application that's deployed to your domain.
  • Secure access to your applications using Oracle Identity Cloud Service.
  • If you selected the HTTPS option for the load balancer, you must add your SSL certificate to the load balancer.

Use standard Oracle WebLogic Server tools like the administration console and WebLogic Scripting Tool (WLST). You can also administer the operating system on the compute instances using a secure shell (SSH) client and standard Linux tools.

The renewed focus on WebLogic also allows to address the On-premise dimension of the customer, proposing the new roadmap of WebLogic, comprising the Kubernetes Operator, Coherence, Multitenancy and Continued Availability options.

For more information on how to get starter click here.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.