HTTPS and LVS

Robert Hurst rhurst at bidmc.harvard.edu
Fri Apr 24 13:09:25 UTC 2009


In our lvs.cf, we have these attributes set in our https service:


     expect = "200 OK"
     use_regex = 0
     send_program = "/usr/local/sbin/check_hrms_ssl.sh %h 8443"


I crafted this script to check for https availability:

# cat /usr/local/sbin/check_hrms_ssl.sh

#!/bin/bash

HOST=$1
PORT=$2

wget --no-check-certificate --spider -q https://${HOST}:${PORT} && echo
"200 OK" || echo "404 Not Found"
exit 0



________________________________________________________________________


Robert Hurst, Sr. Caché Administrator
Beth Israel Deaconess Medical Center
1135 Tremont Street, REN-7
Boston, Massachusetts   02120-2140
617-754-8754 ∙ Fax: 617-754-8730 ∙ Cell: 401-787-3154
Any technology distinguishable from magic is insufficiently advanced.


On Fri, 2009-04-24 at 08:48 -0400, Stavros Charalambous wrote:

> 
> 
> Stavros Charalambous
> MCSE CCNP
> 
> Senior Systems Engineer
> Network Operations Center
> SpiderNet Services Ltd
> 
> Tel: +357 22 844 844
> Fax: +357 22 844760
> 
> 
>  I have tried to go live today with HTTPS in Piranha with lvs, and
> have failed miserabled.
> 
> HTTP seems to work fine though.  Is there any specific procedure for
> this?
> 
> Stavros
> 
> _______________________________________________
> Piranha-list mailing list
> Piranha-list at redhat.com
> https://www.redhat.com/mailman/listinfo/piranha-list
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/piranha-list/attachments/20090424/899fe05c/attachment.htm>


More information about the Piranha-list mailing list