WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Dynamic Cache Clustered enviroment can't get it to work

  • 1.  Dynamic Cache Clustered enviroment can't get it to work

    Posted Fri December 07, 2012 06:30 AM
    Hi!

    I can't get my dyanmic cache to work on a clustered environment. I have gotten it to work on a environment that isn't clustered. I've followed that guide on pic.dhe.ibm.com/infocenter/wchelp/v6r0m0... and then I've tried to understand pic.dhe.ibm.com/infocenter/wchelp/v6r0m0...

    But I don't really understand what they mean with "In a clustered environment, you need to configure each application server to have its own cache monitor." How do I do that? 

    As said I got it to work on a non clustered enviroment then I just used http://localhost/cachemonitor to get access to the "manager" but I can't figure out the right address in a clustered environment. How can I see which port I'm suppose to use to get to the cachemonitor?

    Quik info about my environment:

    I only have one webserver running. I have one cluster with two cluster members. I have two application servers . I've mapped my monitor to my cluster and to my webserver. I've mapped vh_mysthost_admin as my virtual host. 

    /Sofia


  • 2.  Dynamic Cache Clustered enviroment can't get it to work

    Posted Mon December 10, 2012 06:43 AM
    Hi Sofia,

      Based in your comment ""In a clustered environment, you need to configure each application server to have its own cache monitor." How do I do that? "

      I think that you need to deploy cache monitor in the cluster, but then you need to go to each server to configure cache monitor, that is each server has its own configuration
     
      If you don't have deployed cachemonitor in cluster.
      In Admin console Go to -> Applications -> CacheMonitor-> mapmodules-> and select your cluster and apply (save configuration and synch nodes).
     
      To see your transport ports in each servers of the cluster
     
      In Admin console go to -> Application Servers -> SERVER -> Ports -> look's for WC_Defaulthost or WC_defaulthost_secure

      If not secure port (f.e 9080):
     
       SERVER = Your node1/server1 or node2/server1 hostname
     
       http://SERVER:WC_Defaulthost/cachemonitor
       
      If secure port (f.e 9443):
     
       SERVER = Your node1/server1 or node2/server1 hostname
     
       https://SERVER:WC_defaulthost_secure/cachemonitor
       
      In this way you are accessing directly to the application servers bypassing the webserver.
     
      I found the following redbook may interest you:
     
        Mastering DynaCache in WebSphere Commerce
        www.redbooks.ibm.com/abstracts/sg247393....

      Tell us if you need more support or if you don't understand some step.
     
    regards