18vcs6unixservgroupdep Trans

  • Upload
    gyan

  • View
    232

  • Download
    0

Embed Size (px)

Citation preview

  • 7/24/2019 18vcs6unixservgroupdep Trans

    1/26

    Veritas Cluster Server 6.0 for UNIX:Cluster Management

    Lesson 1: Service Group Dependencies

  • 7/24/2019 18vcs6unixservgroupdep Trans

    2/26

    Lesson 1: Service Group Dependencies

    Lesson 2: Reconfguring Cluster Membership

    Lesson 3: Strtup nd !ilover "olicies

    Lesson #: $lternte %et&or' Confgurtions

    Lesson (: )igh $vilbilit* in the +nterprise

    Lesson introduction

  • 7/24/2019 18vcs6unixservgroupdep Trans

    3/26

    Toic !"#ectives

    Common pplictionreltionships

    Describe common e,mple pplictionreltionships-

    Service groupdependencies

    Defne service group dependencies-

    Service groupdependenc*e,mples

    Describe e,mple uses o. service groupdependencies-

    Confguring servicegroup dependencies

    Confgure service group dependencies-

    $lternte methods o.controllinginterctions

    Confgure lterntive methods .orcontrolling service group interctions-

    Lesson o"#ectives

  • 7/24/2019 18vcs6unixservgroupdep Trans

    4/26

    $.ter completing this topic/ *ou&ill be ble to describe e,mpleso. common pplictionreltionships-

    Common alicationrelations$is

  • 7/24/2019 18vcs6unixservgroupdep Trans

    5/26

    Multitier services

    Mn* services hve multipletiers-

    0iers re represented b* seprteservice groups-

    Reltionships e,ist bet&een tiers- Reltionships must be en.orced

    &ithin CS-

    eb

    $pp

    D

  • 7/24/2019 18vcs6unixservgroupdep Trans

    6/26

    eb

    $pp

    %&amle ': !nline on t$e same s(stem

    +,mple criteri:

    oth must be online toprovide the service-

    eb nd $pp must runon the sme s*stem/ dueto s*stem interprocesscommuniction-

    eb re4uires $pp to beonline frst-

    5. $pp .ults/ eb must.ollo& it to the .ilovers*stem-

    eb

    $pp

  • 7/24/2019 18vcs6unixservgroupdep Trans

    7/26

    $pp

    D

    %&amle ): !nline on di*erent s(stems

    +,mple criteri:

    oth must be online toprovide the service-

    $pp nd D cnnot runon the sme s*stem/ dueto s*stem usgeconstrints-

    $pp re4uires D to beonline frst-

    5. $pp .ults/ Dcontinues to run-

    $pp

    D

  • 7/24/2019 18vcs6unixservgroupdep Trans

    8/26

    %&amle +: !,ine on t$e same s(stem

    +,mple criteri:

    6ne node is used .or test environment-

    "rod l&*s hs priorit*-

    0est nd "rod cnnot beonline on the smes*stem-

    0est

    "rod

    0est

    "rod

  • 7/24/2019 18vcs6unixservgroupdep Trans

    9/26

    $.ter completing this topic/ *ou&ill be ble to defne servicegroup dependencies-

    Service groudeendencies

  • 7/24/2019 18vcs6unixservgroupdep Trans

    10/26

    Service grou deendenc(de-nitions

    Startu Categor( ailoverT(e

    6nline

    Child strts frst

    Locl

    Sme s*stem

    So.t

    !irm)rd

    Globl$n* s*stem

    So.t

    !irm

    RemoteDi7erents*stem

    So.t

    !irm

    68ine Locl 9

  • 7/24/2019 18vcs6unixservgroupdep Trans

    11/26

    ailover t(es

    Soft

    eeps theprent online&hen thechild .ults

    /ard

    0'es child ndprent o8ine&hen either.ults

    $pplies onl* ton online locldependenc*

    5s llo&ed onl*bet&een single prentnd singlechild

    irm

    0'es theprent o8ine&hen the child.ults

  • 7/24/2019 18vcs6unixservgroupdep Trans

    12/26

    $.ter completing this topic/ *ou&ill be ble to describe e,mpleservice group dependenc*behvior-

    Service groudeendenc(e&amles

  • 7/24/2019 18vcs6unixservgroupdep Trans

    13/26

    !nline local e&amle

    Strtup behvior:

    Child comes online frst "rent must come online on

    the sme s*stem

    So.t .ilover behvior:

    0he child .ults nd .ils over to nvilble s*stem &hile the prent'eeps running-

    0he prent is s&itched to the.ilover s*stem no& running thechild-

    !irm .ilover behvior: 0he child .ults nd the prent is

    t'en o8ine-

    0he child is restrted on .ilovers*stem nd then the prent isrestrted on the sme s*stem-

    eb

    $pp

    )rd di7erence

    0he child is t'en o8ine i. theprent .ults-

  • 7/24/2019 18vcs6unixservgroupdep Trans

    14/26

    !nline remote e&amle

    Strtup behvior:

    Child must be online

    "rent cn come onlineonl* on remote s*stem

    !ilover e,mple .or so.t t*pe:

    0he child .ults nd .ilsover to n vilble s*stem-

    5. the selected trget s*stem.or the child is not runningthe prent/ then the prent

    continues to run-

    5. the selected trget hsthe prent is online:

    0he prent is t'en o8ine-

    0he child is brought online-

    0he prent is then restrtedon s*stem di7erent .romthe child;s s*stem-

    !irm di7erence

    0he prent is l&*s t'en o8ine&hen the child .ults-

    $pp

    D

  • 7/24/2019 18vcs6unixservgroupdep Trans

    15/26

    !,ine local e&amle

    Strtup behvior:

    Child cn come onlinen*&here the prent is o8ine

    "rent cn come online onl*&here child is o8ine

    !ilover e,mple:

    0he child .ults nd .ilsover to n vilble s*stem-

    5. the selected trget s*stem.or the child is not runningthe prent/ then the prent

    continues to run-

    5. the selected trget hsthe prent is online:

    0he prent is t'en o8ine-

    0he child is brought online-

    0he prent then restrts on s*stem di7erent .rom thechild;s s*stem-

    0est

    "rod

  • 7/24/2019 18vcs6unixservgroupdep Trans

    16/26

    $.ter completing this topic/ *ou&ill be ble to confgure servicegroup dependencies ccording toCS rules-

    Con-guring servicegrou deendencies

  • 7/24/2019 18vcs6unixservgroupdep Trans

    17/26

    Service grou deendenc( rules

    Service group dependenc* rules:

    Child hs priorit*

    Multiple prents

    Multiple children e,cept .or o8ine locl

    nd online locl hrd

    M,imum o. fve levels

    C*clicl dependencies prohibited

    &eb

    pp1 pp2 pp3

    db1 db2

    online globl frm

    online locl frm

    online globl so.t

  • 7/24/2019 18vcs6unixservgroupdep Trans

    18/26

    Creating service grou deendencies

    group g1 ( )

    requires group g2 online local firm

    main.cfhagrp link parentchildonline local firm

    hagrp dep [group]

    hagrp unlink parentchild

    Lin'ing in G

  • 7/24/2019 18vcs6unixservgroupdep Trans

    19/26

    !nline and o,ine of lined service grous

    g2

    g1

    g#

    g3

    g(

    Online local groupdependency

    6nline=o8ine propgtes to

    child=prent groups

    hagrp online propagate

    6nline propgtes to o8ine childgroups-

    hagrp offline propagate68ine propgtes to online locl hrd

    nd online locl frm prent groups

    Does not o8ine online locl so.t prentgroups

    or's &ith anyndsysoptions

  • 7/24/2019 18vcs6unixservgroupdep Trans

    20/26

    $.ter completing this topic/ *ou&ill be ble to implementresources nd triggers to controlservice group interctions-

    1lternative met$odsof controllinginteractions

  • 7/24/2019 18vcs6unixservgroupdep Trans

    21/26

    preonline Runs the preonlinescript be.ore bringing the service

    group online

    Cn b*pss trigger &ith hagrp -online nopre group...

    postoffline

    Runs the postofflinescript .ter t'ing service group o8ine

    postonline

    Runs the postonlinescript .ter bringing servicegroup online

    Using triggers to control service grouinteractions

  • 7/24/2019 18vcs6unixservgroupdep Trans

    22/26

    Managing multi2tier alications

    Re4uirements:

    isuli>e sttus o.multi9tier ppcross ph*siclnd virtulenvironments

    Mnge orderedstrt or stop o.logicl ppliction

    Strt or stop M

    in con?unction&ith ppliction

    APA APA APA APA APA APA

    SQL SQL SAP SAP SAP IIS

    SQL SQL APA APA APA IIS

    ORA ORA ORA S ybase Sybase SAP

    WLS WLS WLSWAS WAS WAS

    ORA ORA ORA Sybase Sybase Sybase

    Trading 1lication

    WEB WEB WEB

    APP APP

    DB

    3$(sical

    Virtual

  • 7/24/2019 18vcs6unixservgroupdep Trans

    23/26

    Virtual 4usiness Services

    5ata"ase

    1lication

    e" server

    4illing

    aaa

    54

    SI3

    VV7

    Service8rou

    CS

    1

    I3

    Servi

    ce8rou

    CS

    e"

    VM

    Service8rou

    e"

    VM

    Service8rou

    $ppliction)$

    Veritas ClusterServer/1957

    Veritas ClusterServer/1

    S(mantec1lication/1

    V!M.'

    6.0

  • 7/24/2019 18vcs6unixservgroupdep Trans

    24/26

    /o; Virtual 4usiness Servicesors: /ig$ 1vaila"ilit(!ult "ropgtion et&een Clusters

    apache_sg

    oracle_apps_sg

    oracle_sg

    illing irtul usiness Service

    S

    S

    S

    Con-gura"leault 7eactionSo.t!irmRestrt

    1utomatic ault3roagation%o e,ternl brin%o hertbetsSecure

    Soft

    Restart

    http://www.symantec.com/business/products/trialware.jsp?pcid=pcat_business_cont&pvid=20_1http://290%2C35%2Cactive/Passive%20http://290%2C35%2Cactive/Passive%20
  • 7/24/2019 18vcs6unixservgroupdep Trans

    25/26

    Lesson summar(

    e* points

    @ou cn use service group dependencies to control interctionsmong pplictions-

    @ou cn lso use triggers nd specili>ed resources to mngeppliction reltionships-

    Re.erence mterils Veritas Cluster Server Users Guide

    Virtual Business Service Availability Users Guide

    ABob $ids $ppendi,

  • 7/24/2019 18vcs6unixservgroupdep Trans

    26/26

    %nd of 3resentation