[ic] New Feature Multiple DNS-entries/IP's/aliases from interchange.

Boyd Lynn Gerber gerberb@zenez.com
Tue, 20 Feb 2001 10:31:57 -0700 (MST)


On Tue, 20 Feb 2001 cfm@maine.com wrote:
> On Tue, Feb 20, 2001 at 09:33:58AM -0700, Boyd Lynn Gerber wrote:
> > On Tue, 20 Feb 2001 cfm@maine.com wrote:
> > > On Tue, Feb 20, 2001 at 09:04:52AM -0700, Boyd Lynn Gerber wrote:
> > > > To whom it may concern.
> > > > I have searched the archives and I think the answer is no, Interchange can
> > > > not be setup for IP aliases from one location.  I have multiple DNS
> > > > entries for this one machine.  As I change servers often I need a server
> > > > to act as one that is down for repair, will be replaced or discontinued.
> > > > I setup IP aliases on the machine.  I have noticed that these other setups
> > > > cannot run interchange.  Only the machine I have directly setup.  It would
> > > > be nice if Interchange were configureable to multiple DNS-entries/IP's
> > > > that could be selected.  Maybe I just missed something and it can.
> > > >
> > > > Thanks,
> > >
> > > That confuses me.  No doubt it's clear to you but for those of use not
> > > familiar with your system it's not clear what you are looking for.
> > > What do you mean by "IP aliases from one location"?
> >
> > ifconfig -a
> >
> > net0: flags=4043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> >         inet 166.70.62.190 netmask ffffff00 broadcast 166.70.62.255
> >         inet/perf: recv size: 24576; send size: 24576; full-size frames: 1
> >         inet/options: rfc1323
> >         ether 00:d0:b7:20:b0:90
> >         (alias) inet 166.70.62.46 netmask ffffff00 broadcast 166.70.62.255
> >         (alias) inet 166.70.62.48 netmask ffffff00 broadcast 166.70.62.255
> >         (alias) inet 166.70.62.42 netmask ffffff00 broadcast 166.70.62.255
> >         (alias) inet 166.70.62.4 netmask ffffff00 broadcast 166.70.62.255
> >         (alias) inet 166.70.62.10 netmask ffffff00 broadcast 166.70.62.255
> >         (alias) inet 166.70.62.8 netmask ffffff00 broadcast 166.70.62.255
> >
> > machine1 has an IP address of 166.70.62.190 and interchange works.
> > machine2/currently a virtual machine has an IP addrees of 166.70.62.4
> >
> > I have moved all the files from machine2 to machine1 and interchange works
> > with the catalog that was on machine2 on machine1.  Here is the problem If
> > I try to run interchange as if it were machine1 it fails.  I would like to
> > be able to run it as either machine1 or machine2 not just one or the
> > other.  Does that make things a bit clearer?
>
> We move catalogs around all the time, but I'd guess we are always restarting
> minivend anyway because something "bigger" is happening.
>
> Are you saying you want same catalog on multiple physical boxes with the
> same ip address?  I think there is email in archive from Mike H about
> doing that.  Still, I'm not clear on what is a "virtual machine"?  An
> instance of an entire machine (eg 10,000 virtual machines on S/390 - drool)
> that amounts to another box or just an IP alias?
>
> What do the logs say for errors?

What I would like to be able to choose a group of IP addresses or machine
names and have them all run the same catalog.  Machine1 is the orginal
machine.  I would like to be able to choose from every IP address aliased
to the one physical address and run the interchange server on each of
them.  I may have 10,000 virtual machines from the one physical interface,
but I only have 9,900 unique IP address or DNS entries.  What I would like
to do is choose Name1, Name2, Name3,... or WWW.XXX.YYY.ZZ1, WWW.XXX.ZZ2,
WWW.XXX.YYY.ZZ3,... where each of these machines has only one location for
the catalog.  i.e. from the catalog.cfg file

Variable    SERVER_NAME     machine1, machine2, machine3, machine4, ...
Variable    SERVER_NAME     host1, host2, host3, host4, ...

and the same for other variables like

Variable    SECURE_SERVER   http://machine1, http://machine2, ...
Variable    SAMPLEURL       http://machine1/construct, http://machine2/construct, ...

As I understand now I have to have a seperate catalog.cfg file for each
one, but they all have only one location with the same catalog.cfg.  I can
change the catalog.cfg to work with any one of the virtual hosts, but not
more than one.  So I am asking to be able to have more than one.

These may have all the same IP address for each host, but I want to select
from a group of hosts that all have the exact same location for
catalog.cfg.

I do not get anything in the logs.  I just get page not found error from
the webserver when I try http://host2/cgi-bin/user_store if I have
catalog.cfg configured for host1.  Note the webserver is looking at the
same location for each.  Does that make it clearer?

Thanks,

--
Boyd Gerber <gerberb@zenez.com>
ZENEZ	3748 Valley Forge Road, Magna Utah  84044
Office 801-250-0795 FAX 801-250-7975