Difference between revisions of "How do I set up directory synchronization between two Scalix servers?"

From Scalix Wiki
Jump to: navigation, search
 
Line 7: Line 7:
 
· NY is the local mailnode for the scalixny server
 
· NY is the local mailnode for the scalixny server
  
1) On scalixny.corp.com server, add the directory synchronization agreements for the scalixca server:
+
1) On the server scalixny.corp.com, add the directory synchronization agreements for the server scalixca: (The date format is [CC]YYMMDD.)
 
+
The format for the date is [CC]YYMMDD.
+
  
 
   #omaddds -i –m +dirsync/CA –t “040510 16:00” –P 15 –s LOCAL
 
   #omaddds -i –m +dirsync/CA –t “040510 16:00” –P 15 –s LOCAL
 
   #omaddds –e –m +dirsync/CA
 
   #omaddds –e –m +dirsync/CA
  
2) On the scalixca.corp.com server, add the directory synchronization agreements for the scalixny server:
+
2) On the server scalixca.corp.com, add the directory synchronization agreements for the server scalixny:
  
 
   #omaddds -i –m +dirsync/NY –t “040510 16:00” –P 15 –s LOCAL
 
   #omaddds -i –m +dirsync/NY –t “040510 16:00” –P 15 –s LOCAL
 
   #omaddds –e –m +dirsync/NY
 
   #omaddds –e –m +dirsync/NY
  
3) Recycle the dirsync service to reread the general.cfg file and kick off the synchronization.
+
3) Recycle the servoce dirsync to reread the file general.cfg and kick off the synchronization.
 
   
 
   
 
   #omoff –d 0 –s dirsync
 
   #omoff –d 0 –s dirsync

Revision as of 15:42, 10 May 2007

Assume the fully-qualified domain names of the two servers are scalixny.corp.com and scalixca.corp.com, and you want each server to share directory entries with the other as peers.

The mailnodes used for internal routing between Scalix servers, are:

· CA is the local mailnode for the scalixca server

· NY is the local mailnode for the scalixny server

1) On the server scalixny.corp.com, add the directory synchronization agreements for the server scalixca: (The date format is [CC]YYMMDD.)

  #omaddds -i –m +dirsync/CA –t “040510 16:00” –P 15 –s LOCAL
  #omaddds –e –m +dirsync/CA

2) On the server scalixca.corp.com, add the directory synchronization agreements for the server scalixny:

  #omaddds -i –m +dirsync/NY –t “040510 16:00” –P 15 –s LOCAL
  #omaddds –e –m +dirsync/NY

3) Recycle the servoce dirsync to reread the file general.cfg and kick off the synchronization.

  #omoff –d 0 –s dirsync
  #omon –s dirsync

4) To list the configured directory synchronizations agreements:

 #omlistds –i
 #omlistds -e

5) For debugging assistance (only when necessary), add the following to the file /var/opt/scalix/sys/general.cfg.

  DS_CUST_SEND_REQ_NOW=TRUE

This starts any dirsync requests as soon as you start the dirsync process.

6)Set auditing on dirsync to level 15

  #omconfaud dirsync 15
  #omoff -d 0 dirsync
  #omon dirsync