IP Alias, Bonding or Virtual IP, 2 nodes Cluster, which one to use ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers IP Alias, Bonding or Virtual IP, 2 nodes Cluster, which one to use ?
# 1  
Old 07-29-2008
IP Alias, Bonding or Virtual IP, 2 nodes Cluster, which one to use ?

Hi ! I have a simple setup of 2 PC (with linux Red-Hat) where the first PC is the primary machine and the second the backup. I use DRBD for data replication and Red-Hat cluster suite for HA (High Availability). I have tested both.

Now I NEED a COMMON IP ADDRESS (or Master/unique IP address) for my two system. When the primary machine fails (or shutdown), the backup system will do the job. From the external world, client who connect to my cluster will "connect to one address" or virtual IP and won't know if this is the primary system or the backup.

For now, my 2 machines have the same /etc/hosts file:

which contains: 10.60.1.23 PrimaryMachine
10.60.1.77 BackupMachine

Maybe I need to change the IP address for something local (192.168.1.0), I don't know. Theses address where created dynamically I think with DHCP when I installed Red-Hat on both machine.

I red many document about BONDING, IP ALIAS and VIRTUAL IP but now I am LOST !!!

What I do really need (keep it as simple as possible) and how to do it ???

Thank you very much.
# 2  
Old 08-01-2008
The main idea of IP bonding is to have two NICs read as one IP..
Of course your IP need to be the same on both NICs.. You can not assign different IP on each NIC..
Maybe you have to stop the DHCP service first so you can set your IP manually..

CMIIW
# 3  
Old 08-01-2008
It sounds like a virtual IP is the one you want. However you should avoid using DHCP in this scenario. Ask your network administrator to allocate 3 permanent IP addresses for you, one for PrimaryMachine, one for BackupMachine, and one for VirtualIP. You should be able to configure the VirtualIP as a service in Red Hat Cluster Suite so that it will be automatically failed over if there is a problem with PrimaryMachine.
# 4  
Old 08-01-2008
Thank you !

Thank you guys. Yes, now I have 3 fixed-IP address and it works.
My virtual IP is on eth0:1 and the 2 other IP (one per system) is on eth0.
I control the eth0:1 by myself setting it up or down with ifup and ifdown commands. I control it in my script used as service group in Cluster Manager.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

RedHat Cluster: Nodes won't see each other

Hi All; I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like: # clustat Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015 Member Status: Quorate Member Name ID Status ------ ---- ... (1 Reply)
Discussion started by: Meacham12
1 Replies

2. Red Hat

RedHat Cluster: Nodes won't see each other

Hi All; I try to build a Redhat Cluster (CentOS 6) on vmware. But each node sees the other down like: # clustat Cluster Status for mycluster @ Wed Apr 8 11:01:38 2015 Member Status: Quorate Member Name ID Status ------ ---- ... (0 Replies)
Discussion started by: Meacham12
0 Replies

3. UNIX for Advanced & Expert Users

Arbitrator for 2 nodes ocfs cluster

Is there any way to create a arbitrary node for ocfs2 on a virtual machine (others are physical servers) so it won't go panic when one of physical server goes down? This is for load balanced application servers. Any setting example or tips? Thanks. (0 Replies)
Discussion started by: malayo
0 Replies

4. AIX

Re-cluster 2 HACMP 5.2 nodes

Hi, A customer I'm supporting once upon a time broke their 2 cluster node database servers so they could use the 2nd standby node for something else. Now sometime later they want to bring the 2nd node back into the cluster for resilance. Problem is there are now 3 VG's that have been set-up... (1 Reply)
Discussion started by: elcounto
1 Replies

5. Red Hat

How to troubleshoot a 1000 nodes Apache cluster?

Hi all. May I get some expert advice on troubleshooting performance issues of a 1000 nodes Apache LB cluster. Users report slow loading/response of webpages. Different websites are hosted on this cluster for different clients. But all are reporting the same issue. Could you please let me know... (1 Reply)
Discussion started by: admin_xor
1 Replies

6. Solaris

What is the procedure to reboot cluster nodes

Hi we have 2 solaris 10 servers in veritas cluster. also we have oracle cluster on the database end. now we have a requirement to reboot both the servers as it has been running for more than a year. can any one tell what is the procedure to bring down the cluster services in both the nodes... (7 Replies)
Discussion started by: newtoaixos
7 Replies

7. Solaris

Need advise on setting up solaris 10 2 nodes cluster

I am new to setting up sun solaris 10 cluster, I have 2 sun sparc t3-1 servers (identical), going to use them as web servers (sun one java web server 7), looking for data replication and real time fail over. My question is do I need external storage to configure the cluster? or I can just use... (3 Replies)
Discussion started by: spitfire2011
3 Replies

8. Red Hat

Centos/rhel 5 cluster 3 nodes with out Quorum

Hi all, i have 3 nodes cluster (Centos 5 cluster suit) with out quorum disk, node vote = 1, the value of a quorum = 2, when 2 nodes going offline, cluster services are destoys. How i can save the cluster and all services(move all services to one alive node) with out quorum disk when other... (3 Replies)
Discussion started by: Flomaster
3 Replies

9. Emergency UNIX and Linux Support

Rebooting 3 to 1 Cluster nodes.

hello Gurus, My current set up is 3 to 1 Cluster (SUN Cluster 3.2) running oracle database. Task is to reboot the servers. My query is about the procedure to do the same. My understanding is suspend the databases to avoid switchover. Then execute the command scshutdown to down the cluster... (4 Replies)
Discussion started by: EmbedUX
4 Replies

10. High Performance Computing

Bonding, IP alias, Virtual IP, 2 nodes cluster

Hi ! I have a simple setup of 2 PC (with linux Red-Hat) where the first PC is the primary machine and the second the backup. I use DRBD for data replication and Red-Hat cluster suite for HA (High Availability). I have tested both. Now I NEED a COMMON IP ADDRESS (or Master/unique IP address) for... (0 Replies)
Discussion started by: Danny Gilbert
0 Replies
Login or Register to Ask a Question