Ujwol Shrestha

Tech Tip : CA Single Sign-On :Policy Server : FlushObjCache

Blog Post created by Ujwol Shrestha Employee on Nov 28, 2016

Question

  • What is the purpose of following registry :

 HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\ObjectStore\FlushObjCache 

  •  Is it recommended setting this registry to 1 ? 

Environment

Policy Server Version : R12.0 SP3 and above

Answer

When the registry FlushObjCache is set to 1, it enables the flushing of Policy store cache.

Flushing the policy store caches flushes all of the current entries and reloads the cache with all of entries in the policy store. During the flush, the policy store cache is taken offline. The Policy Server either pauses or uses the policy store directly to make policy decisions

 

To enable flushing of the policy store cache

Open the registry editor.

Navigate to \\HKEY_LOCAL_MACHINE\SOFTWARE\Netegrity\SiteMinder\CurrentVersion\ObjectStore.

Create the FlushObjCache registry key with the following values:

Type: DWORD

Value: 1 or 0

  • 1 Enables the key. When enabled, you can use the Flush All button on the Cache Management dialog to flush all Policy Server and associated SiteMinder Agent caches, including the policy store cache.
  • 0 Disables the key. When disabled, you can use the Flush All button on the Cache Management dialog to flush all Policy Server and associated SiteMinder Agent caches, excluding the policy store cache.

Note: If a value does not exist, the key is disabled.

Then, Use the Cache Management dialog in the Administrative UI to flush all caches.

Important : It is strongly advised NOT to enable this registry key as this could severely impact the policy server performance as it has to rebuild the policy store cache every time the Flush All command is executed.

Outcomes