You can run multiple instances of ndsrep to support multiple drivers running against a single Domino server. You must specify the appropriate driver instance name as a parameter when loading ndsrep. By default, this instance name is the name of the driver.
If the name of your driver includes spaces, you must put quotes around the name.
Suppose you want to synchronize names.nsf and addressbook.nsf databases. To synchronize the databases, do the following:
Configure two Notes drivers one for each database.
Run two instances of ndsrep, one for each synchronized database.
Configure ndsrep to write cache files with different names such as ndsrep.nsf and ndsrep2.nsf.
Configure the second driver to read the second cache file (ndsrep2.nsf).
To change the default Notes database that is synchronized by the driver, change the value of the Directory File from names.nsf to addressbook.nsf.
Consider the following important issues with setting up ndsrep and multiple instances:
To load ndsrep, you must use the appropriate instance name:
load ndsrep instance
Ndsrep is loaded and referenced by using TELL commands by the value of instance.
When modifying notes.ini to auto load multiple instances of ndsrep, simply insert ndsrep instance multiple times on the ServerTask line of notes.ini.
For example:
ServerTasks=Update,Replica,Router,AMgr,AdminP, ndsrep notesdrv1,ndsrep notesdrv2,CalConn,Sched,HTTP,IMAP,POP3
You can also create multiple program documents (see Section C.2.2, Automated Method 2).
For custom configurations, you can make ndsrep to utilize a different configuration database. To do so, use the ndsrep configuration parameter and load ndsrep by using the -f filename parameter as noted in ndsrep configuration database and ndsrep configuration instance in the parameters table in Section 5.0, Customizing the Driver.