摘要:1、MySQL所在机器 192.168.29.128(Master) 192.168.29.129(Slave) 配置好主从同步,参考http://www.cnblogs.com/luxh/p/4088420.html2、下载安装Atlas https://github.com/Qihoo3...
阅读全文
posted @ 2014-11-18 22:35
|
||
随笔分类 - 负载均衡/集群
摘要:1、MySQL所在机器 192.168.29.128(Master) 192.168.29.129(Slave) 配置好主从同步,参考http://www.cnblogs.com/luxh/p/4088420.html2、下载安装Atlas https://github.com/Qihoo3...
阅读全文
posted @ 2014-11-18 22:35
摘要:1、两台机器,安装好版本一致的MySQL 192.168.29.128 (master) MySQL-5.6.21 192.168.29.129(slave) MySQL-5.6.212、配置master 配置binary log和server ID[root@Luxh-01 ~]# v...
阅读全文
posted @ 2014-11-10 22:25
摘要:1、搭建环境 192.168.29.128(luxh-01.com) 安装nginx,参考http://www.cnblogs.com/luxh/p/4067038.html 192.168.29.129(luxh-02.com) 安装tomcat和memcached 192.168.29...
阅读全文
posted @ 2014-11-04 23:47
摘要:一个配置文件:<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="6"> <Manager className="org.apache.catalina.ha.session.BackupManager" expireSessionsOnShutdown="false" notifyListenersOnReplication="true" ...
阅读全文
posted @ 2012-11-26 10:30
摘要:Apache作为前端的Web服务器,将客户端的请求分流到后端的多个Tomcat应用服务器。 1、准备环境 1)确保已安装好不低于1.5版本的JDK,并配置好相应的环境变量 2)下载Apache HTTP Server 2.1)windows版本下载地址:http://archive.apache.org/dist/httpd/binaries/win32/ 我下载的是:httpd-2.2.22-win32-x86-openssl-0.9.8t.msi 2.2)安装Apache HTTP Server,选择典型安装就行了。在安装界面出现Server Inf...
阅读全文
posted @ 2012-11-25 00:40
|
||