nimbus.prater: reduce layout to just 2 hosts

This testnet will be dead within ~3 weeks.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-03-04 12:29:06 +01:00
parent aaa3c437a9
commit 5f903426a5
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
19 changed files with 16014 additions and 42133 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,54 +0,0 @@
---
# Volumes
bootstrap__extra_volume_bind_paths:
DATA_VOLUME1: ['/data', '/docker']
# Geth node
geth_service_name: 'geth-goerli-{{ "%02d"|format(idx|int+1) }}'
geth_service_path: '/docker/{{ geth_service_name }}'
geth_cont_name: '{{ geth_service_name }}-node'
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")}}'
# Memory settings
geth_cont_mem_ratio: 0.8
geth_cache_size: '{{ (ansible_memtotal_mb * 0.25|float) | int }}'
# Ports
geth_port: '{{ 30303 + (idx|int) + 1 }}'
geth_rpc_port: '{{ 8545 + (idx|int) + 1 }}'
geth_metrics_port: '{{ 6060 + (idx|int) + 1 }}'
geth_websocket_port: '{{ 9546 + (idx|int) + 1 }}'
geth_authrpc_port: '{{ 8551 + (idx|int) + 1 }}'
geth_authrpc_addr: '0.0.0.0'
# Geth metrics
geth_expo_service_name: '{{ geth_service_name }}'
geth_expo_source_cont_name: '{{ geth_cont_name }}'
geth_expo_source_data_path: '{{ geth_cont_vol }}/data'
geth_expo_cont_port: '{{ 9400 + (idx|int) + 1 }}'
# Open Ports
open_ports_default_comment: 'Geth API'
open_ports_default_chain: 'VPN'
open_ports_list:
- { port: '9400:9404', ipset: 'metrics.hq', comment: 'Geth Metrics' }
- { port: '8551:8554', ipset: 'nimbus.prater' }
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq', comment: 'SMART Metrics' }
nodes_layout:
# For AWS Prater nodes.
'goerli-01.he-eu-hel1.nimbus.geth': [{}, {}]
'goerli-01.ih-eu-mda1.nimbus.geth': [{}, {}]
# For MacOS Prater nodes.
'goerli-02.he-eu-hel1.nimbus.geth': [{}, {}]
'goerli-02.ih-eu-mda1.nimbus.geth': [{}, {}]
# For Windows prater nodes.
'goerli-03.he-eu-hel1.nimbus.geth': [{}, {}]
'goerli-03.ih-eu-mda1.nimbus.geth': [{}, {}]

View File

@ -9,69 +9,12 @@
- local_action: command ./versioncheck.py
changed_when: false
- name: Deploy Holesky MacOS Beacon Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts: nimbus-holesky-macm2
vars_files: layout/holesky.yml
tasks:
- include_role: name=infra-role-beacon-node-macos
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }
- name: Deploy Holesky Beacon Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts: nimbus.holesky
vars_files: layout/holesky.yml
roles:
- { role: swap-file, tags: [ swap-file ] }
- { role: open-ports, tags: [ open-ports ] }
- { role: redirect-ports, tags: [ redirect-ports ] }
tasks:
- include_role: name=infra-role-beacon-node-linux
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }
- include_role: name=infra-role-validator-client
with_items: '{{ nodes_layout[hostname] }}'
when: validator_client_service_enabled
loop_control: { loop_var: node, index_var: idx }
- name: Deploy Holesky Geth Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts: nimbus-holesky-geth
vars_files: layout/holesky.yml
tasks:
- include_role: name=infra-role-geth
when: node.el == "geth"
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }
- include_role: name=infra-role-geth-exporter
when: node.el == "geth"
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }
- name: Deploy Holesky Erigon Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts: nimbus-holesky-erigon
vars_files: layout/holesky.yml
tasks:
- include_role: name=infra-role-erigon
when: node.el == "erigon"
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }
- name: Deploy Holesky Nethermind Nodes
become: true
serial: '{{ serial|default(1) }}'
hosts: nimbus-holesky-neth
vars_files: layout/holesky.yml
tasks:
- include_role: name=infra-role-nethermind
when: node.el == "nethermind"
with_items: '{{ nodes_layout[hostname] }}'
loop_control: { loop_var: node, index_var: idx }

View File

@ -1,3 +0,0 @@
---
bootstrap__extra_volume_bind_paths:
DATA_VOLUME1: ['/docker']

View File

@ -1,4 +0,0 @@
---
beacon_node_consul_success_before_passing: 50
beacon_node_consul_failures_before_warning: 1000
beacon_node_consul_failures_before_critical: 2000

View File

@ -1,23 +0,0 @@
---
# Lowered to avoid hitting open files limit at boot.
# https://github.com/status-im/nimbus-eth2/issues/2984
beacon_node_max_peers: 200
# Execution layer Enginer API
macos_exec_layer_urls:
0: ['http://goerli-02.ih-eu-mda1.nimbus.geth.wg:8552']
1: ['http://goerli-02.ih-eu-mda1.nimbus.geth.wg:8553']
2: ['http://goerli-02.ih-eu-mda1.nimbus.geth.wg:8553']
beacon_node_exec_layer_urls: '{{ macos_exec_layer_urls[idx] }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'
# ERA Files Generation
nimbus_era_files_timer_enabled: true
nimbus_era_files_timer_frequency: 604800
nimbus_era_files_timer_path: '/Users/nimbus/era'
nimbus_era_files_db_path: '/Users/nimbus/beacon-node-{{ beacon_node_network }}-stable/data/db'
nimbus_era_files_nclidb_path: '/Users/nimbus/beacon-node-{{ beacon_node_network }}-unstable/repo/build/ncli_db'
# Disable resyncing, Prater is obsolete.
beacon_node_resync_enabled: false
beacon_node_resync_timer_enabled: false

View File

@ -1,14 +0,0 @@
---
# WARNING: Since these are Eth 2 bootnodes we need to keep the keys and IPs unchanged.
beacon_node_netkey: '{{lookup("bitwarden", "nimbus/netkey", field=hostname)}}'
# Ports cannot change
beacon_node_discovery_port: 9100
beacon_node_listening_port: 9100
# Bootnodes should subscribe to all subnets
beacon_node_subscribe_all: true
# Execution layer Enginer API
beacon_node_exec_layer_urls: ['http://goerli-01.ih-eu-mda1.nimbus.geth.wg:8552']
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'

View File

@ -1,14 +0,0 @@
---
# WARNING: Since these are Eth 2 bootnodes we need to keep the keys and IPs unchanged.
beacon_node_netkey: '{{lookup("bitwarden", "nimbus/netkey", field=hostname)}}'
# Ports cannot change
beacon_node_discovery_port: 9100
beacon_node_listening_port: 9100
# Bootnodes should subscribe to all subnets
beacon_node_subscribe_all: true
# Execution layer Enginer API
beacon_node_exec_layer_urls: '{{ beacon_node_exec_layer_urls_discovered_geth }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'

View File

@ -1,2 +0,0 @@
# Peers
beacon_node_max_peers: 100

View File

@ -1,2 +0,0 @@
# Peers
beacon_node_max_peers: 50

View File

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

View File

@ -1,10 +0,0 @@
---
# Scans affect disk I/O performance.
bootstrap__defender_enabled: false
# Execution layer Enginer API
windows_exec_layer_urls:
0: ['http://goerli-03.ih-eu-mda1.nimbus.geth.wg:8552']
1: ['http://goerli-03.ih-eu-mda1.nimbus.geth.wg:8553']
beacon_node_exec_layer_urls: '{{ windows_exec_layer_urls[idx] }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'

View File

@ -1,14 +0,0 @@
---
# Scans affect disk I/O performance.
bootstrap__defender_enabled: false
# Execution layer Enginer API
windows_exec_layer_urls:
0: ['http://goerli-03.ih-eu-mda1.nimbus.geth.wg:8552']
1: ['http://goerli-03.ih-eu-mda1.nimbus.geth.wg:8553']
beacon_node_exec_layer_urls: '{{ windows_exec_layer_urls[idx] }}'
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'
# Use dedicated data volume
beacon_node_service_home: 'D:'
beacon_node_era_dir_path: 'D:\era'

View File

@ -21,22 +21,15 @@ geth-07.ih-eu-mda1.nimbus.holesky hostname=geth-07.ih-eu-mda1.nimbus.holesky ans
geth-08.ih-eu-mda1.nimbus.holesky hostname=geth-08.ih-eu-mda1.nimbus.holesky ansible_host=194.33.40.140 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=geth-08.ih-eu-mda1.nimbus.holesky.statusim.net
geth-09.ih-eu-mda1.nimbus.holesky hostname=geth-09.ih-eu-mda1.nimbus.holesky ansible_host=194.33.40.141 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=geth-09.ih-eu-mda1.nimbus.holesky.statusim.net
geth-10.ih-eu-mda1.nimbus.holesky hostname=geth-10.ih-eu-mda1.nimbus.holesky ansible_host=194.33.40.147 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=geth-10.ih-eu-mda1.nimbus.holesky.statusim.net
goerli-01.ih-eu-mda1.nimbus.geth hostname=goerli-01.ih-eu-mda1.nimbus.geth ansible_host=194.33.40.234 env=nimbus stage=geth data_center=ih-eu-mda1 region=eu-mda1 dns_entry=goerli-01.ih-eu-mda1.nimbus.geth.statusim.net
goerli-02.ih-eu-mda1.nimbus.geth hostname=goerli-02.ih-eu-mda1.nimbus.geth ansible_host=194.33.40.235 env=nimbus stage=geth data_center=ih-eu-mda1 region=eu-mda1 dns_entry=goerli-02.ih-eu-mda1.nimbus.geth.statusim.net
goerli-03.ih-eu-mda1.nimbus.geth hostname=goerli-03.ih-eu-mda1.nimbus.geth ansible_host=194.33.40.236 env=nimbus stage=geth data_center=ih-eu-mda1 region=eu-mda1 dns_entry=goerli-03.ih-eu-mda1.nimbus.geth.statusim.net
linux-01.ih-eu-mda1.nimbus.mainnet hostname=linux-01.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.70 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-01.ih-eu-mda1.nimbus.mainnet.statusim.net
linux-01.ih-eu-mda1.nimbus.prater hostname=linux-01.ih-eu-mda1.nimbus.prater ansible_host=185.181.230.78 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-01.ih-eu-mda1.nimbus.prater.statusim.net
linux-01.ih-eu-mda1.nimbus.sepolia hostname=linux-01.ih-eu-mda1.nimbus.sepolia ansible_host=185.181.230.77 env=nimbus stage=sepolia data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-01.ih-eu-mda1.nimbus.sepolia.statusim.net
linux-02.ih-eu-mda1.nimbus.mainnet hostname=linux-02.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.72 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-02.ih-eu-mda1.nimbus.mainnet.statusim.net
linux-02.ih-eu-mda1.nimbus.prater hostname=linux-02.ih-eu-mda1.nimbus.prater ansible_host=185.181.230.79 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-02.ih-eu-mda1.nimbus.prater.statusim.net
linux-03.ih-eu-mda1.nimbus.mainnet hostname=linux-03.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.78 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-03.ih-eu-mda1.nimbus.mainnet.statusim.net
linux-03.ih-eu-mda1.nimbus.prater hostname=linux-03.ih-eu-mda1.nimbus.prater ansible_host=185.181.230.121 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-03.ih-eu-mda1.nimbus.prater.statusim.net
linux-04.ih-eu-mda1.nimbus.mainnet hostname=linux-04.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.99 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-04.ih-eu-mda1.nimbus.mainnet.statusim.net
linux-04.ih-eu-mda1.nimbus.prater hostname=linux-04.ih-eu-mda1.nimbus.prater ansible_host=194.33.40.231 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-04.ih-eu-mda1.nimbus.prater.statusim.net
linux-05.ih-eu-mda1.nimbus.mainnet hostname=linux-05.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.100 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-05.ih-eu-mda1.nimbus.mainnet.statusim.net
linux-05.ih-eu-mda1.nimbus.prater hostname=linux-05.ih-eu-mda1.nimbus.prater ansible_host=194.33.40.232 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-05.ih-eu-mda1.nimbus.prater.statusim.net
linux-06.ih-eu-mda1.nimbus.mainnet hostname=linux-06.ih-eu-mda1.nimbus.mainnet ansible_host=194.33.40.101 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-06.ih-eu-mda1.nimbus.mainnet.statusim.net
linux-06.ih-eu-mda1.nimbus.prater hostname=linux-06.ih-eu-mda1.nimbus.prater ansible_host=194.33.40.233 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-06.ih-eu-mda1.nimbus.prater.statusim.net
linux-07.ih-eu-mda1.nimbus.mainnet hostname=linux-07.ih-eu-mda1.nimbus.mainnet ansible_host=185.181.229.82 env=nimbus stage=mainnet data_center=ih-eu-mda1 region=eu-mda1 dns_entry=linux-07.ih-eu-mda1.nimbus.mainnet.statusim.net
macm2-01.ih-eu-mda1.nimbus.holesky hostname=macm2-01.ih-eu-mda1.nimbus.holesky ansible_host=185.181.230.76 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=macm2-01.ih-eu-mda1.nimbus.holesky.statusim.net
mainnet-01.aws-eu-central-1a.nimbus.geth hostname=mainnet-01.aws-eu-central-1a.nimbus.geth ansible_host=18.196.208.138 env=nimbus stage=geth data_center=aws-eu-central-1a region=eu-central-1a dns_entry=mainnet-01.aws-eu-central-1a.nimbus.geth.statusim.net
@ -54,24 +47,17 @@ neth-08.ih-eu-mda1.nimbus.holesky hostname=neth-08.ih-eu-mda1.nimbus.holesky ans
neth-09.ih-eu-mda1.nimbus.holesky hostname=neth-09.ih-eu-mda1.nimbus.holesky ansible_host=185.181.229.100 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=neth-09.ih-eu-mda1.nimbus.holesky.statusim.net
neth-10.ih-eu-mda1.nimbus.holesky hostname=neth-10.ih-eu-mda1.nimbus.holesky ansible_host=185.181.229.103 env=nimbus stage=holesky data_center=ih-eu-mda1 region=eu-mda1 dns_entry=neth-10.ih-eu-mda1.nimbus.holesky.statusim.net
node-01.aws-eu-central-1a.dash.nimbus hostname=node-01.aws-eu-central-1a.dash.nimbus ansible_host=52.28.100.116 env=dash stage=nimbus data_center=aws-eu-central-1a region=eu-central-1a dns_entry=node-01.aws-eu-central-1a.dash.nimbus.statusim.net
stable-large-01.aws-eu-central-1a.nimbus.prater hostname=stable-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.120.202.252 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-large-01.aws-eu-central-1a.nimbus.prater.statusim.net
stable-small-01.aws-eu-central-1a.nimbus.mainnet hostname=stable-small-01.aws-eu-central-1a.nimbus.mainnet ansible_host=3.120.104.18 env=nimbus stage=mainnet data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-small-01.aws-eu-central-1a.nimbus.mainnet.statusim.net
stable-small-02.aws-eu-central-1a.nimbus.mainnet hostname=stable-small-02.aws-eu-central-1a.nimbus.mainnet ansible_host=3.64.117.223 env=nimbus stage=mainnet data_center=aws-eu-central-1a region=eu-central-1a dns_entry=stable-small-02.aws-eu-central-1a.nimbus.mainnet.statusim.net
store-01.he-eu-hel1.logs.nimbus hostname=store-01.he-eu-hel1.logs.nimbus ansible_host=65.108.226.62 env=logs stage=nimbus data_center=he-eu-hel1 region=eu-hel1 dns_entry=store-01.he-eu-hel1.logs.nimbus.statusim.net
store-02.he-eu-hel1.logs.nimbus hostname=store-02.he-eu-hel1.logs.nimbus ansible_host=65.109.62.247 env=logs stage=nimbus data_center=he-eu-hel1 region=eu-hel1 dns_entry=store-02.he-eu-hel1.logs.nimbus.statusim.net
store-03.he-eu-hel1.logs.nimbus hostname=store-03.he-eu-hel1.logs.nimbus ansible_host=65.109.49.101 env=logs stage=nimbus data_center=he-eu-hel1 region=eu-hel1 dns_entry=store-03.he-eu-hel1.logs.nimbus.statusim.net
testing-large-01.aws-eu-central-1a.nimbus.prater hostname=testing-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.65.99.236 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=testing-large-01.aws-eu-central-1a.nimbus.prater.statusim.net
unstable-large-01.aws-eu-central-1a.nimbus.prater hostname=unstable-large-01.aws-eu-central-1a.nimbus.prater ansible_host=3.65.85.130 env=nimbus stage=prater data_center=aws-eu-central-1a region=eu-central-1a dns_entry=unstable-large-01.aws-eu-central-1a.nimbus.prater.statusim.net
windows-01.ih-eu-mda1.nimbus.prater hostname=windows-01.ih-eu-mda1.nimbus.prater ansible_host=194.33.40.240 env=nimbus stage=prater data_center=ih-eu-mda1 region=eu-mda1 dns_entry=windows-01.ih-eu-mda1.nimbus.prater.statusim.net
[aws-eu-central-1a]
mainnet-01.aws-eu-central-1a.nimbus.geth
node-01.aws-eu-central-1a.dash.nimbus
stable-large-01.aws-eu-central-1a.nimbus.prater
stable-small-01.aws-eu-central-1a.nimbus.mainnet
stable-small-02.aws-eu-central-1a.nimbus.mainnet
testing-large-01.aws-eu-central-1a.nimbus.prater
unstable-large-01.aws-eu-central-1a.nimbus.prater
[dash.nimbus]
node-01.aws-eu-central-1a.dash.nimbus
@ -102,22 +88,15 @@ geth-07.ih-eu-mda1.nimbus.holesky
geth-08.ih-eu-mda1.nimbus.holesky
geth-09.ih-eu-mda1.nimbus.holesky
geth-10.ih-eu-mda1.nimbus.holesky
goerli-01.ih-eu-mda1.nimbus.geth
goerli-02.ih-eu-mda1.nimbus.geth
goerli-03.ih-eu-mda1.nimbus.geth
linux-01.ih-eu-mda1.nimbus.mainnet
linux-01.ih-eu-mda1.nimbus.prater
linux-01.ih-eu-mda1.nimbus.sepolia
linux-02.ih-eu-mda1.nimbus.mainnet
linux-02.ih-eu-mda1.nimbus.prater
linux-03.ih-eu-mda1.nimbus.mainnet
linux-03.ih-eu-mda1.nimbus.prater
linux-04.ih-eu-mda1.nimbus.mainnet
linux-04.ih-eu-mda1.nimbus.prater
linux-05.ih-eu-mda1.nimbus.mainnet
linux-05.ih-eu-mda1.nimbus.prater
linux-06.ih-eu-mda1.nimbus.mainnet
linux-06.ih-eu-mda1.nimbus.prater
linux-07.ih-eu-mda1.nimbus.mainnet
macm2-01.ih-eu-mda1.nimbus.holesky
metal-01.ih-eu-mda1.nimbus.eth1
@ -133,7 +112,6 @@ neth-07.ih-eu-mda1.nimbus.holesky
neth-08.ih-eu-mda1.nimbus.holesky
neth-09.ih-eu-mda1.nimbus.holesky
neth-10.ih-eu-mda1.nimbus.holesky
windows-01.ih-eu-mda1.nimbus.prater
[log-dash]
node-01.aws-eu-central-1a.dash.nimbus
@ -150,11 +128,6 @@ metal-01.ih-eu-mda1.nimbus.eth1
metal-01.ih-eu-mda1.nimbus.fluffy
metal-02.ih-eu-mda1.nimbus.fluffy
[nimbus-geth-goerli]
goerli-01.ih-eu-mda1.nimbus.geth
goerli-02.ih-eu-mda1.nimbus.geth
goerli-03.ih-eu-mda1.nimbus.geth
[nimbus-geth-mainnet]
mainnet-01.aws-eu-central-1a.nimbus.geth
@ -213,22 +186,6 @@ stable-small-02.aws-eu-central-1a.nimbus.mainnet
[nimbus-prater-metal]
linux-01.ih-eu-mda1.nimbus.prater
linux-02.ih-eu-mda1.nimbus.prater
linux-03.ih-eu-mda1.nimbus.prater
linux-04.ih-eu-mda1.nimbus.prater
linux-05.ih-eu-mda1.nimbus.prater
linux-06.ih-eu-mda1.nimbus.prater
[nimbus-prater-stable]
stable-large-01.aws-eu-central-1a.nimbus.prater
[nimbus-prater-testing]
testing-large-01.aws-eu-central-1a.nimbus.prater
[nimbus-prater-unstable]
unstable-large-01.aws-eu-central-1a.nimbus.prater
[nimbus-prater-windows]
windows-01.ih-eu-mda1.nimbus.prater
[nimbus-sepolia-linux]
linux-01.ih-eu-mda1.nimbus.sepolia
@ -241,9 +198,6 @@ metal-01.ih-eu-mda1.nimbus.fluffy
metal-02.ih-eu-mda1.nimbus.fluffy
[nimbus.geth]
goerli-01.ih-eu-mda1.nimbus.geth
goerli-02.ih-eu-mda1.nimbus.geth
goerli-03.ih-eu-mda1.nimbus.geth
mainnet-01.aws-eu-central-1a.nimbus.geth
[nimbus.holesky]
@ -293,14 +247,6 @@ stable-small-02.aws-eu-central-1a.nimbus.mainnet
[nimbus.prater]
linux-01.ih-eu-mda1.nimbus.prater
linux-02.ih-eu-mda1.nimbus.prater
linux-03.ih-eu-mda1.nimbus.prater
linux-04.ih-eu-mda1.nimbus.prater
linux-05.ih-eu-mda1.nimbus.prater
linux-06.ih-eu-mda1.nimbus.prater
stable-large-01.aws-eu-central-1a.nimbus.prater
testing-large-01.aws-eu-central-1a.nimbus.prater
unstable-large-01.aws-eu-central-1a.nimbus.prater
windows-01.ih-eu-mda1.nimbus.prater
[nimbus.sepolia]
linux-01.ih-eu-mda1.nimbus.sepolia

View File

@ -9,27 +9,6 @@
- local_action: command ./versioncheck.py
changed_when: false
- name: Deploy prater AWS Linux nodes
become: true
# To avoid clashing/duplicate validators.
any_errors_fatal: true
serial: '{{ serial|default(1) }}'
vars_files: layout/prater.yml
hosts:
- nimbus-prater-stable
- nimbus-prater-testing
- nimbus-prater-unstable
roles:
- { role: open-ports, tags: open-ports }
- { role: get-geth-api-urls, tags: get-geth-api-urls }
tasks:
- include_role: name=infra-role-beacon-node-linux
tags: [ beacon-node, infra-role-beacon-node-linux ]
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx
- name: Deploy prater Hetzner linux nodes
become: true
serial: '{{ serial|default(1) }}'
@ -69,56 +48,3 @@
loop_control:
loop_var: node
index_var: idx
- name: Deploy prater Geth nodes for Windows
become: true
serial: '{{ serial|default(1) }}'
vars_files: layout/prater.yml
hosts: nimbus-geth-goerli-windows
roles:
- { role: swap-file, tags: swap-file }
- { role: open-ports, tags: open-ports }
tasks:
- include_role: name=infra-role-geth
tags: [ geth, infra-role-geth ]
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx
- include_role: name=infra-role-geth-exporter
tags: [ geth-exporter, infra-role-geth-exporter ]
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx
- name: Deploy prater Windows beacon nodes
become: true
become_user: 'admin'
serial: '{{ serial|default(1) }}'
vars_files: layout/prater.yml
hosts: nimbus-prater-windows
fact_path: 'C:/ansible/facts.d'
roles:
- { role: get-geth-api-urls, tags: [ get-geth-api-urls ] }
tasks:
- include_role: name=infra-role-beacon-node-windows
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx
- name: Deploy prater macOS beacon nodes
become: true
serial: '{{ serial|default(1) }}'
vars_files: layout/prater.yml
hosts: nimbus-prater-macos
roles:
- { role: get-geth-api-urls, tags: [ get-geth-api-urls ] }
- { role: nimbus-era-files, tags: [ nimbus-era-files ] }
tasks:
- include_role: name=infra-role-beacon-node-macos
with_items: '{{ nodes_layout[hostname] }}'
loop_control:
loop_var: node
index_var: idx

View File

@ -2,54 +2,15 @@
# This is data for infra-role-dist-validators.
# To search for a validator ID see: ansible/files/layouts/nimbus.prater.tsv
nodes_layout:
# WARNING: The nodes hosted on AWS are bootstrap nodes and should not be changed.
'stable-large-01.aws-eu-central-1a.nimbus.prater': # 2000 each
- { branch: 'stable', start: 0, end: 2000, history: 'archive' }
'testing-large-01.aws-eu-central-1a.nimbus.prater': # 2000 each
- { branch: 'testing', start: 2000, end: 4000, history: 'archive' }
'unstable-large-01.aws-eu-central-1a.nimbus.prater': # 2000 each
- { branch: 'unstable', start: 4000, end: 6000, history: 'archive', payload_builder: true }
'windows-01.ih-eu-mda1.nimbus.prater':
- { branch: 'stable', build_start: '13:00:00' }
- { branch: 'testing', build_start: '15:00:00' }
- { branch: 'unstable', build_start: '16:00:00', nim_flags: '-d:json_rpc_websocket_package=websock' }
# Innova Hosting
'linux-01.ih-eu-mda1.nimbus.prater': # 0 each
- { branch: 'stable', start: 6000, end: 8000, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', start: 8000, end: 10000, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', start: 10000, end: 12000, build_freq: '*-*-* 17:00:00', public_api: true }
- { branch: 'libp2p', start: 12000, end: 14000, build_freq: '*-*-* 19:00:00' }
'linux-01.ih-eu-mda1.nimbus.prater': # 2500 each
- { branch: 'stable', start: 0, end: 2500, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', start: 2500, end: 5000, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', start: 5000, end: 7500, build_freq: '*-*-* 17:00:00', public_api: true }
- { branch: 'libp2p', start: 7500, end: 10000, build_freq: '*-*-* 19:00:00' }
'linux-02.ih-eu-mda1.nimbus.prater': # 1 each
- { branch: 'stable', start: 14000, end: 16000, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', start: 16000, end: 18000, build_freq: '*-*-* 15:00:00', public_api: true }
- { branch: 'unstable', start: 18000, end: 20000, build_freq: '*-*-* 17:00:00', nethermind: true }
- { branch: 'libp2p', start: 20000, end: 20004, build_freq: '*-*-* 19:00:00' }
'linux-03.ih-eu-mda1.nimbus.prater': # 10 each
- { branch: 'stable', start: 20004, end: 20014, build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', start: 20024, end: 20034, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', start: 20014, end: 20024, build_freq: '*-*-* 13:00:00', validator_client: true, open_libp2p_ports: false }
- { branch: 'libp2p', start: 20034, end: 20044, build_freq: '*-*-* 17:00:00' }
'linux-04.ih-eu-mda1.nimbus.prater': # 30 each
- { branch: 'stable', start: 20044, end: 20074, build_freq: '*-*-* 11:00:00', validator_client: true }
- { branch: 'testing', start: 20104, end: 20134, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', start: 20074, end: 20104, build_freq: '*-*-* 13:00:00', nethermind: true, payload_builder: true }
- { branch: 'libp2p', start: 20134, end: 20164, build_freq: '*-*-* 17:00:00' }
'linux-05.ih-eu-mda1.nimbus.prater': # 60 each
- { branch: 'stable', start: 20164, end: 20224, build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', start: 20284, end: 20344, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', start: 20224, end: 20284, build_freq: '*-*-* 13:00:00', open_libp2p_ports: false }
- { branch: 'libp2p', start: 20344, end: 20404, build_freq: '*-*-* 17:00:00' }
'linux-06.ih-eu-mda1.nimbus.prater':
- { branch: 'stable', start: 20404, end: 29617, build_freq: '*-*-* 11:00:00' } # 9213 validators
- { branch: 'testing', start: 29617, end: 37617, build_freq: '*-*-* 15:00:00', validator_client: true, payload_builder: true, open_libp2p_ports: false } # 8000 validators
- { branch: 'unstable', start: 37617, end: 43617, build_freq: '*-*-* 13:00:00', payload_builder: true } # 6000 validators
- { branch: 'libp2p', start: 43617, end: 49617, build_freq: '*-*-* 17:00:00', validator_client: true } # 6000 validators
'linux-02.ih-eu-mda1.nimbus.prater': # 10000 each
- { branch: 'stable', start: 10000, end: 20000, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', start: 20000, end: 30000, build_freq: '*-*-* 15:00:00', public_api: true }
- { branch: 'unstable', start: 30000, end: 40000, build_freq: '*-*-* 17:00:00' }
- { branch: 'libp2p', start: 40000, end: 49617, build_freq: '*-*-* 19:00:00' }

18
geth.tf
View File

@ -24,21 +24,3 @@ module "nimbus_geth_mainnet" {
secgroup_id = module.nimbus_network.secgroup.id
keypair_name = aws_key_pair.jakubgs.key_name
}
module "nimbus_geth_goerli_innova" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "goerli"
env = "nimbus"
stage = "geth"
group = "nimbus-geth-goerli"
region = "eu-mda1"
prefix = "ih"
domain = var.domain
ips = [
"194.33.40.234", # goerli-01.ih-eu-mda1.nimbus.geth
"194.33.40.235", # goerli-02.ih-eu-mda1.nimbus.geth
"194.33.40.236", # goerli-03.ih-eu-mda1.nimbus.geth
]
}

View File

@ -3,16 +3,11 @@ output "hosts" {
module.nimbus_dashboard.hosts,
module.nimbus_log_store.hosts,
module.nimbus_geth_mainnet.hosts,
module.nimbus_geth_goerli_innova.hosts,
module.nimbus_nodes_fluffy_innova.hosts,
module.nimbus_eth1_node_innova.hosts,
module.nimbus_nodes_mainnet_innova.hosts,
module.nimbus_nodes_mainnet_stable_small.hosts,
module.nimbus_nodes_prater_stable_large.hosts,
module.nimbus_nodes_prater_testing_large.hosts,
module.nimbus_nodes_prater_unstable_large.hosts,
module.nimbus_nodes_prater_innova.hosts,
module.nimbus_nodes_prater_windows_innova.hosts,
module.nimbus_nodes_sepolia_innova.hosts,
module.nimbus_nodes_holesky_innova_geth.hosts,
module.nimbus_nodes_holesky_innova_erigon.hosts,

117
prater.tf
View File

@ -1,114 +1,3 @@
locals {
/* Volumes */
prater_root_vol_size = 20
prater_data_vol_size = 600
prater_data_vol_type = "gp2"
/* Instances */
prater_large_instance_type = "z1d.large"
}
module "nimbus_nodes_prater_stable_large" {
source = "github.com/status-im/infra-tf-amazon-web-services"
name = "stable-large"
env = "nimbus"
stage = "prater"
group = "nimbus-prater-stable"
domain = var.domain
/* Scaling */
type = local.prater_large_instance_type
root_vol_size = local.prater_root_vol_size
data_vol_size = local.prater_data_vol_size
data_vol_type = local.prater_data_vol_type
host_count = 1
/* Firewall */
open_udp_ports = local.nimbus_ports
open_tcp_ports = local.nimbus_ports
/* Plumbing */
vpc_id = module.nimbus_network.vpc.id
subnet_id = module.nimbus_network.subnets[0].id
secgroup_id = module.nimbus_network.secgroup.id
keypair_name = aws_key_pair.jakubgs.key_name
}
module "nimbus_nodes_prater_testing_large" {
source = "github.com/status-im/infra-tf-amazon-web-services"
name = "testing-large"
env = "nimbus"
stage = "prater"
group = "nimbus-prater-testing"
domain = var.domain
/* Scaling */
type = local.prater_large_instance_type
root_vol_size = local.prater_root_vol_size
data_vol_size = local.prater_data_vol_size
data_vol_type = local.prater_data_vol_type
host_count = 1
/* Firewall */
open_udp_ports = local.nimbus_ports
open_tcp_ports = local.nimbus_ports
/* Plumbing */
vpc_id = module.nimbus_network.vpc.id
subnet_id = module.nimbus_network.subnets[0].id
secgroup_id = module.nimbus_network.secgroup.id
keypair_name = aws_key_pair.jakubgs.key_name
}
module "nimbus_nodes_prater_unstable_large" {
source = "github.com/status-im/infra-tf-amazon-web-services"
name = "unstable-large"
env = "nimbus"
stage = "prater"
group = "nimbus-prater-unstable"
domain = var.domain
/* Scaling */
type = local.prater_large_instance_type
root_vol_size = local.prater_root_vol_size
data_vol_size = local.prater_data_vol_size
data_vol_type = local.prater_data_vol_type
host_count = 1
/* Firewall */
open_udp_ports = local.nimbus_ports
open_tcp_ports = local.nimbus_ports
/* Plumbing */
vpc_id = module.nimbus_network.vpc.id
subnet_id = module.nimbus_network.subnets[0].id
secgroup_id = module.nimbus_network.secgroup.id
keypair_name = aws_key_pair.jakubgs.key_name
}
module "nimbus_nodes_prater_windows_innova" {
source = "github.com/status-im/infra-tf-dummy-module"
name = "windows"
env = "nimbus"
stage = "prater"
group = "nimbus-prater-windows"
region = "eu-mda1"
prefix = "ih"
domain = var.domain
/* Windows */
become_user = "admin"
become_method = "runas"
shell_type = "powershell"
ips = [
"194.33.40.240", # windows-01.ih-eu-mda1.nimbus.prater
]
}
module "nimbus_nodes_prater_innova" {
source = "github.com/status-im/infra-tf-dummy-module"
@ -123,10 +12,6 @@ module "nimbus_nodes_prater_innova" {
ips = [
"185.181.230.78", # linux-01.ih-eu-mda1.nimbus.prater
"185.181.230.79", # linux-02.ih-eu-mda1.nimbus.prater
"185.181.230.121", # linux-03.ih-eu-mda1.nimbus.prater
"194.33.40.231", # linux-04.ih-eu-mda1.nimbus.prater
"194.33.40.232", # linux-05.ih-eu-mda1.nimbus.prater
"194.33.40.233", # linux-06.ih-eu-mda1.nimbus.prater
]
}
@ -142,7 +27,7 @@ resource "cloudflare_record" "unstable_prater_beacon_api" {
resource "cloudflare_record" "testing_prater_beacon_api" {
zone_id = local.zones["nimbus.team"]
name = "testing.prater.beacon-api"
value = module.nimbus_nodes_prater_innova.public_ips[1]
value = module.nimbus_nodes_prater_innova.public_ips[0]
type = "A"
proxied = false
}