20vcs6unixstartandfail trans
Post on 24-Feb-2018
218 Views
Preview:
TRANSCRIPT
-
7/24/2019 20vcs6unixstartandfail Trans
1/26
1
Veritas Cluster Server 6.0 for UNIX:Cluster Management
Lesson 3: Startup and Failover Policies
-
7/24/2019 20vcs6unixstartandfail Trans
2/26
22
Lesson 1: Service Group Dependencies
Lesson 2: Reconfguring Cluster Me!ers"ip
Lesson 3: Startup and Failover Policies
Lesson #: $lternate %et&or' Confgurations
Lesson (: )ig" $vaila!ilit* in t"e +nterprise
Lesson introduction
-
7/24/2019 20vcs6unixstartandfail Trans
3/26
-
7/24/2019 20vcs6unixstartandfail Trans
4/26
#
$,ter copleting t"is topic0 *ou&ill !e a!le to descri!e rules andpolicies controlling service groupstartup-
Startu rules
and olicies
-
7/24/2019 20vcs6unixstartandfail Trans
5/26
((
$ules for automatic service grou startu
ccurs &"en "astart is eecuted-
Service group attri!utes ust !e set:
$utoStart 1 4de,ault5
%onept* $utoStartList
%ot Fro6en $ll s*stes in S*steList &it" G$7 e!ers"ip 4port
a5 ust !e up and running-
$ll resources ust !e pro!ed on s*stes in
S*steList &it" G$7 e!ers"ip- Service group dependencies to c"ild service groups
ust !e et-
-
7/24/2019 20vcs6unixstartandfail Trans
6/26
88
Startu s%stem selection
9"e initial set o, candidate s*stes is derived ,ro t"e$utoStartList attri!ute-
9"e target s*ste is t"en selected !ased on t"e startup polic* o,
t"e service group-
1
1
1
2
1
3
S*stes are eliinated i,:
9"e* are ,ro6en-
9"e service group "as a F$/L9+D status-
9"e* do not eet service group re.uireents-
-
7/24/2019 20vcs6unixstartandfail Trans
7/26
&utomatic startu olicies
&utoStart'olic%attri"ute values
S%stem selection "asis
rder
rdered listed0 le,t to rig"t0 in$utoStartList
4de,ault5
Priorit* Lo&est priorit* nu!er in S*steList
Load Greatest availa!le capacit*
hagrp modify dbsg AutoStartPolicy Priority
-
7/24/2019 20vcs6unixstartandfail Trans
8/26
;;
&utoStart'olic%(!rder
s1s2
s3$
C
C
$
7
7
Group A (
SystemList = { s1=2, s2=1, s3=0 }
AutoStartList = { s1, s2, s3 }
)
Group C (
SystemList = { s1=3, s2=1, s3=2 }
AutoStartList = { s3, s1, s2 }
)
Group B (
SystemList = { s1=0, s2=1 }
AutoStartList = { s2, s1 }
)
9"e frst availa!le s*ste
in $utoStartList is selected-
AutoStartPolicy=r!erisde,ault-
-
7/24/2019 20vcs6unixstartandfail Trans
9/26
==
&utoStart'olic%('riorit%
S1S2
S3$
C
C
$
7
Group A (
SystemList = { S1=2, S2=1, S3=0 }
AutoStartList = { S1, S2, S3 }
AutoStartPolicy = Priority
)
Group C (
SystemList = { S1=1, S2=2, S3=3 }
AutoStartList = { S3, S1, S2 }
AutoStartPolicy = Priority
)
Group B (
SystemList = { S1=0, S2=1 }
AutoStartList = { S2, S1 }
AutoStartPolicy = Priority
)
9"e lo&est>nu!ereds*ste in S*steList t"atis also in $utoStartList isselected-
7
-
7/24/2019 20vcs6unixstartandfail Trans
10/26
1?1?
&utoStart'olic%(Load
C
Group C (SystemList = { s1=1, s2=2, s3=3 }
AutoStartList = { s3, s1, s2 }
AutoStartPolicy = Loa!
Loa! = "#
)
s1s2
C$
7
9"e s*ste &it" t"e
greatest$vaila!leCapacit* isselected-
s3
Capacit*
@ Load
$vaila!leCapacit*
3??
1(?
1(?
2??
(
12(
1??
1??
7e,ore C starts0 s2 "as$vaila!leCapacit* 2??
-
7/24/2019 20vcs6unixstartandfail Trans
11/26
11
$,ter copleting t"is topic0 *ou&ill !e a!le to descri!e rules andpolicies controlling service group,ailover-
)ailover rules
and olicies
-
7/24/2019 20vcs6unixstartandfail Trans
12/26
1212
$ules for automatic service grou failover
9"e service group ust "ave a critical resource
4Critical15-
9"ese service group attri!utes ust !e set to de,aultvalues:
$utoFailver 1
ManageFaults $LL
9"e service group cannot !e ,ro6en-
$t least one s*ste in t"e service groupAs S*steListattri!ute ust !e up and running-
-
7/24/2019 20vcs6unixstartandfail Trans
13/26
1313
)ailover s%stem selection
9"e initial set o, candidate s*stes is derived ,ro t"eS*steList attri!ute-
9"e target s*ste is t"en selected !ased on t"e ,ailover polic* o,
t"e service group-
11
12
13
S*stes are eliinated i,:
9"e* are ,ro6en-
9"e service group "as a F$/L9+D status-
9"e* do not eet service group re.uireents-
-
7/24/2019 20vcs6unixstartandfail Trans
14/26
1#1#
)ailover olicies
)ail!ver'olic% &ttri"uteValues
S%stem Selection *asis
Priorit*Lo&est priorit* nu!er in S*steList
4de,ault5
RoundRo!inLeast nu!er o, active servicegroups
Load Greatest availa!le capacit*
hagrp modify dbsg FailOverPolicy RoundRobin
-
7/24/2019 20vcs6unixstartandfail Trans
15/26
1(1(
)ail!ver'olic%('riorit%
s1s2 s3
C
C
$
7
Group C (
SystemList = { s3=0, s1=1, s2=2 }
AutoStartList = { s3, s1, s2 }
)
9"e lo&est> nu!ereds*ste in S*steList is
selected-
c
$ail%erPolicy=Priorityisde,ault-
-
7/24/2019 20vcs6unixstartandfail Trans
16/26
-
7/24/2019 20vcs6unixstartandfail Trans
17/26
11
)ail!ver'olic%(Load
s1s2 s3
C
C
$
7
Group C (SystemList = { s3=0, s1=1, s2=2, s=3 }
AutoStartList = { s3, s1, s2, s }
$ail%erPolicy = Loa!
Loa! = "#
)
9"e s*ste &it" t"e
greatest$vaila!leCapacit* isselected-
c
s#
D
Capacit*
@ Load
$vaila!leCapacit*
3??
(
22(
2??
(
12(
1??
2(
(
7e,ore ,ailover
-
7/24/2019 20vcs6unixstartandfail Trans
18/26
1;1;
Con+guring Load and Caacit%
hasys modify s1 Capacity 3
hagrp modify dbsg !oad "#
System s1(
Capacity = 300
* * *
)
mai'*c+
roup !s(
SystemList = { s1 = 1, s2 = 2, s3 = 3 }
* * *
Loa! = "#
)
-
7/24/2019 20vcs6unixstartandfail Trans
19/26
1=
$,ter copleting t"is topic0 *ou&ill !e a!le to use Liits andPrere.uisites to ,urt"er controlservice group startup and ,ailover-
Limits and
'rere,uisites
-
7/24/2019 20vcs6unixstartandfail Trans
20/26
2?2?
Startu e-amle
s1s2
$7
Group - (
SystemList = { s1=0, s2=1, s3=2, s=3 }
AutoStartList = { s1, s2, s3, s }
Prere.uisites = { /Bs=1 }
)
s3
Liits@ Prere.uisites
CurrentLiits
21
1
7e,ore + Starts
D7s
11
?
D7s
1
1
?
D7s
??
?
D7s
s#
C D
+
+
-
7/24/2019 20vcs6unixstartandfail Trans
21/26
2121
)ailover e-amle
s1s2
$7
Group C (
SystemList = { s3=0, s1=1, s2=2, s=3 }
AutoStartList = { s3, s1, s2, s }
Prere.uisites = { /Bs=1 }
)
Liits are "ardversus Load&"ic" is so,t4allo&snegativevalues5-
Liits@ Prere.uisites
CurrentLiits
s#
D
+
c
s3
C
Group C cannot ,ail over
22
?
D7s
11
?
D7s
1
1
?
D7s
??
?
D7s
-
7/24/2019 20vcs6unixstartandfail Trans
22/26
2222
Con+guring Limits and 'rere,uisites
hasys modify s1 !imits $%s &
hagrp modify dbsg Prere'uisites $%s 1
System s2(
Limits = { /Bs = 2 }
* * *
)
mai'*c+
roup !s(
* * *
Prere.uisites = { /Bs = 1 }
)
-
7/24/2019 20vcs6unixstartandfail Trans
23/26
23
$,ter copleting t"is topic0 *ou&ill !e a!le to odel startup and,ailover policies-
Modeling startu andfailover "eavior
-
7/24/2019 20vcs6unixstartandfail Trans
24/26
2#
Using te Simulator
9o test startup and
,ailover policies in t"eSiulator:1- Create a ne& Siulated
cluster-
2- Cop* t"e mai'*c+fle
,ro *our cluster into t"ene& confgurationdirector*-
-
7/24/2019 20vcs6unixstartandfail Trans
25/26
2(2(
Lesson summar%
Be* points
Startup and ,ailover policies provide fne>grained control o,service group startup and ,ailover-
ou can use t"e Siulator to odel !e"avior !e,ore *ouipleent policies in t"e cluster-
Re,erence aterialsVeritas Cluster Server Users Guide
-
7/24/2019 20vcs6unixstartandfail Trans
26/26
28
/nd of 'resentation
top related