Sie sind auf Seite 1von 18

SERVER CONFIGURATION REQUIRED AFTER FIRST BOOT OF INSTALLATION. 1. Convert 32 bit kernel to !

bit kernel "it# $FS %& 'e(%)lt (il& &*&te+

Steps: Creating link in root ,ln -(& .)&r.lib.boot.)ni/0 ! .)ni/ Creating link at unix kernel location ,ln -(& .)&r.lib.boot.)ni/0 ! .)&r.lib.boot.)ni/ Putting image on the device from which system boots i.e at cris its hdsik . ,bo&boot -%' .'ev.i1l'evi2e bosboot creates boot image -d device Specifies the boot device. -a Creates complete boot image and device. ,&#)t'o"n -Fr or reboot !. . Give I34 5o&tn%+e to lo2%l +%2#ine& In2re%&in6 3%6in6 &1%2e Steps: "smit lvm Paging Space Change # Show Characteristics of a Paging Space hd$ %ust enter the number of additional &P's (): if current si*e of paging is +1! ,- and you want to increase to ! .-/ then you have to calculate how many additional PP's are re0uired to be ! .-. Si*e of PP for rootvg is 1!1 mb/ our 1 &P is e0ual to 1 PP therefore &P si*e is 1!1 ,- each. &P 2 3otal disk si*e # PP si*e !444#1!1 !+4 &P

Since paging is of +1! ,-/ it uses 5 PP where each pp is of 1!1 ,-. 3herefore additional &P's we re0uired to creaste ! .- paging is !+4 6 5 PP's 7 +1! mb current paging si*e8 !5$ &P's are re0uired to be ! .- of paging space

!. Ti++in6 t#e net"ork inter(%2e (or 2on2)rren2* OR Cre%tin6 Et#er2#%nnel 9or this we have to create a etherchannel and in that we have to add ! network interfaces/ ehterchannel is like a creating a single group of network by assiging a single :P. Ste1 %7 8 Change the setting of ;etwork adapters to 14#144#144# ,-PS 9ull#<alf duplex. Please verify what setting is to be keep from network administrator. Steps below are the conversion from =uto-;egotitiion mode to 144 ,-PS 9ull >uplex/ you can have your own seeting also/ :f the network adapter you choosen for etherchannel is up and running/ make it down and remove it from system or else use the adapters which are not in use currently. ,i(2on(i6 -% en5: flags2+e4141$ /c4?U3/-@A=>C=S3/;A3@=:&(@S/@B;;:;./S:,P&()/,B&3:C=S3/.@ABP@ 3/$5-:3/C<(CCSB,DA99&A=>/PS(./C<=:;E inet 1F!.1$1.144.1! netmask 4xffffff44 broadcast 1F!.1$1.144.!++ inet 14.1!F.1.1! netmask 4xffffff44 broadcast 14.1!F.1.!++ U3 means network adapter en5 is up and running. ,i(2on(i6 9net"ork %'%1ter n%+e i.e en:4 en2; 'o"n or ,i(2on(i6 en2 'o"n ,i(2on(i6 9net"ork %'%1ter n%+e i.e en:4 en2; 'et%2# S+itt* <o'e o( o1er%tion7 8 &+it et#ernet A'%1ter& C#%n6e . S#o" C#%r%2teri&ti2& o( %n Et#ernet A'%1ter select ent4 or ent1 or ent / of whom you want to change settings. Select media speed2144D9ullD>uplex and press enter Co++%n' <o'e o( o1er%tion7 8 ;etwork media speed options available can be check usiong below command. b%&#83.::= l&%ttr 8E 8l ent2 8% +e'i%0&1ee' 8R >:05%l(0D)1le/ >:0F)ll0D)1le/ >::05%l(0D)1le/ >::0F)ll0D)1le/

A)to0Ne6oti%tion : want to change to 144 ,-PS 9ull duplex/ below is the command ,2#'ev 8l ent2 8% +e'i%0&1ee'?>::0F)ll0D)1le/ Ste1& b7 8 S+it 'evi2e& Co++)ni2%%tion Et#erC#%nnel . IEEE @:2.3%' Link A66re6%tion A'' An Et#erC#%nnel . Link A66re6%tion Or )&e S+itt* F%&t 1%t# ,&+it et#er2#%nnel Select ent4 and ent! i.e 1 port from network PC: card and 1 port from onboard network interface. :n case of any error i.e you are working currently on ent4 netowork card/ then you cant use it for etherchannel since its in use. So go for second port from PC: card and any port from onboard. Select ent1 and ent! E ent1 E ent! Gou will get this screen (therChannel # &ink =ggregation =dapters %ust press enter/ it will say ent5 is created.

ent1/ent!

Ste1 27 8 Cnow start the etherchannel it will name it as ent5 if available/ ent+ or any Aur etherchannel logical name is ent5. 9irst check the name of your etherchannel. ,S+it et#er2#%nnel Li&t All Et#erC#%nnel& . Link A66re6%tion& Et#erC#%nnel . Link A66re6%tion7 ent! St%t)&7 Av%il%ble Attrib)te&7 %'%1ter0n%+e& ent:4ent2 Et#erC#%nnel A'%1ter& Fro+ %bove o)t1)t *o) 2%+e to kno" t#%t *o)r et#er2#%nnel i& ent! "#i2# 2on&i&t 2 %'%1ter& ent: %n' ent2.

Ano" 2on(i6)re t#e ne"l* 2re%te' et#er2#%nnel %'%1ter ent!. S+it +kt21i1 &ele2t en! Enter t#e belo" in(or+%tion 6iven b* *o)r net"ork %'+ini&tr%tor.
B 5OSTNA<E B Internet ADDRESS E'otte' 'e2i+%lF Net"ork <ASA E'otte' 'e2i+%lF B Net"ork INTERFACE NA<ESERVER Internet ADDRESS E'otte' 'e2i+%lF DO<AIN N%+e De(%)lt G%te"%* A''re&& E'otte' 'e2i+%l or &*+boli2 n%+eF Co&t Do A2tive De%' G%te"%* Dete2tionI Jo)r CABLE T*1e START No" C)t&2&t+2D C>G2.> @.>::.>2D C2HH.2HH.2HH.:D en! CD CD CD C:D no N.A Je&

Press enter and do similar setting on primary#secondary server. Ste1 '7 8 Go to .et2.#o&t& (ntry will be there: - 1F!.1$1.144.11 utscstm1 change utscstm1 to utsvcstm1Dboot Internet A''re&& 5o&tn%+e , Co++ent& >G2.> @.>::.>> )t&2&t+>0boot >G2.> @.>::.>2 )t&2&t+20boot >:.>2G.>.>> )t&2&t+>0&v2 )t&2&t+> >:.>2G.>.>2 )t&2&t+20&v2 )t&2&t+2 Put the entry in .rhosts which is in # )t&2&t+> )t&2&t+2 )t&2&t+>0boot )t&2&t+20boot )t&2&t+>0&v2 )t&2&t+20&v2 >o the same above for secondary or other server. 3est both the server by removing cables one by one for concurrency. Et#er2#%nnel i& 2re%te' kno" +ove to t#e in&t%ll%tion o( Cl)&ter &o(t"%re %n' 2on(i6)r%tion.

CLUSTER 3RE8REQUISTE -efore installing cluster software/ use installp and preview the cluster cd content/ if any pre-re0uites filesets are re0uired install it first from :-, =:) A.S C>. :nstall <=C,P software on both the server/ this cluster re0uires the following filesets H.adt.libm +.1.4.4/ H.adt.syscalls +.1.4.4/ H.adt.data +.1.4.4/ H.rsct.compat.client.hacmp !. .1.4/ H.rsct.compat.basic.hacmp !. .1.4/ H.rsct.compat.client.hacmp !.!.1. 4/ H.rsct.compat.client.hacmp !.!.1. 4/

>.

Fir&t Cre%te Di&k b%&e'. NON I3 b%&e' #e%rtbe%t.


STE3 I

(nsure that the disks to be used for disk heartbeating are assigned and configured to each cluster node. (nter: lspv -E ensure that a PI:> is assigned to the disk on each cluster node :f a PI:> is not assigned/ run one of the following commands: chdev -l hdisk1 -a pv2yes
STE3 II

Create heartbeat as I. smit I. =dd original vg vg ;ame 2 heartbeatvg/ PP si*e 21 ,-/ PI name 2hdisk1/ create I. concurrency 2yes
9irst verify the maJor number of heartbeatvg ,l& -l .'ev.#e%rtbe%tv6 you will get maJor number as 5+ / 5$/ KKK if its 5$ the execute this command on secondary server , i+1ortv6 -V ! -* #e%rtbe%tv6 #'i&k@

A@
Cre%te %n en#%n2e' 2on2)rrent +o'e vol)+e 6ro)1 on t#e 'i&k or 'i&k& in K)e&tion )&in6 S<IT. Enter7 &+itt* #%2+1 S*&te+ <%n%6e+ent EC8S3OCF 5AC<3 Con2)rrent Lo6i2%l Vol)+e <%n%6e+ent Con2)rrent Vol)+e Gro)1& Cre%te % Con2)rrent Vol)+e Gro)1 E"it# D%t%1%t# Devi2e&4 i( %11li2%bleF

Press 9L to select each cluster node. Select the PI:> of the disk to be added to the Iolume .roup. (nter the Iolume .roup ;ame/ >esired Physical Partition Si*e/ and maJor number. (nhanced Concurrent ,ode should be set to 3rue. STE3 III ESki1 t#i& &te1 i( %lre%'* 'oneF. Put the entry of boot-:P's and service-:P and there label int #etc#hosts 1F!.1$1.144.11 utscstm1Dboot 1F!.1$1.144.1! utscstm!Dboot 14.1!F.1.11 utscstm1Dsvc utscstm1 14.1!F.1.1! utscstm!Dsvc utscstm! Put the entry in .rhosts utscstm1 utscstm! utscstm1Dboot utscstm!Dboot utscstm1Dsvc utscstm!Dsvc STE3 V Copy the .rhosts file to from root to the below location ,21 ..r#o&t& .)&r.e&.&bin.2l)&ter.et2.r#o&t& Create same above for secondary server also you can Just import the vg that is created in primary server Cre%te % 'i&k#b net"ork. Enter7 8 &+itt* #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' To1olo6* Con(i6)r%tion Con(i6)re 5AC<3 Net"ork& A'' % Net"ork to t#e 5AC<3 2l)&ter Enter when prompted to select/ Choose diskhb. Enter t#e net"ork n%+e or %22e1t t#e 'e(%)lt. Net"ork N%+e net0'i&k#b0:> B Net"ork T*1e C'i&k#bD STE3 VI =dd each disk-node pair to the diskhb network. (nter: &+itt* #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' To1olo6* Con(i6)r%tion Con(i6)re 5AC<3 Co++)ni2%tion Inter(%2e&.Devi2e& A'' Co++)ni2%tion Inter(%2e&.Devi2e& A'' 3re8De(ine' Co++)ni2%tion Inter(%2e& %n' Devi2e& Communication >evices Choose your diskhb ;etwork ;ame.

9or >evices ;ame/ enter a uni0ue nameM 9or device path/ enter #dev#vpath" or #dev#hdisk"M 9or nodename/ enter the node on which this device resides. @epeat step I: for second node in the cluster. Devi2e n%+e Ne"t"ork t*1e Net"ork n%+e Devi2e 1%t# No'e N%+e STE3 VII Ierify communication of heartbeat from both the servers. @un the following command on the first node to put it in @eceive ,ode: ,.)&r.&bin.r&2t.bin.'#b0re%' 81 #'i&k@ 8r Ere1l%2e #'i&k, "it# rv1%t#, i( )&in6 SDDF 3he following should be displayed: @eceive ,ode: Naiting for @esponse . . . @un the following command on a different node to put it in 3ransmit ,ode: ,.)&r.&bin.r&2t.bin.'#b0re%' 81 #'i&k@ 8t &ink operating normally. Ar ,.)&r.&bin.r&2t.bin.'#b0re%' -1 -r#'i&k@ -r E on +%in &erver L ,.)&r.&bin.r&2t.bin.'#b0re%' -1 -r#'i&k@ -t E on &e2on'%r* &erverF Ere1l%2e #'i&k, "it# rv1%t# i( )&in6 SDDF :f communication is successful/ the following should be displayed: 78 78 78 78 78 )t&2&t+>0#b 'i&k#b net0'i&k#b0:> .'ev.#'i&k@ )t&2&t+>

?????????????????????????

DISA BASED 5EART BEAT CREATION DONE ?????????????????

GENERAL CONFIGURATION OF CLUSTER.5AC<3


STE3 I - Check also that the following daemon is running : , l&&r2 -6 2l2o+'ES clcomd(S clcomd(S 1$ 14 active otherwise start it with startsrsc 6s clcomd(S - godm 3CP#:P service must be active 7 refresh 6s inetd on all nodes8 - Iolume .roups imported on all nodes/ not automatically activable at boot time/ :f =:) +.!/ they must be concurrent capable 7bos.clvm.enh fileset installed8 STE3 II >F Con(i6)re Cl)&ter , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' To1olo6* Con(i6)r%tion Con(i6)re %n 5AC<3 Cl)&ter A''.C#%n6e.S#o" %n 5AC<3 Cl)&ter A&&i6n % )niK)e Cl)&ter N%+e E9 32 2#%r%2ter&F B Cl)&ter N%+e C)t&2&t+D

NOTE7 5AC<3 +)&t be RESTARTED on %ll no'e& in or'er (or 2#%n6e to t%ke e((e2t 2F Con(i6)re No'e& , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' To1olo6* Con(i6)r%tion Con(i6)re 5AC<3 No'e& A'' % No'e to t#e 5AC<3 Cl)&ter .ive ;ode ;ame/ each node has a uni0ue name 7? ! characters8 Communication Path to ;ode: Press 95 and select an :P label 7e.g.: boot address8 No'e N%+e )t&2&t+> Co++)ni2%tion 3%t# to No'e C>G2.> @.>::.>>D =fter this creates other node also on same primary server/ we have utscstm! as secondary cluster. No'e N%+e Co++)ni2%tion 3%t# to No'e @epeat this step for all nodes. )t&2&t+2 C>G2.> @.>::.>2D

3F Con(i6)re I3 Net"ork& , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' To1olo6* Con(i6)r%tion Con(i6)re 5AC<3 Net"ork& A'' % Net"ork to t#e 5AC<3 Cl)&ter Go to , 3re8'e(ine' I38b%&e' Net"ork T*1e& select network type 7e.g.: ether8 check that ;etmask is correct B Net"ork N%+e Cnet0et#er0:>D B Net"ork T*1e et#er B Net+%&k C2HH.2HH.2HH.:D B En%ble I3 A''re&& T%keover vi% I3 Ali%&e& CJe&D I3 A''re&& O((&et (or 5e%rtbe%tin6 over I3 Ali%&e& CD :t is mandatory to modify the following field: H (nable :P =ddress 3akeover via :P =liases O;oP @epeat this step for all :P networks 7interconnect/ administration8. then Configure Communication :nterfaces on these :P networks !. T#en Con(i6)re Co++)ni2%tion Inter(%2e& on t#e&e I3 net"ork& , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' To1olo6* Con(i6)r%tion Con(i6)re 5AC<3 Co++)ni2%tion Inter(%2e&.Devi2e& A'' Co++)ni2%tion Inter(%2e&.Devi2e& A'' 3re8'e(ine' Co++)ni2%tion Inter(%2e& %n' Devi2e& Co++)ni2%tion Inter(%2e& Select a previously defined network give :P &abel and ;ode ;ame H :P &abel#=ddress H ;etwork 3ype H ;etwork ;ame H ;ode ;ame ;etwork :nterface >o for all other boot :P available: H :P &abel#=ddress H ;etwork 3ype H ;etwork ;ame H ;ode ;ame ;etwork :nterface Outscstm!DbootP ether netDetherD41 Outscstm!P OP Outscstm1DbootP ether netDetherD41 Outscstm1P OP

@epeat the above same for secondary server also. @epeat this step for all Qboot and standbyR addresses of all :P networks and of all nodes. (.g.: node1Dboot/ node1Dstby/ node!Dboot/ node!Dstby HF Con(i6)re 1er&i&tent I3 %''re&&e& (or net"orkE&F "#ere %n initi%l MbootN %''re&& "#i2# "ill be re1l%2e' b* % M&ervi2eN %''re&& , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' To1olo6* Con(i6)r%tion Con(i6)re 5AC<3 3er&i&tent No'e I3 L%bel . A''re&&e& A'' % 3er&i&tent No'e I3 L%bel . A''re&& Sele2t % No'e %n' 6ive7

H ;etwork ;ame OP Press 95 H ;ode :P &abel # =ddress O P Should usually correspond to node hostname or Press 95 to select from #etc#hosts A@ B No'e N%+e B Net"ork N%+e B No'e I3 L%bel.A''re&& )t&2&t+> Cnet0et#er0:>D C)t&2&t+>0&v2D

@epeat this step for the other interface7s8 on other node7s8 K F S*n2#roniOe 2on(i6)r%tion. It "ill %l&o &et)1 1er&i&tent %''re&&e& , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' Veri(i2%tion %n' S*n2#roniO%tion

" netstat 6i

shows persistent :P addresses on the same interfaces as boot addresses.

RESOURCE GROU3 CONFIGURATION

9rom one node/ you will execute the following steps: " smit hacmp (xtended Configuration (xtended @esource Configuration T#in6& reK)ire' (or 2on(i6)rin6 re&o)r2e 6ro)1& >. Con(i6)re 5AC<3 Servi2e I3 L%bel&.A''re&&e& E&rv %''re&&F 2. De(ine A11li2%tion Server& 3. De(ine Re&o)r2e Gro)1& !. Con(i6)re Re&o)r2e& (or e%2# Re&o)r2e Gro)1 C)&to+iO%tion H. S*n2#roniOe Cl)&ter Re&o)r2e& . St%rt 5AC<3 on no'e& >F Con(i6)re 5AC<3 Servi2e I3 L%bel&.A''re&&e& , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' Re&o)r2e Con(i6)r%tion 5AC<3 E/ten'e' Re&o)r2e& Con(i6)r%tion Con(i6)re 5AC<3 Servi2e I3 L%bel&.A''re&&e& A'' % Servi2e I3 L%bel.A''re&& Sele2t7 Con(i6)r%ble on <)lti1le No'e& Sele2t % net"ork n%+e i.e net0et#er0:> E>:.>2G.>.:.2! >G2.> @.>::.:.2!F B I3 L%bel.A''re&& C)t&2&t+>0&v2D B Net"ork N%+e net0et#er0:> Altern%te 5P A''re&& to %22o+1%n* I3 L%bel.A''re&& CD Press enter >o same for second service :P. B I3 L%bel.A''re&& C)t&2&t+20&v2D B Net"ork N%+e net0et#er0:> Altern%te 5P A''re&& to %22o+1%n* I3 L%bel.A''re&& CD .ive interface service :P label or address 7on the same subnet as QbootR address8 Gou shouldn't specify an =lternate <N =ddress to accompany :P &abel#=ddress because =:) +& does Qgratuitous =@PR update. >on't specify an =lternate <N =ddress for (thernet .igabit adapters @epeat this step for =&& service :P labels. >o the above on primary server and same on secondary server. 2F De(ine A11li2%tion Server& , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' Re&o)r2e Con(i6)r%tion

5AC<3 E/ten'e' Re&o)r2e& Con(i6)r%tion Con(i6)re 5AC<3 A11li2%tion Server& A'' %n A11li2%tion Server Create application server name as appDserver1 which will start the script routeDaddDdef.sh 3his script contain b%&#83.::, vi .)&r.e&.&bin.2l)&ter.ro)te0%''0'e(.&# ro)te 'elete 'e(%)lt ro)te %'' 'e(%)lt >:.>2G.>.H &%ve it give execute permission to above file routeDdelDdef does'nt contain any thing/ its blank. Server N%+e Ne" Server N%+e St%rt S2ri1t Sto1 S2ri1t 3re&& enter Server N%+e Ne" Server N%+e St%rt S2ri1t Sto1 S2ri1t 3re&& Enter Server N%+e Ne" Server N%+e St%rt S2ri1t Sto1 S2ri1t 3re&& Enter %110&erver> C%110&erver>D C.)&r.e&.&bin.2l)&ter.ro)te0%''0'e(.&#D C.)&r.e&.&bin.2l)&ter.ro)te0'el0'e(.&#D

)t&2&t+> C)t&2&t+>D C.)&r.&bin.2l)&ter.event&.RUN5A0)t&2&t+>.&# +onitorD C.)&r.&bin.2l)&ter.event&.RUN5A0)t&2&t+>.&# (%iloverD

)t&2&t+2 C)t&2&t+2D C.)&r.&bin.2l)&ter.event&.RUN5A0)t&2&t+2.&# +onitorD C.)&r.&bin.2l)&ter.event&.RUN5A0)t&2&t+2.&# (%iloverD

.ive: - Server name 7symbolic name for the resource8 - Start and Stop scripts full pathnames 7must exist on =&& ;A>(S/ in non-shared filesystems8. @epeat this step for =&& =pplication Servers.

3F De(ine Re&o)r2e Gro)1& , &+it #%2+1

E/ten'e' Con(i6)r%tion E/ten'e' Re&o)r2e Con(i6)r%tion 5AC<3 E/ten'e' Re&o)r2e Gro)1 Con(i6)r%tion A'' % Re&o)r2e Gro)1 Select the @esource .roup ,anagement Policy: cascading/ rotating/ concurrent or custom .ive @esource .roup ;ame/ :nter-Site ,anagement Policy 7leave default ignore8 .ive the list of Participating ;ode ;ames: for cascading the order defines the priority. Re&o)r2e& Gro)1 (or 1ri+%r* &erver re&o)r2e& B Re&o)r2e Gro)1 N%+e B Inter8Site <%n%6e+ent 3oli2* B 3%rti2i1%tin6 No'e N%+e& . De(%)lt No'e 3riorit* Re&o)r2e& Gro)1 (or Se2on'%r* &erver re&o)r2e& Re&o)r2e Gro)1 N%+e Re&o)r2e Gro)1 <%n%6e+ent 3oli2* Inter8Site <%n%6e+ent 3oli2* 3%rti2i1%tin6 No'e N%+e& . De(%)lt No'e 3riorit*

Cr&6>D Ci6noreD C)t&2&t+> )t&2&t+2D

r&62 2%&2%'in6 i6nore C)t&2&t+2 )t&2&t+> D

@esources .roup for Concurrent heartbeat. Nhile attempting to select for cascading/ rotating/ concurrent/ Select concurrent. Re&o)r2e Gro)1 N%+e Re&o)r2e Gro)1 <%n%6e+ent 3oli2* Inter8Site <%n%6e+ent 3oli2* 3%rti2i1%tin6 No'e N%+e& . De(%)lt No'e 3riorit* r&63 2on2)rrent i6nore C)t&2&t+> )t&2&t+2D

;ote: 3oggle between :gnore#Cascading#Concurrent#@otating. C=SC=>:;. resources are resources which may be assigned to be taken over by multiple sites in a prioriti*ed manner. Nhen a sites fails/ the active site with the highest priority ac0uires the resource. Nhen the failed site reJoins/ the site with the highest priority ac0uires the resource. @A3=3:;. resources are resources which may be ac0uired by any site in its resource chain. Nhen a site fails/ the resource will be ac0uired by the highest priority standby site. Nhen the failed node reJoins/ the resource remains with its new owner. :gnore should be used if sites and replicated resources are not defined or being used @epeat this step for all @esource .roups

!F Con(i6)re Re&o)r2e& (or e%2# Re&o)r2e Gro)1

, &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' Re&o)r2e Con(i6)r%tion 5AC<3 E/ten'e' Re&o)r2e Gro)1 Con(i6)r%tion C#%n6e.S#o" Re&o)r2e& %n' Attrib)te& (or % Re&o)r2e Gro)1 Sele2t % Re&o)r2e Gro)1 n%+e i.e r&6>4 r&62 %n' r&63 %& 2re%te' %bove. >efine the resources belonging to the resource group 7separated with pace8: :nactive 3akeover =pplied 7true if you want first starting node to take all resources8 Cascading Nithout 9allback (nabled 7true to decide when fallback will occur recommended if <=C,P Cluster Services started in #etc#inittab8 A11li2%tion Server& Service :P &abels # =ddresses 7.ive =&& Service :P labels separated by space/ in case of several networks8 Iolume .roups give the name7s8 separated by space Bse forced varyon of volume groups/ if necessary 7true for =:) mirrored I.s8 File&*&te+& Ee+1t* i& AllF File&*&te+& Con&i&ten2* C#e2k File&*&te+& Re2over* <et#o' le%ve e+1t* (&2k le%ve &eK)enti%l i( ne&te' re2)r&ive +o)nt 1oint& ot#er"i&e4 3%r%llel "#en +%n*. ETRUE (or NFS E2ro&&F8+o)ntF E+)&t belon6 to Vol)+e Gro)1& li&te' be(oreF E+)&t belon6 to 1revio)& E/1ort li&tF

File&*&te+& +o)nte' be(ore I3 2on(i6)re' File&*&te+&.Dire2torie& to E/1ort File&*&te+&.Dire2torie& to NFS +o)nt Net"ork (or NFS +o)nt @epeat this step for all @esource .roups E/%+1le o( r&6>7 8

Re&o)r2e Gro)1 N%+e Re&o)r2e Gro)1 <%n%6e+ent 3oli2* Inter8&ite <%n%6e+ent 3oli2* 3%rti2i1%tin6 No'e N%+e& . De(%)lt No'e 3riorit* D*n%+i2 No'e 3riorit* EOverri'e& 'e(%)ltF CD In%2tive T%keover A11lie' C%&2%'in6 Pit#o)t F%llb%2k En%ble' A11li2%tion Server& Servi2e I3 L%bel&.A''re&&e&

r&6> 2%&2%'in6 i6nore )t&2&t+> )t&2&t+2 (%l&e (%l&e C%110&erver> )t&2&t+>D C)t&2&t+>0&v2D

Vol)+e Gro)1& U&e (or2e' v%r*on o( vol)+e 6ro)1&4 i( ne2e&&%r* A)to+%ti2%ll* I+1ort Vol)+e Gro)1& File&*&te+& Ee+1t* i& ALL (or VG& &1e2i(ie'F File&*&te+& Con&i&ten2* C#e2k File&*&te+& Re2over* <et#o' File&*&te+& +o)nte' be(ore I3 2on(i6)re' File&*&te+&.Dire2torie& to E/1ort File&*&te+&.Dire2torie& to NFS <o)nt Net"ork For NFS <o)nt T%1e Re&o)r2e& R%" Di&k 3VID& F%&t Conne2t Servi2e& Co++)ni2%tion Link& 3ri+%r* Porklo%' <%n%6er Cl%&& Se2on'%r* Porklo%' <%n%6er Cl%&& <i&2ell%neo)& D%t% E/%+1le o( r&62 : Re&o)r2e Gro)1 N%+e Re&o)r2e Gro)1 <%n%6e+ent 3oli2* Inter8&ite <%n%6e+ent 3oli2* 3%rti2i1%tin6 No'e N%+e& . De(%)lt No'e 3riorit* D*n%+i2 No'e 3riorit* EOverri'e& 'e(%)ltF In%2tive T%keover A11lie' C%&2%'in6 Pit#o)t F%llb%2k En%ble' A11li2%tion Server& Servi2e I3 L%bel&.A''re&&e& Vol)+e Gro)1& U&e (or2e' v%r*on o( vol)+e 6ro)1&4 i( ne2e&&%r* A)to+%ti2%ll* I+1ort Vol)+e Gro)1& File&*&te+& Ee+1t* i& ALL (or VG& &1e2i(ie'F File&*&te+& Con&i&ten2* C#e2k File&*&te+& Re2over* <et#o' File&*&te+& +o)nte' be(ore I3 2on(i6)re' File&*&te+&.Dire2torie& to E/1ort CD

C)t&2&t+>0v6> )t&2&t+>0v62D (%l&e (%l&e CD (&2k &eK)enti%l (%l&e CD CD CD CD CD CD CD CD CD

r&62 2%&2%'in6 i6nore )t&2&t+2 )t&2&t+> CD (%l&e (%l&e C%110&erver> )t&2&t+2D C)t&2&t+>0&v2D C)t&2&t+20v6> )t&2&t+20v62D (%l&e (%l&e CD (&2k &eK)enti%l (%l&e CD

File&*&te+&.Dire2torie& to NFS <o)nt Net"ork For NFS <o)nt T%1e Re&o)r2e& R%" Di&k 3VID& F%&t Conne2t Servi2e& Co++)ni2%tion Link& 3ri+%r* Porklo%' <%n%6er Cl%&& Se2on'%r* Porklo%' <%n%6er Cl%&& <i&2ell%neo)& D%t% E/%+1le o( r&63 i.e #e%rtbe%tv6 Re&o)r2e Gro)1 N%+e Re&o)r2e Gro)1 <%n%6e+ent 3oli2* Inter8&ite <%n%6e+ent 3oli2* 3%rti2i1%tin6 No'e N%+e& . De(%)lt No'e 3riorit* Con2)rrent Vol)+e Gro)1& U&e (or2e' v%r*on o( vol)+e 6ro)1&4 i( ne2e&&%r* A)to+%ti2%ll* I+1ort Vol)+e Gro)1& A11li2%tion Server& T%1e Re&o)r2e& R%" Di&k 3VID& Di&k Fen2in6 A2tiv%te' F%&t Conne2t Servi2e& Co++)ni2%tion Link& Porklo%' <%n%6er Cl%&& <i&2ell%neo)& D%t%

CD CD CD CD CD CD CD CD CD

r&63 2on2)rrent i6nore )t&2&t+> )t&2&t+2 C#e%rtbe%tv6D (%l&e (%l&e CD CD CD (%l&e CD CD CD CD

H. S*n2#roniOe Cl)&ter Re&o)r2e& Eever*ti+e *o) 2#%n6e t#e 2on(i6)r%tionF , &+it #%2+1 E/ten'e' Con(i6)r%tion E/ten'e' Veri(i2%tion %n' S*n2#roniO%tion which allows to: B Veri(*4 S*n2#roniOe or Bot# CBot#D For2e &*n2#roniO%tion i( veri(i2%tion (%il&I CNoD B Veri(* 2#%n6e& onl*I CNoD B Lo66in6 CSt%n'%r' . Verbo&eD :n case of problem/ select Ierbose &ogging and look to log files: #var#hacmp#clverify#clverify.log or #var#hacmp#clverify#K 5. ;ow you can start <=C,P on all nodes 7several nodes at the same time8 , &+it 2l&t%rt B St%rt no"4 on &*&te+ re&t%rt or bot# no" St%rt Cl)&ter Servi2e& on t#e&e no'e& Cno'e>D *o) 2%n &1e2i(* &ever%l no'e&

222222222222222222 (;> A9 <=C,P CA;9:.B@=3:A; 222222222222

Creation of file sytems and volume group.

Create internalvg/ utsccgm1Dvg1 and utsccgm1Dvg! on one server and internalvg/ utsccgm!Dvg1 and utsccgm!Dvg! on another server. Bse the exportvg and importvg commands to create I. and file system on another server/ first unmount all the file system currently created "Smit fs Bnmount a 9ile System Bnmount =&& mounted file systemsS (xit. Cnow export the vg and import it on another server. "umount "varyoffvg internalvg "exportvg internalvg " ls -l #dev#interH crw-rw---- 1 root system

Ges 7except #/ #tmp/ #usr8

5F/ 4 =ug 4$ 1!:!1 #dev#internalvg

Cnow this 5F is your maJor number you can create the same I. with same characterstics on another server by using below command and maJor number of this disk. An =nother server "importvg 6y internalvg 6I 5F hdisk4 this means you are creating internalvg on hdisk4 of m! server. "chvg 6an 6Tn internalvg

Das könnte Ihnen auch gefallen