Want to create DC DR Mailbox server

2012-08-22 Thread jayesh shinde

Hello all ,

I require suggestion for building up the DC  DR server. I want to build 
the Mailbox server with 5000 users , 1 TB size of total mailbox data.


1)  DC and DR server will be in two different IDC , with internet 
connectivity or with dedicated pipe.


2)  How to sync the every email ( add / delete / seen / unseen ... etc 
)  on the fly from DC to DR ?
 Please share if any have good URLs / Blog / wiki / howto steps 
information  for implementing the above.


3)  If point 2  have solution , then in case of drill if I point the 
LIVE IP from DC to DR and if all emails come on DR server for 1-2 days , 
then how to sync back that emails to DC again.


4) For syncing data back from DR to DC , Is there any method other that 
IMAPSYNC ?


5) Is it possible again on the fly syncing of emails from DR to DC ?

6) How other sysadmins are managing the Drill situation and DC to DR 
syncing ?


Regards
Jayesh Shinde




Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: Want to create DC DR Mailbox server

2012-08-22 Thread Dave McMurtrie
On 08/22/2012 04:09 AM, jayesh shinde wrote:
 Hello all ,

 I require suggestion for building up the DC  DR server. I want to build
 the Mailbox server with 5000 users , 1 TB size of total mailbox data.

 1)  DC and DR server will be in two different IDC , with internet
 connectivity or with dedicated pipe.

 2)  How to sync the every email ( add / delete / seen / unseen ... etc
 )  on the fly from DC to DR ?
   Please share if any have good URLs / Blog / wiki / howto steps
 information  for implementing the above.

 3)  If point 2  have solution , then in case of drill if I point the
 LIVE IP from DC to DR and if all emails come on DR server for 1-2 days ,
 then how to sync back that emails to DC again.

 4) For syncing data back from DR to DC , Is there any method other that
 IMAPSYNC ?

 5) Is it possible again on the fly syncing of emails from DR to DC ?

 6) How other sysadmins are managing the Drill situation and DC to DR
 syncing ?

You can accomplish what you want using Cyrus replication.  You can read 
about it here:

http://www.cyrusimap.org/docs/cyrus-imapd/2.4.16/install-replication.php

Note that all Cyrus gets you is a second copy of the data.  You have to 
handle failover on your own by either swapping IP addresses and 
hostnames or munging mailboxes.db, etc.

Thanks,

Dave

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


4096 file descriptors

2012-08-22 Thread Ron Vachiyer
Quick question about filedescriptors.  On Centos6, cyrus 2.3.16 seems to be 
able to open 4096 FDs ;

master[27121]: retrying with 4096 (current max)

ulimit -a says 1024;

open files  (-n) 1024

I am looking to increase this, and have found some documentation saying to 
increse file-max in /proc.  However, file-max already has a much larger number;

cat /proc/sys/fs/file-max
1201105

The only way I have found so far is to add a ulimit -n 8192 in 
/etc/rc.d/init.d/cyrus-imapd


Is there a more generic/cleaner way to do this?

Thanks,

Ron


  
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: 4096 file descriptors

2012-08-22 Thread Andrew Morgan
On Wed, 22 Aug 2012, Ron Vachiyer wrote:

 Quick question about filedescriptors.  On Centos6, cyrus 2.3.16 seems to 
 be able to open 4096 FDs ;

 master[27121]: retrying with 4096 (current max)

 ulimit -a says 1024;

 open files  (-n) 1024

 I am looking to increase this, and have found some documentation saying 
 to increse file-max in /proc.  However, file-max already has a much 
 larger number;

 cat /proc/sys/fs/file-max
 1201105

 The only way I have found so far is to add a ulimit -n 8192 in 
 /etc/rc.d/init.d/cyrus-imapd


 Is there a more generic/cleaner way to do this?

I've always done it in the cyrus init script:

# Crank up the limits
ulimit -n 209702
ulimit -u 4096
ulimit -c 102400


You may be able to set it in limits.conf (pam_limits), but I'm not sure if 
that applies when starting cyrus from the init script??

Andy

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: 4096 file descriptors

2012-08-22 Thread Adam Tauno Williams
On Wed, 2012-08-22 at 14:43 -0400, Ron Vachiyer wrote: 
 Quick question about filedescriptors.  On Centos6, cyrus 2.3.16 seems
 to be able to open 4096 FDs ;
 master[27121]: retrying with 4096 (current max)
 ulimit -a says 1024;
 open files  (-n) 1024
 I am looking to increase this, and have found some documentation
 saying to increse file-max in /proc.  However, file-max already has a
 much larger number;
 cat /proc/sys/fs/file-max
 1201105

Yep

 The only way I have found so far is to add a ulimit -n 8192
 in /etc/rc.d/init.d/cyrus-imapd

man pam_limits

 Is there a more generic/cleaner way to do this?

Yep, you can setup a limits.conf file that adjusts limits per user, per
group, etc... 


signature.asc
Description: This is a digitally signed message part

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: 4096 file descriptors

2012-08-22 Thread Bron Gondwana


On Wed, Aug 22, 2012, at 09:47 PM, Andrew Morgan wrote:
 On Wed, 22 Aug 2012, Ron Vachiyer wrote:
 
  Quick question about filedescriptors.  On Centos6, cyrus 2.3.16 seems to 
  be able to open 4096 FDs ;
 
  master[27121]: retrying with 4096 (current max)
 
  ulimit -a says 1024;
 
  open files  (-n) 1024
 
  I am looking to increase this, and have found some documentation saying 
  to increse file-max in /proc.  However, file-max already has a much 
  larger number;
 
  cat /proc/sys/fs/file-max
  1201105
 
  The only way I have found so far is to add a ulimit -n 8192 in 
  /etc/rc.d/init.d/cyrus-imapd
 
 
  Is there a more generic/cleaner way to do this?
 
 I've always done it in the cyrus init script:

Us too. We run 400+ instances, so init script is magic perl, and it does ulimit 
before launching master.

Bron.
-- 
  Bron Gondwana
  br...@fastmail.fm


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus