High availability tips & ideas

Σταμάτης Κεκές skekes at pylones.gr
Wed Feb 19 13:26:01 EET 2003


>
>
>
>Wpa, miso giati den dieukrinisthke kati e3arxhs:
>
>Egw auto pou katalaba einai pws o Stamaths exei:
>
>
>                                 switch
>
>                  Load-balancer-1      Load-alancer-2
>                     (active)            (standby)
>
>
>        ftp-server-1    ftp-server-2   ftp-server-2   ftp-server-N
>
>
>Opote skotwneis ton active kai kanei takeover o standby.
>
Nai Giorgo. To exo dokimasei ki ayto me LVS.

>
>
>To ftp server farm apo pisw einai zwntano sto sunolo.
>
>Ta katalaba swsta?
>
>An auto pou ennoouse o Stamaths pws psofaei einai enas ftp server, sumfwnw,
>den mporei na metafernei to connection se kapoio allo ftp server.
>
>Filika.
>
Ego omos elega to eksis sxima


                            switch

  Cluster Leaf 1 ( active )      Cluster Leaf 2 ( standby )

    Cluster proc

      ftpd
      httpd
      ....

Apla apo oso katalava symfona me ta osa diavasa kai sto site tis M$
einai oti pernaei oxi mono ta sockets alla kai ta processes.
Pragma pou me ton tropo pou anaferomaste edo den mporei na isxysei
logo tou oti kai to lvs alla kai to heartbeat to mono pou kanoun einai
an doune oti kapoios host einai kato to men heartbeat kanei IP address
takeover kai meta ksekinaei ena ena ta initscripts pou tha tou pei
kaneis sto /etc/ha.d/haresources eno to LVS xrisimopoiei to heartbeat
gia na krataei zontano ton director pou me ti seira tou opos parethese
poly sosta o Giorgos to sxima, kanei dromologisi ton connections pro tous
real servers.
 Ayto pou nomizo oti kalyptei ayto pou ithela apo tin arxei apo oso diavasa
kai simera einai to beowulf. Pou stin ousia yparxei ena master node pou
kanei resource management kai oi compute nodes. Den ksero omos mai pou den
prolava na diavaso epi tou thematos an yparxei i dynatotita na yparxei kai
deytero master node.
 Etsi ola ta compute nodes ginontai ena virtual computer no matter who dies
oti pliroforia xreiazetai gia kapoio process pernaei stous kernels ton 
compute
nodes kai etsi kseroun ta processes to state tous ktl ktl.




More information about the Linux-greek-users mailing list