Friday, May 27, 2011

Concept of leasing in Weblogic(SOA Suite)

Some services are required to run only in a single member of a cluster.These are used basically for pinned services which are running on a single node of a cluster.The concept of leasing enable us to migrate the service to other node in case of failover.YOu can get more details on the same from the following documents

http://download.oracle.com/docs/cd/E11035_01/wls100/cluster/migration.html#wp1047105

http://download.oracle.com/docs/cd/E11035_01/wls100/cluster/service_migration.html

There are two type of leasing

1>Database leasing-Where in database is used for storing leasing information.

2>consensus leasing-where leasing information is stored in memory.

We will try to create a simple scenario and will see how leasing works in weblogic.

Requirement for this is that you should have a cluster with atleast two nodes.

No comments: