Sunday, 21 August 2016

Creating Domain in Console Mode on windows machine
 

domain is the basic administration unit for WebLogic Server instances. A domain consists of one or more WebLogic Server instances (and their associated resources) that you manage with a single Administration Server. You can define multiple domains based on different system administrators' responsibilities, application boundaries, or geographical locations of servers. Conversely, you can use a single domain to centralize all WebLogic Server administration activities.

Each domain's configuration is stored in a separate configuration file called config.xml, which is stored on the Administration Server along with other files such as logs and security files. When you use the Administration Server to perform a configuration task, the changes you make apply only to the domain managed by that Administration Server. To manage another domain, use the Administration Server for that domain. For this reason, the servers instances, applications, and resources in one domain should be treated as being independent of servers, applications, and resources in a different domain.You cannot perform configuration or deployment tasks in multiple domains at the same time.

Picture



To create a Domain in a Console mode .The command is "config.cmd" and it is present at  Oracle\Middleware\wlserver_10.3\common\bin
Command: config.cmd -mode=console

Picture










Option to create a new domain or Extend a Domain
Select "1"

Picture










Select Domain source
If you want to select a custom template select 2 or else use the default one select 1

Picture










Select the basic Weblogic Server domain.
It is being selected automatically select "Next"

Picture










Select the Name of the domain .If you want to select the default one type "Next" or if you want to change it
type "1"

Picture










Select 1 to change the Name of the domain 

Picture










Type the name of the Domain and press Enter

Picture










Domain Name has been changed from base_domain to
Test_domain.
If you don't want to change the name you can select Next at the screen "Edit Domain Inormation"

Picture










Enter the Domain Location in your Weblogic Installation
it will be at
D:\Oracle\Middleware\user_projects\domains
Your Test_domain will be created under this.
Select "Next"

Picture










In the Next screen it will ask the Administrator password.
By Default the Username is "Weblogic"
To set the Password select 2 and type the password and select Next and again type 3 to confirm the password.
Note:When you type the password it will not be displayed on screen when you press enter it will be displayed in screen with ******** 

Picture











Once you give both the password select"Next"

Picture











Select the Mode in which you want to Create a Domain ie Development mode or Production Mode
If you want to Create a domain in Production mode type "2" and then Next other wise type "Next"             

Picture











Select the JDK which will be used by the Domain
By default the Development mode uses "SUN JDK " and Production Mode uses  "Jrockit JDK"
Select 2 If you want to use the local JDK present at your Computer or select "Next"

Picture











Select the component which you want to configure for your Domain.
By Default a Domain will have a Admin Server
and Managed Server,Cluster and machine are not Mandatory.
Select 1 and then 2 to select Admin server and Managed Server 

Picture











When You select 1 and 2 the tick mark will be displayed on the screen
Then Press "Next"

Picture











Select the Configuration for Admin Server If every thing is fine Type "Next" .
If you want to change any of the Configuration select the Number corresponding and change it and select "Next"

Picture











This screen is used to configure Managed Server .
You can go ahead and give the name of the Managed Server "ms1" and press enter all the other properties will be populated 



Picture











If all the configuration are correct type 5 other wise type the Number accordingly to change the Properties.

Picture











If you want to add mode Managed Server you can give 1 and follow the same steps or type "Next"

Picture











We have created 2 managed Server 

Picture











Now we have to configure the Cluster for Our Domain
Provide the cluster name and all the default properties will be populated.

Picture











Press "4" when done you can add more  cluster in the next screen by adding and typing "1" or type Next

Picture











Now we have to assign the Managed Server in the Cluster Select "1"

Picture











To Select the Managed Server select 1 or 2 to select all and Type "Accept"

Picture











Now type "Next"

Picture











Display all the Managed server Selected
Type Next

Picture











To Configure Machine for your Domain Select name and Press Enter 

Picture











Type 4 when all the configuration are correct.
If you want to add more machine you can add it or type "Next"

Picture











Now we have to assign Servers to machine select 1.1 and press Enter

Picture











Select all the Server Present in the Machine and press 2 and then Press "Accept"

Picture












All the servers will be selected now type "Next"

Picture












Your Domain will be Created.

634 visitors

No comments:

Post a Comment