RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours

2007-02-07 Thread Craig Smith
Hi Gabriel,
 
you need to make sure that the port number you specify in the run file is
the one you try and connect to.  The one that is set in the qmail.prf file
must match the /unison/unison -socket   line in unison-run.
 
On the primary confirm that the /root/.unison/qmail.prf file has the correct
ip and socket.
 
On the secondary, can you confirm the unison-run script matches what is on
the wiki, or paste the contents here.
 
Does the /unison/unison -socket    line have the  at the end?  
 
What happens on secondary if you manually run the above line.  So at command
type 
/unison/unison -socket    and then enter on the blank line.
 
If that runs, do ps -ef|grep unison and you should get a line similar to 
 
root 24608 1  0 12:28 pts/100:00:00 /unison/unison -socket 
 
Let me know what that does, the primary error will definately be down to the
socket not running. As for socket number you can use anything so long as
they match and aren't on a known used socket.  e.g. 6576
 
 

  _  

From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: 07 February 2007 05:35
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Hi Craig,
 
I manage to redo the testing after so long you replied the email :)
 
The error I got was extracted out from Primary Server, it says 
 
Contacting to server.
Error: Can't connect to server (192.168.119.133:1234)
Deleting lock file
 
I start the unison-run command with /unison/unison-run start, the next line
shown me:
sh-3.1#
 
But, seems like it doesn't start the service on Secondary, that's y it
cannot connect. Would u mind tell me what is the port number u use?
 
Thanks

- Original Message 
From: Craig Smith [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Monday, January 22, 2007 10:21:25 PM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Gabriel
 
Where were you getting errors?  I set up this procedure and it works like a
charm on my system, but there are minor changes needed between various OS's.
I set this up on Fedora Core 5.
 
Let me know what errors you were getting and where and I will try and help
you with it.
 
Also I changed the timing on the script to more than 1 min as after a few
weeks it started causing problems on our server with the replication itself,
so now it is more accurate to say the backup server is only ever 10 mins (or
cronjob based) from the primary.
 
Regards.
 
 

  _  

From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2007 07:24
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Joseph,
 
Have you tried with the QMT Setup steps? I tested previously, but failed at
certain level. If you have tested before, maybe you can help me out with the
errors
 
Thanks


- Original Message 
From: Joseph Lundgren [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, January 19, 2007 2:41:59 AM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours



Gabriel,

 

Please look at
http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup

 

 

This page gives you a procedure to configure a backup qmt server that will
be available for failover in the event of primary server failure. The backup
server will only ever be 1 minute out from the primary.

 

 

I believe that it covers what you're trying to achieve.

 

 

 

Sincerely,


--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
[EMAIL PROTECTED]

From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 18, 2007 1:12 AM
To: Qmail Toaster List 2
Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours

 

Hello all,

 

I would like to setup a QT site where the 2 email servers will be doing
replication to each other 24 hours live. 

eg: when mail coming from Internet to Mail Server 1, it will automatically
replicate to Mail Server 2.

 

Jake has point me the backup  restore script guides, but that needs manual
job when Mail Server 1 is down, someone have to 

manually restore the backup in Mail Server 2, then only can replace Mail
Server 1.

 

Have anyone tried to do so?

 

Please assist.

 

  _  

Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.



  _  

The fish are biting.
Get more visitors
http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon
soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50  on
your site using Yahoo! Search Marketing.
http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon
soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 


  _  

Need Mail bonding?
Go to the Yahoo!
http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOAR
fcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=asksid=39654
6091 Mail QA for great
http://answers.yahoo.com/dir/index

Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours

2007-02-07 Thread Gabriel Lai
Hi Craig,

I manage to get it works by manually issue the below commands:

Secondary Serv: /unison/unison -socket 1234  
Primary Server: /unison/./qmai-replicatec 

It works! I checked thru the logfile created by unison (unisonlog.full) i can 
see the process being taken place. But it just don't start it with 
/unison/unison start command.

2) After everything was replicated from Primary to Secondary, I can see that 
every folders in /vpopmail/domains/abc.com/user's mailbox are copied to 
secondary server. however, when I use webmail access to user's account on 
Secondary server, it don't allow me to login, it says Username or Password are 
wrong.

So I check thru vqadmin and found that, users that are created in Primary, 
doesn't shown on Secondary server vqadmin. Seems like mysql database was not 
replicated. How to do so?

Please assist.



Hi Gabriel,
 
you need to make sure that the port number you specify in the run file is the 
one you try and connect to.  The one that is set in the qmail.prf file must 
match the /unison/unison -socket   line in unison-run.
 
On the primary confirm that the /root/.unison/qmail.prf file has the correct ip 
and socket.
 
On the secondary, can you confirm the unison-run script matches what is on the 
wiki, or paste the contents here.
 
Does the /unison/unison -socket    line have the  at the end?  
 
What happens on secondary if you manually run the above line.  So at command 
type 
/unison/unison -socket    and then enter on the blank line.
 
If that runs, do ps -ef|grep unison and you should get a line similar to 
 
root 24608 1  0 12:28 pts/100:00:00 /unison/unison -socket 
 
Let me know what that does, the primary error will definately be down to the 
socket not running. As for socket number you can use anything so long as they 
match and aren't on a known used socket.  e.g. 6576
 
 




From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: 07 February 2007 05:35
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Hi Craig,
 
I manage to redo the testing after so long you replied the email :)
 
The error I got was extracted out from Primary Server, it says 
 
Contacting to server.
Error: Can't connect to server (192.168.119.133:1234)
Deleting lock file
 
I start the unison-run command with /unison/unison-run start, the next line 
shown me:
sh-3.1#
 
But, seems like it doesn't start the service on Secondary, that's y it cannot 
connect. Would u mind tell me what is the port number u use?
 
Thanks

- Original Message 
From: Craig Smith [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Monday, January 22, 2007 10:21:25 PM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Gabriel
 
Where were you getting errors?  I set up this procedure and it works like a 
charm on my system, but there are minor changes needed between various OS's. I 
set this up on Fedora Core 5.
 
Let me know what errors you were getting and where and I will try and help you 
with it.
 
Also I changed the timing on the script to more than 1 min as after a few weeks 
it started causing problems on our server with the replication itself, so now 
it is more accurate to say the backup server is only ever 10 mins (or cronjob 
based) from the primary.
 
Regards.
 
 




From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2007 07:24
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Joseph,
 
Have you tried with the QMT Setup steps? I tested previously, but failed at 
certain level. If you have tested before, maybe you can help me out with the 
errors
 
Thanks


- Original Message 
From: Joseph Lundgren [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, January 19, 2007 2:41:59 AM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Gabriel,
 
Please look at   
http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup
 
 
“This page gives you a procedure to configure a backup qmt server that will be 
available for failover in the event of primary server failure. The backup 
server will only ever be 1 minute out from the primary.”
 
 
I believe that it covers what you’re trying to achieve.
 
 
 
Sincerely,


--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
[EMAIL PROTECTED]
From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 18, 2007 1:12 AM
To: Qmail Toaster List 2
Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours
 
Hello all,
 
I would like to setup a QT site where the 2 email servers will be doing 
replication to each other 24 hours live. 
eg: when mail coming from Internet to Mail Server 1, it will automatically 
replicate to Mail Server 2.
 
Jake has point me the backup  restore script guides, but that needs manual job 
when Mail Server 1 is down, someone have to 
manually restore

Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours

2007-02-06 Thread Gabriel Lai
Hi Craig,

I manage to redo the testing after so long you replied the email :)

The error I got was extracted out from Primary Server, it says 

Contacting to server.
Error: Can't connect to server (192.168.119.133:1234)
Deleting lock file

I start the unison-run command with /unison/unison-run start, the next line 
shown me:
sh-3.1#

But, seems like it doesn't start the service on Secondary, that's y it cannot 
connect. Would u mind tell me what is the port number u use?

Thanks

- Original Message 
From: Craig Smith [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Monday, January 22, 2007 10:21:25 PM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Gabriel
 
Where were you getting errors?  I set up this procedure and it works like a 
charm on my system, but there are minor changes needed between various OS's. I 
set this up on Fedora Core 5.
 
Let me know what errors you were getting and where and I will try and help you 
with it.
 
Also I changed the timing on the script to more than 1 min as after a few weeks 
it started causing problems on our server with the replication itself, so now 
it is more accurate to say the backup server is only ever 10 mins (or cronjob 
based) from the primary.
 
Regards.
 
 




From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2007 07:24
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Joseph,
 
Have you tried with the QMT Setup steps? I tested previously, but failed at 
certain level. If you have tested before, maybe you can help me out with the 
errors
 
Thanks


- Original Message 
From: Joseph Lundgren [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, January 19, 2007 2:41:59 AM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Gabriel,
 
Please look at   
http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup
 
 
“This page gives you a procedure to configure a backup qmt server that will be 
available for failover in the event of primary server failure. The backup 
server will only ever be 1 minute out from the primary.”
 
 
I believe that it covers what you’re trying to achieve.
 
 
 
Sincerely,


--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
[EMAIL PROTECTED]
From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 18, 2007 1:12 AM
To: Qmail Toaster List 2
Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours
 
Hello all,
 
I would like to setup a QT site where the 2 email servers will be doing 
replication to each other 24 hours live. 
eg: when mail coming from Internet to Mail Server 1, it will automatically 
replicate to Mail Server 2.
 
Jake has point me the backup  restore script guides, but that needs manual job 
when Mail Server 1 is down, someone have to 
manually restore the backup in Mail Server 2, then only can replace Mail Server 
1.
 
Have anyone tried to do so?
 
Please assist.
 



Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.





The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.


 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours

2007-01-22 Thread Craig Smith
Gabriel
 
Where were you getting errors?  I set up this procedure and it works like a
charm on my system, but there are minor changes needed between various OS's.
I set this up on Fedora Core 5.
 
Let me know what errors you were getting and where and I will try and help
you with it.
 
Also I changed the timing on the script to more than 1 min as after a few
weeks it started causing problems on our server with the replication itself,
so now it is more accurate to say the backup server is only ever 10 mins (or
cronjob based) from the primary.
 
Regards.
 
 

  _  

From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: 22 January 2007 07:24
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Joseph,
 
Have you tried with the QMT Setup steps? I tested previously, but failed at
certain level. If you have tested before, maybe you can help me out with the
errors
 
Thanks


- Original Message 
From: Joseph Lundgren [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, January 19, 2007 2:41:59 AM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours



Gabriel,

 

Please look at
http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup

 

 

This page gives you a procedure to configure a backup qmt server that will
be available for failover in the event of primary server failure. The backup
server will only ever be 1 minute out from the primary.

 

 

I believe that it covers what you're trying to achieve.

 

 

 

Sincerely,


--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
[EMAIL PROTECTED]

From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 18, 2007 1:12 AM
To: Qmail Toaster List 2
Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours

 

Hello all,

 

I would like to setup a QT site where the 2 email servers will be doing
replication to each other 24 hours live. 

eg: when mail coming from Internet to Mail Server 1, it will automatically
replicate to Mail Server 2.

 

Jake has point me the backup  restore script guides, but that needs manual
job when Mail Server 1 is down, someone have to 

manually restore the backup in Mail Server 2, then only can replace Mail
Server 1.

 

Have anyone tried to do so?

 

Please assist.

 

  _  

Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.



  _  

The fish are biting.
Get
http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon
soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 more
visitors on your site using Yahoo!
http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/spon
soredsearch_v2.php?o=US2140cmp=Yahooctv=Q107Taglines=Ys2=EMb=50 Search
Marketing.


Re: [qmailtoaster] Site to Site QT Server Replication - 24 hours

2007-01-21 Thread Gabriel Lai
Joseph,

Have you tried with the QMT Setup steps? I tested previously, but failed at 
certain level. If you have tested before, maybe you can help me out with the 
errors

Thanks


- Original Message 
From: Joseph Lundgren [EMAIL PROTECTED]
To: qmailtoaster-list@qmailtoaster.com
Sent: Friday, January 19, 2007 2:41:59 AM
Subject: RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours


Gabriel,
 
Please look at   
http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup
 
 
“This page gives you a procedure to configure a backup qmt server that will be 
available for failover in the event of primary server failure. The backup 
server will only ever be 1 minute out from the primary.”
 
 
I believe that it covers what you’re trying to achieve.
 
 
 
Sincerely,


--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
[EMAIL PROTECTED]
From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 18, 2007 1:12 AM
To: Qmail Toaster List 2
Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours
 
Hello all,
 
I would like to setup a QT site where the 2 email servers will be doing 
replication to each other 24 hours live. 
eg: when mail coming from Internet to Mail Server 1, it will automatically 
replicate to Mail Server 2.
 
Jake has point me the backup  restore script guides, but that needs manual job 
when Mail Server 1 is down, someone have to 
manually restore the backup in Mail Server 2, then only can replace Mail Server 
1.
 
Have anyone tried to do so?
 
Please assist.
 



Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.


 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

RE: [qmailtoaster] Site to Site QT Server Replication - 24 hours

2007-01-18 Thread Joseph Lundgren
Gabriel,

 

Please look at
http://wiki.qmailtoaster.com/index.php/QMT_Failover_replication_Setup

 

 

This page gives you a procedure to configure a backup qmt server that
will be available for failover in the event of primary server failure.
The backup server will only ever be 1 minute out from the primary.

 

 

I believe that it covers what you're trying to achieve.

 

 

 

Sincerely,


--
Joseph Lundgren
Systems Engineer
Peak Internet, LLC
[EMAIL PROTECTED]

From: Gabriel Lai [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 18, 2007 1:12 AM
To: Qmail Toaster List 2
Subject: [qmailtoaster] Site to Site QT Server Replication - 24 hours

 

Hello all,

 

I would like to setup a QT site where the 2 email servers will be doing
replication to each other 24 hours live. 

eg: when mail coming from Internet to Mail Server 1, it will
automatically replicate to Mail Server 2.

 

Jake has point me the backup  restore script guides, but that needs
manual job when Mail Server 1 is down, someone have to 

manually restore the backup in Mail Server 2, then only can replace Mail
Server 1.

 

Have anyone tried to do so?

 

Please assist.

 



Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.