Gld JDG 6 Run: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 11: Line 11:


<pre>
<pre>
cd $RUNTIME_DIR/jboss-datagrid-7.0.0-server/bin
cd $RUNTIME_DIR/jboss-datagrid-6.6.1-server/bin
./doman.sh
unset JBOSS_HOME
./clustered.sh
</pre>
</pre>


Line 24: Line 25:


<pre>
<pre>
/host=master/server=n1/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:read-attribute(name=number-of-entries)
/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:read-attribute(name=number-of-entries)
</pre>
</pre>


Line 34: Line 35:


   type: cache
   type: cache
  key-size: 10
  value-size: 1024


   implementation:
   implementation:


     name: jboss-datagrid-7
     name: jboss-datagrid-6
     nodes:
     nodes:
       - localhost:11222
       - localhost:11222
Line 52: Line 51:
   threads: 1
   threads: 1
   operations: 10000
   operations: 10000
  key-size: 10
  value-size: 1024


output:
output:

Latest revision as of 00:44, 18 February 2017

Internal

Overview

This page contains the configuration of a simple gld run that validates the installation and interoperability with JDG 6.6.1. You will need to copy an paste the content of the configuration file shown below into a test.yml in the current directory.

Procedure

cd $RUNTIME_DIR/jboss-datagrid-6.6.1-server/bin
unset JBOSS_HOME
./clustered.sh

Create a test.yml in the current directory, with the content shown below.

gld -c ./test.yml

After the run finishes, the "number-of-entries" for the default cache should be updated according to the cluster configuration and the number of operations.

/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:read-attribute(name=number-of-entries)

Configuration File

service:

  type: cache

  implementation:

    name: jboss-datagrid-6
    nodes:
      - localhost:11222

  load-strategy:

    name: read-then-write-on-miss
    reuse-value: true

load:

  threads: 1
  operations: 10000
  key-size: 10
  value-size: 1024

output:
  statistics:
    file: test.csv