May 05 15:06:43 ckl-bd2 heartbeat:[21548]:info: Link ckl-bd2:eth0 up.#eth0isup
May 05 15:08 :44 ckl-bd2 heartbeat:[21548]: WARN: node ckl-bd1: is dead#Nodeckl-bd1为 dead
May 05 15:08:44
May 05 15:06:43 ckl-bd2 heartbeat:[21548]:info: Link ckl-bd2:eth0 up.#eth0isup
May 05 15:08 :44 ckl-bd2 heartbeat:[21548]: WARN: node ckl-bd1: is dead#Nodeckl-bd1为 dead
May 05 15:08:44
www.521voip.com Focus on cloud computing
Heartbeat+DRBD+mysql high-availability solution
1.1 Introduction to the plan
This plan The Heartbeat dual-system hot backup software is us
Notes:
1. Node name: hostname, /etc/hosts
2. ssh mutual trust
3. Node time synchronization
Three configuration files of heartbeat:
authkeys: communication key file
yum -y install pkgconfig glib2-devel python-devel pam-devel gnutls-devel swig
wget http://down1.chinaunix.net/distfiles/libnet-1.1.2.1. tar.gz
tar ..
./configure && make && make i
Heartbeat is a highly available cluster system based on Linux open source. It mainly includes two highly available cluster components, heartbeat service and resource takeover. The heartbeat monitor
System environment
System: CentOS6.6
Number of system bits x86_64
Software environment
heartbeat-3.0.4-2
drbd-8.4.3
nfs-utils-1.2.3-26
Deployment environme
Four hosts
Host name IPAddress Purpose
dbm129 172.16.0.129 heart+ mysql beat+ mysql secondary node
dbs130 172.16.0.130 6.0 slave(mater_host=172.16.0.233)
dbs131 2.1 131 131
Heartbeat is an integral part of the Linux-HA project, which implements a highly available cluster system. Simply put, through heartbeat, resources and services can be quickly transferred from a fa
===The first step: installation summary heartbeat====================
Preparations:
groupadd haclient< br>useradd -g haclient hacluster
yum install libtool-ltdl-devel
yum install asciidoc
cd
Heartbeat3.xThe whole application strategy:TestHeartbeat的HAFunction
HeartbeatAfter the installation is complete, it will automatically enter /etc/init.d< The startup script file heartbeat is