ကဲ ဒီတစ္ခါေတာ့ CSS loadbalancing ေလးနည္းနညး္ေလာက္ေျပာၾကည့္ရေအာင္ .. အေသးစိတ္ေတာ့မေျပာေတာ့ဘူး .. Config နမူနာေလးတစ္ခုလုပ္တာကို စမ္းၾကည့္ရေအာင္ ...
အဆင့္လိုက္ေဆာင္ရြက္မႈက ဒီအတိုင္းေလးပါ ..
Number the Circuit VLANs
Create a Service and Keepalive
Create a Content Owner
Create a Content Rule and Virtual IP Address
Add Services to a Content Rule
Bridge VLANs to Ethernet Interfaces
ဒါဆို ပထမဆံုး vlan တစ္ခုထဲကို အသံုးျပဳမယ့္ interface Ethတစ္ခုထည့္ပါ့မယ္ ..ျပီးရင္ သူအတြက္ bridge သံုးျပိး ကြန္နက္လုပ္မယ္ .. ဒီေနရာမွာ CSS ရဲ႕ Vlan default က interface ေတြ အားလံုးကိုစုစည္းထားတာပါ .. အဲ့ေတာ့ css 11500 ရဲ႕ interface e1-8 က vlan တစ္ခုထဲမွာ အရင္ကတည္းက ေပါင္း့ျပီး ရွိေနမွာပါ ..ကဲေအာက္လိုခြဲၾကည့္လုိက္မယ္ .. e2 ကို vlan10 ထဲထည့္ျပီး bridge လုပ္တာေပါ့
CSS150#config
CSS150(config)#interface e2
CSS150(config−if[e2])#bridge vlan 10
Number the Circuit VLANs
ေနာက္တစ္ခုကေတာ့ CSS loadbalancing အတြက္ အ၀င္အထြက္ port ေတြကို လိုအပ္သလိုျပင္ဆင္လိုက္ပါ့မယ္ .. ပံုေလးနဲ႔ ယွဥ္ျပိးၾကည့္ရင္ အလြယ္တကူျမင္မွာပါ ..
CSS150#config
CSS150(config)#circuit VLAN1
CSS150(config−circuit[VLAN1])#ip address 192.168.2.10 255.255.255.0
CSS150(config−circuit−ip[VLAN1−192.168.2.10])#exit
CSS150(config−circuit[VLAN1])#exit
CSS150(config)#circuit VLAN10
CSS150(config−circuit[VLAN10])#ip address 10.0.0.100 255.255.255.0
CSS150(config−circuit−ip[VLAN10−10.0.0.100])#
ဒါဆို
Create a Service and Keepalive
CSS150(config)#service www.myTestServer.net
Create service <www.myTestServer.net>,[y/n]:y
CSS150(config−service[www.myTestServer.net])#ip address 10.0.0.2
CSS150(config−service[www.myTestServer.net])#keepalive type ?
ftp Use FTP Keepalives for this service
http ; Use HTTP Keepalives for this service
icmp ; Use ICMP Keepalives for this service ( default )
named &nbs p; Name of keepalive to use.
none ; Disable keepalive for this service
script &nb sp; Use SCRIPT Keepalives for this service
tcp Use TCP Keepalives for this service
CSS150(config−service[www.myTestServer.net])#keepalive type http
CSS150(config−service[www.myTestServer.net])#active
အသံုးျပဳမယ့္ ဆာဗာကိုလုိ္က္ျပီး ေနာက္ထပ္ ထပ္မံျပီး service ေလးေတြ ေဆာက္ေပးရမွာပါ .. ဒီေလာက္ဆို အိုေကျပီထင္ပါတယ္ .. ဆက္သြားမယ္ ..
Create a Content Owner2
ဒါကေတာ့ ခုနက ဆားဗစ္ေတြ အတြက္ ထိန္းခ်ဴပ္မႈလြယ္ကူေအာင္ Owner တည္ေဆာက္ပါ့မယ္ .. CSS တစ္ခုရဲ႔ Service , Owner , Content Rule စတာေတြက အဆင့္လိုက္ အစဥ္လိုက္ဆိုေတာ့ အဲဒါေတြ နားလည္ထားဖို႔ကိုလည္း ဂရုစိုက္ရပါ့မယ္.
CSS150(config)#owner TesTSerVeR
Create owner <TesTSerVeR>,[y/n]:y
CSS150(config−owner[TesTSerVeR])#
ျပိးေတာ့ အဲဒီ Owner အတြက္ ဆက္တည္ေဆာက္ပါ့မယ္ ...
CSS150(config)#owner TesTSerVeR
CSS150(config−owner[TesTSerVeR])#content webserver
Create content <webserver>,[y/n]:y
CSS150(config−owner−content[TesTSerVeR−webserver])#
CSS150(config−owner−content[TesTSerVeR−webserver])#ip address 192.168.2.1
CSS150(config−owner−content[TesTSerVeR−webserver])#port 80
ျပိးေတာ့ Rule ထဲကို services ေတြ အပ္မယ္ ..
CSS150(config)#owner TesTSerVeR
CSS150(config−owner[TesTSerVeR])#content webserver
CSS150(config−owner−content[TesTSerVeR−webserver])#add service www.myTestServer.net
CSS150(config−owner−content[TesTSerVeR−webserver])#add service www.myTestServer.com
CSS150(config−owner−content[TesTSerVeR−webserver])#add service www.myTestServer.org
CSS150(config−owner−content[TesTSerVeR−webserver])#active
ကဲ ဒါဆို အေျခခံအက်ဆံုး Configuration ျပိးသြားပါျပီ .. ျပန္ျပီး စစ္မယ္ဆိုရင္ေတာ့ ေအာက္ကလိုမ်ိဳးေလးေတြ႔ရမွာပါ ..
show summary
show service summary
show run
ေတြကိုသံုးျပိး စစ္နိုင္ပါတယ္ .. အေရးၾကီးဆံုးေနာက္တစ္ခုက Cisco ေတြရဲ႔ ထံုးစံအတိုင္း သူ႔မွာ AutoSave မပါပါဘူး .. အဲဒီအတြက္ သူ႔ကို Manual Save ေပးရပါတ.ယ္ အသံုးျပဳမယ့္ ကြန္းမန္းကေတာ့ copy ျဖစ္ပါတယ္ ..
copy running-configuration startup-configuration
ဒါဆိုရင္ ခုလက္ရွိ ေဆာင္ရြက္ျပင္ဆင္ထားသမွ် Config ေတြကို Startup boot ထဲကေန အျမဲတမ္းသိမ္းဆည္းထားေတာ့မွာျဖစ္ပါတယ္ .. ခုနက လုပ္ေဆာ္ငခ်က္ေတြကိုျပန္ၾကည့္လုိက္ရေအာင္ ..
Sample Configuration
CSS150−4#show run
configure
!*************************** GLOBAL ***************************
ip route 0.0.0.0 0.0.0.0 192.168.2.1
!************************* INTERFACE *************************
interface e2
bridge vlan 10
!************************** CIRCUIT **************************
circuit VLAN1
ip address 192.168.2.10 255.255.255.0
circuit VLAN10
ip address 10.0.0.100 255.0.0.0
!************************** SERVICE **************************
service www.myTestServer.net
ip address 10.0.0.2
keepalive type http
active
service www.myTestServer.com
ip address 10.0.0.3
keepalive type http
active
service www.myTestServer.org
ip address 10.0.0.4
keepalive type http
active
!*************************** OWNER ***************************
owner TesTSerVeR
content webserver
protocol tcp
port 80
add service www.myTestServer.net
add service www.myTestServer.com
add service www.myTestServer.org
vip address 192.168.2.1
active
အားလံုးအဆင္ေျပႏို္င္ၾကပါေစ ..
0 မွတ္ခ်က္:
Post a Comment