You can view the refresh status of Policy Server caches and disable or enable cache flushing through the FSS Administrative UI or through three smpolicysrv command-line options. By using these options to suspend and resume cache flushing, you can resolve policy evaluation issues. These commands are issued by the central administration Policy Server to all secondary Policy Servers.
Note: Because Policy Server commands are processed according to a thread management model, changes to the cache status are not visible in the smps.log file immediately.
To manage cache status through the FSS Administrative UI
The SiteMinder Cache Management dialog opens.
Disabled: Cache flushing is disabled.
Enabled: Cache flushing is enabled.
To manage cache status through the Command Line Interface
Important! If you are running a SiteMinder utility or executable on Windows Server 2008, be sure to open the command–line window with Administrator permissions, even if you are logged into the system as an Administrator. For more information, see the release notes for your SiteMinder component.
Disables cache flushing.
Enables cache flushing.
Reports the refresh status of Policy Server caches to the log file: smps.log.
Disabled: Cache flushing is disabled.
Enabled: Cache flushing is enabled.
Note: On Windows systems, do not run the smpolicysrv command from a remote desktop or Terminal Services window. The smpolicysrv command depends on inter-process communications that do not work if you run the smpolicysrv process from a remote desktop or Terminal Services window.
When you change SiteMinder objects, SiteMinder automatically flushes the appropriate cache entries. The cache settings also specify a regular interval for applying administrative changes. When making sensitive changes (for example, changing the access rights to highly critical information), you have the option of flushing SiteMinder caches manually. This manual step helps ensure that unauthorized users cannot access protected resources based on information stored in the caches.
Cache Management features are accessible from the Policy Server Global Tools pane in the Administrative UI. They let you force an update of SiteMinder data by manually flushing the following caches:
Enables you to flush all caches, including user sessions, resource information, and user directory caches (including certificate CRLs).
Enables you to force users to reauthenticate when they try to access protected resources.
Enables you to flush cached information about resources.
The Cache Management options provide a method for administrators to flush the contents of all caches. Flushing all caches can possibly adversely affect the performance of a Web site, since all requests immediately following the cache flush must retrieve information from user directories and the policy store. However, this action can be necessary if critical user privileges and policy changes must go into effect immediately.
Cache management features are only available to administrators who have either the Manage Users or Manage System and Domain Objects privileges. The Flush All button is only available for administrators with the Manage System and Domain Objects. This menu selection appears only when the account you used to log in has enough privileges to access the cache function.
To flush all caches
Note: The Flush All button is only enabled for administrators that have both the Manage Users and Manage the SiteMinder Objects privileges.
The Policy Server and associated SiteMinder Agents flush all caches. This process can take up to twice the time of your policy server poll interval while the Policy Server synchronizes caches.
All caches are cleared.
When a user successfully authenticates, the Policy Server begins a session for the authenticated user. During the session, the web agent stores authorization information in the user cache.
Consider the following:
Follow these steps:
Flushes all user sessions from the user cache.
Flushes a specific DN from the user cache.
If you select this option:
SiteMinder flushes the respective users from the user cache. This process takes up to twice the time specified by your Policy Server poll interval while the Policy Server synchronizes caches.
The user session caches are cleared.
SiteMinder Web Agents stores information about specific resources that users access in a resource cache. The resource cache records the following:
If you change rules or realms, you may want the changes to take effect immediately. If so, you must flush the resource cache.
Note: For detailed information about flushing resource caches for a realm or for a specific policy, see the Policy Server Configuration Guide.
To flush resource caches
This flushes all resource caches and forces Web Agents to authorize requests against the Policy Server. This process will take up to twice the time specified by your policy server poll interval while the Policy Server synchronizes caches.
Note: For an administrator with the Manage Domain Objects privilege for specific policy domains, flushing all resource caches only flushes the caches for the realms within the administrator’s policy domains.
The resource cache are cleared.
Requests from SiteMinder agents are set to time out after a certain interval. However, the Policy Server continues to process all agent requests in the queue, even those requests that have timed out, in the order that they were received. The following situations can cause the queue to fill with agent requests faster than the Policy Server can process them:
When the Policy Server requests queue fills with agent requests, you can flush the timed-out agent requests from the queue, so that only the current agent requests remain. Only use this procedure in the following case:
Important! Do not use -flushrequests in normal operating conditions.
smpolicysrv -flushrequests
The request queue is flushed.
Note: On Windows systems, do not run the smpolicysrv command from a remote desktop or Terminal Services window. The smpolicysrv command depends on inter-process communications that do not work if you run the smpolicysrv process from a remote desktop or Terminal Services window.
Important! Before running a SiteMinder utility or executable on Windows Server 2008, open the command line window with administrator permissions. Open the command line window this way, even if your account has administrator privileges.
Copyright © 2012 CA.
All rights reserved.
|
|