Heartbeat Cluster setup. Is it correct?
Hi all,
I try configure a cluster with 2 nodes (server1, server2). The 2 servers have different applications running on them. Specifically: Server 1: Apache/Webmail, Samba eth0: 10.0.0.1, eth1: 192.168.0.1 Server 2: Oracle eth0: 10.0.0.2, eth1: 192.168.0.2 Virtual IP for Apache/Webmail, Samba is 10.0.0.100 Virtual IP for Oracle is 10.0.0.200 Now, what I want, is: In case server1 fails, server 2 will have to take over all functionality. Thus, in case of server1 failure, server2 will run Apache, Webmail, Postfix, Oracle. Heartbeat is the package I will use. I have configured ha on both servers as: ha.conf: Code:
auto_failback on Code:
server1 IPaddr::10.0.0.100/24/eth0 httpd smb Code:
server2 IPaddr::10.0.0.200/24/eth0 oracle How can I have both virtual ips on one server? Can I add a second line to each haresource file with the virtual ip of the other services? Thank you, Peter |
All times are GMT -5. The time now is 10:13 AM. |