Enable cache monitoring

WebSphere Commerce provides a Dynamic Cache Monitor application for displaying cache statistics, edge side and disk statistics, cache entries, dependency IDs, and cache policy information. A cache monitor is an installable web application that provides a real-time view of the current state of dynamic cache.


Procedure

Install and open the cache monitor for each server to view cache statistics for.

Option Description
Store and Search server (Liberty) To configure cache monitoring in Liberty:

  1. Install the cache monitor feature using the commandinstallUtility.bat command.

  2. Install

       C:\v9\ibm\WebSphere\Liberty\bin>installUtility install webCacheMonitor-1.0

  3. Accept the license agreement.

  4. Edit the server.xml file and add the feature to the feature list:

      <feature>webCacheMonitor-1.0</feature>

When accessing the application, the port of the cache monitor is same as the port of the server endpoints. For the default Store container, this port is 8080/8443. For the Search container, it is 3737/3738. For example,

    https://store-url:8443/cachemonitor
    https://search-url:3738/cachemonitor

Transaction server (WebSphere Application Server) To configure cache monitoring in the traditional WebSphere Application Server profile:

  1. Install the CacheMonitor.ear Web application. Once the CacheMonitor.ear Web application is installed, restart your application server and Web server to use the cache monitor.

  2. Open one dynamic cache monitor for every WebSphere Commerce instance.

  3. To use the Cache Monitor and you have WebSphere Application Server EJB security enabled, perform some additional security configuration for the Dynamic Cache Monitor.

  4. Open the cache monitor:

    • We can access the Web application using a Web browser with the following Web address: http://host_name:port/cachemonitor

    • For more secure access, IBM recommends that you access the Administration host machine: https://admin_host_name:port/cachemonitor

For example, if the virtual host VH_instance_name_admin is used for installing the Cache Monitor, then the Cache Monitor can be accessed as:


Related tasks
Installing the ESI cache monitor