[技术分享] 关于 RMS 服务器的缓存 Part II: RMS 2.0 ADRMS
<< 相关博客文章: [技术分享] 关于 RMS 服务器的缓存 >>
在上一篇 BLOG 中我们提到了如何来禁用 RMS 1.0 服务器的缓存,但如今有许多企业已经开始使用 RMS 2.0 服务器,也就是 Active Directory Rights Managements Services (ADRMS)。
和 RMS 1.0 一样,ADRMS 也有缓存,缓存也是会过期的,默认情况下为 12 小时,如果您希望让您在 AD 中对用户的改动在 RMS 查询中立即生效,或者为了排查用户组扩展的问题, 您可以采取一下几个步骤,在禁用 ADRMS 缓存。
Steps for turning off the ADRMS Cache
==========================================
1. Open SQL Server Management Studio, Delete all Table values in DRMS_DirectoryServices_XXX
2. Open SQL server Management Studio. Open table “DRMS_ClusterPolices” from Database “DRMS_Config_xxxx”, set following policy value to 0
UseDirectoryServicesCacheDatabase
EnableNoRightsCaching
DirectoryServicesMemoryPrincipalCacheMaxSize
DirectoryServicesMemoryGroupIdCacheMaxSize
DirectoryServicesMemoryGroupMembershipCacheMaxSize
DirectoryServicesMemoryContactGroupMembershipCacheMaxSize
DirectoryServicesMemoryPrincipalCacheExpirationMinutes
DirectoryServicesMemoryGroupCacheExpirationMinutes
3. Run command: “iisreset /noforce” on All ADRMS servers.
James Yi
Microsoft RMS Support Expert
Comments
- Anonymous
August 24, 2009
For the step 1, DO NOT delete tables, just clear all the values in each table.