WebLogic Domains Definitions
Directory structure
${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>: 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:
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:
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
Example 2: WebLogic Domain with clusters and servers; wlsdomain domain.properties
Example 3: WebLogic Domain sampleDomain domain.properties file with System components
Last updated