摘要:
HighAvailability LoadBalancer红帽RHCS lvs(三种工作模式,十种算法) 内核层面调度,性能会比较高 mysqlcorosync/Heartbeat nginx(反向代理) 应用层调度keepalived haproxy 应用层调度 ...
阅读全文
posted @ 2014-10-01 22:50
↗℡.Koen↘
阅读(262)
推荐(0)
摘要:
1、修改主机名[root@localhost ~]# cat /etc/hostname localhost.localdomain[root@localhost ~]# hostnamectl set-hostname server28.example.com[root@localhost ~]#...
阅读全文
posted @ 2014-09-30 18:00
↗℡.Koen↘
阅读(481)
推荐(0)
摘要:
系统环境: rhel6 x86_64 iptables and selinux disabled主机: 192.168.122.119 server19.example.com 192.168.122.25 server25.example.com 192.168.122.163 server63...
阅读全文
posted @ 2014-09-30 17:01
↗℡.Koen↘
阅读(360)
推荐(0)
摘要:
系统环境: rhel6 x86_64 iptables and selinux disabled主机: 192.168.122.119 server19.example.com 192.168.122.25 server25.example.com 192.168.122.163 server63...
阅读全文
posted @ 2014-09-30 16:59
↗℡.Koen↘
阅读(242)
推荐(0)
摘要:
系统环境: rhel6 x86_64 iptables and selinux disabled主机: 192.168.122.119 server19.example.com 192.168.122.25 server25.example.com所需的包:heartbeat-3.0.4-1.el6...
阅读全文
posted @ 2014-09-30 16:58
↗℡.Koen↘
阅读(286)
推荐(0)
摘要:
系统环境: rhel6 x86_64 iptables and selinux disabled相关网址:http://zh.linuxvirtualserver.org/ yum仓库配置:[rhel-source] name=Red Hat Enterprise Linux $releaseve...
阅读全文
posted @ 2014-09-30 16:55
↗℡.Koen↘
阅读(352)
推荐(0)
摘要:
远程主机IP:192.168.122.1 远程主机名:server1.example.com本地主机IP:192.168.122.2 本地主机名:server2.example.com1、登录到远程主机上,通过virt-install建立虚拟机[root@server2 ~]$ ssh ro...
阅读全文
posted @ 2014-09-27 23:05
↗℡.Koen↘
阅读(195)
推荐(0)
摘要:
一、虚拟机快照1、确认你的物理机上的vg还有足够的剩余空间 [root@hacker ~]# vgs VG #PV #LV #SN Attr VSize VFree vg_hacker 1 6 4 wz--n- 95.80g 57.80g2、建立一个至少4G(此处以8G为例)的lv逻辑卷...
阅读全文
posted @ 2014-09-27 22:45
↗℡.Koen↘
阅读(426)
推荐(0)
摘要:
理论基础:User → HA → Lb → web → sql → 分布式filesystem ->磁盘I/O用户 高可用 负载均衡 应用 数据库 mfs/hadoop磁盘I/O是硬伤,前面的各个厂商基本都可以做到最好,虽然可以考虑换成固态硬盘,但是固态的价格就目前来看相对比较昂贵,实际情况下...
阅读全文
posted @ 2014-09-26 16:59
↗℡.Koen↘
阅读(769)
推荐(0)
摘要:
理论基础:User - > web ->nginx ->tomcat1 ->*.jsp 80 8080 ↓ -> tomcat2 html -> tomcat3用户通过web访问网页,默认访问的是80端口,即访问nginx。由于nginx只支持静态网页,如果用户访问的是类似*.jsp的动态网...
阅读全文
posted @ 2014-09-23 21:45
↗℡.Koen↘
阅读(482)
推荐(0)