nimbus-geth-goerli: remove one of three Geth nodes

Not nough storage space to run 3 nodes on the hosts.

Also made AWS, Windows and MacOS nodes discover available
Geth nodes using Consul catalog.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-05-24 16:24:13 +02:00
parent 001baf0367
commit e5324beaaa
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
8 changed files with 11 additions and 15 deletions

View File

@ -14,7 +14,6 @@
hosts:
- nimbus-geth-mainnet
roles:
- { role: swap-file, tags: swap-file }
- { role: open-ports, tags: open-ports }
- { role: smart-metrics, tags: smart-metrics }
- { role: infra-role-geth, tags: infra-role-geth }
@ -26,7 +25,6 @@
hosts:
- nimbus-geth-goerli
roles:
- { role: swap-file, tags: swap-file }
- { role: open-ports, tags: open-ports }
- { role: smart-metrics, tags: smart-metrics }
tasks:

View File

@ -7,6 +7,7 @@ geth_cont_vol: '{{ geth_service_path }}/node'
geth_network_name: 'goerli'
geth_sync_mode: 'full'
geth_log_level_name: info
geth_consul_advertised_address: '{{ hostname }}.wg'
# Geth auth & JWT token
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}'
geth_authrpc_jwtsecret: '{{lookup("bitwarden", "nimbus/jwt-token")}}'
@ -37,10 +38,10 @@ open_ports_list:
nodes_layout:
# For AWS Prater nodes.
'goerli-01.he-eu-hel1.nimbus.geth': [{}, {}, {}]
'goerli-01.he-eu-hel1.nimbus.geth': [{}, {}]
# For MacOS Prater nodes.
'goerli-02.he-eu-hel1.nimbus.geth': [{}, {}, {}]
'goerli-02.he-eu-hel1.nimbus.geth': [{}, {}]
# For Windows prater nodes.
'goerli-03.he-eu-hel1.nimbus.geth': [{}, {}, {}]
'goerli-03.he-eu-hel1.nimbus.geth': [{}, {}]

View File

@ -7,10 +7,7 @@ bootstrap__consul_data_center: 'he-eu-hel1'
beacon_node_max_peers: 200
# Execution layer Enginer API
beacon_node_exec_layer_urls:
- 'http://goerli-01.he-eu-hel1.nimbus.geth.wg:{{ geth_authrpc_port }}'
- 'http://goerli-02.he-eu-hel1.nimbus.geth.wg:{{ geth_authrpc_port }}'
- 'http://goerli-03.he-eu-hel1.nimbus.geth.wg:{{ geth_authrpc_port }}'
beacon_node_exec_layer_urls: '{{ beacon_node_exec_layer_urls_discovered_geth }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'
# ERA Files Generation

View File

@ -10,5 +10,5 @@ beacon_node_listening_port: 9100
beacon_node_subscribe_all: true
# Execution layer Enginer API
beacon_node_exec_layer_urls: ['http://goerli-01.he-eu-hel1.nimbus.geth.wg:8551']
beacon_node_exec_layer_urls: '{{ beacon_node_exec_layer_urls_discovered_geth }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'

View File

@ -10,5 +10,5 @@ beacon_node_listening_port: 9100
beacon_node_subscribe_all: true
# Execution layer Enginer API
beacon_node_exec_layer_urls: ['http://goerli-01.he-eu-hel1.nimbus.geth.wg:8552']
beacon_node_exec_layer_urls: '{{ beacon_node_exec_layer_urls_discovered_geth }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'

View File

@ -1,4 +1,4 @@
---
# Execution layer Enginer API
beacon_node_exec_layer_urls: ['http://goerli-01.he-eu-hel1.nimbus.geth.wg:8553']
beacon_node_exec_layer_urls: '{{ beacon_node_exec_layer_urls_discovered_geth }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'

View File

@ -3,5 +3,5 @@
bootstrap__defender_enabled: false
# Execution layer Enginer API
beacon_node_exec_layer_urls: ['http://goerli-03.he-eu-hel1.nimbus.geth.wg:{{ geth_authrpc_port }}']
beacon_node_exec_layer_urls: '{{ beacon_node_exec_layer_urls_discovered_geth }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'

View File

@ -80,7 +80,7 @@
- name: infra-role-rocketpool
src: git@github.com:status-im/infra-role-rocketpool.git
version: d9008250d7d95c48c24fd921c4b1df41e3ae00ce
version: 2fb7afec7cb7503789ef03e17a781ac7014590d5
scm: git
- name: infra-role-winsw
@ -115,7 +115,7 @@
- name: infra-role-geth
src: git@github.com:status-im/infra-role-geth.git
version: f2fc2892635cf69e1160a6cbeae2212da7202884
version: 862d068c736db1b64dd10c3feb2d82124a634b17
scm: git
- name: infra-role-geth-exporter