How to configure the WebLogic AdminServer for High Availability

Introduction

The high availability of applications in the WebLogic environment is realized by clustering. Managed servers in the cluster work together. The information about transactions is distributed cluster-wide. If a cluster member fails, another server takes over the tasks of the failed server and executes them. In this way, the applications are kept running without interruption.

The AdminServer is a single point of failure: if the server fails, the Domain is no longer administrable:

– Configuration changes cannot be performed

– The administration console is not available

The managed servers are still running and can continue to work, even if the AdminServer is not available: this requires the activation of MSI (Managed Server Independence) Mode.

How can the AdminSevrer be protected from failure? In this blogpost I will describe all the steps that are necessary to keep your server running safely.

Weiterlesen „How to configure the WebLogic AdminServer for High Availability“

Advertisements

How to hide passwords and account information in WLST scripts (WebLogic Server)

If you are worried about your password showing up in clear text in the startup scripts, you can use the storeUserConfig command to generate encrypted userconfigFile and a userKeyFile that you can then use in the „nmConnect“ and „connect“ command.

Place there two files on the protected place and decide to set right permissions

Create storeUserConfig for the Node Manager

Start wlst via the shell script $ORACLE_HOME/oracle_common/common/bin/wlst.sh:

/u01/app/oracle/product/FMW/Oracle_Home/oracle_common/common/bin/wlst.sh

Weiterlesen „How to hide passwords and account information in WLST scripts (WebLogic Server)“

Oracle Forms & Reports 12.2.1.2.0: Create and Configure on the OEL 7.2 Server

Introduction

This post focuses on the creation, configuration and tuning of an initial Forms & Reports 12.2.1.2.0 Domain on the OEL 7.2 Server.

The WebLogic Server is a necessary requirement, and must already be installed. For instruction how to install the WebLogic Server 12.2.1.2 please refer to my previous post: WebLogic Server 12.2.1.2.0: Installation on the Linux OEL 7: step by step instruction

The following tasks will be implemented:

  • Preparing the Operating System for the installation of the WebLogic Server 12.2.1.2, Installation JDK 1.8 and the WebLogic Server 12.2.1.2:
  • Creating of database schemas
  • Installing and Configuring a Forms & Reports Domain
  • Post-Installation Tasks:
    • Configuring of components
    • Creating of Start & Stop scripts for the automatic start/stop of components
  • Tuning and Troubleshooting

The Domain will be created on the one OEL 7.2 server: host03.example.com (IP 192.168.75.35)

Installation Forms & Reports 12.2.1.2

Weiterlesen „Oracle Forms & Reports 12.2.1.2.0: Create and Configure on the OEL 7.2 Server“

SOA Suite 12.2.1.1.0: Create, configure and tune a SOA/OSB Domain

Introduction

This post focuses on the creation, configuration and tuning of an initial SOA Suite 12.2.1.1.0 Domain.

The WebLogic Server is a necessary requirement, and must already be installed. For instruction how to install the WebLogic Server 12.2.1.1 please refer to my previous post:  WebLogic Server 12.2.1.1.0: Installation on the Linux OS

The following tasks will be implemented:

  • Preparing the Operating System for the installation of the WebLogic Server 12.2.1.1, Installation JDK 1.8 and the WebLogic Server 12.2.1.1: WebLogic Server 12.2.1.1.0: Installation on the Linux OS
  • Creating of database schemas
  • Creating a SOA Suite Domain
  • Post-Installation Tasks:
    • Configuring of components
    • Creating of Start & Stop scripts for the automatic start/stop of components
  • SOA Suite Domain Tuning and Troubleshooting

The SOA/OSB Domain will be installed without BAM (different Domain) because of:

–    Oracle Best Practices and our experience

–    In order to stabilize the system (BAM is unstable at the moment)

The Domain will be created on two servers (OS OEL 6.7):

  • host01.example.com
  • host02.example.com

We will configure four clusters:

  • OWSM Cluster (Oracle Web Services Management)
  • ESS Cluster (Enterprise Scheduler Services)
  • SOA Cluster
  • OSB Cluster (Oracle Service Bus)

Installation SOA / OSB 12.2.1.1

Note: All tasks described in this chapter must be running on both servers: host01 and host02

Weiterlesen „SOA Suite 12.2.1.1.0: Create, configure and tune a SOA/OSB Domain“

WebLogic Server 12.2.1.1.0: Create, configure and tune a Domain

Introduction

This post focuses on the creation, configuration and tuning of an initial WebLogic Server 12.2.1.1.0 Domain.

The WebLogic Server is a necessary requirement, and must already be installed. For instruction how to install the WebLogic Server 12.2.1.1 please refer to my previous post: WebLogic Server 12.2.1.1.0: Installation on the Linux OS

The following tasks will be implemented:

  • Preparing the Operating System for the installation of the WebLogic Server 12.2.1.1, Installation JDK 1.8 and the WebLogic Server 12.2.1.1: please refer to WebLogic Server 12.2.1.1.0: Installation on the Linux OS
  • Creating of database schemas
  • Creating an initial WebLogic Domain
  • Post-Installation Tasks:
    • Configuring of components
    • Creating of Start & Stop scripts for the automatic start/stop of components
  • WebLogic Domain Tuning and Troubleshooting

The Domain will be reated on two servers (OS OEL 6.7):

  • host01.example.com
  • host02.example.com

We will configure two managed Server for Web Services in cluster:

Weiterlesen „WebLogic Server 12.2.1.1.0: Create, configure and tune a Domain“

How to create WebLogic Server datasource & add the datasource to my Cluster: WLST

Creating the Python Script createmydatasource.py:

# set variables
# AdminServer URL:
admurl = ‚t3://myhost:7001‘
# WebLogic Admin User:
username = ‚weblogic‘
# WebLogic Admin User Password:
passwd = ‚welcome1‘
# Datasource Name
datasourcename = ‚mydatasource‘
# JNDI Patch:
jndiname = ‚/jdbc/mydatasource‘
# CLuster Name
clustername = ‚mycluster‘
# Connection Pool Settings:
initialcap = 5
maxcap = 5
mincap = 5

Weiterlesen „How to create WebLogic Server datasource & add the datasource to my Cluster: WLST“

How to create / drop WebLogic user via WLST

Create Admin User myuser with Admin Credentials:

connect('weblogic','Welcome1','t3://host01.example.com:7001')
serverConfig()
cd('/SecurityConfiguration/wlsadmin/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator')
cmo.createUser('myuser','welcome2',"test_user");
cmo.addMemberToGroup('Administrators','myuser')

Drop user myuser:

connect('weblogic','Welcome1','t3://host01.example.com:7001')
serverConfig()
cd('/SecurityConfiguration/wlsadmin/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator')
cmo.removeUser('bne')