Gld JDG 7 Run: Difference between revisions
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[gld Installation#Simplest_Possible_Runs|gld Installation]] | * [[gld Installation#Simplest_Possible_Runs|gld Installation]] | ||
* [[Gld_Extension_Development#Smoke_Tests|gld Extension Development Smoke Tests]] | |||
=Overview= | =Overview= | ||
Line 9: | Line 10: | ||
=Procedure= | =Procedure= | ||
Create a <tt>test.yml</tt> in the current directory, with the content shown below. | <pre> | ||
cd $RUNTIME_DIR/jboss-datagrid-7.0.0-server/bin | |||
./domain.sh | |||
</pre> | |||
Create a <tt>test.yml</tt> in the current directory, with the [[#Configuration_File|content shown below]]. | |||
<pre> | <pre> | ||
gld -c ./test.yml | |||
</pre> | |||
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. | |||
<pre> | |||
/host=master/server=n1/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:read-attribute(name=number-of-entries) | |||
</pre> | </pre> | ||
Line 21: | Line 32: | ||
<pre> | <pre> | ||
service: | service: | ||
type: cache | type: cache | ||
implementation: | implementation: | ||
name: jboss-datagrid-7 | name: jboss-datagrid-7 | ||
nodes: | nodes: | ||
Line 31: | Line 42: | ||
load-strategy: | load-strategy: | ||
name: read-then-write-on-miss | name: read-then-write-on-miss | ||
reuse-value: true | reuse-value: true | ||
load: | load: | ||
threads: 1 | threads: 1 | ||
operations: 10000 | operations: 10000 | ||
key-size: 10 | |||
value-size: 1024 | |||
output: | |||
statistics: | |||
file: test.csv | |||
</pre> | </pre> |
Latest revision as of 01:08, 18 February 2017
Internal
Overview
This page contains the configuration of a simple gld run that validates the installation and interoperability with JDG 7. 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-7.0.0-server/bin ./domain.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.
/host=master/server=n1/subsystem=datagrid-infinispan/cache-container=clustered/distributed-cache=default:read-attribute(name=number-of-entries)
Configuration File
service: type: cache implementation: name: jboss-datagrid-7 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