Friday, November 19, 2010

Creating a Weblogic Server Domain using config.sh

Creating a Weblogic Server Domain using config.sh

Step 1). Go to bea103/wlserver_10.3/common/bin
Step 2). ./config.sh
Step 3). Pass the configuration parameters.
<——- Oracle WebLogic Configuration Wizard ——->
Welcome:
——–
Choose between creating and extending a domain. Based on your selection, the Configuration Wizard guides you through the steps to generate a new or
extend an existing domain.
->1|Create a new WebLogic domain
| Create a WebLogic domain in your projects directory.
2|Extend an existing WebLogic domain
| Extend an existing WebLogic domain. Use this option to add applications and services, or to override existing database access (JDBC) and messaging |(JMS) settings. You can also incorporate additional functionality in your domain, for example, by including AquaLogic Service Bus.
Enter index number to select OR [Exit][Next]> 1
<——- Oracle WebLogic Configuration Wizard ——->
Select Domain Source:
———————
Select the source from which the domain will be created. You can create the domain by selecting from the required components or by selecting from a list
of existing domain templates.
->1|Choose Weblogic Platform components
| You can choose the Weblogic component(s) that you want supported in your domain.
2|Choose custom template
| Choose this option if you want to use an existing template. This could be a custom created template using the Template Builder.
Enter index number to select OR [Exit][Previous][Next]> 1
<——- Oracle WebLogic Configuration Wizard ——->
Application Template Selection:
——————————-
Available Templates
|_____WebLogic Server (Required)x
|_____Workshop for WebLogic 10.3 [2]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Configure Administrator Username and Password:
———————————————-
Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.
| Name | Value |
_|_________________________|_________________________________________|
1| *User name: | weblogic |
2| *User password: | |
3| *Confirm user password: | |
4| Description: | This user is the default administrator. |
Use above value or select another option:
1 – Modify “User name”
2 – Modify “User password”
3 – Modify “Confirm user password”
4 – Modify “Description”
Enter option number to select OR [Exit][Previous][Next]> 2
<——- Oracle WebLogic Configuration Wizard ——->
Configure Administrator Username and Password:
———————————————-
Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.
“*User password:” = []
Enter new *User password: OR [Exit][Reset][Accept]>
<——- Oracle WebLogic Configuration Wizard ——->
Configure Administrator Username and Password:
———————————————-
Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.
| Name | Value |
_|_________________________|_________________________________________|
1| *User name: | weblogic |
2| *User password: | ******** |
3| *Confirm user password: | |
4| Description: | This user is the default administrator. |
Use above value or select another option:
1 – Modify “User name”
2 – Modify “User password”
3 – Modify “Confirm user password”
4 – Modify “Description”
5 – Discard Changes
Enter option number to select OR [Exit][Previous][Next]> 3
<——- Oracle WebLogic Configuration Wizard ——->
Configure Administrator Username and Password:
———————————————-
Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.
“*Confirm user password:” = []
Enter new *Confirm user password: OR [Exit][Reset][Accept]>
<——- Oracle WebLogic Configuration Wizard ——->
Configure Administrator Username and Password:
———————————————-
Create a user to be assigned to the Administrator role. This user is the default administrator used to start development mode servers.
| Name | Value |
_|_________________________|_________________________________________|
1| *User name: | weblogic |
2| *User password: | ******** |
3| *Confirm user password: | ******** |
4| Description: | This user is the default administrator. |
Use above value or select another option:
1 – Modify “User name”
2 – Modify “User password”
3 – Modify “Confirm user password”
4 – Modify “Description”
5 – Discard Changes
Enter option number to select OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Domain Mode Configuration:
————————–
Enable Development or Production Mode for this domain.
->1|Development Mode
2|Production Mode
Enter index number to select OR [Exit][Previous][Next]> 1
<——- Oracle WebLogic Configuration Wizard ——->
Java SDK Selection:
——————-
1|JRockit SDK 1.6.0_05 @ /users/apps/ebsi/fkmd/bea103/jrockit_160_05
->2|Sun SDK 1.6.0_05 @ /users/apps/ebsi/fkmd/bea103/jdk160_05
3|Other Java SDK
Enter index number to select OR [Exit][Previous][Next]> 2
<——- Oracle WebLogic Configuration Wizard ——->
Choose Configuration Option:
—————————-
*Do you want to modify any of the preconfigured settings or defaults in your template?
*
*To keep the default or template settings, and proceed directly to name and create your domain, leave No selected.
1|Yes
->2|No
Enter index number to select OR [Exit][Previous][Next]> 1
<——- Oracle WebLogic Configuration Wizard ——->
Configure RDBMS Security Store Options:
—————————————
Create the RDBMS tables in your datastore prior to booting your domain. The scripts for use by your DBA are in WebLogic Server’s server/lib directory.
Click Next to keep the template settings or bypass RDBMS options.
->1|I don’t want to change anything here.
2|I want to create, change, or remove RDBMS support.
Enter index number to select OR [Exit][Previous][Next]> 1
<——- Oracle WebLogic Configuration Wizard ——->
Configure the Administration Server:
————————————
Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the
Administration Console which is used to perform administrative tasks.
| Name | Value |
_|__________________|_____________________|
1| *Name: | AdminServer |
2| Listen address: | All Local Addresses |
3| Listen port: | 7001 |
4| SSL listen port: | N/A |
5| SSL enabled: | false |
Use above value or select another option:
1 – Modify “Name”
2 – Modify “Listen address”
3 – Modify “Listen port”
4 – Modify “SSL enabled”
Enter option number to select OR [Exit][Previous][Next]> 2
<——- Oracle WebLogic Configuration Wizard ——->
Configure the Administration Server:
————————————
Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the
Administration Console which is used to perform administrative tasks.
| Name | Value |
_|__________________|_____________________|
1| *Name: | AdminServer |
2| Listen address: | All Local Addresses |
3| Listen port: | 7001 |
4| SSL listen port: | N/A |
5| SSL enabled: | false |
Enter value for “Listen address” OR [Exit][Previous][Next]> localhost
<——- Oracle WebLogic Configuration Wizard ——->
Configure the Administration Server:
————————————
Enter adminstration server configurations. Each WebLogic Server domain must have one Administration Server. The Administration Server hosts the
Administration Console which is used to perform administrative tasks.
| Name | Value |
_|__________________|_____________|
1| *Name: | AdminServer |
2| Listen address: | localhost |
3| Listen port: | 7001 |
4| SSL listen port: | N/A |
5| SSL enabled: | false |
Use above value or select another option:
1 – Modify “Name”
2 – Modify “Listen address”
3 – Modify “Listen port”
4 – Modify “SSL enabled”
5 – Discard Changes
Enter option number to select OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Configure Managed Servers:
————————–
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|________________|_____________|_________________|_____________|
Enter name for a new OR [Exit][Previous][Next]> MS1
<——- Oracle WebLogic Configuration Wizard ——->
Configure Managed Servers:
————————–
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|_____________________|_____________|_________________|_____________|
1->| MS1 | All Local Addresses | 7001 | N/A | false |
Use above value or select another option:
1 – Modify “Name”
2 – Modify “Listen address”
3 – Modify “Listen port”
4 – Modify “SSL enabled”
5 – Done
Enter option number to select OR [Exit][Previous][Next]> 2
<——- Oracle WebLogic Configuration Wizard ——->
Configure Managed Servers:
————————–
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|_____________________|_____________|_________________|_____________|
1->| MS1 | All Local Addresses | 7001 | N/A | false |
Modify “Listen address” OR [Exit][Previous][Next]> localhost
<——- Oracle WebLogic Configuration Wizard ——->
Configure Managed Servers:
————————–
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|________________|_____________|_________________|_____________|
1->| MS1 | localhost | 7001 | N/A | false |
Use above value or select another option:
1 – Modify “Name”
2 – Modify “Listen address”
3 – Modify “Listen port”
4 – Modify “SSL enabled”
5 – Done
Enter option number to select OR [Exit][Previous][Next]> 3
<——- Oracle WebLogic Configuration Wizard ——->
Configure Managed Servers:
————————–
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|________________|_____________|_________________|_____________|
1->| MS1 | localhost | 7001 | N/A | false |
Modify “Listen port” OR [Exit][Previous][Next]> 7003
<——- Oracle WebLogic Configuration Wizard ——->
Configure Managed Servers:
————————–
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|________________|_____________|_________________|_____________|
1->| MS1 | localhost | 7003 | N/A | false |
Use above value or select another option:
1 – Modify “Name”
2 – Modify “Listen address”
3 – Modify “Listen port”
4 – Modify “SSL enabled”
5 – Done
Enter option number to select OR [Exit][Previous][Next]> 5
<——- Oracle WebLogic Configuration Wizard ——->
Configure Managed Servers:
————————–
Add or delete configuration information for Managed Servers. A typical production environment has one or more Managed Servers. Each Managed Server is an
instance of WebLogic Server used to host enterprise applications.
| Name* | Listen address | Listen port | SSL listen port | SSL enabled |
_|_______|________________|_____________|_________________|_____________|
1->| MS1 | localhost | 7003 | N/A | false |
Use above value or select another option:
1 – Add
2 – Modify
3 – Delete
4 – Discard Changes
Enter option number to select OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Configure Clusters:
——————-
Add or delete configuration information for clusters. A cluster contains multiple WebLogic Server instances that run simultaneously and work together to
provide increased scalability and reliability. A cluster appears to be a single WebLogic Server instance to clients.
| Name* | Multicast address | Multicast port | Cluster address |
_|_______|___________________|________________|_________________|
Enter name for a new Cluster OR [Exit][Previous][Next]> C1
<——- Oracle WebLogic Configuration Wizard ——->
Configure Clusters:
——————-
Add or delete configuration information for clusters. A cluster contains multiple WebLogic Server instances that run simultaneously and work together to
provide increased scalability and reliability. A cluster appears to be a single WebLogic Server instance to clients.
| Name* | Multicast address | Multicast port | Cluster address |
_|_______|___________________|________________|_________________|
1->| C1 | 239.192.0.0 | 7001 | |
Use above value or select another option:
1 – Modify “Name”
2 – Modify “Multicast address”
3 – Modify “Multicast port”
4 – Modify “Cluster address”
5 – Done
Enter option number to select OR [Exit][Previous][Next]> 5
<——- Oracle WebLogic Configuration Wizard ——->
Configure Clusters:
——————-
Add or delete configuration information for clusters. A cluster contains multiple WebLogic Server instances that run simultaneously and work together to
provide increased scalability and reliability. A cluster appears to be a single WebLogic Server instance to clients.
| Name* | Multicast address | Multicast port | Cluster address |
_|_______|___________________|________________|_________________|
1->| C1 | 239.192.0.0 | 7001 | |
Use above value or select another option:
1 – Add Cluster
2 – Modify Cluster
3 – Delete Cluster
4 – Discard Changes
Enter option number to select OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Clusters:
—————————
Assign Managed Servers to a cluster in the domain.
Cluster
|_____C1 [1]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 1
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Clusters:
—————————
Assign Managed Servers to a cluster in the domain.
*Select WebLogic Servers and assign them to a cluster. C1
1|MS1
Use above value or select another option:
1 – Select
2 – Select All
Enter option number to select OR [Exit][Discard][Accept]> 1
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Clusters:
—————————
Assign Managed Servers to a cluster in the domain.
*Select WebLogic Servers and assign them to a cluster. C1
1|MS1
Select( Enter index numbers and/or index ranges separated by commas. For example, 1, 4-5 ) OR [Exit][Discard][Accept]> Accept
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Clusters:
—————————
Assign Managed Servers to a cluster in the domain.
Cluster
|_____C1 [1]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Configure Machines:
——————-
Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.
| Name* | Node manager listen address | Node manager listen port |
_|_______|_____________________________|__________________________|
Enter name for a new Machine OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Configure Unix Machines:
————————
Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.
| Name |
_|______|
Enter name for a new Unix Machine OR [Exit][Previous][Next]> M1
<——- Oracle WebLogic Configuration Wizard ——->
Configure Unix Machines:
————————
Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.
| Name | Value |
_|______________________________|___________|
1| *Name: | M1 |
2| Post bind GID enabled: | false |
3| Post bind GID: | nobody |
4| Post bind UID enabled: | false |
5| Post bind UID: | nobody |
6| Node manager listen address: | localhost |
7| Node manager listen port: | 5556 |
Use above value or select another option:
1 – Modify “Name”
2 – Modify “Post bind GID enabled”
3 – Modify “Post bind GID”
4 – Modify “Post bind UID enabled”
5 – Modify “Post bind UID”
6 – Modify “Node manager listen address”
7 – Modify “Node manager listen port”
Enter option number to select OR [Exit][Reset][Accept]> Accept
<——- Oracle WebLogic Configuration Wizard ——->
Configure Unix Machines:
————————
Add or delete machines. A machine hosts one or more WebLogic Server instances. The Admin Server and Node Manager use this machine definition to start
remote servers.
| Name |
_|______|
1->| M1 |
Use above value or select another option:
1 – Add Unix Machine
2 – Modify Unix Machine
3 – Delete Unix Machine
4 – Discard Changes
Enter option number to select OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Machines:
—————————
Assign each WebLogic Server instance to the machine on which it runs.
Machine
|_____Unix Machine
|_____M1 [1.1]
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> 1.1
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Machines:
—————————
Assign each WebLogic Server instance to the machine on which it runs.
*Select WebLogic Servers and assign them to a machine. M1
1|AdminServer
2|MS1
Use above value or select another option:
1 – Select
2 – Select All
Enter option number to select OR [Exit][Discard][Accept]> 2
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Machines:
—————————
Assign each WebLogic Server instance to the machine on which it runs.
*Select WebLogic Servers and assign them to a machine. M1
->1|AdminServer
->2|MS1
Use above value or select another option:
1 – Unselect
2 – Unselect All
3 – Reset
Enter option number to select OR [Exit][Discard][Accept]> Accept
<——- Oracle WebLogic Configuration Wizard ——->
Assign Servers to Machines:
—————————
Assign each WebLogic Server instance to the machine on which it runs.
Machine
|_____Unix Machine
|_____M1 [1.1]
|_____AdminServer
|_____MS1
Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Select the target domain directory for this domain:
—————————————————
“Target Location” = [Enter new value or use default "/users/apps/ebsi/fkmd/bea103/user_projects/domains"]
Enter new Target Location OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Edit Domain Information:
————————
| Name | Value |
_|________|_____________|
1| *Name: | base_domain |
Enter value for “Name” OR [Exit][Previous][Next]> test_domain
<——- Oracle WebLogic Configuration Wizard ——->
Edit Domain Information:
————————
| Name | Value |
_|________|_____________|
1| *Name: | test_domain |
Use above value or select another option:
1 – Modify “Name”
2 – Discard Changes
Enter option number to select OR [Exit][Previous][Next]> Next
<——- Oracle WebLogic Configuration Wizard ——->
Creating Domain…
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]
**** Domain Created Successfully! ****