Re: load balancing two qmail servers using nfs

2000-06-24 Thread steve j. kondik

you might consider using rsync to sync your conffiles, instead of
sharing them over nfs.  this would eliminate alot of problems
and latency i'd think.

On 06/24/00 @ 12:11AM, Mike Denka wrote:
 I've got two qmail servers running inside a load balancer.  They both access
 the same /var/mail/username/Maildir directories on an NFS server.  They also
 share many of the same configuration files in /var/qmail/control on the NFS
 server.  The files they share are local symbolic links to the shared volume
 on the NFS server.  A few hours after bringing up the second qmail server,
 the first one, which had been running fine for two weeks, quit working.  The
 errors I am getting in the syslog file on the failing server are
 "Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".  Anyone have any
 success with this configuration or have any idea what could be causing the
 first server to loose its way?
 
 Running qmail and NFS on Solaris 2.7 (first server and NFS server) and 2.8
 (second qmail server).  The first server (the one failing) responds to
 connections on port 25 but can't send or deliver and is not spawning any
 qmail processes.  The second server is now doing all the work.
 
 Thanks,
 
 Mike
 
 

-- 
Steve J. Kondik  [EMAIL PROTECTED]
Stargate Industries, LLC - Network Operations Center



Re: load balancing two qmail servers using nfs

2000-06-24 Thread chuck


Mike,

You might make sure that the UID/GIDs map the same on both servers and the
NFS machine. 
i.e.- If the qmaild user is user 500 on the first server, but is a
different UID number on the second server or the NFS machine you might have
problems. 

Also, what do your tcpserver init scripts look like for both servers? They
should be identical.

Regards,
Charles Werbick
The Wirehouse


Mike Denka writes:

 Hmmm . . . that's a good thought.  I really hadn't considered using rsync
 since NFS seems to be working fine at least in terms of handling large mail
 volumes.  But rsync would have some distinct advantages.  However, I don't
 think that is the source of my problems because I had access problems
 getting to the control files when first setting up the server and the error
 messages in /var/log/syslog are pretty clear (e.g., "Can't_read_control", or
 something to that affect).
 
 Thanks for the rsyinc tip.  I will try it out.  Meanwhile, any other
 thoughts on why the second server suddenly cannot make smtp connections to
 the outside world or chdir to Mailbox?
 
 Mike
 
  -Original Message-
  From: steve j. kondik [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, June 24, 2000 12:39 AM
  To: [EMAIL PROTECTED]
  Subject: Re: load balancing two qmail servers using nfs
 
 
  you might consider using rsync to sync your conffiles, instead of
  sharing them over nfs.  this would eliminate alot of problems
  and latency i'd think.
 
  On 06/24/00 @ 12:11AM, Mike Denka wrote:
   I've got two qmail servers running inside a load balancer.
  They both access
   the same /var/mail/username/Maildir directories on an NFS
  server.  They also
   share many of the same configuration files in
  /var/qmail/control on the NFS
   server.  The files they share are local symbolic links to the
  shared volume
   on the NFS server.  A few hours after bringing up the second
  qmail server,
   the first one, which had been running fine for two weeks, quit
  working.  The
   errors I am getting in the syslog file on the failing server are
   "Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".
  Anyone have any
   success with this configuration or have any idea what could be
  causing the
   first server to loose its way?
  
   Running qmail and NFS on Solaris 2.7 (first server and NFS
  server) and 2.8
   (second qmail server).  The first server (the one failing) responds to
   connections on port 25 but can't send or deliver and is not spawning any
   qmail processes.  The second server is now doing all the work.
  
   Thanks,
  
   Mike
  
  
 
  --
  Steve J. Kondik  [EMAIL PROTECTED]
  Stargate Industries, LLC - Network Operations Center
 
 






RE: load balancing two qmail servers using nfs

2000-06-24 Thread Mike Denka

Both servers are NIS clients from the same master, which happens to be the
NFS server.  So the user information is identical across all machines
involved.  The tcpserver init scripts on the second machine were copied from
the first machine, and so are also identical.   Both good points, but not
the problem, I'm afraid.

Thanks,

Mike

 -Original Message-
 From: chuck [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, June 24, 2000 12:10 PM
 To: Mike Denka
 Cc: [EMAIL PROTECTED]
 Subject: Re: load balancing two qmail servers using nfs



 Mike,

 You might make sure that the UID/GIDs map the same on both servers and the
 NFS machine.
 i.e.- If the qmaild user is user 500 on the first server, but is a
 different UID number on the second server or the NFS machine you
 might have
 problems.

 Also, what do your tcpserver init scripts look like for both servers? They
 should be identical.

 Regards,
 Charles Werbick
 The Wirehouse


 Mike Denka writes:

  Hmmm . . . that's a good thought.  I really hadn't considered
 using rsync
  since NFS seems to be working fine at least in terms of
 handling large mail
  volumes.  But rsync would have some distinct advantages.
 However, I don't
  think that is the source of my problems because I had access problems
  getting to the control files when first setting up the server
 and the error
  messages in /var/log/syslog are pretty clear (e.g.,
 "Can't_read_control", or
  something to that affect).
 
  Thanks for the rsyinc tip.  I will try it out.  Meanwhile, any other
  thoughts on why the second server suddenly cannot make smtp
 connections to
  the outside world or chdir to Mailbox?
 
  Mike
 
   -Original Message-
   From: steve j. kondik [mailto:[EMAIL PROTECTED]]
   Sent: Saturday, June 24, 2000 12:39 AM
   To: [EMAIL PROTECTED]
   Subject: Re: load balancing two qmail servers using nfs
  
  
   you might consider using rsync to sync your conffiles, instead of
   sharing them over nfs.  this would eliminate alot of problems
   and latency i'd think.
  
   On 06/24/00 @ 12:11AM, Mike Denka wrote:
I've got two qmail servers running inside a load balancer.
   They both access
the same /var/mail/username/Maildir directories on an NFS
   server.  They also
share many of the same configuration files in
   /var/qmail/control on the NFS
server.  The files they share are local symbolic links to the
   shared volume
on the NFS server.  A few hours after bringing up the second
   qmail server,
the first one, which had been running fine for two weeks, quit
   working.  The
errors I am getting in the syslog file on the failing server are
"Can't_connect_to_SMTP_server" and "Can't_chdir_to_Maidir".
   Anyone have any
success with this configuration or have any idea what could be
   causing the
first server to loose its way?
   
Running qmail and NFS on Solaris 2.7 (first server and NFS
   server) and 2.8
(second qmail server).  The first server (the one failing)
 responds to
connections on port 25 but can't send or deliver and is not
 spawning any
qmail processes.  The second server is now doing all the work.
   
Thanks,
   
Mike
   
   
  
   --
   Steve J. Kondik  [EMAIL PROTECTED]
   Stargate Industries, LLC - Network Operations Center