corosync+pacemaker+RA实现MySQL高可用(2)
日期:2020-10-12 栏目:程序人生 浏览:次
4 添加集群服务
准备的包:
corosync-1.2.7-1.1.el5.i386.rpm corosynclib-1.2.7-1.1.el5.i386.rpm pacemaker-1.1.5-1.1.el5.i386.rpm pacemaker-libs-1.1.5-1.1.el5.i386.rpm heartbeat-3.0.3-2.3.el5.i386.rpm heartbeat-libs-3.0.3-2.3.el5.i386.rpm cluster-glue-1.0.6-1.6.el5.i386.rpm cluster-glue-libs-1.0.6-1.6.el5.i386.rpm perl-TimeDate-1.16-5.el5.noarch.rpm libesmtp-1.0.4-5.el5.i386.rpm resource-agents-1.0.4-1.1.el5.i386.rpm
下载到node1 node2 的/root目录下
4.1安装corosync
node1 node2: #yum -y --nogpgcheck localinstall *.rpm