Need help configuring Piranha. Have only a few days left to get this done.

Edward Croft <[email protected]>
Newsgroups gmane.linux.redhat.piranha
Organization Open Ratings, Inc.
Message-ID <[email protected]>
>From - 
Received: from mx1.redhat.com ([66.187.233.31]) by
	exchange.hq.openratings.com with SMTP (Microsoft Exchange Internet Mail
	Service Version 5.5.2653.13) id 2PBYFRVZ; Tue, 22 Apr 2003 14:43:06
-0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id
	h3MIh6D20293 for <[email protected]>; Tue, 22 Apr 2003 14:43:06
-0400
Received: from localhost (localhost) by int-mx1.corp.redhat.com
	(8.11.6/8.11.6) id h3MIh6q15586; Tue, 22 Apr 2003 14:43:06 -0400
Date: Tue, 22 Apr 2003 14:43:06 -0400
From: Mail Delivery Subsystem <[email protected]>
Message-Id: <[email protected]>
To: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="h3MIh6q15586.1051036986/int-mx1.corp.redhat.com"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
X-Evolution-Source: imap://[email protected]/

This is a MIME-encapsulated message

--h3MIh6q15586.1051036986/int-mx1.corp.redhat.com

The original message was received at Tue, 22 Apr 2003 14:43:05 -0400
from mx1.redhat.com [172.16.48.31]

   ----- The following addresses had permanent fatal errors -----
bounce
    (reason: 550 5.1.1 <[email protected]>... User unknown)
    (expanded from: bounce)

   ----- Transcript of session follows -----
... while talking to mx.corp.redhat.com.:
>>> RCPT To:<[email protected]>
<<< 550 5.1.1 <[email protected]>... User unknown
550 5.1.1 bounce... User unknown


--h3MIh6q15586.1051036986/int-mx1.corp.redhat.com
Content-Type: message/delivery-status

Reporting-MTA: dns; int-mx1.corp.redhat.com
Received-From-MTA: DNS; mx1.redhat.com
Arrival-Date: Tue, 22 Apr 2003 14:43:05 -0400

Final-Recipient: RFC822; [email protected]
X-Actual-Recipient: RFC822; [email protected]
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mx.corp.redhat.com
Diagnostic-Code: SMTP; 550 5.1.1 <[email protected]>... User unknown
Last-Attempt-Date: Tue, 22 Apr 2003 14:43:06 -0400

--h3MIh6q15586.1051036986/int-mx1.corp.redhat.com
Content-Type: message/rfc822

Return-Path: <[email protected]>
Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by
	int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h3MIh5q15584 for
	<[email protected]>; Tue, 22 Apr 2003 14:43:05 -0400
Received: from exchange.hq.openratings.com ([141.149.165.226]) by
	mx1.redhat.com (8.11.6/8.11.6) with SMTP id h3MIh5D20284 for
	<[email protected]>; Tue, 22 Apr 2003 14:43:05 -0400
Received: from ecroft.hq.openratings.com ([10.0.0.232]) by
	exchange.hq.openratings.com with SMTP (Microsoft Exchange Internet Mail
	Service Version 5.5.2653.13) id 2PBYFRVX; Tue, 22 Apr 2003 14:43:04
-0400
Subject: Question regarding piranha
From: Edward Croft <[email protected]>
Reply-To: [email protected]
To: [email protected]
Content-Type: text/plain
Organization: Open Ratings, Inc.
Message-Id: <[email protected]>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.3 
Date: 22 Apr 2003 14:43:04 -0400
Content-Transfer-Encoding: 7bit

Keith, I don't know if you are even there anymore, but I need some
questions answered on HA. I have tried the website, but the
documentation is either outdated, erroneous or incomplete. I am trying
to set up an LVS setup for my webservers and FOS for database. LVS does
not seem to work too well. I originally had FOS set up for the web
servers but was told they wanted to do load balancing. FOS worked with
the web servers, not LVS for some reason. And with the database servers,
I created a script to return OK if the database could be reached, not
just alive, but able to be queried. The documentation states that you
can use a script for the send, but it never reads it. I verified this by
putting a mail command at the very beginning. It isn't a permissions
issue as I su'ed into the postgres account and was able to run the
scripts. Here is a copy of the lvs.cf from the database server.

serial_no = 18
primary = 10.0.13.5
service = fos
backup_active = 1
backup = 10.0.13.6
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = direct
reservation_conflict_action = preempt
debug_level = 2
failover spdb {
     address = 10.0.13.30 aft0:1
     vip_nmask = 255.255.255.0
     active = 1
     timeout = 6
     expect = "OK"
     send_program = "/scripts/check_pgsql_alive"
     start_cmd = "/scripts/startdb"
     stop_cmd = "/scripts/stopdb"

I had port 5432 in there, but took it out to test that also. 
I have only a few more days to get this all working or they will abandon
this and dump RHAS as a possible candidate to run the site. Any help
will be appreciated.

P.S. Here is the lvs.cf for the lvs system which is configured in
failover between two servers that have two real servers that will
provide http:. I can get to each server individually, but not to the
shared port.

serial_no = 59
primary = 10.0.13.7
service = lvs
backup_active = 1
backup = 10.0.13.8
heartbeat = 1
heartbeat_port = 539
keepalive = 6
deadtime = 18
network = nat
nat_router = 10.0.13.254 aft0:2
nat_nmask = 255.255.255.0
reservation_conflict_action = preempt
debug_level = NONE
virtual spapp {
     active = 1
     address = 10.0.13.20 aft0:1
     vip_nmask = 255.255.255.0
     fwmark = 1
     port = 80
     send = "GET / HTTP/1.0\r\n\r\n"
     expect = "HTTP"
     load_monitor = none
     scheduler = rr
     protocol = tcp
     timeout = 6
     reentry = 15
     quiesce_server = 0
     server sapp01 {
         address = 10.0.13.3
         active = 1
         weight = 1
     }
     server sapp02 {
         address = 10.0.13.4
         active = 1
         weight = 2
     }
}
[
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.