WebLogic Domains Definitions

Directory structure

NameDescription

${WEBLOGIC_DOMAIN_DEF_DIR}

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

${WEBLOGIC_DOMAIN_DEF_DIR}/

Contains all definition files for a WebLogic Domain

Each WebLogic domain must be declared in the CONFIGURATION FILE. This file is described in the point 6.2 below.

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. <Middleware Oracle Home directory>: path to the Middleware software home. [N|Y]; Automatic WebLogic Domain start. This feature is not implemented yet.

Example:

wlsdomain:/u02/app/weblogic/config/domains/wlsdomain:/u01/app/weblogic/Midddleware:N  
test_domain:/u02/app/weblogic/config/domains/test_domain:/u01/app/weblogic/Middleware: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

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

NM_CONFIG_FILE=/u01/app/local/etc/sample_domain/NM_configfile.secure
NM_KEY_FILE=/u01/app/local/etc/sample_domain/NM_keyfile.secure
NM_HOST=host01.example.com
NM_PORT=5556
NM_TYPE=plain
CONFIG_FILE=/u01/app/local/etc/sample_domain/weblogic_configfile.secure
KEY_FILE=/u01/app/local/etc/sample_domain/domain_sample/weblogic_keyfile.secure
ADMIN_URL=t3://host01.example.com:7001
DOMAIN_NAME=sample_domain
DOMAIN_HOME=/u02/app/weblogic/config/domains/sample_domain
CLUSTERS_LIST=
SERVERS_LIST=server1
ADMIN_SERVER=AdminServer,machine1,host01,7001,7002
Pascal Brand · Version 1.8
25.04.2016 · DMK WebLogic · Page 17/25
dbi services sa www.dbi-services.com
Avenue de la Gare 42 Phone +41 32 422 96 00
CH-2800 Delémont Fax +41 32 422 96 15
CLUSTERS=
SERVERS=server1,machine1,host01,7003,7004,
MACHINES=machine1,UnixMachine,host01,5556,plain

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

NM_CONFIG_FILE=/u01/app/local/etc/sample_domain/NM_configfile.secure
NM_KEY_FILE=/u01/app/local/etc/sample_domain/NM_keyfile.secure
NM_HOST=host01.example.com
NM_PORT=5556
NM_TYPE=plain
CONFIG_FILE=/u01/app/local/etc/sample_domain/weblogic_configfile.secure
KEY_FILE=/u01/app/local/etc/sample_domain/domain_sample/weblogic_keyfile.secure
ADMIN_URL=t3://host01.example.com:7001
DOMAIN_NAME=sample_domain
DOMAIN_HOME=/u02/app/weblogic/config/domains/sample_domain
CLUSTERS_LIST=cluster1
SERVERS_LIST=server3
ADMIN_SERVER=AdminServer,machine1,host01,7001,7002
CLUSTERS=cluster1:server1,machine1,host01,7011,7012:server2,machine2,host02,7013,7014
SERVERS=server3,machine1,host01,7019,7020,
MACHINES=machine1,UnixMachine,host01,5556,plain|machine2,UnixMachine,host02,5556,plain

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

NM_CONFIG_FILE=/u01/app/local/etc/sample_domain/NM_configfile.secure
NM_KEY_FILE=/u01/app/local/etc/sample_domain/NM_keyfile.secure
NM_HOST=host01.example.com
NM_PORT=5556
NM_TYPE=plain
CONFIG_FILE=/u01/app/local/etc/sample_domain/weblogic_configfile.secure
KEY_FILE=/u01/app/local/etc/sample_domain/domain_sample/weblogic_keyfile.secure
ADMIN_URL=t3://host01.example.com:7001
DOMAIN_NAME=sample_domain
DOMAIN_HOME=/u02/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