Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Zimbra Live Sync

  1. #1
    fviero is offline Project Contributor
    Join Date
    Jun 2007
    Location
    Porto Alegre, RS, Brazil
    Posts
    96
    Rep Power
    7

    Default Zimbra Live Sync

    Hi there

    Ive been testing Zimbra Live Sync as per instructions found here: Server Live sync - Zimbra :: Wiki

    After a few tests i must say im quite impressed. The sync was seamless. Everything was in there: mails, accounts...

    But im having a little issue running "live_syncd" on the "ex-live" server. Let me explain.

    We have "live server" and "backup server". We run live_syncd on the BACKUP SERVER and it starts syncing with the LIVE server via ssh (after creating keys).

    When LIVE SERVER fails, the procedure is simply to stop live_syncd at the BACKUP server and start zimbra there. That is working just fine. live and backup are now reversed.

    Now i want to fallback to my ex-live server. The procedure is to start live_syncd on the ex-live, let it catch up with the changes and start zimbra on it, but running live_syncd on ex-live is throwing an error:

    "Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)."

    And i cannot fallback to the original server. I know its related to ssh keys but i cant find the reason why. /opt/zimbra/.ssh/ is identical at both servers.

    Any clues?

    Thanks.

  2. #2
    simonb is offline Trained Alumni
    Join Date
    Sep 2005
    Posts
    48
    Rep Power
    9

    Default

    Check the ownership and permissions of the .ssh folder. If the private keys, in particular, are not owned by zimbra with 600 perms it will fail.

    Also, make sure you are using the latest version of the script that I uploaded to the end of this thread. The Wiki is currently locked to editing for maintenance which means that I can't update the script there or even warn anyone on the Wiki page that it is out of date.

  3. #3
    aqeel is offline Member
    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    1

    Default

    hi there,

    i have being testing script, i found an error, i mean what will happen if my live server is completely dead? as m running the required command so my mirror server is showing this error: ssh: connect to host xx.xx.xx.xx port 22: No route to host
    unable to run commands on remote server.
    any help will be highly appreciated.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by aqeel View Post
    i have being testing script, i found an error, i mean what will happen if my live server is completely dead? as m running the required command so my mirror server is showing this error: ssh: connect to host xx.xx.xx.xx port 22: No route to host
    DNS problem?

    Quote Originally Posted by aqeel View Post
    any help will be highly appreciated.
    How about an internet search?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    aqeel is offline Member
    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    1

    Default

    bill internet is working fine..

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by aqeel View Post
    bill internet is working fine..
    Who said anything about the Internet not working?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    umarzuki is offline Loyal Member
    Join Date
    Oct 2009
    Location
    Malaysia
    Posts
    78
    Rep Power
    5

    Default

    that script basically does rsync via ssh as user zimbra of zimbra redologs, mysql & ldap

    rerun steps that involves ssh
    make sure none of that steps failed

    that error usually means ssh service is not running on running on another port
    check with below command on each server
    # netstat -tulnp | grep ssh

    should be some output if it is running

  8. #8
    aqeel is offline Member
    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    1

    Default

    Quote Originally Posted by umarzuki View Post
    that script basically does rsync via ssh as user zimbra of zimbra redologs, mysql & ldap

    rerun steps that involves ssh
    make sure none of that steps failed

    that error usually means ssh service is not running on running on another port
    check with below command on each server
    # netstat -tulnp | grep ssh

    should be some output if it is running
    ssh service running.. u did not get what i mean to say, at failover situation if my live server is dead so how can ssh be done? using command "live_syncd stop". why it does not simply play the redo logs archived?

  9. #9
    umarzuki is offline Loyal Member
    Join Date
    Oct 2009
    Location
    Malaysia
    Posts
    78
    Rep Power
    5

    Default

    that hurt your pride, huh?

    from past experience, that script is not 100% work all the time

    if you check with "ps -ef | grep zimbra" even after stopping it, some services are still running

    check pid file and lock folder in live_syncd folder, if you had read that script top to bottom, you'll know what to do

  10. #10
    hong6110 is offline Starter Member
    Join Date
    Sep 2013
    Posts
    3
    Rep Power
    1

    Default

    I also face same problem as aqeel in zimbra live_sync script. Once the backup server can't reach the live server(network), The live_sync can't be stop. Error message is (ssh: connect to host xx.xx.xx.xx port 22: No route to host). I think it's the main concern for any mail server administrator. (just like electricity stoppage, system hang)

    I checked the script but i really not understand of them. Any solution for it?

    Thank you!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Updated live sync script
    By simonb in forum Administrators
    Replies: 27
    Last Post: 03-03-2014, 09:39 AM
  2. Server Live sync
    By voxuantupc in forum Administrators
    Replies: 0
    Last Post: 02-29-2012, 01:32 AM
  3. Server Live Sync
    By mclain in forum Administrators
    Replies: 5
    Last Post: 01-23-2012, 11:12 AM
  4. Zimbra 'Live Workspace'
    By jonallport in forum Developers
    Replies: 0
    Last Post: 09-22-2009, 06:07 AM
  5. Replies: 4
    Last Post: 07-24-2007, 07:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •