Operating System - HP-UX
1822147 Members
4057 Online
109640 Solutions
New Discussion юеВ

may i band two ip address to apache server

 
jiyl
Occasional Advisor

may i band two ip address to apache server

hello everyone,good morning!
there are two NIC in my rp3410 server,for failover may i band two ip address to apache server,think you! i'm waiting for you response online with anxiety!
3 REPLIES 3
Denver Osborn
Honored Contributor

Re: may i band two ip address to apache server

By default Apache will listen on listen on all addresses unless you tie it to a specific ip with the Listen or VirtualHost directives.

Have a look here too:
http://httpd.apache.org/docs/mod/core.html#listen

hope this helps
-denver
Xianjie Zhang
Trusted Contributor

Re: may i band two ip address to apache server

You do not need to configure two IP addresses if you have APA (HP Auto-Port-Aggregation). Suppose you connect these two NICs to the same switch, you can aggregate these two NICs to form an aggregation. The aggregation link will look like a single link to apache server, and only one IP address is required for the aggregated link.
If you want get more High Availability, you can connect these two links to different switches, but you have to use LAN Monitor (part of APA) to do failover.

Here is a link to APA information:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/J4240-90025/J4240-90025_top.html&con=/hpux/onlinedocs/J4240-90025/00/00/73-con.html&toc=/hpux/onlinedocs/J4240-90025/00/00/73-toc.html&searchterms=APA%7cHP&queryid=20040806-111946
Steven E. Protter
Exalted Contributor

Re: may i band two ip address to apache server

Yes, apache will listen on hundreads of ip addresses if you configure httpd.conf to do it.

You'll need to test the configuration though.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com