Puppet: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Install heartbeat. | Install heartbeat. | ||
yum install heartbeat.x86_64´ | yum install heartbeat.x86_64´ | ||
Create common mountpoint. | Create common mountpoint. | ||
mkdir /install/heartbeat | mkdir /install/heartbeat | ||
change password for hacluster. | |||
passwd hacluster | |||
change password. | |||
passwd hacluster | |||
alias gui="/usr/lib64/heartbeat/haclient.py" | alias gui="/usr/lib64/heartbeat/haclient.py" | ||
Command to start admin interface. | |||
Search for GeneratingAuthkeysAutomatically__gen_authkeys.sh script to generate | Search for GeneratingAuthkeysAutomatically__gen_authkeys.sh script to generate | ||
ls -ld /etc/ha.d/authkeys | ls -ld /etc/ha.d/authkeys | ||
transfer /etc/ha.d/authkeys to all hosts. | 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 |
Revision as of 05:13, 4 September 2007
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