# Rally benchmarking for different node types

**URL:** <https://discuss.elastic.co/t/rally-benchmarking-for-different-node-types/200198>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [September 19, 2019, 11:55am UTC](https://discuss.elastic.co/t/rally-benchmarking-for-different-node-types/200198 "2019-09-19T11:55:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kapad](https://avatars.discourse-cdn.com/v4/letter/k/e8c25b/32.png) [@kapad](https://discuss.elastic.co/u/kapad)\
**Post date:** [September 19, 2019, 11:55am UTC](https://discuss.elastic.co/t/rally-benchmarking-for-different-node-types/200198/1 "2019-09-19T11:55:11Z")

</div>

I'm using ES Rally to benchmark my cluster.  
Because all the nodes in my cluster aren't identical, I've setup my cluster manually.  
The setup for my cluster is as follows:

- 1 master node
- 2 general purpose nodes (data+ingest+coordinator)

Now, I want to use Rally to test the performance of my cluster. For this, I'm wondering which nodes to include in the `target_hosts`.

- Should I include the master node in the target\_hosts?
- I want rally to report the metrics for all hosts, including the master node.
- I don't want rally to attempt any ingestion or query via the master node.

How should I setup my test? For now, I've given all 3 nodes IPs in the target\_hosts. Is this correct?

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [September 23, 2019, 6:26am UTC](https://discuss.elastic.co/t/rally-benchmarking-for-different-node-types/200198/2 "2019-09-23T06:26:32Z")

</div>

Hi,

with the `--target-hosts` parameter you can specify to which nodes Rally should send traffic. You don't want the master node to be hit by the benchmark, so you need specify your two general-purpose nodes there. For cluster-wide statistics (e.g. garbage collection times) Rally will also record metrics from the master node.

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 21, 2019, 6:33am UTC](https://discuss.elastic.co/t/rally-benchmarking-for-different-node-types/200198/3 "2019-10-21T06:33:29Z")

</div>

Closed on October 21, 2019, 6:33am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
