PMDF System Manager's Guide


Previous Next Contents Index

37.9.1 Sample Configuration on OpenVMS

This section presents a sample configuration of PMDF-DIRSYNC on an OpenVMS system. The sample site is assumed to be named EXAMPLE.COM, with PMDF-DIRSYNC system TAURUS. The directory synchronization will be between an LDAP directory, a Microsoft Exchange LDAP directory, and an ALL-IN-1 directory (ALL-IN-1 PROFILE and NETWORK databases). In this example, the IDDS directory and the ALL-IN-1 are assumed to also be running on the TAURUS system.

Example 37-14 Sample dirsync.rules File for TAURUS System

idds.dirsync.taurus.example.com     $U@$idds.dirsync.taurus.example.com 
exchange.dirsync.taurus.example.com $U@$exchange.dirsync.taurus.example.com 
a1.dirsync.taurus.example.com       $U@$a1.dirsync.taurus.example.com 
master.dirsync.taurus.example.com   $U@$master.dirsync.taurus.example.com 

Example 37-15 Sample dirsync.chans File for TAURUS System

 
sync_ldap_idds defragment 
idds.dirsync.taurus.example.com 
 
sync_ldap_exchange defragment 
exchange.dirsync.taurus.example.com 
 
sync_ldif_a1 defragment 
a1.dirsync.taurus.example.com 
 
sync_dirbot_local defragment 
master.dirsync.taurus.example.com 
 

Example 37-14 and Example 37-15 show rewrite rules and channel definitions that must be included into the PMDF configuration file; (usually this is performed simply by uncommenting the references in the PMDF configuration file to these generated files).

Example 37-16 shows the SYNC_DIRBOT channel option file---effectively the DIRBOT work order, that informs the DIRBOT which directories to synchronize.

Example 37-16 Sample sync_dirbot_local_option File

directory_master=bing.bing@example.com 
send_bulk_load_to=a1 
secret=mindyourownbusiness 
required_directories=idds,exchange,a1 
! 
[directory=idds] 
cook=PMDF_TABLE:cook_idds.rcp|diff 
diff=serve 
exclude=MAPI-Recipient 
serve=PMDF_TABLE:serve_idds.rcp|apply|dirbot@idds.taurus.example.com 
! 
[directory=exchange] 
cook=PMDF_TABLE:cook_exchange.rcp|diff 
diff=serve 
serve=PMDF_TABLE:serve_exchange.rcp|apply|dirbot@exchange.taurus.example.com 
! 
[directory=a1] 
cook=PMDF_TABLE:cook_a1.rcp|diff 
bulk_load=serve 
serve=PMDF_TABLE:serve_a1.rcp|apply|dirbot@a1.taurus.example.com 

Each of the individual channels has its own corresponding PMDF-DIRSYNC directory agent, hence its own channel with its own channel option file. The IDDS directory is handled by the SYNC_LDAP_IDDS channel, whose option file is shown in Example 37-17. The MS Exchange LDAP directory is handled by the SYNC_LDAP_EXCHANGE channel, whose option file is shown in Example 37-18. The ALL-IN-1 directory is handled by the SYNC_LDIF_A1 channel, whose option file is shown in Example 37-19.

Example 37-17 Sample sync_ldap_idds_option File

directory_master=bing.bing@example.com 
directory_robot=dirbot@dirsync.taurus.example.com 
secret=mindyourounbusiness 
cookie_file=PMDF_TABLE:idds.cookie 
dirname=idds 
ldaphost=taurus.example.com 
password=qwertyuiop 
ldapuser=cn=Manager, o=example, c=nz 
root=o=example, c=nz 
ldaplimit=8 

Example 37-18 Sample sync_ldap_exchange_option File

directory_master=bing.bing@example.com 
directory_robot=dirbot@dirsync.taurus.example.com 
secret=mindyourounbusiness 
cookie_file=PMDF_TABLE:exchange.cookie 
dirname=exchange 
ldaphost=gopher.example.com 
password=asdfghjkl 
ldapuser=cn=administrator, cn=recipients, ou=example, o=example 
root=ou=example, o=example 
ldaplimit=8 
ldappage=1000 
msx=1 

Example 37-19 Sample sync_ldif_a1_option File

dirname=a1 
directory_master=bing.bing@example.com 
directory_robot=dirbot@dirbot.taurus.example.com 
secret=mindyourownbusiness 
cookie_file=PMDF_DIRSYNC:A1.COOKIE 
slave_file=PMDF_DIRSYNC:PROFILE.LDIF 
slave_command=pmdf dirsync /convert a1 ldif=pmdf_dirsync:profile.ldif \
                   /option=pmdf_table:sync_ldif_a1_option 
master_command=pmdf dirsync /convert ldif=pmdf_dirsync:a1.ldif \
                    a1 /option=pmdf_table:sync_ldif_a1_option 

A batch job will also be needed, one that runs and resubmits itself at scheduled times to run the directory agents at those desired times.

Each directory will need its own cook and serve recipes, discussed in Section 37.9.1.1.


Previous Next Contents Index