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
  • 1.  Non-Clustered session replications

    Posted Thu September 01, 2016 03:53 AM

    Hi All,
    Please would like to know whether there is a way using wsadmin (JACL/Jython) script to do the real time session, dyna cache replication in between two nodes set for high availability but not clustered.
    The scenario is that the application is kept on two nodes to keep them high availability but their is no deployment manager to cluster these nodes and hence to share the code in between them. Is there any way using scripting or other open source code to sync the code, session/dynacache replication in between these nodes in real time.
    Kindly revert for any query. Thanks.



  • 2.  RE: Non-Clustered session replications

    Posted Fri September 02, 2016 05:20 AM

    Hi Deepak,

      Seems that you are looking for that scenario:

      Configuring simple load balancing across multiple application server profiles
      https://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.base.doc/ae/twsv_configsimplelb.html

      you need to configure session persistence on DB (point 5.).

      Hope this helps. Tell us if you need more support

    Regards



  • 3.  RE: Non-Clustered session replications

    Posted Fri September 02, 2016 01:12 PM

    Gabriel - A true Champion thank you for your support in the User Community .



  • 4.  RE: Non-Clustered session replications

    Posted Mon September 05, 2016 08:06 AM

    Hi Gabriel,

    Thanks for the help.

    Can you please give your further insight and share whether in a similar scenario where we do not have a deployment manager and two nodes dyna cache replication need to be synced? Thank You.



  • 5.  RE: Non-Clustered session replications

    Posted Mon September 05, 2016 11:09 AM

    Deepak,

      Because you haven't a cluster in your scenario, I think that you can't sync dynacache, but you can use the Web Server to manage your cache outside of your StandAlone servers.

      Taking advantage of performance functions

      https://www.ibm.com/support/knowledgecenter/SSEQTP_8.5.5/com.ibm.websphere.base.doc/ae/tprf_2.html

     Using the dynamic cache service to improve performance

     The dynamic cache service improves performance by caching the output of servlets, commands, and JavaServer Pages (JSP) files. Dynamic caching features include cache replication among clusters, cache disk offload, Edge-side include caching, and external caching, which is the ability to control caches outside of the application server, such as that of your web server.

        Take a look to next configuration section

       Configuring external cache groups
       https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websphere.base.doc/ae/tdyn_extcache1.html

        A good redbook to understand Dynacache.

        Mastering DynaCache in WebSphere Commerce
        http://www.redbooks.ibm.com/abstracts/sg247393.html?Open

     

      Hope this helps. Tell us if you need more support

     

    Regards



  • 6.  RE: Non-Clustered session replications

    Posted Tue September 06, 2016 09:38 AM

    Hey Gabriel,

    As Sarah said earlier, you are a genius :).

    I have to go through your technical assessment to my query and will try to reciprocate it with the scenario. I'll update. Thank You again for your frequent n technical help.