The only way you can get to use the other interface is if the original
connection comes from that interface. For multi-homed systems what this
typically means:
1) Defines a DNS name for the redirector that can only be reached using the
desired interface,
2) The above means you need to setup the right IP tables in each subordinate
cmsd host.
3) Provide a unique DNS name for each interface that the cmsd can use.
If you do the above then the redirector will map the incoming IP address of
the cmsd connection to it interface-unique DNS name. That DNS name will be
used for redirecting clients. So, clients will use whatever interface was
used by the cmsd to connect to the redirector.
We do have a request to be able to manually specify the interface mapping
and we will be putting it in, though it's very esoteric and trying to
explain it will be challenging to people not familiar with multi-homed
machine issues.
Andy
-----Original Message-----
From: Brian Bockelman
Sent: Tuesday, September 13, 2011 4:12 PM
To: xrootd-dev
Cc: Max Goncharov
Subject: Dual-homed machines in redirector
Hi,
One of my MIT colleagues (CC'd) is running an Xrootd server on a dual-homed
machine. Both interfaces are publicly addressable, and the cmsd is
redirecting to the default hostname (t2srv0012).
However, to match the grid certificate, we'd like the cmsd to redirect to
xrootd1.cmsaf.mit.edu (corresponding to the other interface).
Is it possible to accomplish this?
Brian
|