Domain with AdminServer Creation:
Note: This is for Intial lerner or Basics who want to do manually not by using the wlst
Domain:
A domain is the basic administration unit for WebLogic Server. It consists of one or more WebLogic Server instances, and logically related resources and services that are managed, collectively, as one unit.
The basic domain infrastructure consists of one Administration Server and optional Managed Servers and clusters
Administration Server :
A domain always includes one WebLogic Server instance that is configured as an Administration Server. The Administration Server provides a central point for managing the domain and providing access to the WebLogic Server administration tools
Managed Servers:
All other WebLogic Server instances in a domain are called Managed Servers. Managed Servers host application components and resources, which are also deployed and managed as part of the domain.
Clusters:
A domain may also include WebLogic Server clusters, which are groups of server instances that work together to provide scalability and high availability for applications. A cluster appears as a single WebLogic Server instance.
Creation of Domain in Weblogic 9.2:
1) Logon to SSH.
2) Go to Weblogic home
Command : cd $WEBLOGICHOME.
3) Go to the folder common/bin
Command : cd common/bin
4) Execute config.sh file. This file mainly takes care below the tasks,
Command : sh config.sh -mode=console
a) set ups the weblogic home, the root directory for Weblogic installation.
b) set ups the common environment like java home, java vendor and DataBase.
5) After executing the above command BEA WebLogic Configuration Wizard opens
6) Under this wizard we have below two options,
1.To create a new weblogic domain.
2.Extend the existing domain.
7) To create a new domain enter the index number 1.
Command : 1 and press ENTER
8) After executing the above command, Options for selecting domain source will be available.
9) Select option 2, to choose custom template.
Command : 2 and press ENTER
10) After executing the above command, below options will be available.
1 - Modify "User name"
2 - Modify "User password"
3 - Modify "Confirm user password"
4 - Modify "Description"
5 - Discard Changes
11) Select option 1, to modify User Name.
Command : 1 and press ENTER
12) Enter the user name and press ENTER.
Command : system and press ENTER
13) Select option 2, to modify the Password.
Command : weblogic and press ENTER
14) Select option 3, to confirm the Password.
Command : weblogic and press ENTER
15) After configuring the User Name and Password, type ‘next’ to proceed further with Domain configuration mode.
Command : next
16) After executing the above command, options to enable the domain in Production mode and Development mode will be available. Type 1 to enable Development mode.
Command : 1 and press ENTER
17) After executing the above command, options to select the JDK will be available. As we are using JDK 1.5 we need to select option 1.
Command : 1 and press ENTER
18) After executing the above command, options to modify the pre-configured settings we available. Select 1 to modify the settings
Command : 1 and press ENTER
19) After executing the above command, options to modify the below administration server configuration will be available.
1 - Modify "Name"
2 - Modify "Listen address"
3 - Modify "Listen port"
4 - Modify "SSL enabled"
20) Select option 2 to modify the Listen address.
Command : 2 and press ENTER
21) Enter the value for Listen address.
Command : x.xxx.xx.xx and press ENTER
22) Now, select option 3 to modify Listen port.
Command : 3 and press ENTER
23) Enter the value for Listen port.
Command : 6501 and Press ENTER
24) Option for target domain will be available for this domain.
Command : /pani/project/username
25) Option Edit the domain name will be available. Choose option 1 to edit the name else type Next for the creation of the domain.
Command : Next
26) Domain will be created successfully.