WebLogic Domains Definitions

Directory structure

NameDescription

%WEBLOGIC_DOMAIN_DEF_DIR%

This is the base directory of all WebLogic Domains definition files. OFA default: D:\app\weblogic\local\etc

%WEBLOGIC_DOMAIN_DEF_DIR%<Domain Name>

Contains all definition files for a WebLogic Domain

Each WebLogic domain has to be declared in the CONFIG FILE. This file is named “weblogic_domains.conf” and has to be located in the %WEBLOGIC_DOMAIN_DEF_DIR% directory.

DMK WebLogic Domains CONFIGURATION FILE

This file is named “weblogic_domains.conf” and has to be located in the %WEBLOGIC_DOMAIN_DEF_DIR% directory. The syntax of this file is “ORATAB” like. This means there is one row per WebLogic domain that has three column separated fields:

<WebLogic Domain Name>:<WebLogic domain configuration path>:<Middleware Oracle Home directory> :[N|Y}

<WebLogic Domain Name>: the name of the WebLogic Domain. <WebLogic domain configuration path>: path to the domain configuration files. [N|Y]; Automatic WebLogic Domain start. This feature is not implemented yet.

Example:

basic_domain:E:\\app\weblogic\config\domains\basic_domain:N
wlsdomain:E:\\app\weblogic\config\domains\wlsdomain:N 

WebLogic Domain specific files

Each WebLogic domain has a directory that defines the content and size of the Domain. There are five main files:

  • Domain properties file (domain.properties)

  • Two Node manager security files

  • Two WebLogic domain security files

Those files are required for the DMK WebLogic to be able to handle the WebLogic Domain. The Following of this chapter explains how to create them.

Domain properties file (domain.properties)

The domain properties file describes the WebLogic domain in a sample manner. There are a few keywords that needs to be provided manually to allow the creation and management of the domain. The following part of this chapter provides the syntax of those keywords. In the following table, the WebLogic Server format is:

<serverDef> = name,machine,listenHost,listenPort,SSLListenPort
NameDescription

DOMAIN_NAME

String providing the name of the domain. It must match the directory name where the domain definition files are located.

NM_HOST

Admin Server Node Manager host

NM_PORT

Admin Server Node Manager Port

NM_TYPE

Admin Server Node Manager communication type [SSL

NM_CONFIG_FILE

Node Manager user security configuration file

NM_CONFIG_FILE

Node Manager user security configuration file

NM_KEY_FILE

Node Manager user security key file

CONFIG_FILE

WebLogic Domain Administrator user security configuration file

NM_KEY_FILE

WebLogic Domain Administrator user security key file

ADMIN_URL

URL to connect to the WebLogic Domain Administration Server

CLUSTERS_LIST

Comma separated list of cluster names

SERVERS_LIST

Comma separated list of server names

ADMIN_SERVER

Administration Server definition in the format.

SERVERS

List of WebLogic Servers definitions. The server names must be declared in SERVERS_LIST previously set. The declaration format is: |… |

CLUSTERS

List of WebLogic clusters definitions. The cluster names must be declared in CLUSTERS_LIST previously set. The declaration format is: <clusterDef>

MACHINES

List of machines definitions involved in this WebLogic Domain. The declaration format is: <machineDef>

SYSTEM_COMPONENTS

List of system components definitions involved in this WebLogic Domain. The declaration format is: <SysConfDef>

Example: WebLogic Domain sampleDomain domain.properties file

DOMAIN_NAME=sampleDomain
DOMAIN_PATH=E:\app\weblogic\config\domains\wlsdomain1

NM_CONFIG_FILE=D:\app\weblogic\local\etc\wlsdomain1\NM_configfile.secure
NM_KEY_FILE=D:\app\weblogic\local\etc\wlsdomain1\NM_keyfile.secure
NM_HOST=host01.example.com
NM_PORT=5556
NM_TYPE=SSL

CONFIG_FILE=D:\app\weblogic\local\etc\wlsdomain1\weblogic_configfile.secure
KEY_FILE=D:\app\weblogic\local\etc\wlsdomain1\weblogic_keyfile.secure

ADMIN_URL=t3://host01.example.com:7001

CLUSTERS_LIST=
SERVERS_LIST=server1

ADMIN_SERVER=AdminServer,machine1,host01,7001,7006
SERVERS=server1,machine1,host01,7019,7020
CLUSTERS=
MACHINES=machine1,Machine,host01,5556,plain

Example 2: WebLogic Domain with clusters and servers; wlsdomain domain.properties

M_CONFIG_FILE=D:\app\weblogic\local\etc\clusteredDomain\NM_configfile.secure
NM_KEY_FILE=D:\app\weblogic\local\etc\clusteredDomain\NM_keyfile.secure

NM_HOST=localhost
NM_PORT=5562
NM_TYPE=SSL

CONFIG_FILE=D:\app\weblogic\local\etc\clusteredDomain\weblogic_configfile.secure
KEY_FILE=D:\app\weblogic\local\etc\clusteredDomain\weblogic_keyfile.secure

ADMIN_URL=t3://127.0.0.1:7003

DOMAIN_NAME=clusteredDomain
DOMAIN_PATH=E:\app\weblogic\config\domains\clusteredDomain
CLUSTERS_LIST=cluster1
SERVERS_LIST=server1,server2

ADMIN_SERVER=AdminServer,machine1,127.0.0.1,7003,7004
CLUSTERS=cluster1:server3,machine1,localhost,7005,7006:server4,machine1,localhost,7007,7008|
SERVERS=server1,machine1,localhost,7013,7014|server2,machine1,localhost,7015,7026
MACHINES=machine1,Machine,localhost,5562,SSL

Example 3: WebLogic Domain sampleDomain domain.properties file with System components

NM_CONFIG_FILE=D:\app\weblogic\local\etc\sample_domain\NM_configfile.secure
NM_KEY_FILE=D:\app\weblogic\local\etc\sample_domain\NM_keyfile.secure
NM_HOST=host01.example.com
NM_PORT=5556
NM_TYPE=plain
CONFIG_FILE=D:\app\weblogic\local\etc\sample_domain\weblogic_configfile.secure
KEY_FILE=D:\app\weblogic\local\etc\sample_domain\weblogic_keyfile.secure
ADMIN_URL=t3://host01.example.com:7001
DOMAIN_NAME=sample_domain
DOMAIN_HOME=E:\app\weblogic\config\domains\sample_domain
CLUSTERS_LIST=
SERVERS_LIST=server1
ADMIN_SERVER=AdminServer,machine1,host01,7001,7002
CLUSTERS=
SERVERS=server1,machine1,host01,7003,7004,
MACHINES=machine1,UnixMachine,host01,5556,plain
SYSTEM_COMPONENTS=OHS,ohs1,localhost,FORMS,forms1,localhost|ReportsServerComponent,rsrvdev,localhost

Last updated