Puppet

From Halfface
Revision as of 05:13, 4 September 2007 by 192.168.2.124 (talk)
Jump to navigation Jump to search

Install heartbeat.

yum install heartbeat.x86_64´

Create common mountpoint.

mkdir /install/heartbeat

change password for hacluster.

passwd hacluster

alias gui="/usr/lib64/heartbeat/haclient.py"

Command to start admin interface.

Search for GeneratingAuthkeysAutomatically__gen_authkeys.sh script to generate

ls -ld /etc/ha.d/authkeys

transfer /etc/ha.d/authkeys to all hosts.

scp /etc/ha.d/authkeys beat:/etc/ha.d/authkeys

Working hacluster config file.

debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility     local0
auto_failback off
node    heart.halfface.se
node    beat.halfface.se
apiauth ipfail gid=haclient uid=hacluster
crm yes

Working haresources

heart.halfface.se       192.168.0.50
beat.halfface.se        192.168.0.60

Transfer file.

scp heart:/etc/ha.d/haresources beat:/etc/ha.d/haresources

Start heartbeat.

chkconfig --level 345 heartbeat on
service heartbeat start