欢迎来到天天文库
浏览记录
ID:5638896
大小:1.79 MB
页数:21页
时间:2017-11-14
《负载均衡技术介绍》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、北京联信永益科技股份有限公司2008年11月四层交换-服务器负载均衡技术介绍东四数据中心ACE4710交换机部署情况ClinetVlan:10.13.228.64/26ServerVlan:132.77.123.224/27负载均衡服务器网关指向ACE:132.77.123.225非负载均衡服务器网关指向PIX:10.13.228.652东四数据中心ACE逻辑拓扑3ACE4710部署方式-14ACE4710部署方式-25ACE4710配置配置物理接口interfacegigabitEthernet
2、1/1descriptionConnecttoDMZ-DONGSI-2960-1channel-group3noshutdown配置Channelinterfaceport-channel3descriptionConnecttoDMZ-DONGSI-2960-1switchporttrunknativevlan1switchporttrunkallowedvlan10,20,99noshutdown6ACE4710配置配置三层接口interfacevlan20descriptionServer-
3、Vlanipaddress132.77.123.226255.255.255.224alias132.77.123.225255.255.255.224peeripaddress132.77.123.227255.255.255.224(可选,HA)nonormalizationnoicmp-guardnoshutdown配置路由iproute0.0.0.00.0.0.010.13.228.657ACE4710配置配置允许通过ACE的流量(默认双向禁止)access-listACL-Permit-
4、Allline10extendedpermitipanyanyaccess-groupinputACL-Permit-All(全局模式下,应用到所有端口)配置允许访问ACE的流量(默认禁止)class-maptypemanagementmatch-anyREMOTE_ACCESSdescriptionRemoteaccesstrafficmatch10matchprotocoltelnetany20matchprotocolsshany30matchprotocolicmpanypolicy-ma
5、ptypemanagementfirst-matchREMOTE_MGMT_ALLOW_POLICYclassREMOTE_ACCESSpermitinterfacevlan20service-policyinputREMOTE_MGMT_ALLOW_POLICY8ACE4710配置配置探针probehttpprobe-web-81port81passdetectinterval10receive9expectstatus2002019ACE4710配置配置RealServerrserverhos
6、tWEB-SERVER1descriptionMENHU_web01ipaddress132.77.123.228probeprobe-web-80probeprobe-web-81inservice10ACE4710配置配置ServerFarmserverfarmhostMenHU-Web-FramdescriptionWaiBuMenHuServerFarmfailactionpurgerserverWEB-SERVER180inservicerserverWEB-SERVER181inser
7、vicerserverWEB-SERVER280inservice11ACE4710配置配置流量策略12ACE4710配置配置会话保持策略(七层策略,可选)resource-classMenHU-Web-stickylimit-resourceallminimum0.00maximumunlimitedlimit-resourcestickyminimum10.00maximumunlimitedcontextAdminmemberMenHU-Web-stickystickyip-netmask2
8、55.255.255.255addressbothMenHU-WebtimeoutactiveconnsreplicatestickyserverfarmMenHU-Web-Frampolicy-maptypeloadbalancefirst-matchL7_VIP_LB_Webclassclass-defaultsticky-serverfarmMenHU-Web13ACE4710配置配置负载均衡策略(四层策略,比选)class-mapmatch-allL4_VIP_ADDRES
此文档下载收益归作者所有