网站安全架构设计方案

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

:123451bbs,blog2mysqlmysqlproxy2webbbs,blog3412linuxlvs,keepalivedkeepalivedlvsbbs2mysqlwebmysqlproxy3nagios4webwebGNUtarcrontabmysqldumptar.NFSweb5webapachemysqlproxyApachebbsblogbbsblog6mysqliptables:2(dell1950),web2-3(dell1950),2(dell2950),NAS(5T),4u(5T),1(dell1850).centos5()ipvsadmkeepalived,nagios,webapache+phpmysql,mysqlproxy.1lvs2-32web2-33mysql1-34web15261-272keepalived.conf!ConfigurationFileforkeepalivedglobal_defs{router_idLVS_DEVEL}vrrp_instanceVI_1{statemasterinterfaceeth0virtual_router_id59priority100advert_int1authentication{auth_typePASSauth_pass1111}virtual_ipaddress{61.61.61.100#61.61.61.101}}virtual_server61.61.61.10080{delay_loop6lb_algorrlb_kindDRpersistence_timeout50protocolTCPreal_server61.61.61.10280{weight100TCP_CHECK{connect_timeout3nb_get_retry3delay_before_retry3connect_port80}}real_server61.61.61.10380{weight100TCP_CHECK{connect_timeout3nb_get_retry3delay_before_retry3connect_port80}}}ip#!/bin/bash#description:startrealserverVIP=61.61.61.100./etc/rc.d/init.d/functionscase$1instart)echostartLVSofREALServer/sbin/ifconfiglo:0$VIPbroadcast$VIPnetmask255.255.255.255upecho1/proc/sys/net/ipv4/conf/lo/arp_ignoreecho2/proc/sys/net/ipv4/conf/lo/arp_announceecho1/proc/sys/net/ipv4/conf/all/arp_ignoreecho2/proc/sys/net/ipv4/conf/all/arp_announce;;stop)/sbin/ifconfiglo:0downechocloseLVSDirectorserverecho0/proc/sys/net/ipv4/conf/lo/arp_ignoreecho0/proc/sys/net/ipv4/conf/lo/arp_announceecho0/proc/sys/net/ipv4/conf/all/arp_ignoreecho0/proc/sys/net/ipv4/conf/all/arp_announce;;*)echoUsage:$0{start|stop}exit1esac

1 / 6
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功