Platform Framework
R24 AMR | Min(s) read

Setting up WebSphere eXtreme Scale Grid

You can install the latest version of eXtreme Scale Client using the following procedure.

  1. Download and install the latest version of eXtreme Scale Client as shown below. For more information on how to install eXtreme Scale, see Installing and deploying WebSphere eXtreme Scale.

  2. Start with a new or existing WebSphere Application Server (WAS) profile.
  3. Augment the WAS profile for eXtreme Scale.

    You can perform this step by launching the Websphere Customization Toolbox. This toolbox can be launched by running the first step batch file (present under WAS profile's start menu).
  4. Install eXtreme Scale to your desired folder path. This becomes $ES_HOME. The code within WAS will act as a client to this server profile.

Modifying eXtreme Scale to Add TAFJ Caches

To configure caches differently, you must put each cache in its own object grid as shown in the following procedure.

  1. Modify the objectgrid.xml file as shown below:

    <objectGridConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://ibm.com/ws/objectgrid/config ../objectGrid.xsd"

    xmlns="http://ibm.com/ws/objectgrid/config">

    <objectGridConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://ibm.com/ws/objectgrid/config ../objectGrid.xsd"

    xmlns="http://ibm.com/ws/objectgrid/config">

     

    <objectGrids>

    <objectGrid name="MemoryLockingCacheGrid" txTimeout="2400" securityEnabled="false"

    txIsolation="READ_COMMITTED">

     

    <backingMap name="MemoryLockingCache" copyMode="COPY_TO_BYTES"

    lockStrategy="PESSIMISTIC" lockTimeout="2400000" numberOfLockBuckets="100"

    nullValuesSupported="false" />

    </objectGrid>

    <objectGrid name="TablesGrid" txTimeout="2400" securityEnabled="false"

    txIsolation="READ_COMMITTED">

     

    <backingMap name="Tables" copyMode="COPY_TO_BYTES"

    lockStrategy="PESSIMISTIC"

    nullValuesSupported="false" />

     

    </objectGrid>

    </objectGrids>

    </objectGridConfig>

  2. Modify the deployment.xml file as shown below.

    <deploymentPolicy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://ibm.com/ws/objectgrid/deploymentPolicy ../deploymentPolicy.xsd"

    xmlns="http://ibm.com/ws/objectgrid/deploymentPolicy">

    <objectgridDeployment objectgridName="MemoryLockingCacheGrid">

    <mapSet name="mapSet" numberOfPartitions="13" minSyncReplicas="0" maxSyncReplicas="1" >

    <map ref="MemoryLockingCache"/>

    </mapSet>

    </objectgridDeployment>

     

    <objectgridDeployment objectgridName="TablesGrid">

    <mapSet name="mapSet" numberOfPartitions="13" minSyncReplicas="0" maxSyncReplicas="1" >

    <map ref="Tables"/>

    </mapSet>

    </objectgridDeployment>

    </deploymentPolicy>

Starting your Catalog Server

In $ES_HOME/ObjectGrid/gettingstarted, run startcat.bat (sh).

The port and domain is important when connecting from WebSphere.

[8/5/16 14:44:12:840 CEST] 00000001 XIORegistry I CWOBJ9054I: The eXtremeIO registry is using the endpoint ID [47d141565abb8099e000605718b043a2].

[8/5/16 14:44:13:747 CEST] 00000001 TCPChannel A TCPC0001I: TCP Channel XIOInboundTCP-47d141565abb8099e000605718b043a2 is listening on host * (I

Pv6) port 2809.

[8/5/16 14:44:13:750 CEST] 00000001 ServerImpl I CWOBJ2518I: Starting the ObjectGrid catalog service: cs0 for domain DefaultDomain.

[8/5/16 14:44:13:750 CEST] 00000001 ServerImpl I CWOBJ1252I: Quorum is disabled for the catalog service.

[8/5/16 14:44:15:004 CEST] 00000001 JvmMemoryUtil I CWOBJ4542I: Basic BackingMap memory size was enabled.

[8/5/16 14:44:15:036 CEST] 00000001 ServerImpl I CWOBJ3001I: The ObjectGrid EntityManager service is available to process requests for ObjectGrid

: BalanceGrid and container or server: cs0

[8/5/16 14:44:15:046 CEST] 00000001 CatalogServic I CWOBJ8263I: The management concentrator MBean is enabled for the cs0 catalog server.

[8/5/16 14:44:15:182 CEST] 00000001 CatalogServic I CWOBJ8106I: The master catalog service cluster activated with cluster DefaultDomain

Starting a Container

To start a container,

  1. In $ES_HOME/ObjectGrid/gettingstarted, run startcontainer.bat (sh) TemenosGrid.
  2. Run startcontainer.bat MemoryLockingCacheGrid.

    Now you should have a catalog and two containers running.

Standalone eXtreme Scale

As documented in the previous sections, the simplest method to start TAFJ with eXtreme Scale is to download it to your desired folder path and unzip it. This becomes $ES_HOME.

If you have performed the above steps and if your TAFJ properties are set up correctly, then you should be able to run Temenos Transact programs and view the caching in $TAFJ_HOME/log/cache.log.

Copyright © 2020- Temenos Headquarters SA

Published on :
Monday, May 27, 2024 5:03:11 PM IST