[AOLSERVER] [ aolserver-Support Requests-480000 ] Create a virtual server on a second IP

2001-11-27 Thread Ms. Source Forge

Support Requests item #48, was opened at 2001-11-09 05:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152

Category: Configuration: First-Time Startup
Group: aolserver3_2
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Danny Lieberman (dannyl50)
Assigned to: Nobody/Anonymous (nobody)
Summary: Create a virtual server on a second IP

Initial Comment:
I am running open acs with AOL Server 3.2

i have an Intel box with 2 IP addresses and I want to
assign the second IP to another virtual server
servicing another domain.

it is maddening - but such a simple task for iis or
apache seems to elude me when it comes to AOLserver. I
found an article about doing it with one IP address -
but i dont have a problem with assigning a separate IP
to the second virtual web server.


Do i have to install a second instance of AOLserver
and ACS? that is a pretty heavy load to put on the
machine...

It seems to me that a separate directory under the
nsadmin $HOME with a separate nsd.tcl pointing to the
correct domain SHOULD work - but like i say - I know i
MUST be missing something

thx!!
danny Lieberman


--

You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152



[AOLSERVER] [ aolserver-Support Requests-480000 ] Create a virtual server on a second IP

2001-11-27 Thread Ms. Source Forge

Support Requests item #48, was opened at 2001-11-09 05:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152

Category: Configuration: First-Time Startup
Group: aolserver3_2
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Danny Lieberman (dannyl50)
Assigned to: Nobody/Anonymous (nobody)
Summary: Create a virtual server on a second IP

Initial Comment:
I am running open acs with AOL Server 3.2

i have an Intel box with 2 IP addresses and I want to
assign the second IP to another virtual server
servicing another domain.

it is maddening - but such a simple task for iis or
apache seems to elude me when it comes to AOLserver. I
found an article about doing it with one IP address -
but i dont have a problem with assigning a separate IP
to the second virtual web server.


Do i have to install a second instance of AOLserver
and ACS? that is a pretty heavy load to put on the
machine...

It seems to me that a separate directory under the
nsadmin $HOME with a separate nsd.tcl pointing to the
correct domain SHOULD work - but like i say - I know i
MUST be missing something

thx!!
danny Lieberman


--

Comment By: Danny Lieberman (dannyl50)
Date: 2001-11-27 09:40

Message:
Logged In: YES
user_id=355846

i fixed by using apache as a proxy server

--

You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152



[AOLSERVER] [ aolserver-Support Requests-480000 ] Create a virtual server on a second IP

2001-11-27 Thread Ms. Source Forge

Support Requests item #48, was opened at 2001-11-09 05:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152

Category: Configuration: First-Time Startup
Group: aolserver3_2
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Danny Lieberman (dannyl50)
Assigned to: Nobody/Anonymous (nobody)
Summary: Create a virtual server on a second IP

Initial Comment:
I am running open acs with AOL Server 3.2

i have an Intel box with 2 IP addresses and I want to
assign the second IP to another virtual server
servicing another domain.

it is maddening - but such a simple task for iis or
apache seems to elude me when it comes to AOLserver. I
found an article about doing it with one IP address -
but i dont have a problem with assigning a separate IP
to the second virtual web server.


Do i have to install a second instance of AOLserver
and ACS? that is a pretty heavy load to put on the
machine...

It seems to me that a separate directory under the
nsadmin $HOME with a separate nsd.tcl pointing to the
correct domain SHOULD work - but like i say - I know i
MUST be missing something

thx!!
danny Lieberman


--

Comment By: Andrew Piskorski (apiskors)
Date: 2001-11-27 10:11

Message:
Logged In: YES
user_id=43168

Danny, what do you mean, install a second instance of
AOLserver and
ACS?

With what you're trying to do, you certainly want to run two
separate
AOLserver processes, one for each of your ACS websites.
This is
exactly equivalent to what you would do if you wanted to run
a
Development and Production copy of one website on the same
box.  All
you need to do is edit your nsd.tcl file correctly, and run
two
AOLserver processes.  This is not any kind of pretty heavy
load to
put on the machine, people do it that way all the time.  In
fact, it
is the easiest and probably best way, if you have the two
free IP
addresses to use.

You probably want to use the same nsd.tcl for both
AOLservers, so in
your nsd.tcl, you'd have something like this:

  set ip_address(dev)   {192.168.100.100}
  set ip_address(prod)  {192.168.100.101}
  set server_name(dev)  mysite-dev
  set server_name(prod) mysite

  # Decide which server we are running:

  set ini_file [ns_info config]  ;# Full path to this config
file.
  set ini_dir [file dir $ini_file]

  # This checks the full pathname of the AOLserver ini file,
so it had
  # better be located beneath directories called e.g.,
mysite-dev,
  # mysite-stging, or mysite:

  if { [regexp {[-]dev/} $ini_file] } {
  set which dev
  } else {
  set which prod
  }

  ns_section ns/server/$server_name($which)/module/nssock
ns_param timeout 120
ns_param Address $ip_address($which)
ns_param Hostname $hostname($which)
ns_param Port $port($which)

If you are starting your two AOLservers from inittab, then
you'll want
two lines something like this in your /etc/inittab :

nsdv:234:respawn:/web/aol3/bin/nsd-oracle -i -t
/web/mysite-1/nsd/nsd.tcl -u nsadmin -g web
nspr:234:respawn:/web/aol3/bin/nsd-oracle -i -t
/web/mysite-2/nsd/nsd.tcl -u nsadmin -g web

If you want to use something more sophisticated to start
AOLserver,
like DJB's daemontools, there are other mthods.  See e.g.:

http://www.arsdigita.com/bboard/q-and-a-fetch-msg?msg%5fid=000XX6topic%5fid=21topic=web%2fdb


--

Comment By: Danny Lieberman (dannyl50)
Date: 2001-11-27 09:40

Message:
Logged In: YES
user_id=355846

i fixed by using apache as a proxy server

--

You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152



[AOLSERVER] [ aolserver-Support Requests-480000 ] Create a virtual server on a second IP

2001-11-27 Thread Ms. Source Forge

Support Requests item #48, was opened at 2001-11-09 05:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152

Category: Configuration: First-Time Startup
Group: aolserver3_2
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Danny Lieberman (dannyl50)
Assigned to: Nobody/Anonymous (nobody)
Summary: Create a virtual server on a second IP

Initial Comment:
I am running open acs with AOL Server 3.2

i have an Intel box with 2 IP addresses and I want to
assign the second IP to another virtual server
servicing another domain.

it is maddening - but such a simple task for iis or
apache seems to elude me when it comes to AOLserver. I
found an article about doing it with one IP address -
but i dont have a problem with assigning a separate IP
to the second virtual web server.


Do i have to install a second instance of AOLserver
and ACS? that is a pretty heavy load to put on the
machine...

It seems to me that a separate directory under the
nsadmin $HOME with a separate nsd.tcl pointing to the
correct domain SHOULD work - but like i say - I know i
MUST be missing something

thx!!
danny Lieberman


--

Comment By: Danny Lieberman (dannyl50)
Date: 2001-11-27 10:26

Message:
Logged In: YES
user_id=355846

Andrew
thanks - great answer - i needed a little direction i guess.
In the meantime - i found a dumb solution - i run apache as
a reverse proxy. works pretty good.

danny

--

Comment By: Andrew Piskorski (apiskors)
Date: 2001-11-27 10:11

Message:
Logged In: YES
user_id=43168

Danny, what do you mean, install a second instance of
AOLserver and
ACS?

With what you're trying to do, you certainly want to run two
separate
AOLserver processes, one for each of your ACS websites.
This is
exactly equivalent to what you would do if you wanted to run
a
Development and Production copy of one website on the same
box.  All
you need to do is edit your nsd.tcl file correctly, and run
two
AOLserver processes.  This is not any kind of pretty heavy
load to
put on the machine, people do it that way all the time.  In
fact, it
is the easiest and probably best way, if you have the two
free IP
addresses to use.

You probably want to use the same nsd.tcl for both
AOLservers, so in
your nsd.tcl, you'd have something like this:

  set ip_address(dev)   {192.168.100.100}
  set ip_address(prod)  {192.168.100.101}
  set server_name(dev)  mysite-dev
  set server_name(prod) mysite

  # Decide which server we are running:

  set ini_file [ns_info config]  ;# Full path to this config
file.
  set ini_dir [file dir $ini_file]

  # This checks the full pathname of the AOLserver ini file,
so it had
  # better be located beneath directories called e.g.,
mysite-dev,
  # mysite-stging, or mysite:

  if { [regexp {[-]dev/} $ini_file] } {
  set which dev
  } else {
  set which prod
  }

  ns_section ns/server/$server_name($which)/module/nssock
ns_param timeout 120
ns_param Address $ip_address($which)
ns_param Hostname $hostname($which)
ns_param Port $port($which)

If you are starting your two AOLservers from inittab, then
you'll want
two lines something like this in your /etc/inittab :

nsdv:234:respawn:/web/aol3/bin/nsd-oracle -i -t
/web/mysite-1/nsd/nsd.tcl -u nsadmin -g web
nspr:234:respawn:/web/aol3/bin/nsd-oracle -i -t
/web/mysite-2/nsd/nsd.tcl -u nsadmin -g web

If you want to use something more sophisticated to start
AOLserver,
like DJB's daemontools, there are other mthods.  See e.g.:

http://www.arsdigita.com/bboard/q-and-a-fetch-msg?msg%5fid=000XX6topic%5fid=21topic=web%2fdb


--

Comment By: Danny Lieberman (dannyl50)
Date: 2001-11-27 09:40

Message:
Logged In: YES
user_id=355846

i fixed by using apache as a proxy server

--

You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152



[AOLSERVER] [ aolserver-Support Requests-480000 ] Create a virtual server on a second IP

2001-11-09 Thread Ms. Source Forge

Support Requests item #48, was opened at 2001-11-09 05:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152

Category: Configuration: First-Time Startup
Group: aolserver3_2
Status: Open
Resolution: None
Priority: 5
Submitted By: Danny Lieberman (dannyl50)
Assigned to: Nobody/Anonymous (nobody)
Summary: Create a virtual server on a second IP

Initial Comment:
I am running open acs with AOL Server 3.2

i have an Intel box with 2 IP addresses and I want to
assign the second IP to another virtual server
servicing another domain.

it is maddening - but such a simple task for iis or
apache seems to elude me when it comes to AOLserver. I
found an article about doing it with one IP address -
but i dont have a problem with assigning a separate IP
to the second virtual web server.


Do i have to install a second instance of AOLserver
and ACS? that is a pretty heavy load to put on the
machine...

It seems to me that a separate directory under the
nsadmin $HOME with a separate nsd.tcl pointing to the
correct domain SHOULD work - but like i say - I know i
MUST be missing something

thx!!
danny Lieberman


--

You can respond by visiting:
http://sourceforge.net/tracker/?func=detailatid=203152aid=48group_id=3152