Difference between revisions of "Set up a heartbeat cluster"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 10: | Line 10: | ||
heartbeat-1:~ # yast2 heartbeat | heartbeat-1:~ # yast2 heartbeat | ||
Choose MD5 as auth method and myauth as password. | Choose MD5 as auth method and myauth as password. | ||
+ | * adapt /etc/hosts on both nodes so that it contains | ||
+ | 192.168.0.21 heartbeat-1.site heartbeat-1 | ||
+ | 192.168.0.22 heartbeat-2.site heartbeat-2 |
Revision as of 09:45, 7 May 2009
OK, I am trying to set up a heartbeat cluster with SUSE Linux here. I have 3 machines:
- heartbeat-1, 192.168.0.21 (virtual)
- heartbeat-2, 192.168.0.22 (virtual)
- tweedleburg, 192.168.0.5 (physical)
On heartbeat-*, I install SLES 10 as per default, but I disable ZMD and the firewall. On tweedleburg, I install an iscsi storage. I want to install a highly available web server to gain some experience with clustering. We use heartbeat as cluster manager.
- establish passwordless login between heartbeat-1 and -2.
- configure the cluster on node 1
heartbeat-1:~ # yast2 heartbeat
Choose MD5 as auth method and myauth as password.
- adapt /etc/hosts on both nodes so that it contains
192.168.0.21 heartbeat-1.site heartbeat-1 192.168.0.22 heartbeat-2.site heartbeat-2