电商大数据平台架构设计方案.pptx
《电商大数据平台架构设计方案.pptx》由会员分享,可在线阅读,更多相关《电商大数据平台架构设计方案.pptx(49页珍藏版)》请在悟道方案网上搜索。
1、电商大数据平台架构设计方案,现时较为热门的话题,互联网电商大数据,应用程序,应用服务器,文件,文件服务器,数据库,数据库服务器,小型电商网站架构,中型电商网站架构,大型电商网站架构,项目梳理流程,每一个步骤都是一个需求翻译的过程,应用系统与基础架构是两种不同类型的语言,应用系统 语言,人工翻译由于相互之间的不熟悉,如何确保需求翻译的正确性?,高并发,大流量高可用: 7*24海量数据用户分布广泛安全: 网站受攻击,密码泄露需求快速变更,发布频繁,基础架构 语言,端口数量核心层、接入层带宽速率VLAN划分IP地址规划防火墙QoS 负载均衡CPU、内存、网卡、存储,姑且称之为应用与基础架构之间的语言
2、障碍,应用系统 和 基础架构人员必须相互翻译自己的语言,如何跨越这个障碍?,架构师,懂业务,熟系统,熟悉网络、服务器、防火墙,在哪里?,有其他的办法吗?,Soni Jiandani,Application Centric Infrastucture以应用为中心的基础架构,应用需求,应用(web),中间件,数据库,ACI 理解并翻译 APP的需要,Aci将应用的语言翻译成网络的语言,网络需求,开放标准,拥抱开源,ACI 以应用为中心的基础架构并不是单一的产品,先来看一个传统的案例,Web Servers,L3,FW,SLB,SSL,DB Servers,www,www,www,App Serve
3、rs,FW,SLB,app,app,FW,db,db,switch1(config)#switch1(config)# int eth 1/1switch1(config)# switch mode accswitch1(config)# switch acc vlan 666switch1(config)# no shut,router(config)#router(config)# int eth 1router(config)# ip add 6.6.6.1 255.255.255.0router(config)# not shutrouter(config)# int eth 2rou
4、ter(config)# ip addr 1.1.1.1 255.255.255.0router(config)# no shutrouter(config)# router eigrp 100router(config)# network 6.6.6.0 mask 255.255.255.0router(config)# network 1.1.1.0 mask 255.255.255.0router(config)# ip route 0.0.0.0 0.0.0.0 6.6.6.254,switch2(config)#switch2(config)# int eth 1/2 - 3swit
5、ch2(config)# switch mode accswitch2(config)# switch acc vlan 111switch2(config)# no shut,fw1(config)#fw1(config)# int eth 0/1fw1(config)# nameif outside 0fw1(config)# int eth 0/2fw1(config)# nameif webfront 20fw1(config)# object network webfront_vipfw1(config)# host 6.6.6.6fw1(config)# static (webfr
6、ont,outside) 1.1.1.6fw1(config)# access-list outside_web permit tcp any host 6.6.6.6 eq 80fw1(config)# access-list outside_web permit tcp any host 6.6.6.6 eq 443fw1(config)# access-group outside_web in interface outside,switch3(config)#switch3(config)# int eth 1/4 - 5switch3(config)# switch mode acc
7、switch3(config)# switch acc vlan 222switch3(config)# no shut,switch4(config)#switch4(config)# int eth 1/6switch4(config)# switch mode accswitch4(config)# switch acc vlan 333switch4(config)# no shutswitch4(config)# int eth 1/7 - 9 switch4(config)# switch mode accswitch4(config)# switch acc vlan 333sw
8、itch4(config)# no shut,IDS/IPS,IDS/IPS,switch5(config)#switch5(config)# int eth 1/10 - 11switch5(config)# switch mode accswitch5(config)# switch acc vlan 444switch5(config)# no shutswitch5(config)# int eth 1/11 - 15switch5(config)# switch mode accswitch5(config)# switch acc vlan 555switch5(config)#
9、no shutswitch5(config)# monitor session 1 source vlan 555switch5(config)# monitor session 1 dest eth 1/16,switch6(config)#switch6(config)# int eth 1/16 - 19switch6(config)# switch mode accswitch6(config)# switch acc vlan 777switch6(config)# no shutswitch6(config)# monitor session 1 source vlan 777sw
10、itch6(config)# monitor session 1 dest eth 1/20,slb1 (CONFIG) probe http http-probe interval 30 expect status 200 200rserver host websrvr1 description foo web server ip address 3.3.3.1 inservicerserver host websrvr2 description foo web server ip address 3.3.3.2 inservicerserver host websrvr3 descript
11、ion foo web server ip address 3.3.3.3 inserviceserverfarm host FOOWEBFARM probe http-probe rserver websrvr1 80 inservice rserver websrvr2 80 inservice rserver websrvr3 80inservicecrypto generate key 1024 fooyou.keycrypto csr-params testparms country US state California locality San Jose organization
12、-name foo organization-unit you common-name serial-number crisco123crypto generate csr testparms fooyou.keycrypto import ftp 12.13.14.15 anonymous fooyou.cerparameter-map type ssl SSL_PARAMETERS cipher RSA_WITH_RC4_128_MD5 version TLS1ssl-proxy service FOOWEB_SSL key fooyou.key cert fooyou.cerclass
13、-map match-all FOOSSL_VIP_CLASS 2 match virtual-address 2.2.2.22 tcp eq https policy-map type loadbalance first-match L7-SSL-MATCH class L7_WEB sticky-serverfarm sn_cookie policy-map multi-match FOOWEB-VIP class FOOWEB_VIP_CLASS loadbalance vip inservice loadbalance policy FOOWEB-MATCH loadbalance v
14、ip icmp-reply loadbalance vip advertise active class FOOSSL_VIP_CLASS loadbalance vip inservice loadbalance policy FOOSSL-MATCH loadbalance vip icmp-reply loadbalance vip advertise active ssl-proxy server FOOWEB_SSLinterface vlan 222 service-policy input FOOWEB_SSL,fw2(config)#fw2(config)# int eth 0
15、/1fw2(config)# nameif webfront 20fw2(config)# int eth 0/2fw2(config)# nameif appfront 50fw2(config)# object network appfarm_vipfw2(config)# host 5.5.5.5fw2(config)# nat (appfront,webfront) static 4.4.4.4fw2(config)# access-list web_to_app permit tcp any host 4.4.4.4 eq 8081,slb2 (CONFIG)rserver host
16、 appsrvr1 description foo app server ip address 5.5.5.1 inservicerserver host appsrvr2 description foo app server ip address 5.5.5.2 inservicerserver host appsrvr3 description foo app server ip address 5.5.5.3 inserviceserverfarm host FOOAPPFARM probe http-probe rserver appsrvr1 8081 inservice rserv
17、er appsrvr2 8081 inservice rserver appsrvr3 8081inserviceclass-map type http loadbalance match-any FOO_APP 2 match http virtual-address 4.4.4.44 tcp eq 8081class-map match-all FOO_APP_VIP_CLASSpolicy-map type loadbalance first-match FOO_APP-MATCH class FOO_APP sticky-serverfarm sn_cookiepolicy-map m
18、ulti-match FOO_APP-VIP class FOO_APP_VIP_CLASS loadbalance vip inservice loadbalance policy FOO_APP-MATCH loadbalance vip icmp-reply loadbalance vip advertise active,fw3(config)#fw3(config)# int eth 0/1fw3(config)# nameif appfront 70fw3(config)# int eth 0/2fw3(config)# nameif dbfront 90fw3(config)#
19、object network db_clusterfw3(config)# host 7.7.7.7fw3(config)# nat (dbfront,appfront) static 5.5.5.50fw3(config)# access-list web_to_app permit tcp any host 5.5.5.50 eq 1433,Web Servers,L3,FW,SLB,SSL,DB Servers,www,www,www,App Servers,FW,SLB,app,app,FW,db,db,switch1(config)#switch1(config)# int eth
20、1/1switch1(config)# switch mode accswitch1(config)# switch acc vlan 666switch1(config)# no shut,router(config)#router(config)# int eth 1router(config)# ip add 6.6.6.1 255.255.255.0router(config)# not shutrouter(config)# int eth 2router(config)# ip addr 1.1.1.1 255.255.255.0router(config)# no shutrou
21、ter(config)# router eigrp 100router(config)# network 6.6.6.0 mask 255.255.255.0router(config)# network 1.1.1.0 mask 255.255.255.0router(config)# ip route 0.0.0.0 0.0.0.0 6.6.6.254,switch2(config)#switch2(config)# int eth 1/2 - 3switch2(config)# switch mode accswitch2(config)# switch acc vlan 111swit
22、ch2(config)# no shut,fw1(config)#fw1(config)# int eth 0/1fw1(config)# nameif outside 0fw1(config)# int eth 0/2fw1(config)# nameif webfront 20fw1(config)# object network webfront_vipfw1(config)# host 6.6.6.6fw1(config)# static (webfront,outside) 1.1.1.6fw1(config)# access-list outside_web permit tcp
23、any host 6.6.6.6 eq 80fw1(config)# access-list outside_web permit tcp any host 6.6.6.6 eq 443fw1(config)# access-group outside_web in interface outside,switch3(config)#switch3(config)# int eth 1/4 - 5switch3(config)# switch mode accswitch3(config)# switch acc vlan 222switch3(config)# no shut,switch4
- 温馨提示:
建议用WPS软件(.pptx、.docx)打开文档,少量文档使用Microsoft(.ppt、.doc)打开易出错。
- 配套讲稿:
如PPT文件的首页显示word图标打开文档,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 电商大 数据 平台 架构 设计方案
