-
RSS Links
Categories
- /bike
- /blog
- /categoryless
- /coffee
- /dev/random
- /food
- /freenetworks
- /friends
- /funny
- /geek
- /GirTheCadillac
- /Lebowski
- /Life
- /LifeWithDog
- /me
- /metrix
- /music
- /National Wireless Summit 2006
- /phonecamera
- /photo
- /potpourri
- /seadrunks
- /seattle
- /seattlewireless
- /shmoocon
- /softball
- /StupidShellTricks
- /sysadmin
- /travel
- /unix
- /work
- cons
- monitoring
- pyramid
- ruby
Archives
- January 2011
- December 2010
- September 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- December 2008
- December 2007
- August 2007
- July 2007
- May 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- June 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- February 2004
- January 2004
- December 2003
- November 2003
- August 2003
Building <a href="http://http://www.apsis.ch/pound/">Pound</a> on <A href="http://www.openbsd.org">OpenBSD 3.6</a>
Pound is open source http load balancer. It acts as a reverse proxy in front of multiple web servers to distribute load across multiple web servers and also detects when a web server goes down and stops sending requests to that box.
Unlike Balance (a tcp load balancer/proxy server), Pound can do more http specifc things such as:
So on to the subject which is building pound on openbsd. Someone from the pound mailing list emailed me a question about building pound on openbsd, and since I remember how much of pain it was at first, I decided it is probably worth documenting somewhere.
There is a how-to in .rtf format that I found here. It is specifc to openbsd version 3.3 and some typos (not to mention its in .rtf) in the compile and make options which threw me for a loop since I am not a everyday C jockey. However this document did provide me with the info I needed , and I thank the author a ton since its the only doc I find on the subject.
Pound requires a version OpenSSL that is built with threading. Most BSD’s to my knowledge (OpenBSD, FreeBSD, not sure about NetBSD or Mac OSX) do not ship with a thread enabled OpenSSL (if you know why, let me know). So this means that you need to build a copy of OpenSSL with threads to build pound against. Lets start with that. OpenBSD 3.6 ships with OpenSSL 0.9.7d which is what I am going to use for this demo, I see to remember their being a bug with 0.9.7e that breaks this process so if you try 7e and fails, try 7d.