Leave a Comment:
19 comments
Hi Mahendra,
Excellent post.
I have a MDC related question which I can use some help with.
Once you configure MDC, do we expect all agent definitions to be automatically updated to reference the DC2 OAM server instances either it its primary or secondary server list? If this is not automatic, do I need to add the DC2 OAM instances manually to the agent? Without doing so I fail to understand how any agent will even know about the presence of DC2.
Thanks
Aspi
Thank you. When you export and import partners, all your partners will be updated with Primary Server list with DC2 OAM Servers. However the max no. of connections for every partner will be updated with 8 by default after import into DC2.
ReplyOAM Multi-Data Center Failback Issues.
I have been successful in getting the initial failover from DC1 to DC2 to happen without reauthentication. This is the test I ran to do this:
1. Both DCs are up and running with one OAM server on each side.
2. Access a protected resource that has a 10g WebGate.
a. The WebGate has a primary access server of OAM DC1
b. The WebGate has a secondary access server of OAM DC2
3. Cert is chosen and I am successfully authenticated to the resource via OAM DC1.
4. I see a new session generated only on OAM DC1.
5. Shutdown OAM DC1.
6. Access same protected resource again.
7. No cert is prompted and I am able to see a new session generated on OAM DC2.
8. Start OAM DC1 back up.
9. Access same protected resource again.
10. A cert is prompted and I am forced to re-authenticate to OAM DC1.
During steps 9 and 10 when the WebGate fails back to OAM DC1 I should not have to re-authenticate. OAM DC1 should read the ObSSOCookie and OAM_ID to validate that these sites are MDC together. Why am I forced to re-authenticate in this situation? Are there any settings I may be missing that would cause this?
ReplyHi Mahendra,
I am working on setting up MDC but in our case we will be using the same database by both data centers, In this case when I tried to run the steps to set up MDC it failed on clone server with database constraint violation error. How to address this situation.
ReplyI am working on setting up MDC but in our case we will be using the same database by both data centers, In this case when I tried to run the steps to set up MDC it failed on clone server with database constraint violation error. How to address this situation.
ReplySekhar,
It would fail if you have same database. Besides that it is not recommended to have single DB for both data centers. You may try creating a separate schema for DC2 and specify it during cloning process.. However it may still have some other schemas etc., that may be common to both DC1 and DC2 schemas and cloning may fail…
Thanks
Mahendra.
Thank you Mahendra. We are getting a separate database server. Another question I have is regarding Load balancer set up for MDC. Do you have any guidelines on how to configure the load balancers at the cluster level and also at the global level.
ReplyHi Mahendra, does EVERY property synchronize fromo DC 1 to DC 2?. I’m asking this because in my scenario the Authn Schemes and Webgates get updated but the Access Manager Settings and User Identity Stores doesn’t. Thank you!.
ReplyOk, we’re using APS (Automated Policy Synchronization) to automatically replicate the configurations from DC1 to DC2. Have you used APS?. Thanks!
Carlos.
ReplyHi Mahendra,
I am getting error oracle.security.jps.JpsException: JPS-09008: Application policy for application OAM11gApplication does not exist. Failed to rollback data. Reason: JPS-10000: There was an internal error in the policy store.
when running pasteconfig.sh, any idea how to address this.
Also another question i have is can i set up OAM on DC2 as if its an independent domain and then use the DC1 and DC2 to set up MDC, What i mean is do i have to use T2P to set up MDC
ReplyHi Mahendra,
I was successfully able to clone using T2P. After cloning I was able to start the admin server and the oam server, but I am not able to login in to OAM Console. It throws a login form but after I enter the credentials and click on the sign in button the form comes back with out any error message. IS there anything missing as part of MDC set up for me to able to login to oamconsole. It works fine in the master cluster.
ReplySekhar, do you see any errors in OAM Admin Server logs?
Are you still using Embedded LDAP as system store? If yes, are you using same password as Master to login to console?
Is weblogic console login working fine?
ReplyHi Mahendra,
this is the only error message i see in the oam adminserver.log file
AdminServer MESSAGE = [ServletContext@852389476[app:oam_admin module:oamconsole path:/oamconsole spec-version:2.5 version:11.1.2.0.0]] Servlet failed with Exception
java.lang.AssertionError: Assertion violated
yes i am using Embedded LDAP as system store (which will change later). I tried with same password as master and still cannot login.
The weblogic console is working absolutely fine.
ReplyHi Mahendra,
After setting up APS, i don’t see the sync not happening from master to cone. Am i missing anything here. Where does the change logs exist on master for APS settings.
ReplyYes i do see the Replication transactions in the server logs but do not see any errors. Also if there aren’t any frequent changes Happening on master which is preferred T2P or APS. Also in APS is there a way to manually force the Sync?
Reply