Need to setup floating IP


 
Thread Tools Search this Thread
Operating Systems HP-UX Need to setup floating IP
# 1  
Old 06-04-2012
Question Need to setup floating IP

Hi,

Below is the Theory that I need to implement.

Code:
Load balancing websites can be achieved by putting 2 entries in your DNS, for instance:

www.example.com 192.168.1.1
www.example.com 192.168.1.2

then DNS will do a round Robin between them, but should either host fail then your will see intermittent loss when surfing, as the DNS will still point to either IP in turn.

If you want failover, for instance:

host1.example.com 192.168.1.1 (master)
host2.example.com 192.168.1.2 (slave)

and the floating ip as you call it

float.example.com 192.168.1.3

Then you would need scripts that run as often as you can on slave, to see if master is still there (sometimes referred to as a heartbeat).

if the Master drops, then it needs run a script to bring the floating ip up on the slave to resume service.

A Google search for heartbeat, failover should yield somehow to on the subject.

I have two HPUX boxes with each having one network card.

Can someone please help me provide the steps inorder to setup a floating IP on my system.

Please keep it detailed as I am naive.
# 2  
Old 06-04-2012
Moving to HP-UX forum..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

What is floating IP

Hi, I need to understand the concept of floating IP and how can I get it working on my system. I am using Itanium boxes. I am naive so please help me from the very basics. (2 Replies)
Discussion started by: mohtashims
2 Replies

2. Programming

Floating Point

Anyone help me i cant found the error of floating point if needed, i added the code complete #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> typedef struct { int hh; int mm; int ss; char nom; int punt; }cancion; typedef struct... (9 Replies)
Discussion started by: Slasho
9 Replies

3. Shell Programming and Scripting

floating point numbers in if

# if > then > echo "1" > else > echo "2" > fi -bash: How can i compare floating point numbers inside statement? (15 Replies)
Discussion started by: proactiveaditya
15 Replies

4. Linux

Floating point exception !!!

Hi, I have linux fedora 4 ver., 2.6 kernal. And qmail & mysql & samba servers are already configured on this server. When I try to install any package like squidguard ,dansguardian,webmin,rsnapshots with command rpm -ivh . It is giving error as “Floating point exception" Snap View is... (3 Replies)
Discussion started by: ssk01
3 Replies

5. Programming

Floating point error in C

Hi, see the simple code below double i; i=8080.9940; printf(" val :%.30f\n",i); output i m getting is val :8080.993999999999700000000000000 when i m expecting val :8080.9940 what happens?how can i avoid it? thanks... (2 Replies)
Discussion started by: Hara
2 Replies

6. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

7. Shell Programming and Scripting

Rounding off the value of Floating point value

Hello, i have some variables say: x=1.4 y=3.7 I wish to round off these values to : x = 2 (after rounding off) y = 4 (after rounding off) I am stuck. Please help. (7 Replies)
Discussion started by: damansingh
7 Replies

8. Shell Programming and Scripting

Floating Division in Linux

Hi everyone , have a great day given below is the excerpt of code k=`grep -i success /var/seamless/spool/tdr/ERS_$date1$time1* | wc -l`; l=`grep -i fail /var/seamless/spool/tdr/ERS_$date1$time1* | wc -l`; m=`grep -i entertain /var/seamless/spool/tdr/ERS_$date1$time1* | wc -l`; n=$(($k+$l))... (3 Replies)
Discussion started by: Dastard
3 Replies

9. Shell Programming and Scripting

IBM floating format

Dear Experts As I know by "od" command in unix shell we are able to convert file in xbit intiger or floating format to ascii. Is there any way to translate IBM floating data format to ascii?? I have a file which in some specific location there are numbers written in 4byte IBM floating but I didn't... (0 Replies)
Discussion started by: Reza Nazarian
0 Replies

10. Shell Programming and Scripting

Floating Point Division

Does anyone have a simple way of doing floating point ("fp") division? For example, if I divide 3 by 5, I can get 0.6. The built-in calc (`bc`) will perform fp multiplication, but not division, at least not straight-up (i.e., starting bc and just typing in 3/5). I am trying to do this using... (1 Reply)
Discussion started by: gsatch
1 Replies
Login or Register to Ask a Question