platform(domain creation activity)

23
WebLogic Domain

Upload: subash-prakash

Post on 14-Dec-2015

4 views

Category:

Documents


0 download

DESCRIPTION

Platform of Weblogic Presented in simple ways

TRANSCRIPT

Page 1: Platform(Domain Creation Activity)

WebLogic Domain

Page 2: Platform(Domain Creation Activity)

Agenda

• Domain• Overview of Weblogic Server Domain• Admin Server• Managed Server• Resources and Services• Standalone v/s Clustered Managed Servers• Nodemanager• Clusters

Page 3: Platform(Domain Creation Activity)

Domain

• A domain consists of one or more WebLogic Server instances which are managed by a Admin Server

• A domain can contain:1. Admin Server

2. Managed Server

3. Cluster

4. Resources and Services etc. .

• Modes of Domain Creation are :1. Development Mode2. Production Mode

• Common Domain Types are:

1. Domain with Managed Servers

2. Standalone Server Domain

Page 4: Platform(Domain Creation Activity)

OVERVIEW OF WEBLOGIC SERVER DOMAINS

Admin Server

Resources and Services

Resources and Services

Resources and Services

Managed Server

Managed Server

Managed Server

Resources and Services

Managed Server

Managed Server

Managed Server

Cluster

Page 5: Platform(Domain Creation Activity)

ADMIN SERVER•The Administration Server serves as a central location from which to manage and monitor all resources in a domain.•It maintains the domain's configuration documents and distributes changes in the configuration documents to Managed Servers.

Roles of Admin Server:•Act as a central control entity to configure the entire domain. That is, helping in configuring Managed servers, clusters etc..

Page 6: Platform(Domain Creation Activity)

What happens if Admin Server Fails ?

• Does not affect the operation of Managed Servers in the domain

• Managed Servers and Clusters configured will continue to run

• Load Balancing and Fail Over remains Available

Page 7: Platform(Domain Creation Activity)

MANAGED SERVERIn a domain, server instances other than the Administration Server are referred to as Managed Servers

Functionality of Managed Server:•Helps in deploying Applications.•One or More Managed servers can be grouped to form clusters.

Page 8: Platform(Domain Creation Activity)

RESOURCES AND SERVICESA domain contains resources and services needed by Managed Servers and applications deployed in the domain

Examples:Application components, such as Web Applications, J2EE Connectors and Enterprise ApplicationsJDBC connection poolsJMS servers

Page 9: Platform(Domain Creation Activity)

STANDALONE V/S CLUSTERED MANAGED SERVER

Stand Alone MS Clustered MS

Used in Development Environment Used in Production Environments

No Load Balancing or Fail Over Mechanisms

Load Balancing and Fail Over Mechanisms are present

Page 10: Platform(Domain Creation Activity)

SERVER LIFE CYCLE

Page 11: Platform(Domain Creation Activity)

NODEMANAGER• NodeManager is a java utility that allows you to perform

common operations tasks for a managed server.• Runs as a separate process from weblogic server.• Useful in production environments where the weblogic

managed servers are distributed across multiple machines

Page 12: Platform(Domain Creation Activity)

NODE MANAGER CAPABILITIES

• Node Manager enables you to perform these tasks:

1. Start and stop remote Managed Servers.2. Monitor the self-reported health of Managed Servers

and automatically kill server instances whose health state is "failed".

3. Automatically restart Managed Servers that have the "failed" health state, or have shut down unexpectedly due to a system crash or reboot.

Page 13: Platform(Domain Creation Activity)

START MANAGED SERVER

Page 14: Platform(Domain Creation Activity)

SHUTDOWN MANAGED SERVER

Stop a managed server.Shutdown a failed managed server

Page 15: Platform(Domain Creation Activity)

RESTART MANAGED SERVER

Number of attemptsTime-Span.

Page 16: Platform(Domain Creation Activity)

WHAT HAPPENS IF THE NODE MANAGER FAILS??

• Do not shut down the managed server which the node manager was monitoring.

• Node manager must be restarted either by the operating system or manually

Page 17: Platform(Domain Creation Activity)

Flow Diagram of Domain InstallationStartStart

Choose to create new

domain

Choose to create new

domain

Select Product components or

template

Select Product components or

template

Specify username and password for Admin Server

Specify username and password for Admin Server

Select Product components or

template

Select Product components or

template

Customize environments or services ?

Customize environments or services ?

Specify and create domain

Specify and create domain

DoneDone

Customize EnvironmentCustomize Environment

Configure Admin Server

Configure Manage Server, Cluster and machines

Assign Servers to cluster and machines

Customize ServiceCustomize Service

Configure and test DB connectivity

Load DB

Change JMS File StoreYES

Review SettingsReview Settings

No

Page 18: Platform(Domain Creation Activity)

CLUSTER

Page 19: Platform(Domain Creation Activity)

CLUSTER

•Multiple Weblogic server instances running simultaneously to provide scalability and reliability•Cluster capacity can be increased dynamically by adding machines to cluster (Same version of Weblogic)

Page 20: Platform(Domain Creation Activity)

Benefits Of Clustering

• Scalability• High-Availability

Page 21: Platform(Domain Creation Activity)

Key Capabilities of a Cluster

• Application Failover• Load Balancing

Page 22: Platform(Domain Creation Activity)

Application Failover

Failover means “an application component doing a particular “job”—some set of processing tasks—becomes unavailable for any reason”

Copy of failed object

Failed Object

Copy

Available?

YES (mandatory)

Information should be made available to all other objects and program that handles failover.Location and operational status of all object

Object taking over an interrupted job knows how much of the job was completed before the first object failed

Picking up from where it had failed

Page 23: Platform(Domain Creation Activity)

Load Balancing•Load balancing is the even distribution of jobs and associated communications across the computing and networking resources in your environmentFor load balancing to occur:

•There must be multiple copies of an object that can do a particular job.

• Information about the location and operational status of all objects must be available.

Load Balancer

Application Instance 1

Application Instance 2

Application Instance 3