Solved

heartbit with eth0:0

Posted on 2011-09-14
8
323 Views
Last Modified: 2012-05-12
hi ..

I need an idea ...i want exactly what i need as i described bellow ..


I need  to setup nfs share in to server (Server A and Server B ) so that Server C can access it via ip 192.0.0.4 ( which will move round beween Server A and SErver B)

Both server has different Ip example (Server A : eth0 192.0.0.2 , Server B:eth0 192.0.0.3)

I will setup Same nfs share on both server.

initially i will create   eth0:0 in SErver A with ip 192.0.0.4


and heatbit program will be on both server .

When Server A will go down ..

I want to map 192.0.0.4 from SErver A , eth0:0 to SErver B ,Eth0:0

can it be done ??

I belived it can be done and i am working on

it any one wants to advise me something.. please advise

Thanks for your help.





Server C
0
Comment
Question by:fosiul01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 36537828
Yes, using clustering.
system-config-cluster redhat/centos.

Sup clustering and using the 192.0.04 as the clustered IP resource?
This is how the clustering works.
Are you using AFS between the servers for data synch?
0
 
LVL 29

Author Comment

by:fosiul01
ID: 36537899
Im Using debian,.,.
0
 
LVL 78

Expert Comment

by:arnold
ID: 36538656
I've not setup clustering with debian.

You could setup a script on each node. That will first check whether it is the primary (handling the IP in question)
http://www.linuxquestions.org/questions/debian-26/best-way-to-cluster-with-debian-553908/

The 192.0.0.4 will by the IP resource that will follow to the active node.

Centos/RedHad have the system-config-cluster that simplifies the setup.


Are you looking to manage it manually/through scripts?
The issue is that you have to deal with RACE conditions to avoid attempting to bring the IP on both nodes.
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 78

Expert Comment

by:arnold
ID: 36538711
http://www.debianadmin.com/how-to-set-up-a-high-performance-cluster-hpc-using-debian-lenny-and-kerrighed.html

If you do use script, you would use ifconfig eth0:0 <ip>  netmask <netmask> up
to bring up the IP on the correct interface.
To manage the arp expiration delay, you may want to specify/use a common mac address in the script.
0
 
LVL 29

Author Comment

by:fosiul01
ID: 36538765
About the race condition... I dont know yet because im using oracle vm and its shared storage just to
Make a cluster as workway round and im using
Nfs for this shared storage . Only problem is if
Nfs server goes down VM will shutdown the server.
So i need HA to quickly move the ip.

Does heartbeat work with normal debism?
0
 
LVL 78

Expert Comment

by:arnold
ID: 36538918
I do not know.  Any specific reason you are using debian versus centos/redhat?

I would think they have to have a heartbeat test which is how the nodes communicate and determine which one is active and which is the standby and when communications are lost to the active, the standby asserts bringing up the resources that are part of the cluster.

You mean oracle Linux VM.
The VM will likely go down because of the transition is not instantaneous for the IP resource. The access to the file within NFS will not be instantaneous either.

IP is likely a 5 second transition. The NFS related lock acquire access to the file is an additional time overhead.

 
0
 
LVL 29

Author Comment

by:fosiul01
ID: 36538966
yes Oracle Vm 3

this version require to have atleast one Cluster (shared storage)

and we dont have any central storage..

so i have decided to go with nfs..

for test environment , i used openfiler which works fine..

but due to resources.. in live environment, i cant use openfiler..

all our servers are debian.. so my manager said, to use any existing debain server which is in live environemnt and make nfs share..

our server is very reliable but you never know when one goes down

so i cant take any risk of having only one nfs share..

so I need to put that share in to another server incase if main one down... ip will go over to next one and ORACLE VM will not cause any problem...


i asked question in Oracle vm to see how often the OVM manager check for live storage..

i used before heartbeat + drbd..

but i am thinking to use just hearbeat so that it move around the iP ...

but dont know if it can be done with pure debain or not ..
0
 
LVL 29

Author Comment

by:fosiul01
ID: 36538991
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question