Installing the cache monitor
In this lesson you will learn that the dynamic
cache monitor is an installable Web application that displays simple
cache statistics, entries, and policy information.
Procedure
- Use the WebSphere Application Server Administrative console
to install CacheMonitor.ear
- Starting and stopping quick reference.
- Open the WebSphere Integrated Solutions Console.
- Click Applications > New Application.
- In the New Application window, click New Enterprise Application.
- Click Browse and locate the CacheMonitor.ear file in the WAS_installdir/installableApps directory. Click Next.
- Select Detailed- Show all installation options and parameters, and click Next on the "Preparing for the application installation" window. You will receive an application security warning. Select continue.
- In Step 1: Select the installation options, accept the default values, and click Next.
- In Step 2: Map the modules to the servers, and select the application servers to be monitored. Choose both of the server names from the list of servers available to map to for the servers that will be monitored. Then, check the box beside the Dynamic Cache Monitor module, and click Apply. As part of the entry in the server column of the table, you should now see an additional server listed.
- Click Next until Step 6 or click on Step 6.
- In Step 6: Map virtual hosts for Web modules, check
the box beside the Dynamic Cache Monitor Web
module and select one of the following:
- VH_(instance_name)_Admin
- VH_(instance_name)_Tools
- Go to Step 8: Map security roles to users or groups.
- Check the box next to Administrator. Click Maps Users. In the search string, search for '*' to get all results. Select build and click Add or the right arrow. Click OK.
- Check the box next to Administrator. Click Maps Groups. In the search string, search for '*' to get all results. Select Administrator and click Add or the right arrow. Click OK.
- Click Next for the Summary window, accept the default values, and click Finish.
- Click Save.
- Check the plugin-cfg,xml plugin configuration
file located in the WAS_installdir\profiles\profile_name\config\cells\cell_name\nodes\webserver1_node\servers\webserver1 directory.
- In the plugin-cfg.xml file, ensure that the /cachemonitor/* alias has been automatically added at the appropriate virtual_host selected in Step 9 of this tutorial.
- If the /cachemonitor/* alias has not been added to the configuration
file, in the WebSphere Application Server Administrative console:
- Go to the Administrative Console main page, click Servers > Server Types > Web Servers.
- Check the box for webserver1 and click Generate Plug-in, and then check the box and click Propagate Plug-in. This will then regenerate the configuration file.
- Use the WebSphere Application Server Administrative console
to start the cache monitor.
- Click Applications > Application Types > WebSphere enterprise applications.
- Check the box next to Dynamic Cache Monitor, and click Start.
- Access the Web Application at https:// hostname: virtual_host_port/cachemonitor.
- If the application asks for a login, use the same Username
and Password used to login to the Websphere Application Server Administrative
Control.Note: hostname is the name of the computer hosting the WebSphere Application Server. virtual_host_port can be verified by going to the Administrative Control home page, then click Environment > Virtual Hosts > Appropriate Virtual host selected in step 9 of this tutorial > host aliases