Re: piranha

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I imagine he had to add an iptables rule to his real servers to utilize
direct routing.

Older documentation contains direct routing examples, however, the
latest incarnation does not. It only contains examples for NAT.

Something like the following should work:

iptables -t nat -A PREROUTING -p tcp -d VIP --dport 80 -j REDIRECT

Chris

* Riaan van Niekerk <riaan@xxxxxxxxxxxxxx> [2006-09-28 10:58:13 +0200]:

> hi Pedro
> 
> Care to tell us what you did to the real servers?
> 
> If this is an omission in the documentation, please file a bugzilla 
> against the RHCS manual.
> 
> tnx
> Riaan
> 
> Huesser Peter wrote:
> >I found the solution. One also has to manipulate the real webservers. 
> >This is not described in the official “Red Hat Cluster Suite” 
> >documentation.
> >
> > 
> >
> >            Pedro
> >
> > 
> >
> >------------------------------------------------------------------------
> >
> >*From:* linux-cluster-bounces@xxxxxxxxxx 
> >[mailto:linux-cluster-bounces@xxxxxxxxxx] *On Behalf Of *Huesser Peter
> >*Sent:* Montag, 25. September 2006 22:54
> >*To:* linux clustering
> >*Subject:* RE:  piranha
> >
> > 
> >
> >By the way: I started the “pulse” daemon in the debug modus (“pulse 
> >–v –n”) and got the following output:
> >
> > 
> >
> >nanny: Opening TCP socket to remote service port 80...
> >
> >nanny: Connecting socket to remote address...
> >
> >nanny: DEBUG -- Posting CONNECT poll()
> >
> >nanny: Sending len=16, text="GET / HTTP/1.0
> >
> > 
> >
> >"
> >
> >nanny: DEBUG -- Posting READ poll()
> >
> >nanny: DEBUG -- READ poll() completed (1,1)
> >
> >nanny: Posting READ I/O; expecting 4 character(s)...
> >
> >nanny: DEBUG -- READ returned 4
> >
> >nanny: READ expected len=4, text="HTTP"
> >
> >nanny: READ got len=4, text=HTTP
> >
> >nanny: avail: 1 active: 1: count: 13
> >
> >pulse: DEBUG -- setting SEND_heartbeat timer
> >
> >pulse: DEBUG -- setting SEND_heartbeat timer
> >
> >pulse: DEBUG -- setting NEED_heartbeat timer
> >
> >pulse: DEBUG -- setting SEND_heartbeat timer
> >
> >nanny: Opening TCP socket to remote service port 80...
> >
> >…
> >
> > 
> >
> >For me this looks as if everything is ok. “nanny” sends from time to 
> >time a “GET / HTTP/1.0” request and the response (“HTTP” only 
> >first four letters) correspondence with what is expected. The problem is 
> >that pulse is not opening port 80 on the loadbalancer for reveiving 
> >http-request. A “netstat –anp” verifies this.
> >
> > 
> >
> > 
> >
> >Hello
> >
> > 
> >
> >I sent a similar question a few days ago and did not get any answer. 
> >Maybe the time (Saturday night) was unfavorable or the question was not 
> >that clear. So I try it once more:
> >
> > 
> >
> >I want to run a loadbalancer in front of two webserver (using direct 
> >routing). But if I connect to port 80 of the loadbalancer I get a 
> >“connection refused”.
> >
> > 
> >
> >1)       Did anybody had a similar problem?
> >
> >2)       How can I increase the debuglevel?
> >
> > 
> >
> >Thanks’ in advance
> >
> > 
> >
> >            Pedro
> >
> > 
> >
> >
> >------------------------------------------------------------------------
> >
> >--
> >Linux-cluster mailing list
> >Linux-cluster@xxxxxxxxxx
> >https://www.redhat.com/mailman/listinfo/linux-cluster


> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux