Please find my answers inline
a) Both servers have no DB, but are using these configs
[Rahul] Both servers are started with an empty database. Both servers are in Provider and consumer mode. Our application is running on both servers as well. To start with our application is active on Server A, which means data will be written to server A database.and is synced/replicated to server B
b) DB is added to server A and replicated to server B
[Rahul] Yes since server A has our application in active mode hence data is written on server A and replicated to server B.
c) server A is stopped
[Rahul] yes we reboot the server A.
d) You say "data is removed", I'm not sure what this means. A single
entry? Multiple entries? The entire database?
[Rahul] Now our application is active on Server B. Using server B removed "a Single Entry" which was removed from server B database as well.
e) S1 is restarted, and the deleted data is replicated back to both nodes.
deleted data is replicated back to both nodes. when S1 is restarted slapd is configured in provider/consumer mode but our application is still active on server B which means writes will only happen at server B and should be synced to server A.
Thank you for all the help so far. I have no intention of interrupting your work. Please look at my issue based on your convenience.
Let me know if you have any other questions.