Steps to add and remove datasource from GAL account: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
===<h1>Steps to add and remove datasource from GAL account</h1>===
{{BC|Certified}}
__FORCETOC__
<div class="col-md-12 ibox-content">
=Steps to add and remove datasource from GAL account=
<hr>
<hr>
<br>
====Problem====
<h2>Problem:</h2>
Remove old or non-working datasources from the GAL account.


Remove an old or non-working datasource from the GAL account.
====Solution====
 
* Check and find out the exact datasource name to remove.
<h2>Solution:</h2>
 
'''1).''' Check and find out the exact datasource name which one we want to remove.
 
'''Command Syntax :'''
  zmprov getDataSources {GAL-account-name}
  zmprov getDataSources {GAL-account-name}


'''Example :'''
Example:
  zmprov getDataSources galsync@DOMAIN.COM
  zmprov getDataSources galsync@example.com


'''2).''' Now remove the datasource.
* Now remove the datasource:
 
'''Command Syntax :'''
  zmprov deleteDataSource {GAL-account-name} {datasource-name}
  zmprov deleteDataSource {GAL-account-name} {datasource-name}


'''Example :'''
Example:
  zmprov deleteDataSource galsync@DOMAIN.COM "DataSource-Name"
  zmprov deleteDataSource galsync@example.com "DataSource-Name"




=====Additional Information=====


 
If an internal datasource is deleted by mistake, we can add it again and forcesync to fix autocomplete issues.   
'''Additional Information'''
In this type situation we need to use following commands to re-create the internal datasource:
 
If somehow Internal datasource deleted by mistake then we need to add it again and forcesync to fix autocomplete issues.   
In this type situation we need to use following commands to re-create Internal datasource.
 
'''Command Syntax :'''
  zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval}
  zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval}
  zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}
  zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}


'''Example :'''
Example:
  zmgsautil addDataSource -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -t zimbra -f _InternalGAL -p 60m
  zmgsautil addDataSource -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -t zimbra -f _InternalGAL -p 60m
  zmgsautil forceSync -a galsync@DOMAINNAME.COM -n InternalGAL
  zmgsautil forceSync -a galsync@DOMAINNAME.COM -n InternalGAL
Line 44: Line 36:


Submitted by:  Heera Singh Koranga
Submitted by:  Heera Singh Koranga
{{Article Footer|ZCS 8.8, 8.7, 8.6|2017-08-15}}

Revision as of 09:38, 31 May 2018

Steps to add and remove datasource from GAL account


Problem

Remove old or non-working datasources from the GAL account.

Solution

  • Check and find out the exact datasource name to remove.
zmprov getDataSources {GAL-account-name}

Example:

zmprov getDataSources galsync@example.com
  • Now remove the datasource:
zmprov deleteDataSource {GAL-account-name} {datasource-name}

Example:

zmprov deleteDataSource galsync@example.com "DataSource-Name"


Additional Information

If an internal datasource is deleted by mistake, we can add it again and forcesync to fix autocomplete issues. In this type situation we need to use following commands to re-create the internal datasource:

zmgsautil addDataSource -a {GAL-account-name} -n {datasource-name} --domain {domain-name} -t zimbra -f {folder-name} -p {polling-interval}
zmgsautil forceSync -a {GAL-account-name} -n {datasource-name}

Example:

zmgsautil addDataSource -a galsync@DOMAIN.COM -n InternalGAL --domain DOMAIN.COM -t zimbra -f _InternalGAL -p 60m
zmgsautil forceSync -a galsync@DOMAINNAME.COM -n InternalGAL



Submitted by: Heera Singh Koranga


Verified Against: ZCS 8.8, 8.7, 8.6 Date Created: 2017-08-15
Article ID: https://wiki.zimbra.com/index.php?title=Steps_to_add_and_remove_datasource_from_GAL_account Date Modified: 2018-05-31



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search