new validator layout for prater fleet

The `0/1/10/30/60/899/4000` layout will require 3 more hosts.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-02-15 21:10:38 +01:00 committed by Jakub
parent 3d4679f0d3
commit 65304b6aaa
1 changed files with 57 additions and 59 deletions

View File

@ -9,7 +9,7 @@ beacon_node_repo_branch: >-
beacon_node_nim_commit: '{{ node.get("nim_commit", "") }}'
# TODO Drop this once all nodes have an number.
service_number: '{{ node.get("num", False) | ternary(("-%02d"|format(node.get("num", 0))), "") }}'
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.branch }}{{ service_number }}'
beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.branch }}'
# Ports
beacon_node_discovery_port: '{{ 9000 + port_offset }}'
beacon_node_listening_port: '{{ 9000 + port_offset }}'
@ -20,7 +20,11 @@ beacon_node_rpc_port: '{{ 9900 + port_offset }}'
beacon_node_firewall_libp2p_open: '{{ node.get("open_libp2p_ports", true) }}'
# Tuning
beacon_node_max_peers: 300
beacon_node_threads: '{{ (node.branch == "testing") | ternary(4, 1) }}'
beacon_node_threads: >-
{{ node.num_threads is defined | ternary(
node.num_threads,
(node.branch == "testing") | ternary(4, 1)
) }}
# Monitoring
beacon_node_validator_monitor_auto: '{{ node.branch == "unstable" }}'
beacon_node_validator_monitor_totals: >-
@ -42,71 +46,65 @@ beacon_node_web3_urls: '{{ beacon_node_web3_urls_all | reject("match", "^http://
# Split by hostname for more central location
nodes_layout:
'stable-large-01.aws-eu-central-1a.nimbus.prater':
- { branch: 'stable', start: 0, end: 2500 }
# 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 }
'testing-large-01.aws-eu-central-1a.nimbus.prater':
- { branch: 'testing', start: 12500, end: 15000 }
'testing-large-01.aws-eu-central-1a.nimbus.prater': # 2000 each
- { branch: 'testing', start: 2000, end: 4000 }
'unstable-large-01.aws-eu-central-1a.nimbus.prater':
- { branch: 'unstable', start: 25000, end: 27500 }
'unstable-large-01.aws-eu-central-1a.nimbus.prater': # 2000 each
- { branch: 'unstable', start: 4000, end: 6000 }
'metal-01.he-eu-hel1.nimbus.prater':
- { branch: 'stable', num: 1, start: 10000, end: 12500, build_freq: '*-*-* 12:00:00' }
- { branch: 'stable', num: 2, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', num: 1, start: 22500, end: 25000, build_freq: '*-*-* 14:00:00', open_libp2p_ports: false }
- { branch: 'testing', num: 2, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', num: 1, start: 35000, end: 37500, build_freq: '*-*-* 16:00:00', open_libp2p_ports: false }
- { branch: 'unstable', num: 2, build_freq: '*-*-* 17:00:00', public_api: true }
- { branch: 'libp2p', num: 1, start: 38750, end: 40000, build_freq: '*-*-* 18:00:00' } # 1250 validators
- { branch: 'libp2p', num: 2, build_freq: '*-*-* 19:00:00' }
'macos-01.ms-eu-dublin.nimbus.prater': # 2000 each
- { branch: 'stable', start: 6000, end: 8000, build_start: '13:00:00' }
- { branch: 'testing', start: 8000, end: 10000, build_start: '15:00:00' }
- { branch: 'unstable', start: 12000, end: 12000, build_start: '16:00:00' }
- { branch: 'libp2p', start: 12000, end: 14000, build_start: '17:00:00' }
'metal-02.he-eu-hel1.nimbus.prater':
- { branch: 'stable', num: 1, start: 5000, end: 7500, build_freq: '*-*-* 12:00:00' }
- { branch: 'stable', num: 2, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', num: 1, start: 17500, end: 20000, build_freq: '*-*-* 14:00:00' }
- { branch: 'testing', num: 2, build_freq: '*-*-* 15:00:00', public_api: true }
- { branch: 'unstable', num: 1, start: 30000, end: 32500, build_freq: '*-*-* 16:00:00' }
- { branch: 'unstable', num: 2, build_freq: '*-*-* 17:00:00' }
- { branch: 'libp2p', num: 1, start: 37500, end: 38750, build_freq: '*-*-* 18:00:00' } # 1250 validators
- { branch: 'libp2p', num: 2, build_freq: '*-*-* 19:00:00' }
'windows-01.gc-us-central1-a.nimbus.prater': # 2000 each
- { branch: 'stable', start: 14000, end: 16000, build_start: '13:00:00' }
- { branch: 'testing', start: 16000, end: 18000, build_start: '15:00:00' }
- { branch: 'unstable', start: 18000, end: 20000, build_start: '16:00:00' }
'metal-03.he-eu-hel1.nimbus.prater':
- { branch: 'stable', build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', build_freq: '*-*-* 13:00:00' }
- { branch: 'libp2p', build_freq: '*-*-* 17:00:00' }
'metal-01.he-eu-hel1.nimbus.prater': # 0 each
- { branch: 'stable', build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', build_freq: '*-*-* 17:00:00', public_api: true }
- { branch: 'libp2p', build_freq: '*-*-* 19:00:00' }
'metal-04.he-eu-hel1.nimbus.prater':
- { branch: 'stable', build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', build_freq: '*-*-* 13:00:00' }
- { branch: 'libp2p', build_freq: '*-*-* 17:00:00' }
'metal-02.he-eu-hel1.nimbus.prater': # 1 each
- { branch: 'stable', start: 20000, end: 20001, build_freq: '*-*-* 13:00:00' }
- { branch: 'testing', start: 20001, end: 20002, build_freq: '*-*-* 15:00:00', public_api: true }
- { branch: 'unstable', start: 20002, end: 20003, build_freq: '*-*-* 17:00:00' }
- { branch: 'libp2p', start: 20003, end: 20004, build_freq: '*-*-* 19:00:00' }
'metal-05.he-eu-hel1.nimbus.prater':
- { branch: 'stable', build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', build_freq: '*-*-* 13:00:00' }
- { branch: 'libp2p', build_freq: '*-*-* 17:00:00' }
'metal-03.he-eu-hel1.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', open_libp2p_ports: false }
- { branch: 'libp2p', start: 20034, end: 20044, build_freq: '*-*-* 17:00:00' }
'metal-06.he-eu-hel1.nimbus.prater':
- { branch: 'stable', build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', build_freq: '*-*-* 15:00:00', branch_override: 'nim-1.6', nim_commit: 'version-1-6' }
- { branch: 'unstable', build_freq: '*-*-* 13:00:00' }
- { branch: 'libp2p', build_freq: '*-*-* 17:00:00' }
'metal-04.he-eu-hel1.nimbus.prater': # 30 each
- { branch: 'stable', start: 20044, end: 20074, build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', start: 20104, end: 20134, build_freq: '*-*-* 15:00:00' }
- { branch: 'unstable', start: 20074, end: 20104, build_freq: '*-*-* 13:00:00' }
- { branch: 'libp2p', start: 20134, end: 20164, build_freq: '*-*-* 17:00:00' }
'metal-07.he-eu-hel1.nimbus.prater':
- { branch: 'stable', build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', build_freq: '*-*-* 15:00:00', branch_override: 'nim-1.6', nim_commit: 'version-1-6' }
- { branch: 'unstable', build_freq: '*-*-* 13:00:00' }
- { branch: 'libp2p', build_freq: '*-*-* 17:00:00' }
'metal-05.he-eu-hel1.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' }
- { branch: 'libp2p', start: 20344, end: 20404, build_freq: '*-*-* 17:00:00' }
'windows-01.gc-us-central1-a.nimbus.prater':
- { branch: 'stable', start: 7500, end: 10000, build_start: '13:00:00' }
- { branch: 'testing', start: 32500, end: 35000, build_start: '15:00:00' }
- { branch: 'unstable', start: 20000, end: 22500, build_start: '16:00:00' }
'metal-06.he-eu-hel1.nimbus.prater': # 899 each
- { branch: 'stable', start: 20404, end: 22303, build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', start: 24202, end: 26101, build_freq: '*-*-* 15:00:00', open_libp2p_ports: false, branch_override: 'nim-1.6', nim_commit: 'version-1-6' }
- { branch: 'unstable', start: 22303, end: 24202, build_freq: '*-*-* 13:00:00' }
- { branch: 'libp2p', start: 26101, end: 28000, build_freq: '*-*-* 17:00:00' }
'macos-01.ms-eu-dublin.nimbus.prater':
- { branch: 'stable', start: 2500, end: 5000, build_start: '13:00:00' }
- { branch: 'testing', start: 15000, end: 17500, build_start: '15:00:00' }
- { branch: 'unstable', start: 27500, end: 30000, build_start: '16:00:00' }
'metal-07.he-eu-hel1.nimbus.prater': # 4000 each
- { branch: 'stable', start: 28000, end: 31000, build_freq: '*-*-* 11:00:00' }
- { branch: 'testing', start: 34000, end: 37000, build_freq: '*-*-* 15:00:00', num_threads: 0, branch_override: 'nim-1.6', nim_commit: 'version-1-6' }
- { branch: 'unstable', start: 31000, end: 34000, build_freq: '*-*-* 13:00:00', open_libp2p_ports: false }
- { branch: 'libp2p', start: 37000, end: 40000, build_freq: '*-*-* 17:00:00' }