qazmlp wrote:
> Is it possible to have IP aliases for Single node machines? I assume,
> it is possible. But, I would like to know whether it is really useful
> to have IP aliases for Single nodes.
> Whenever there is a node failure, IP aliases will help for
Transparent
> Fail-over in Cluster systems. But, I am really not sure how exactly
it
> will help in case of Single node machines. Could anybody clarify?
>
> Thanks!
Not sure what you mean by "single node" machine -- workstation?
dedicated server(s)? single as opposed to multi homed host?
Of course, an IP alias just means that the machine will listen for more
than one IP (per nic). Linux is very "flexible" this way -- does the
same thing when two nics on separte subnets are used. Anyway, this can
cause arp problems as you can imagine -- especially in failover usage.
There _were_ uses for an IP alias. The most common use in the past
related primarily to Apache virtual hosts and to receive e-mail on the
aliased IP #s -- both via rewrite rules. It can also be used to
provide for failover/balancing in a flakey fashion. None of these uses
are required these days (IMO) -- better behaved and more reliable means
exist to address these and similar problems.
The failover/balancing use is the "hack" I'm most familiar with these
days. It's usually part of a round robin dns load balancing effort.
It involves two machines prepared to listen for the same IP
Here's a simple example:
http://www.onlamp.com/pub/a/onlamp/2...inuxhacks.html
Not very pretty, as you can see.
I've also read where some people have resorted to ip aliases due to
co-location restraints -- must be really fun to administer and maintain
hth,
prg
email above disabled