Sie sind auf Seite 1von 22

VCS faq's

1: How do check the status of VERITAS Cluster Server aka VCS? Ans: hastatus sum

: !h"ch "s the ma"n conf"# f"le for VCS and where "t "s located? Ans: ma"n$cf "s the ma"n conf"#urat"on f"le for VCS and "t "s located "n %etc%VRTSvcs%conf%conf"#$

&: !h"ch command 'ou w"ll use to check the s'nta( of the ma"n$cf? Ans: hacf )ver"f' %etc%VRTSvcs%conf%conf"#

*: How to sw"tchover the serv"ce #rou+ "n VCS? Ans: , ha#r+ sw"tch )to

1-: How to onl"ne the serv"ce #rou+s "n VCS? Ans: , ha#r+ onl"ne )s's

11: How to set the VCS conf"#urat"on Read).nl'? Ans: , haconf dum+ )makero

1 : How to set the VCS conf"#urat"on Read)!r"te? Ans: , haconf )makerw

1&: How to d"s+la' the l"st of all sna+shots? Ans: , hasna+ d"s+la' l"st

1/: How to add a user w"th cluster adm"n"strator%.+erator access? Ans: , hauser add )+r"v Adm"n"strator%.+erator

10: How to add a user w"th #rou+ adm"n"strator%.+erator access? Ans: , hauser add )+r"v Adm"n"strator%.+erator #rou+

1uer'"n# Serv"ce 2rou+s3 4 Resources

15: How to d"s+la' the status of a serv"ce #rou+ on a s'stem? Ans: , ha#r+ state )s's

16: How to d"s+la' the resources for a s+ec"f"c serv"ce #rou+?

Ans: , ha#r+ resources

17: How to d"s+la' the serv"ce #rou+ de+endenc"es? Ans: , ha#r+ de+

1*: How to d"s+la' "nformat"on a8out a serv"ce #rou+ on a s'stem? Ans: , ha#r+ d"s+la' )s's

-: How to d"s+la' resource de+endenc"es? Ans: , hares de+

1: How to d"s+la' "nformat"on a8out a resource? Ans: , hares d"s+la'

: How to d"s+la' resources of a serv"ce #rou+? Ans: , hares d"s+la' #rou+

&: How to d"s+la' resources of a resource t'+e?

Ans: , hares d"s+la' t'+e

/: How to d"s+la' attr"8utes of a s'stem? Ans: , hares d"s+la' s's

0: How to d"s+la' all resources t'+e? Ans: , hat'+e l"st

5: How to l"st the s'stems "n the cluster? Ans: , has's l"st

6: How to d"s+la' "nformat"on a8out a +art"cular s'stem? Ans: , has's l"st

7: How to d"s+la' "nformat"on a8out the cluster? Ans: , haclus d"s+la'

*: How to d"s+la' the status of all serv"ce #rou+s "nclud"n# resources "n cluster? Ans: , hastatus

&-: How to d"s+la' the status of cluster faults3 "nclud"n# faulted serv"ce #rou+s3 s'stems3 l"nks and a#ents? Ans: , hastatus summar'

Adm"n"ster"n# Serv"ce 2rou+

&1: How to add a serv"ce #rou+ "n a cluster? Ans: , ha#r+ add

& : How to delete a serv"ce #rou+ from a cluster? Ans: , ha#r+ delete

&&: How to mod"f' a serv"ce #rou+ attr"8ute such as S'stem9"st3 AutoStart9"st3 +arallel etc? Ans: :A; How to +o+ulate the S'stem9"st attr"8ute of serv"ce #rou+ #rou+< w"th S'stemA and =$ , ha#r+ modf' #rou+< S'stem9"st add S'stemA 1 S'stem=

:=; How to +o+ulate the AutoStart9"st attr"8ute of serv"ce #rou+ #rou+< w"th S'stemA and =$ , ha#r+ mod"f' #rou+< AutoStart9"st add S'stemA S'stem=

:C; How to def"ne the serv"ce #rou+ as a +arallel? , ha#r+ mod"f' >arallel 1 &/: How to 8r"n# a serv"ce #rou+ onl"ne? Ans: , ha#r+ onl"ne )s's

&0: How to take a serv"ce #rou+ offl"ne? Ans: , ha#r+ offl"ne )s's

&5: How to take a serv"ce #rou+ offl"ne "f all resources are +ro8ed? Ans: , ha#r+ offl"ne )"f+ro8ed s's

&6: How to sw"tch a serv"ce #rou+ from one s'stem to another s'stem? Ans: , ha#r+ sw"tch )to

&7: How to free?e a serv"ce #rou+? Ans: , ha#r+ free?e )+ers"stent

&*: How to unfree?e a fro?en serv"ce #rou+? Ans: , ha#r+ unfree?e )+ers"stent

/-: How to d"sa8le a serv"ce #rou+? Ans: , ha#r+ d"sa8le )s's

/1: How to ena8le a serv"ce #rou+? Ans: , ha#r+ ena8le @ serv"ce #rou+A )s's

/ : How to ena8le all resources "n a serv"ce #rou+? Ans: , ha#r+ ena8leresources

/&: How to d"sa8le all resources "n a serv"ce #rou+? Ans: , ha#r+ d"sa8leresources

//: How to clear faulted3 non)+ers"stent resources "n a serv"ce #rou+? Ans: , ha#r+ clear )s's

/0: How to clear resources "n ABCIDE!AIT state "n a serv"ce #rou+? Ans: , ha#r+ clearadm"nwa"t )s's

/5: How to flush a serv"ce #rou+? Ans: , ha#r+ flush )s's

/6: How to l"nk a serv"ce #rou+ w"th another? Ans: , ha#r+ l"nk

#dEcate#or' F Cate#or' of #rou+ de+endenc' :onl"ne%offl"ne; #dElocat"on F The sco+e of de+endenc' :local%#lo8al%remote; #dEt'+e F t'+e of #rou+ de+endenc' :soft%f"rm%hard;

/7: How to unl"nk a serv"ce #rou+ w"th another? Ans: , ha#r+ unl"nk

Add"n# and remov"n# cluster node

1)1 How to add a node "n an e("st"n# cluster? Ans: Add"n# a node "nto an e("st"n# cluster "s a mult" ste+s +rocess$

1: Set u+ the hardware =efore add"n# a node to an e("st"n# cluster3 node must 8e +h's"call' connected w"th the cluster$ 1: Connect the VCS +r"vate Ethernet controllers : Connect the node to the shared stora#e

: Install the VCS software "n the node Install the VCS software and "nstall the l"cense$

&: Conf"#ure 99T and 2A= Create the 99T 4 2A= conf"#urat"on f"les :%etc%llthosts3 %etc%lltta8 and %etc%#a8ta8; "n the new node and u+date the f"les on the e("st"n# node$

/: Add the node to an e("st"n# cluster !e have to +erform 8elow #"ven tasks "n an' of the e("st"n# node of a cluster 1: Cake to cluster conf"#urat"on R%! , haconf makerw

: Add the new node to the cluster , has's add

&: Co+' ma"n$cf f"le from an e("st"n# node to new node , sc+ %etc%VRTSvcs%conf%conf"#%ma"n$cf newEnode:% %etc%VRTSvcs%conf%conf"#%ma"n$cf

/: Start vcs on the new node , hastart

0: Dow make the conf"#urat"on a#a"n read onl'$ , haconf dum+ makero

0: Start VCS and ver"f' the cluster 1: Start VCS on the new node , hastart

: Run the 2A= conf"#urat"on command on each node to ver"f' that +ort a and +ort h "nclude the new node "n the mem8ersh"+$ , %s8"n%#a8conf"# )a

1) How to remove a node from an e("st"n# cluster?

Ans: Remov"n# a node from a cluster "ncludes man' ste+s3 wh"ch are #"ven 8elow:

1: =acku+ the conf"#urat"on f"le , c+ %etc%VRTSvcs%conf%conf"#%ma"n$cf %etc%VRTSvcs%conf%conf"#%ma"n$cf$or"#

: Check the status of the nodes and the serv"ce #rou+s , hastatus summar'

&: Sw"tch serv"ce #rou+ wh"ch "s onl"ne on the node leav"n# the cluster , ha#r+ sw"tch to

/: Belete the node from the VCS conf"#urat"on 1: Cake the cluster conf"#urat"on R%! , haconf makerw

: Sto+ the cluster on leav"n# node , hasto+ s's

&: Belete the leav"n# node from the serv"ce #rou+Gs S'stem9"st attr"8ute$

, ha#r+ mod"f' S'stem9"st delete

/: Belete the node from the cluster , has's delete

0: Dow a#a"n make the cluster conf"#urat"on Read .nl'$ , haconf dum+ makero

0: Cod"f' the 99T and 2A= conf"#urat"on f"les to reflect chan#es Cod"f' %etc%llthosts3 %etc%lltta8 and %etc%#a8ta8 f"les on the rem"n"n# node on the cluster$

5: Remove VCS conf"#urat"on on the node leav"n# the cluster 1: Hnconf"#ure and unload 99T and 2A= , %s8"n%#a8conf"# H , %s8"n%lltconf"# H

: Hnload the 99T and 2A= modules , modunload " , modunload I

&: Rename the startu+ f"les to +revent 99T3 2A= and VCS from start"n# u+ "n future$ , mv %etc%rc $d%S6-llt %etc%rc $d%s6-llt , mv %etc%rc $d%S* #a8 %etc%rc $d%s* #a8 , mv %etc%rc&$d%S**vcs %etc%rc&$d%s**vcs

/: Remove VCS +acka#e from the node

Some 2eneral 1uest"ons

1)1 How to shutdown a node "n VCS cluster? Ans: Shutt"n# down a VCS node "s mult" ste+ +rocess$

1; Cake the cluster conf"#urat"on Read%!r"te , haconf makerw

; E"ther Sw"tchover or fa"lover all the serv"ce #rou+ wh"ch are onl"ne on shutt"n# down node to rema"n"n# node , ha#r+ sw"tch )to

&; Iree?e all the serv"ce #rou+ wh"ch are onl"ne "n the cluster$ , ha#r+ free?e )+ers"stent

/; Sto+ the cluster on the node that "s #o"n# to 8e down$ , hasto+ local force

0; Rename the VCS startu+ scr"+t , cd %etc%rc&$d , mv S**vcs s**vcs

5; Dow re8oot the 8o($

.nce the s'stem w"ll come u+ after re8oot3 Iollow the 8elow #"ven "nstruct"ons$

1; Start the VCS on th"s node , hastart force ; Cake the serv"ce #rou+ onl"ne "f the' were made offl"ne 8efore the s'stem down$ , ha#r+ onl"ne )s's

&; Hnfree?e all the serv"ce #rou+s wh"ch are fro?en$

, ha#r+ )unfree?e )+ers"stent

/; Dow make the cluster conf"#urat"on Read).nl' , haconf )dum+ makero

0; Dow a#a"n move 8ack the VCS startu+ scr"+t , cd %etc%rc&$d , mv s**vcs S**vcs

1) How do check the status of VERITAS Cluster Server? Ans: hastatus sum

1)& !h"ch "s the ma"n conf"# f"le for VCS and where "t "s located? Ans: ma"n$cf "s the ma"n conf"#urat"on f"le for VCS and "t "s located "n %etc%VRTSvcs%conf%conf"#$

1)/ !h"ch command 'ou w"ll use to check the s'nta( of the ma"n$cf? Ans: hacf )ver"f' %etc%VRTSvcs%conf%conf"#

1)0 How w"ll 'ou check the status of "nd"v"dual resource of VCS cluster?

Ans: hares state

1)5 !hat "s the serv"ce #rou+ "n VCS? Ans: Serv"ce #rou+ "s made u+ of resources and the"r l"nks wh"ch 'ou normall' reJu"res to ma"nta"n the HA of a++l"cat"on$

1)6 !hat "s the use of hal"nk command? Ans: hal"nk "s used to l"nk the de+endenc"es of the resources

1)7 !hat "s the d"fference 8etween sw"tchover and fa"lover? Ans: Sw"tchover "s an manual task where as fa"lover "s automat"c$ Kou can sw"tchover serv"ce #rou+ from onl"ne cluster node to offl"ne cluster node "n case of +ower outa#e3 hardware fa"lure3 schedule shutdown and re8oot$ =ut the fa"lover w"ll fa"lover the serv"ce #rou+ to the other node when VCS heart8eat l"nk down3 dama#ed3 8roken 8ecause of some d"saster or s'stem hun#$

1)* !hat "s the use of ha#r+ command? Ans: ha#r+ "s used for do"n# adm"n"strat"ve act"ons on serv"ce #rou+s l"ke onl"ne3 offl"ne3 sw"tch etc$

1)1- How to sw"tchover the serv"ce #rou+ "n VCS? Ans: ha#r+ sw"tch to

1)11 How to onl"ne the serv"ce #rou+s "n VCS? Ans: ha#r+ onl"ne )s's

1)1 How to access the VCS cluster mana#ement console? Ans: VCS cluster mana#ement console can 8e accessed 8' the 8elow #"ven HR9s: htt+:%%Servername:7171%cmc% or htt+s:%%Servername:7//&%cmc

1)1& How to access the Cluster Cana#er Lava Console? Ans: ,%o+t%VRTSvcs%8"n%ha#u"

1)1/ !hat "s Leo+ard'? Ans: !hen a node "n the cluster "s hav"n# onl' one "nterconnected l"nk rema"n"n#3 then "tGs ver' d"ff"cult for 2A= to d"scr"m"nate 8etween s'stem or network fa"lure$ A s+ec"al mem8ersh"+ cate#or' takes effect "n th"s s"tuat"on3 called Meo+ard' mem8ersh"+$ Th"s meme8sh"+ +revent cluster from s+l"t 8ra"n cond"t"on$ !hen a s'stem "s +laced "n Meo+ard' mem8ersh"+3 two act"ons occur: 1: Serv"ce #rou+s runn"n# on th"s node +laced "n auto d"sa8led state$ A serv"ce #rou+ "n auto d"sa8led state ma' fa"lover on a resource or #rou+ fault 8ut canGt fa"lover on s'stem fault$ : VCS o+erates the cluster as a s"n#le node cluster$ .ther s'stems "n the clusters are +art"t"oned off "n a se+arate cluster mem8ersh"+$

1)10 !hat "s the ma"n daemon of VCS? Ans: had :h"#h ava"la8"l"t' daemon; wh"ch "s started 8' hashadow daemon$

1)15 !hat "s 2A=? Ans: 2rou+ Cem8ersh"+ Serv"ces%Atom"c =roadcast :2A=; "s res+ons"8le for cluster mem8ersh"+ and rel"a8le cluster commun"cat"on$ 2A= has two maMor funct"ons: 1: Cluster mem8ersh"+ 2A= ma"nta"ns cluster mem8ersh"+ 8' rece"v"n# heart8eat from 99T$ !hen a s'stem no lon#er rece"ves heart8eats from a cluster +eer3 2A= marks the node as down$ : Cluster commun"cat"on 2A= +rov"des the #uranteed del"ver' of messa#es to all the s'stems$ The atom"c 8roadcast funct"onal"t' "s used 8' HAB to ensure that all s'stems w"th"n the cluster rece"ve conf"#urat"on chan#e messa#es$

1)16 !hat "s 99T? Ans: 9ow 9atenc' Trans+ort :99T; "s used for all cluster commun"cat"on$ 99T has 1: Traff"c B"str"8ut"on 99T works as a 8ack8one for 2A=$ 99T d"str"8utes all "nter commun"cat"on across all conf"#ured network l"nks$ If a l"nk "s fa"les3 traff"c "s d"rected to the rema"n"n# l"nk$ maMor funct"ons:

: Heart8eat 99T "s res+ons"8le for send"n# and rece"v"n# heart8eat s"#nals$

1)17 How man' network l"nks are su++orted "n 99T? Ans: 7 l"nks are su++orted$

1)1* How man' nodes can Mo"n a Cluster? Ans: Ca("mum of & nodes "s su++orted "n VCS$

1) - !hat "s heart8eat? Ans: Heart8eat "s an Ethernet 8roadcast +acket$ Th"s +acket not"f"es all othe nodes that sender "s funct"onal$ Th"s "s the onl' 8roadcast traff"c #enerated 8' VCS$ Each node sends hear8eat +ackets +er second +er "nterface$ Heart8eat "s used 8' 2A= to determ"ne cluster mem8ersh"+$

1) 1 !hat "s s+l"t 8ra"n cond"t"on? Ans: !hen all the cluster "nterconnected l"nks fa"l3 "t "s +oss"8le for one cluster to se+arate "nto su8clusters3 each of wh"ch doesnGt know a8out the other su8cluster$ The two su8clusters could each carr' out recover' act"ons for the de+arted s'stem$ Ior e(am+le two s'stems could tr' to "m+ort the same stora#e and cause data corru+t"on$

1)

How do 'ou shutdown a Ver"tas Cluster Server3 leav"n# the a++l"cat"ons runn"n# from the command l"ne?

1) & !hat "s coord"nator d"sk? Ans: Coord"nator d"sks are three standard d"sks or 9HDs set as"de for I%. fenc"n# dur"n# cluster reconf"#urat"on$ Coord"nator d"sks do not serve an' other stora#e +ur+ose "n the VCS conf"#urat"on$ These d"sks +rov"de a lock mechan"sm to determ"ne wh"ch nodes #et to fence off data dr"ves from other nodes$ A node must eMect a +eer from the coord"nator d"sks 8efore "t can fence the +eer from the data dr"ves$ Th"s conce+t of rac"n# for control of the coord"nator d"sks to #a"n the a8"l"t' to fence data d"sks "s ke' to understand"n# +revent"on of s+l"t 8ra"n throu#h fenc"n#$

1) / !hat "s I. fenc"n# and how to conf"#ure I. fenc"n#? Ans: I. fenc"n# "s a feature that +revents data corru+t"on "n the event of a commun"cat"on 8reakdown "n a cluster$ I. fenc"n# "s used to remove the r"sk assoc"ated w"th s+l"t 8ra"n cond"t"on$ I%. fenc"n# allows wr"te access for mem8ers of the act"ve cluster and 8locks access to stora#e from non) mem8ersN even a node that "s al"ve "s una8le to cause dama#e$

1) 0 How to u+#rade VCS? Ans: 1; Remov"n# the de+recated resource t'+e

; Start the "nstallvcs +ro#ram wh"ch "s under the d"rector' clusterEserver

&;

1) 5 How to +erform m"n"mal downt"me u+#radat"on "n VCS?

1) 6 How to u+#rade Solar"s .S "n wh"ch VCS "s runn"n#? Ans: To u+#rade a Solar"s .S "n wh"ch VCS "s runn"n#3 Iollow the 8elow "nstruct"on:

1; Sto+ VCS on th"s node

Cake the VCS conf"#urat"on R%! , haconf makerw

Cove all serv"ce #rou+s from th"s node to another node and free?e th"s node: , has's free?e +ers"stent evacuate

, Cake the cluster conf"#urat"on Read%.nl'? , haconf dum+ makero

, Sto+ the cluster on th"s node , hasto+ force local

; Sto+3 unconf"#ure and uns"nstall 99T and 2A= on th"s node Hnconf"#ure 2A= , #a8conf"# H

Hnconf"#ure 99T , lltconf"# H

Dow remove 2A= and 99T +acka#es

, +k#rm VRTS#a8 VRTSllt

&; Dow u+#rade Solar"s and sw"tch to s"n#le user mode

/; Dow Install and conf"#ure 99T and 2A= , +k#add d $ VRTS#a8 VRTSllt

0; Dow sw"tch to mult" user mode and start VCS , "n"t & , hastart

5; Dow unfree?e th"s node , has's unfree?e +ers"stent , haconf dum+ makero

Das könnte Ihnen auch gefallen