on 11-20-2013 12:26 PM
Hello
I'm investigating a possibility for VDS server to redirect input requests (ADD/UPDATE/DELETE) to more than one data source. Basically I need to have a single LDAP virtual branch for the outside world which shall be mapped to multiple database tables in my database. Incoming LDAP request shall send data to two database tables instead of a single one as it's now. So finally I will have two database tables containing identical data.
Thank you a lot for your help!
Siarhei
Thank you for replies!
So far we have ended up with the solution based on VDS provisioning data source:
Now if new ADD request coming to the virtual tree it's automatically transitioned to the both single data-sources and finally drops to both tables in the two different databases. Not tested yet this solution on big data volume, but with it works fine in our sandbox.
Siarhei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want the same data in both tables, it might be easier just to place a trigger on the database table that mirrors updates to the second table...
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Siarhei,
You'd need to do this through the same OU?
I'm thinking you'll probably need to do this via a custom JAVA extension. Have you taken a look at the JavaDOC?
The other possibility would be to have two write operations that would update one attribute each. I'd have to play with this a little but I think that you would need to do this via coding.
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.