Revamped Zimbra live sync stuff

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
maxxer
Advanced member
Advanced member
Posts: 89
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Revamped Zimbra live sync stuff

Postby maxxer » Mon Nov 05, 2018 6:51 pm

Hi.

I've resumed the Zimbra Live sync page and made scripts out of it, which are now live on GitLab.com open for collaboration!

From the wiki page:

This is an experimental solution to providing near-live synchronisation between two Zimbra servers so that one of them is live and the other is kept in a warm or very warm standby state.

The system is symmetrical. The sync can work in reverse when the mirror server becomes the active server. This allows easy fall-back to the original server once the failover condition is resolved.


Feedback and contributions are welcome.


myzamri
Posts: 19
Joined: Tue Mar 28, 2017 2:46 am

Re: Revamped Zimbra live sync stuff

Postby myzamri » Tue Dec 11, 2018 12:57 pm

TQ. Does it work with recent zimbra?
User avatar
maxxer
Advanced member
Advanced member
Posts: 89
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Re: Revamped Zimbra live sync stuff

Postby maxxer » Tue Dec 11, 2018 1:01 pm

myzamri wrote:TQ. Does it work with recent zimbra?


Yes, it's agnostic about versions because it uses zimbra's tools. I'm using it on 8.7.11, but there should be no breaking change to 8.8
User avatar
zimico
Advanced member
Advanced member
Posts: 88
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.7.5
Contact:

Re: Revamped Zimbra live sync stuff

Postby zimico » Tue Dec 11, 2018 5:44 pm

Thank maxxer for your kind contribution.
Regards.
alogicking
Posts: 24
Joined: Tue Aug 14, 2018 12:53 pm
Location: India
ZCS/ZD Version: 8.8.9_GA_2055.RHEL7_64_201807030809

Re: Revamped Zimbra live sync stuff

Postby alogicking » Mon Feb 11, 2019 9:47 am

Hi All,

I am using a single server installation and was using the RHEL7_64 FOSS edition, Patch 8.8.9_P7 and Live sysnc script was working fine all this days.

Yesterday I upgraded my email server with RHEL7_64 FOSS edition, Patch 8.8.11_P2 and now while doing live sync, we are getting the below error in the live sync log:

Code: Select all

Sun Feb 10 03:47:04 PST 2019 :Syncing /opt/zimbra/redolog/redo.log
Sun Feb 10 03:47:04 PST 2019 :Syncing /opt/zimbra/redolog/redo.log done
Sun Feb 10 03:47:04 PST 2019 :Syncing redologs done
Sun Feb 10 03:47:04 PST 2019 :Purging redolog directory and archives
Sun Feb 10 03:47:04 PST 2019 :Purge redolog directory and archives done
Sun Feb 10 03:47:06 PST 2019 :Replaying redologs...
Exception in thread "main" java.lang.NoClassDefFoundError: graphql/GraphQLError
        at com.zimbra.graphql.resources.GQLExtension.init(GQLExtension.java:49)
        at com.zimbra.cs.extension.ExtensionUtil.initAllMatching(ExtensionUtil.java:128)
        at com.zimbra.cs.extension.ExtensionUtil.initAll(ExtensionUtil.java:154)
        at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:267)
        at com.zimbra.cs.util.Zimbra.startupCLI(Zimbra.java:185)
        at com.zimbra.cs.redolog.util.PlaybackUtil.setup(PlaybackUtil.java:394)
        at com.zimbra.cs.redolog.util.PlaybackUtil.main(PlaybackUtil.java:369)
Caused by: java.lang.ClassNotFoundException: graphql.GraphQLError
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 7 more
Sun Feb 10 03:47:10 PST 2019 :Replay of redolog failed
Sun Feb 10 03:47:10 PST 2019 :Replaying redologs done
Sun Feb 10 03:47:10 PST 2019 :Re-starting Zimbra mailbox service
Sun Feb 10 03:47:37 PST 2019 :Purging remote redolog directory
Sun Feb 10 03:47:37 PST 2019 :Purging remote redolog directory done
Sun Feb 10 03:47:37 PST 2019 :Live streaming redolog
Sun Feb 10 03:47:42 PST 2019 :Live streaming redolog established



anyone has any clue about this error and any resolution for this.

Thanks in advance.
User avatar
maxxer
Advanced member
Advanced member
Posts: 89
Joined: Fri Oct 04, 2013 2:12 am
Contact:

Re: Revamped Zimbra live sync stuff

Postby maxxer » Mon Feb 11, 2019 10:47 am

alogicking wrote:Yesterday I upgraded my email server with RHEL7_64 FOSS edition, Patch 8.8.11_P2 and now while doing live sync, we are getting the below error in the live sync log:

Something similar has been reported on gitlab. It appears to be the output of zmplayredo command, but I cannot say what's causing it. You should search more about that command
alogicking
Posts: 24
Joined: Tue Aug 14, 2018 12:53 pm
Location: India
ZCS/ZD Version: 8.8.9_GA_2055.RHEL7_64_201807030809

Re: Revamped Zimbra live sync stuff

Postby alogicking » Mon Feb 11, 2019 2:17 pm

maxxer wrote:
alogicking wrote:Yesterday I upgraded my email server with RHEL7_64 FOSS edition, Patch 8.8.11_P2 and now while doing live sync, we are getting the below error in the live sync log:

Something similar has been reported on gitlab. It appears to be the output of zmplayredo command, but I cannot say what's causing it. You should search more about that command


Thanks Maxxer, for your prompt response. I was going through the code of zmplayredo command could find that there were some jar file reference missing like: graphql-java-9.0.jar and others.

The development team need to fix it.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 15 guests