Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

download Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

of 12

Transcript of Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    1/12

    Chuyn trang dnh cho k thut vin tin hcCHIA S - KINH NGHIM - HC TP - TH THUT

    Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB

    Trong bi trc chng ta bit cc cu hnh DFS h thng c th chia ti vi nhau gia cc File Server, tuynhin DFS ch gii hn mt s tnh nng nht nh m thi v th do nhu cu thc t i hi phi c mt c ch

    tng t nhng c th p dng cho nhiu m hnh khc nhWeb Server, Print Server, Mail Server...

    Trong bi ny chng ta s tm hiu v Network Load Balancing (NLB) ng dng chia ti trong cc h thngmng khc nhau

    n gin trong bi ny ti s trnh by vi cc bn cch cu hnh NLB cho Web Server

    Gi s ti c mt trang Web l www.gccom.net v do nhu cu thc t ti phi thit lp nhiu my Web Servercng tham gia chia ti cho trang Web ny v vy ti phi ng dng NLB chia ti. Mi my Web Server s cmt IP Address duy nht

    Nh vy khi ta cu hnh NLB th tt c cc my tham gia chia ti cho h thng Web Server nh NLB s s dngmt Virtual IP Address duy nht ngi dng t bn ngoi truy cp vo s truy cp thng n IP o ny h

    thng NLB s t ng cn bng ti cho cc my tham gia vo NLB.

    Nh vy trong m hnh ny ti s dng 3 my trong :

    - My Server va l my DC Server, DNS Server va ng vai tr l Client

    - My PC01, PC02 l cc my Web Server

    Cu hnh IP cc my nh sau:

    My c tnh Server PC01 PC02

    1 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    2/12

    Subnet Mask 255.255.255.0 255.255.255.0 255.255.255.0

    Defaultgateway

    Preferred DNS 127.0.0.1 192.168.1.1 192.168.1.1

    Card Cross

    IP Address

    Subnet Mask

    Defaultgateway

    Preferred DNS

    Card Lan: ni gin tip 3 my PC01 &PC02 &Server vi nhau thng qua SwitchCard Cross: ni trc tip cc cp my PC01 vi PC02

    Trc tin ti my PC01 &PC02 ti phi ci t dch v Network Load Balancing (NLB) trc bng cch voServer Manager -> Features-> Add Features

    Trong Select Features bn chn Network Load Balancing v tin hnh ci t

    2 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    3/12

    Sau khi hon tt ci t NLB ln c 2 my Web Server th h thng bn by gi c gi l Web LoadBalancing. Gi y mi cu hnh trn bt c my Web Server no trong h thng mng u c tc ng lnton b cc Web Server khc.

    Nh vy ti ch cn cu hnh ti my PC01 hoc PC02 m thi m khng phi cu hnh ln lt trn tng my

    Ti my PC01 bn vo Start -> Programs -> Administrative Tools -> Network Load Balancing Manager bt u tin trnh cu hnh NLB cho h thng

    Trong mn hnh Network Load Balancing Manager nhp phi vo Network Load Balancing Clusters chnNew Clusters to mt giao thc mi

    3 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    4/12

    Ti mn hnh New Cluster: Connect chn Card Lan

    Trong mn hnh New Cluster: Host Parameters gi nguyn gi tr mc nh

    4 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    5/12

    Ti ca s New Cluster: Cluster IP Addresses bn nhp Add v thm mt IP o vo y. Trong bi gi s IP ochnh l 192.168.1.100/24

    Trong mn hnh New Cluster: Cluster Parameters nhp Next

    5 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    6/12

    Mc nh NLB s chia ti cho tt c cc Port tuy nhin trong bi ti ch mun NLB chia ti cho Web Server mthi nn ti mn hnh New Cluster: Port Rules bn nhp Edit

    Nhp vo gi tr 80 cho c 2 mc From &To

    6 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    7/12

    Mn hnh sau khi hon tt

    Mn hnh Network Load Balancing Manager sau khi hon tt vic Add PC01 vo NLB.

    7 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    8/12

    Lm tng t Add PC02 vo

    Nhp phi Virtual IP chn Add Host To Cluster

    Nhp IP Address ca my PC02 vo v nhp Connect v tip tc chn Card Lan

    8 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    9/12

    Trong mn hnh New Cluster: Host Parameters gi nguyn gi tr mc nh

    Mn hnh Network Load Balancing Manager sau khi hon tt

    9 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    10/12

    Nh vy n y h thng Web Load Balancing ca chng ta bao gm 2 my l PC01 &PC02 tham gia chia tiWeb Server

    T my PC01 bt DOS Command ln nhp lnh ipconfig/ all s thy my nhn n 2 IP Address l192.168.1.2 & 192.168.1.100

    Ti my DNS Server ti Add thm mt Host (A) l www ch n IP o l 192.168.1.100

    10 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    11/12

    T my Client ti Ping th IP 192.168.1.100 thy thnh cng

    Dng lnh nslookup www.gccom.net s thy h thng phn gii tn min www.gccom.net thnh192.168.1.100

    Nh vy n y ta hon tt vic cu hnh NLB cho Web Server, khi ta ch cn cu hnh NAT cho Routersao cho khi ngi dng t ngoi truy cp vo mng vi giao thc Web h thng s NAT vo IP 192.168.1.100.n y h thng chng ta s t ng chia ti cho cc my Web Server nh NLB

    OK mnh va trnh by xong phn Network Load Balancing - NLB trong 70-648, 70-649 ca MCSA.

    Cng ty TNHH u t pht trin tin hc GC ComChuyn trang k thut my vi tnh cho k thut vin tin hc

    in thoi: (073) - 3.511.373 - 6.274.294

    11 of 12

    Smith Nguyen St

    ttp://www.facebook.com/SmithNguyenStudio

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio
  • 7/29/2019 Part 47 - Upgrade Server 2008 - Network Load Balancing - NLB - Smith.N Studio

    12/12

    Website: http://www.gccom.net

    Smith Nguyen St

    http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio