高可用与存储的结合之前我们做好了fence,今天将高可用和存储结合起来。试验主机:172.25.0.2172.25.0.3172.25.0.251(做数据输出端)第一部分:##在做实验之前,需要将luci打开,并且查看集群状态:##将集群的apach关闭:##查看ip发现没有vip:##检测server2的apache(也就是看..
分类:
其他好文 时间:
2016-09-28 07:50:54
阅读次数:
253
高可用(HA)集群的搭建--图形化搭建(针对rhel6.5)实验环境:iptablesselinux关闭,三台主机做好解析实验主机IP:172.25.0.251172.25.0.2172.25.0.3高可用集群包括RHCS,pacemaker+lvs,heartbeat,keepalievd。在做实验前,先了解RHCS套件,6以下才有,7就取消了。一些服务..
分类:
其他好文 时间:
2016-09-26 21:49:27
阅读次数:
806
There is a fence with n posts, each post can be painted with one of the k colors. You have to paint all the posts such that no more than two adjacent ...
分类:
其他好文 时间:
2016-09-22 08:48:08
阅读次数:
127
RH436_EX集群 介绍Linux环境下集群架构,Linux开源集群软件的安装及配置使用,软件与软件之间的组合。实现高可用集群,负载均衡集群;负载均衡、高可用集群与存储集群间的多集群混合架构使用。 本次试验我使用了多种安装包:pcs为集群的基本架构,fence为警报装置,targetcli和isc ...
分类:
系统相关 时间:
2016-09-22 01:20:28
阅读次数:
497
一开始被题目读错题= =以为每次只能割一块,那么就是从大到小切 但是其实是可以分为几堆来切的 所以可以逆着来,变为合并n个木板代价最小 易证每次找最小的两堆合并代价最小 用优先队列维护堆。。偷偷懒= = ...
分类:
其他好文 时间:
2016-09-21 21:33:26
阅读次数:
158
对于初次搭建RHCS集群总是遇到很多意想不到的trouble。用luci管理集群时:在搭建servergroup服务,服务出现disable那是常有的时。。下面给出我在练习中解决方法。。1、无法在Fence或者重启后重新加入集群的节点:重启rgmanager捕获应用程序core前,请移动或删除/目录中的所有旧c..
分类:
其他好文 时间:
2016-09-21 00:15:30
阅读次数:
213
bzoj1724[Usaco2006 Nov]Fence Repair 切割木板 题意: FJ需要n块木板,第i块木板长度为ai。但他只有一块长度为sigma(i,1,n)ai的木板。每切一次的代价为所切割木板的长度,问最小代价。n≤20000 题解: 等价于合并石子(把单块木板的长度看作石子)。故 ...
分类:
其他好文 时间:
2016-09-18 21:06:00
阅读次数:
147
There is a fence with n posts, each post can be painted with one of the k colors.You have to paint all the posts such that no more than two adjacent f ...
分类:
其他好文 时间:
2016-09-04 07:57:06
阅读次数:
144
Fence Repair Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 40465 Accepted: 13229 Description Farmer John wants to repair a small length o ...
分类:
其他好文 时间:
2016-08-23 23:36:19
阅读次数:
283
原题地址:http://codeforces.com/problemset/problem/448/C 题意: 略 题解 略 ...
分类:
其他好文 时间:
2016-08-22 21:31:59
阅读次数:
153