高可用负载均衡pacemakerrrdns

高可用负载均衡pacemakerrrdns

ID:43859798

大小:81.50 KB

页数:5页

时间:2019-10-16

高可用负载均衡pacemakerrrdns_第1页
高可用负载均衡pacemakerrrdns_第2页
高可用负载均衡pacemakerrrdns_第3页
高可用负载均衡pacemakerrrdns_第4页
高可用负载均衡pacemakerrrdns_第5页
资源描述:

《高可用负载均衡pacemakerrrdns》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、1>安装pacemake3.配置corosync/etc/corosync/corosync.conf主要修改红色部分。bindnetaddr为IP网段。mcastaddr为多播地址。mcastport为多播地址端口#Pleasereadthecorosync.conf.5manualpagecompatibility:whitetanktotem{version:2secauth:offthreads:0interface{ringnumber:0bindnetaddr:10.3.211.0mcastaddr:226.94.1.1mcastport:4000ttl:1}}loggi

2、ng{fileline:offto_stderr:noto」ogfile:yesto_syslog:yeslogfile:/var/log/cluster/corosync.logdebug:offtimestamp:onlogger_subsys{subsys:AMFdebug:off}}amf{mode:disabled}4^配置pacemaker/etc/corosync/service.d/pcmk创建并修改内容为service{#LoadthePacemakerClusterResourceManagername:pacemakerver:0}5>关闭stonithermc

3、onfigurepropertystonith-enabled二false6、启动软件在两个节点启动corosync/etc/init.d/corosyncstart启动pacemaker/etc/init.d/pacemakerstart7、查看启动状态#crm_monLastupdated:ThuAug804:40:332013Lastchange:TueAug605:39:442013viacibadminondata-node4Stack:classicopenais(withplugin)CurrentDC:data-node4・partitionwithquorumVer

4、sion:1.1.8-7.el6-394e9062Nodesconfigured,2expectedvotes2Resourcesconfigured.Online:[data・node4data-node5]添加功能公共IP功能命令为ermconfigureprimitiveClusterIPocf:heartbeat:IPaddr2paramsip=192.168.3.39cidr_netmask=32opmonitorinterval=30s两台服务器吋加ermconfigurepropertyno-quorum-policy=ignore多个虚拟ipermconfigurep

5、rimitiveClusterlP2ocf:heartbeat:IPaddr3paramsip=192.168.3.40cidrnetmask=32opmonitorinterval=30s查看设置#ermconfigureshownodedata-node4nodedata-node9primitiveClusterIPocf:heartbeat:IPaddr2paramsip=,,192.168.3.39"cidr_netmask二”32”opmonitorinterval二'BOs"primitiveClusterlP2ocf:heartbeat:IPaddr3param

6、sip=n192.168.3.40"cidr_netmask二”32”opmonitorintervah'^Os"property$id="cib・bootstrap・options"dc-version="1.1.8-7.el6-394e906"cluster-infrastructure=Hclassicopenais(withplugin)"expected-quorum-votes=”2”stonith・enabled=,,falseN安装bindrpm-ivh*.rpm配置/etc/named.confoptions{directoryH/var/namecT;f

7、orwarders{10.3.211.6;};allow-query{any;};allow-transfer{any;};};zone"gluster.local"IN{typemaster;file"gluster.local";};zone"211.3.10.in-addr.arpa"IN{typemaster;file"gluster.local.rev11;};配置gluster.localcp/var/named/named」ocalhost/

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。