File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 9090 state : restarted
9191 daemon_reload : yes
9292 name : " rabbitmq-server"
93+ tags : [restart-rabbitmq]
9394
9495 - name : RabbitMQ status
9596 shell : rabbitmqctl cluster_status
145146 daemon_reload : yes
146147 name : " chronyd"
147148
148- - name : Rabbitmq benchmarking client setup
149+ - name : RabbitMQ benchmarking client setup
149150 hosts : client
150151 connection : ssh
151152 become : true
162163 unarchive :
163164 src : ../../package/target/openmessaging-benchmark-0.0.1-SNAPSHOT-bin.tar.gz
164165 dest : /opt
165- - shell : >
166- tuned-adm profile latency-performance &&
167- mv /opt/openmessaging-benchmark-0.0.1-SNAPSHOT /opt/benchmark
166+ tags : [client-code]
167+ - shell : mv /opt/openmessaging-benchmark-0.0.1-SNAPSHOT /opt/benchmark
168+ tags : [client-code]
169+ - shell : tuned-adm profile latency-performance
168170
169171 - template :
170172 src : " templates/workers.yaml"
171173 dest : " /opt/benchmark/workers.yaml"
174+ tags : [client-code]
172175
173176 - template :
174177 src : " templates/rabbitmq.yaml"
175178 dest : " /opt/benchmark/driver-rabbitmq/rabbitmq.yaml"
179+ tags : [client-code]
176180
177181 - name : Configure benchmark-worker memory
178182 lineinfile :
179183 dest : /opt/benchmark/bin/benchmark-worker
180184 regexp : ' ^JVM_MEM='
181185 line : ' JVM_MEM="-Xms100G -Xmx100G -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ParallelRefProcEnabled -XX:+AggressiveOpts -XX:+DoEscapeAnalysis -XX:ParallelGCThreads=12 -XX:ConcGCThreads=12 -XX:+DisableExplicitGC -XX:-ResizePLAB"'
186+ tags : [client-code]
182187 - name : Configure benchmark memory
183188 lineinfile :
184189 dest : /opt/benchmark/bin/benchmark
185190 regexp : ' ^JVM_MEM='
186191 line : ' JVM_MEM="-Xmx4G"'
192+ tags : [client-code]
187193 - name : Install benchmark-worker systemd service
188194 template :
189195 src : " templates/benchmark-worker.service"
190196 dest : " /etc/systemd/system/benchmark-worker.service"
197+ tags : [client-code]
191198 - systemd :
192199 state : restarted
193200 daemon_reload : yes
194201 name : " benchmark-worker"
202+ tags : [client-code]
195203
196204- name : List host addresses
197205 hosts : localhost
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ resource "aws_instance" "rabbitmq" {
105105 count = " ${ var . num_instances [" rabbitmq" ]} "
106106
107107 tags = {
108- Name = " rabbitmq- ${ count . index } "
108+ Name = " rabbitmq_ ${ count . index } "
109109 }
110110}
111111
@@ -118,7 +118,7 @@ resource "aws_instance" "client" {
118118 count = " ${ var . num_instances [" client" ]} "
119119
120120 tags = {
121- Name = " rabbitmq-client- ${ count . index } "
121+ Name = " rabbitmq_client_ ${ count . index } "
122122 }
123123}
124124
You can’t perform that action at this time.
0 commit comments