Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.

Issue retrieving contract header in AG cluster scenarios

A bit of a background on an issue we are seeing in a deployment:

We have a AG policy on a custom app page that basically redirects to
different landing pages (of different apps) based on the contract a user
is logged in with. The policy evaluates the value of the injected
header before doing the redirect. This works great when only a single AG
is in the cluster. But when we introduce a 2nd AG in the cluster, we
find that users have intermittent issues where policy is unable to check
what contract the user is logged in with. This results in user stuck on
a blank page and not being redirected to their correct landing page. We
do notice that the user does have a session. Are there know issues with
session data being replicated in an AG cluster?
We collected logs and raised an SR with NetIQ with no luck so far.

I am planning on writing some custom code in main.jsp to capture the
contract info and send that as a query param or a custom header to the
app page for the policy to evaluate. I tried the function
ContentHandler.getContractURI() but that returned null. Any ideas why? I
don't see any documentation on ContentHandler, unless I have to
decompile it myself to review the code. I can see that the form has
Contract ID that I can use to capture and evaluate, so maybe I can try

But I am not sure if this customization will resolve the production
issue with clustering. I appreciate any insight into other ways to
resolve this, it would be great.

Thank you!

ssripathy25's Profile: https://forums.netiq.com/member.php?userid=212
View this thread: https://forums.netiq.com/showthread.php?t=51807

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.