Anda di halaman 1dari 36

WEB LOGIC 8.

1 SP2 CLUSTERING
FOUR SOFT LIMITED
5Q1-A2 & A3, Cyber Towers
HITEC Ciy, M!"#!$%r,
Hy"er!b!" & 5'''33, A("#r! )r!"es#
I*DIA )#o(e+ ,-1./'0 231''1'' 2 1'1, F!3+ ,-1./'0 231''1'2
http://www.four-soft.com
Web Logic Clustering
OCU!ENT CONTROL S"EET
Details Name Designation/Department Date Email ID
Prepared
By
Sastry D
Sr Soft Engineer
/Technology
04-Ag-
0!
Sastry"ds#for-
soft"com
$e%ie&ed
By
Prshotham P Asst" 'anager technology
0!-Ag-
0!
Prshotham"(mar#
for-soft"com
Appro%ed
By
'aha)oo) * +eneral 'anager
0!-Ag-
,00!
maha)oo)"h#for-
soft"com
A- Add- '- 'odify- D- Delete
OCU!ENT #!EN!ENT RECOR
.ersion No" Date
Section
No"
Page
No"
Type of
change
/A/'/D0 1
Brief
Description of
changes
$easons for
2hanges
i
Web Logic Clustering
Table Of Contents
1 Intro$uction
1.1 #$%inistr&tor Ser'er
2 Clustering Inst&ll&tions
2.1 Con(iguring t)e !&n&ge$ Ser'er inst&nces
2.2 Con(igure t)e #$%in Ser'er
* St&rting t)e #$%in &n$ %&n&ge$ ser'ers
ii
Web Logic Clustering

Intro$uction+
A 3e) 4ogic Ser%er clster consists of mltiple 3e) 4ogic Ser%er instances rnning
simltaneosly and &or(ing together to pro%ide increased scala)ility and relia)ility"
The characteristics of the &e) logic clster are5
2onsists of 'ltiple 3e) logic Ser%er instances to impro%e relia)ility"
It appears to client as a single instance"
2lster can rn on a single machine or on different machines"
'ore instances can )e added/remo%ed to an e6isting clster
All the ser%er instances in a clster mst rn the same %ersion of 3e) logic Ser%er
o%&in
A domain is an interrelated set of 3e) logic Ser%er instances/resorces" Domain is
managed as a nit" The &e) logic instances in the domain can )e clstered-
nonclstered- com)ination of clstered 7 nonclstered" 8ne &e) logic ser%er
instance acts as an Admin Ser%er"
Domain also contains the resorces 7 ser%ices re9ired )y &e) logic ser%er
instances" The resorce incldes 'achine definition- optional net&or( channels-
connectors- startp classes etc"
Any clster/resorces can:t )e split in mltiple domains
#$'&nt&ges o( Clustering
Sc&l&bilit,
'ore instances can )e added; e6isting can )e remo%ed from the clster dynamically
depending pon the re9irements" And this is can )e done &ithot interrption of
ser%ice<the application contines to rn &ithot impact to clients and end sers"
"ig) #'&il&bilit,
If any instance fails the other instance &old ta(e care of the ser%ices offered )y the
failed instance" Ths the application &ill contine e%en after the failre of any
instance"
-&ilo'er
=ailo%er is the na%aila)ility of some set of processing tas( to the instance" A copy of
the failed o)>ect is maintained 7 made a%aila)le to the other instances to complete
the tas("
*
Web Logic Clustering
Lo&$ B&l&ncing
4oad )alancing is the e%en distri)tion of the >o)s among the %arios instances
e6isting in the clster" To do the load )alancing the info a)ot the ser%ices 7 location
of all the instances mst )e a%aila)le to all other instances- &hich can only )e done
throgh a proper commnication )et&een the instances"
#$%inistr&tor Ser'er
The administration ser%er is a &e) logic ser%er instance in a domain that configres
and manages the &e) logic ser%er instances in that domain"
In a single domain there &old )e a single Admin ser%er" 3hen an admin ser%er
starts it loads the config"6ml file for the domain" Admin ser%er mst )e rnning
&hen the configration is modified"
In a typical prodction en%ironment that contains an Administration ser%er and
mltiple &e) logic ser%ers" 3hen a ser%er instance is started then the admin ser%er
is started first" So each 7 e%ery ser%er contacts the admin ser%er )efore it starts"
The follo&ing fig sho&s the a)o%e discssed prodction en%ironment"
.
Web Logic Clustering
8nce the ser%ers in the clsters starts then e%en if the admin ser%er fails the &or(ing
doesn:t effected" 4oad )alancing 7 the =ailo%er remain a%aila)le"
2 .Clustering Inst&ll&tion+
Installing 3e)logic?@SP, on all the machines"
Con(igur&tion Ste/s -or Cluster Setu/

2.1 Con(iguring t)e !&n&ge$ Ser'er inst&nces
$n the configration &iAard
2hoose B2reate a ne& &e) logic configrationC clic( Ne6t"
0
'achine - @
3e)logic?"@SP, Admin
Ser%er
'achine - ,
3e)logic?"@SP,
'anaged Ser%er @
'achine - D
3e)logic?"@SP,
'anaged Ser%er ,
Web Logic Clustering
2hoose BBasic &e) logic Ser%er domainC clic( Ne6t
1
Web Logic Clustering
2hoose 2stom clic( Ne6t
2
Web Logic Clustering
+i%e the %ales for all the attri)tes
Name of the managed ser%er say managedser%er@
4isten address5 IP address of the machine of the managedser%er@
4isten port5 Say E00D
2lic( Ne6t
8
Web Logic Clustering
'anaged Ser%ers- clsters- and 'achine configration5 2hose No and clic( Ne6t
3
Web Logic Clustering
Data)ase FDB2 option5 chose No and clic( Ne6t"
14
Web Logic Clustering
'essaging F'S option5 2hose No and clic( Ne6t"
11
Web Logic Clustering
2onfigring Gsername and Pass&ord5 +i%e Gsername as B&e) logicC and Pass&ord as
B&e) logicC and clic( Ne6t"
12
Web Logic Clustering
2onfigring &indo&s 8ption5 choose the defalt option and clic( Ne6t"
1*
Web Logic Clustering
Bild start 'en entries5 choose defalt options and clic( Ne6t"
1.
Web Logic Clustering
2onfigre Ser%er Start 'ode 7 FA.A SDH 5choose defalt option and clic( ne6t "
10
Web Logic Clustering
2reate 3e) 4ogic 2onfigration5 +i%e the name of the domain yo &ant to create in
configration name and clic( 2reate" Note5 The domain name for managed ser%er
and admin Ser%er shold )e the same "
11
Web Logic Clustering
2lic( Done
=ollo&ing the a)o%e procedre -configre managedser%er, &ith the same domain
name on another machine "
2.2 Con(igure T)e #$%in Ser'er+
$n the 2onfigration 3iAard Again to configre the Admin Ser%er"
2hoose B2reate a ne& &e) logic 2onfigration B and 2lic( Ne6t"
12
Web Logic Clustering
2hoose BBasic 3e) 4ogic Ser%er Domain B 2lic( Ne6t "
18
Web Logic Clustering
2hoose 2stom and 2lic( Ne6t"
13
Web Logic Clustering
+i%e the .ales for all the Attri)tes
Name of the Admin Ser%er Say adminser%er"
4isten address5IP address of the machine
4isten Port 5 Say E00@
2lic( Ne6t "
24
Web Logic Clustering
'anaged Ser%ers- 2lsters and 'achine 2onfigration5 2hoose IES and 2lic( Ne6t"
21
Web Logic Clustering
2onfigre 'anaged Ser%ers5
2lic( Add
Enter the name of the managed ser%er as entered )elo&"
Enter the IP Address of the machine &here a)o%e managed ser%er is configred"
Enter the 4isten Port
2lic( Add for adding another 'achine ie managedser%er,"
Then $epeat a)o%e steps"
2lic( Ne6t"
22
Web Logic Clustering
2onfigre 2lsters5
2lic( Add
Enter the name of the 2lster Eg 5 2lster@
Enter the 'lticast Port "Its %ale mst )e &ith in the $ange of ,,4"0"0"0 to
,DJ",!!",!!",!!
2lic( Add if another 2lster is re9ired"
2lic( Ne6t
2*
Web Logic Clustering
Assign ser%ers to 2lster5
Select the 2lster in the $ight 3indo& Pane"
Select all the managed nder this clster in the left &indo&"
2lic( Arro& pointing to right hand side"
Similarly repeat the process for all the 2lsters"
2lic( Ne6t"
2.
Web Logic Clustering
20
Web Logic Clustering
2onfigre 'achines5
2lic( Add"
Enter the name of the machine and their IP Address participating in the clster"
2lic( Ne6t"
21
Web Logic Clustering
Assign Ser%er Name to 'achine 5Assign the Ser%er names to the machines follo&ing
the same procedre as done for Assigning Ser%ers to clsters"
22
Web Logic Clustering
Data)ase FDB2 8ptions 52hoose N8 and 2lic( Ne6t"
28
Web Logic Clustering
'essaging F'S 8ptions 52hoose N8 and 2lic( Ne6t"
23
Web Logic Clustering
2onfigre Gsername and Pass&ord5 +i%e Gsername as B3e) 4ogicC and Pass 3ord
as yo desired" And 2lic( Ne6t"
*4
Web Logic Clustering
2onfigration 3indo&s 8ptions 52hoose Defalt .ale and 2lic( Ne6t"
*1
Web Logic Clustering
Bild start 'en entries 5 2hoose the Defalt options and 2lic( Ne6t"

*2
Web Logic Clustering
2onfigre Ser%er Start 'ode 7 FA.A SDH5 2hoose defalt 8ption and 2lic( Ne6t"
**
Web Logic Clustering
2reate 3e) 4ogic 2onfigration5 +i%e the name of the domain yo &ant to create in
configration name and clic( 2reate" The domain name for managed ser%ers and
Admin ser%er shold )e the same"
*.
Web Logic Clustering
2lic( Done"
*. St&rting t)e #$%in &n$ %&n&ge$ ser'ers+
Deployed sample application on the Admin Ser%er and the managed ser%ers"
Start the Admin ser%er on 'achine @ )y e6ecting command BStart3e)logic"cmdC"
Start the 'anaged Ser%er @ on 'achine , )y e6ecting command
Bstart'anaged3e)4ogic managedser%er@ )tt/+55&$%in)ost+2441C from the
command line &here BadminhostC is name of the Admin Ser%er machine"
Start the 'anaged Ser%er , on 'achine D )y e6ecting command
Bstart'anaged3e)4ogic managedser%er, )tt/+55&$%in)ost+2441C from the
command line &here BadminhostC is name of the Admin Ser%er machine"
The resorces deployed on the managed ser%er shold )e accessed sccessflly for
e"g" )tt/+55%&c)ine2+244*5be&b&sic5in$e6.7s/ and
)tt/+55%&c)ine*+24405be&b&sic5in$e6.7s/
*0

Anda mungkin juga menyukai