a practical guide for weblogic server domain creation

17
www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 1 A Hands-On Guide for Creating WebLogic Server Domain Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Guide for WebLogic Administration. The document focuses on how to create WebLogic Server Domain. Join our professional training program and learn from experts. History: Version Description Change Author Publish Date 0.1 Initial Draft Kuldeep Mishra 12th Aug 2012 0.1 Review#1 Amit Sharma 18 th Aug 2012

Upload: amit-sharma

Post on 28-Apr-2015

2.451 views

Category:

Documents


1 download

DESCRIPTION

BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Guide for WebLogic Administration. The document focuses on how to create WebLogic Server Domain. Join our professional training program and learn from experts.

TRANSCRIPT

Page 1: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 1

A Hands-On Guide for

Creating WebLogic Server Domain

Description: BISP is committed to provide BEST learning material to the beginners and advance learners.

In the same series, we have prepared a complete end-to end Hands-on Guide for WebLogic Administration. The document focuses on how to create WebLogic Server Domain. Join our professional training program and learn from experts.

History: Version Description Change Author Publish Date 0.1 Initial Draft Kuldeep Mishra 12th Aug 2012

0.1 Review#1 Amit Sharma 18th Aug 2012

Page 2: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 2

Creating WebLogic Server Domain

Contents Step 1: Invoking Configuration Wizard ......................................................................................................................................... 3

Step 2: Select Domain Source ..................................................................................................................................................... 3

Step 3: Specify Domain Name and Location Enter the name and location for the domain ................................................... 4

Step 7: Configure the Administration Server............................................................................................................................. 7

Step 9: Creating Domain- ............................................................................................................................................................ 9

Step 10: Select Optional Configuration ...................................................................................................................................... 9

Step 11: Configure the Administration Server. ....................................................................................................................... 10

Step 14: Configure Cluster ....................................................................................................................................................... 12

Step 15: Configure Machine . ................................................................................................................................................... 13

Step 16 : Configure RDBMS Security Store Database. ............................................................................................................. 14

Step 17 : Review WebLogic Domain . ....................................................................................................................................... 14

Step 18 : Creating Domain. ........................................................................................................................................................ 15

Step 19 : Start Weblogic.cmd. ................................................................................................................................................... 15

Step 20 : Start Weblogic.cmd. ................................................................................................................................................... 16

Step 21 : To start the Web console ........................................................................................................................................... 16

Step 22 : The home page for the Web console is displayed. .................................................................................................. 17

Page 3: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 3

Step 1: Invoking Configuration Wizard

For Unix/Windows start configuration wizard using Oracle/ Middleware/

wlserver_10.3/common/ bin/ config.cmd (windows) or config.sh(Unix). Double Click on

config.cmd (windows) or config.sh(Unix).

Create or Extend Domain- If we wish to Create new WebLogic Domain or Extend an Existing

WebLogic Domain.

Click Next.

Step 2: Select Domain Source

Page 4: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 4

Click Next.

Step 3: Specify Domain Name and Location Enter the name and location for the domain

Click Next

Page 5: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 5

Step 4: Configure Administrator Define UserName and Password for WebLogic Domain and add/grant Administrator

Role to that User. Using the administrator username and password, you can log in to the Administration Console to manage

the Oracle WebLogic Server domain

Click Next

Step 5: Select JDK & Start Mode.

Define Mode in which you wish to start your domain and JDK (Sun, JRockit or any other JDK)

Production Mode- Domain is more secure, You need username password to start domain or

deploy application.

Development Mode- Not very secure, You can Autodeploy application and no need to

provide username/password to start Domain.

Page 6: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 6

Click Next

Step 6: Customize your domain

Create simple domain with Just one Administration Server (You can deploy your application

in Administration Server but this is not recommended in Production Instance).

To create Advanced Domain (one Administration Server and two Managed Server and

Cluster)go to step 10)

Page 7: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 7

Click Next.

Step 7: Configure the Administration Server. Here we write Name , select Listen address, Listen port, SSL Listen port.

Page 8: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 8

Click Next.

Step 8: Configuration Summary.

Click Create.

Page 9: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 9

Step 9: Creating Domain- Finally, If we are installing on Windows, you can select to “Start Admin Server"

Click Done to finish Domain Installation.

Go to Start WebLogic and access Domain Console from browser.

Step 10: Select Optional Configuration

Create Domain with one Administration Server and two Managed Server Instance in

Cluster . Here are to create new Domain with one Administration Server and two Managed Server.

Page 10: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 10

Click Next.

Step 11: Configure the Administration Server. Name – AdminServer, Listen Address – All IP address on machine, Listen port – 7003 ,SSL Listen Port – 7004.

Click Next.

Page 11: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 11

Step 12: Configure Managed Server

Click Add.

Step 13: Configure Managed Server.

1) Name – WL_MS_1, Listen Address – All Local address, Listen port – 7005 ,SSL Listen Port – 7006.

2) Name – WL_MS_2, Listen Address – All Local address, Listen port – 7503 ,SSL Listen Port – 7004.

Page 12: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 12

Click Next.

Step 14: Configure Cluster

Click on Add to create cluster and add Managed Server in Cluster. If we have NOT defined any

managed server in previous screen, you will NOT get this screen.

Define cluster with Cluster Name, Multicast Address, Port and address.

Page 13: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 13

Click Next. Step 15: Configure Machine . Use this screen if we have more than one machine in our system. In our configuration

Administration Server and all Managed Server are on single machine.

Click Next.

Page 14: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 14

Step 16 : Configure RDBMS Security Store Database. In the Configure RDBMS Security Store Database step, retain the default values .

Click Next.

Step 17: Review WebLogic Domain .

In the Configure RDBMS Security Store Database step, retain the default values.

Page 15: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 15

Click Next.

Step 18 : Creating Domain. In the Creating Domain screen, mark the checkbox “Start Admin Server” .

Click Done.

Step 19 : Start Weblogic.cmd.

It then starts the WebLogic Server instance in command prompt. Supply the user name and

password when asked for.

Page 16: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 16

Step 20 : Start Weblogic.cmd.

We can see the WebLogic Server instance in RUNNING mode.

Step 21 : To start the Web console Open the browser, enter http://localhost:7001/console and click Go.

Default Administration Port is 7001 so use port as 7001 (else use port we entered while creating WebLogic Domain) http://<servername>.domain:7001/console or http://localhost:7001/console (If we are accessing from server directly) Login to WebLogic Admin Console supply the user name and password created during WebLogic Domain Creation.

Page 17: A Practical Guide for WebLogic Server Domain Creation

www.bispsolutions.com | www.hyperionguru.com | weblogicexperts.wordpress.com| Page 17

Step 22 : The home page for the Web console is displayed.