Skip to main content

Using the cachesSharingPolicy parameter in WMM

Technote (FAQ)


Question

This technote discusses the cachesSharingPolicy parameter located in the /wmm/wmm.xml file.

Answer

After installing the latest Member Manager Cumulative fix, you can add the parameter, cachesSharingPolicy, in the wmm.xml file for the LDAP repository.

The valid cachesSharingPolicy values are:

  • SHARED_PUSH (default)
  • SHARED_PUSH_PULL
  • NOT_SHARED

After getting the value, WebSphere Member Manager (WMM) sets the properties when initializing its caches.

In a WebSphere Portal cluster, remember to use the WMM check out/in process. See Managing the cluster (8: Manually editing Member Manager files on a federated node).

Example:
    UUID="LDAP1"
    profileRepositoryForGroups="LDAP1"
    supportTransactions="false"
    adminId="cn=root"
    adminPassword="XXXXXXX"
    cachesSharingPolicy="NOT_SHARED"

Cache instance names:

For the LDAP repository, there are 3 kinds of WMM caches:
  • NamesCache
  • GroupCache
  • AttributesCache

The WMM cache instance name is formed by "Repository UUID" + "<xxx>Cache".

So changing the cachesSharingPolicy will change the replication type for example cache instances below:
  • ws/LDAP1NamesCache
  • ws/LDAP1GroupCache
  • ws/LDAP1AttributesCache

Usage notes on how to select cache policy:

The NOT_SHARED option is useful when there is an affinity between a client and a web application server and the data is used only by that client (for example, a shopping cart).

The SHARED_PUSH option is useful when the entry is very heavily used by all clients (for example, a popular product display).

The SHARED_PUSH_PULL option is useful when the entry is shared by clients but is not accessed often enough to warrant pushing the entire cached object to all other servers (for example, a product display that is not popular).

Related information

Member Manager cumulative fix for WebSphere Portal 6.0

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page

Please take a moment to complete this form to help us better serve you.

This material provides me with the information I need.






This material is clear and easy to understand.






Did the information help you to achieve your goal?

What updates, improvements, or related information would you like to see in this document?

Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.


Input the verification number to submit feedback:



Document information

Product categories:

Software

Organizational Productivity, Portals & Collaboration

Portals

WebSphere Portal

WMM - WebSphere Member Management


Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows


Software version:

6.0


Software edition:

Enable, Express, Extend, Server


Reference #:

1372850


IBM Group:

Software Group


Modified date:

2009-09-08

Translate my page