nimbus: service for short and long benchmarking
This commit is contained in:
parent
e7a48ccc5f
commit
c7cf4f8999
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
- name: Verify Ansible versions
|
||||
hosts: all
|
||||
tags: always
|
||||
become: false
|
||||
run_once: true
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- local_action: command ./roles.py --check
|
||||
changed_when: false
|
||||
|
||||
- name: Configure Short Benchmarking Eth1 node
|
||||
become: true
|
||||
vars_files: group_vars/nimbus-bench.eth1.yml
|
||||
tags: short-benchmark
|
||||
hosts:
|
||||
- bench-01.he-eu-hel1.nimbus.eth1
|
||||
roles:
|
||||
- { role: infra-role-open-ports, tags: open-ports }
|
||||
- { role: infra-role-nimbus-bench-eth1, tags: nimbus-bench, vars: { nimbus_eth1_benchmark_type: 'short'} }
|
||||
|
||||
- name: Configure Long Benchmarking Eth1 node
|
||||
become: true
|
||||
vars_files: group_vars/nimbus-bench.eth1.yml
|
||||
tags: long-benchmark
|
||||
hosts:
|
||||
- bench-02.he-eu-hel1.nimbus.eth1
|
||||
roles:
|
||||
- { role: infra-role-open-ports, tags: open-ports }
|
||||
- { role: infra-role-nimbus-bench-eth1, tags: nimbus-bench, vars: { nimbus_eth1_benchmark_type: 'long'} }
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
# Nimbus Eth1 node
|
||||
nimbus_eth1_repo_branch: 'master'
|
||||
nimbus_eth1_network: 'mainnet'
|
||||
nimbus_eth1_max_peers: 160
|
||||
nimbus_eth1_log_level: 'DEBUG'
|
||||
# Ports
|
||||
## EL
|
||||
nimbus_eth1_listening_port: 30303
|
||||
nimbus_eth1_discovery_port: 30303
|
||||
nimbus_eth1_metrics_port: 9093
|
||||
nimbus_eth1_metrics_address: '0.0.0.0'
|
||||
nimbus_eth1_era_dir: '/data/era'
|
||||
nimbus_eth1_era1_dir: '/data/era1'
|
||||
|
||||
# Open Ports -------------------------------------------------------------------
|
||||
open_ports_list:
|
||||
el-node:
|
||||
- { port: '{{ nimbus_eth1_listening_port }}', comment: 'Nimbus node listening port', protocol: 'tcp' }
|
||||
- { port: '{{ nimbus_eth1_discovery_port }}', comment: 'Nimbus node discovery port', protocol: 'udp' }
|
||||
- { port: '{{ nimbus_eth1_metrics_port }}', comment: 'Nimbus node metrics port', ipset: 'hq.metrics', iifname: 'wg0' }
|
Loading…
Reference in New Issue