Skip to content

gnsuryan/wls-cluster-with-lb

Repository files navigation

arm-oraclelinux-wls-admin

Simple deployment of a Weblogic Cluster Domain with a Public Front End Load Azure Balancer on multiple Oracle Linux VMs with Weblogic Server pre-installed

This template allows us to deploy Weblogic Cluster Domain on multiple Oracle Linux VMs with Weblogic Server (12.2.1.3.0) cluster Domain with a Azure Public Load Balancer pre-installed. This template deploy by default, an A3 size VM in the resource group location and return the fully qualified domain name of the VM.

To install Weblogic Server, requires Oracle Weblogic Install kit and Oracle JDK to be downloaded, from OTN Site (https://www.oracle.com/technical-resources/). The OTN site requires the user to accept OTN Free Developer License Agreement before downloading any resources. So, when this template is run, user will be required to accept the OTN Free Developer License Agreement and also provide OTN credentials (username and password), to download the Oracle Weblogic Install Kit and Oracle JDK.

Using the template

PowerShell

#use this command when you need to create a new resource group for your deployment

*New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location>

New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/wls-eng/arm-oraclelinux-wls-cluster-with-loadbalancer/master/cluster_with_lb_deploy.json

Command line

#use this command when you need to create a new resource group for your deployment

*az group create --name <resource-group-name> --location <resource-group-location>

az group deployment create --resource-group <resource-group-name> --template-uri https://raw.githubusercontent.com/wls-eng/arm-oraclelinux-wls-cluster-with-loadbalancer/master/cluster_with_lb_deploy.json

Cluster domain configuration

Minimum 2 VMs and maximum of 5 VMs involved for cluster domain setup.

Domain setup will be available at "/u01/domains/{domain name}" on each VMs

1)Weblogic admin server will be hosted on as per user supplied for parameter adminVMName. By default name will be adminVM

2)Other VMs , depending on number of instances managed servers willbe hosted in VMs with name managed server prefix and index

3)Azure Internet Facing (Public) Load Balancer listening on Port 8001 which will front end the Weblogic Managed Server VMs

Accessing Admin Console

Follow steps once after successful deployment.

You can refer the Outputs section of json file produced once after successful deployment

Access the weblogic console using

For non ssl access : http://{public ip address or dns name}:7001/console

For secured/ssl access : https://{public ip address or dns name}:7002/console

Accessing Azure Load Balaner

Follow steps after successful deployment.

Access the Applications Deployed on the Weblogic Cluster through the Azure Load Balancer

using the port 8001

http://:8001//

Example: http://myweblogiclob.cloudapp.azure.com:8001/shoppingcart/

Adding another managed server to running cluster domain

PowerShell

#use this command when you need to create a new resource group for your deployment

New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/wls-eng/arm-oraclelinux-wls-cluster/master/addnodedeploy.json

Command line

#use this command when you need to create a new resource group for your deployment

az group deployment create --resource-group <resource-group-name> --template-uri https://raw.githubusercontent.com/wls-eng/arm-oraclelinux-wls-cluster/master/addnodedeploy.json

Note :

1) Parameters dnsLabelPrefix, managedServerName and vmName should be unique. Better to follow the existing naming conventions as per existing cluster domain setup.

2) adminURL should be supplied with {admin server public ip or dn name}:{ non ssl port}

If you are new to Azure virtual machines, see:

If you are new to template deployment, see:

Azure Resource Manager documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages