Hi all,
I have a question regarding the mail routing:
Scenario (how it works now):
-
3 different servers in 3 countries
-
each server has a replica of the same mail-in database
-
mail-in database has a replica interval of 5 minutes
-
mail arrives to the ‘main’ server and it’s stored in replica 1. Broadcast message is send to certain group of people to all countries, who are supposed to monitor the database for new mails. Now … People monitoring replica 2 & 3 need to wait, till replication is triggered.
Question:
- Is it somehow possible to deliver email to all 3 replicas at once? If so, how can I do that?
Subject: clustering
hi
u could activate Clustering on these Servers and only have this Mail-in be clustered if u dont want other things instantly replicate.
another idea would be to set up a serparate connection document to replicate the mail in every minute.
that’s what just came into my mind first 
regards
Tibor
Subject: Pretty simple, really
Create an agent in the database. Change the agent trigger so that it runs on event - after new mail arrives.
In the agent, just build an array of the server names the replicas are found on, and then loop through the array of server names, then use the replicate method of the notesdatabase class to replicate to each in turn. You’ll want, of course, to test the name of the server the agent is running on and bypass the attempt to replicate to itself.