Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th September 2008, 18:34
uniread uniread is offline
Junior Member
 
Join Date: Jul 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default How to configure communication between pound reverse proxy and heartbeat web server?

I have 3 ubuntu servers with IP adresses 42, 43, 44. On 42 there is pound reverse proxy. 43,44 are apache web servers in which i have installed heartbeat. but my query is how to configure communication between pound and these two hearbeat web servers. And if pound server will accept any user request and as it is load balancer,then to which web server(heartbeat) it will send user request? How heartbeat will react to this?

I will appretiate help.

Thanks in advance.

uniread
Reply With Quote
Sponsored Links
  #2  
Old 30th September 2008, 17:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

This tutorial shows how you must configure pound: http://www.howtoforge.com/high-avail...ed-debian-etch
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
uniread (1st October 2008)
  #3  
Old 1st October 2008, 12:53
uniread uniread is offline
Junior Member
 
Join Date: Jul 2008
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thank you falko,,this tutorial is really helpful.
Reply With Quote
  #4  
Old 14th November 2008, 16:42
techistore techistore is offline
Junior Member
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Guys,

First I must say thank you for making reverse proxy so easy to configure and making techs life easy. I am running Pound 2.4.3 on RHEL5 server. I have three websites each running on separate webserver in internal network. I would like to reverse proxy them via one Pound server in DMZ. All three websites require secure connections for client and I like to install the certificates on the pound server for them. I have assigned three IPs on the pound server, one for each website. But these sites are not working. Below is my configuration.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
ListenHTTP
Address 202.168.1.1
Port 80
Service
Redirect "https://www.abc.com"
End
End

ListenHTTPS
Address 202.168.1.1
Port 443
Cert "/usr/local/openssl/local.server.pem"
End
Service
BackEnd
Address 172.17.1.1
Port 80
End

End
ListenHTTP
Address 202.168.2.2
Port 80
Service
Redirect "https://www.def.com"
End
End

ListenHTTPS
Address 202.168.2.2
Port 443
Cert "/usr/local/openssl/local1.server.pem"
End
Service
BackEnd
Address 172.17.2.2
Port 80
End


End
ListenHTTP
Address 202.168.3.3
Port 80
Service
Redirect "https://www.ghi.com"
End
End

ListenHTTPS
Address 202.168.3.3
Port 443
Cert "/usr/local/openssl/local2.server.pem"
End
Service
BackEnd
Address 172.17.3.3
Port 80
End

End

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~

I am redirecting HTTP requests to HTTPS as I would only like to serve clients on secure channel. This works fine if I run each website on a separate pound server but I like to have them on one reverse proxy server. I will really appreciate if you can provide me any help in this regard. If it is not possible with this configuration is there any way to achieve this on a single pound server.

Thanks,
Techi
Reply With Quote
  #5  
Old 15th November 2008, 13:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I think the problem is that you can have just one SSL cert per IP address. And if your Pound is listening on just one IP address, it serves three SSL certs on that IP.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 17th November 2008, 22:43
techistore techistore is offline
Junior Member
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Pound is listening on all three IP addresses and each certificate is configured on a separate IP address under the ListenHTTP tag.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:56.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.