群集架构篇 ——nginx反向代理+keepalived双机热备+tomcat服务器池+后端数据库
首先准备好两台nginx,两台tomcat,一台mysql数据库,如下NginxIP地址:192.168.20.39(lvs01)192.168.20.40(lvs02)漂移地址:192.168.20.66TomcatIP地址:192.168.20.41(TM01)192.168.20.42(TM02)MysqlIP地址:192.168.20.50=====================192.