nimbus.mainnet: use --no-el for even number nodes

Attempted fix issues with syncing where latency on the Geth endpoint is
too high for beacon nodes to finish syncing properly.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-05-05 20:07:00 +02:00
parent 01cf22c9f8
commit 406ac58f16
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 9 additions and 5 deletions

View File

@ -69,12 +69,16 @@ beacon_node_light_client_data_import_mode: 'full'
# Execution layer Enginer API
beacon_node_exec_layer_jwt_secret: '{{ geth_authrpc_jwtsecret }}'
beacon_node_exec_layer_urls_local_geth: ['http://localhost:{{ geth_authrpc_port|string }}']
beacon_node_exec_layer_urls: |-
beacon_node_exec_layer_urls_auto: |-
{{ (data_center in ["he-eu-hel1", "ih-eu-mda1"])
| ternary(
beacon_node_exec_layer_urls_local_geth,
beacon_node_exec_layer_urls_discovered_geth
) }}
beacon_node_exec_layer_urls: |-
{{ beacon_node_exec_layer_urls_auto if inventory_hostname_short == "linux-01"
else (idx % 2 == 0) | ternary(beacon_node_exec_layer_urls_auto, []) }}
# Periodic resync to save space
beacon_node_resync_enabled: true
beacon_node_resync_timer_enabled: '{{ (idx % 2 == 1) and not node.get("public_api") }}'
@ -111,7 +115,7 @@ nodes_layout:
- { branch: 'stable', history: 'archive' }
# Innova Hosting ---------------------------------------------------
'linux-01.ih-eu-mda1.nimbus.mainnet':
'linux-01.ih-eu-mda1.nimbus.mainnet': # Frankenstein host, all nodes use one Geth.
- { branch: 'stable', num: 1 }
- { branch: 'stable', num: 2 }
- { branch: 'testing', num: 1, open_libp2p_ports: false }

View File

@ -45,17 +45,17 @@
- name: infra-role-beacon-node-linux
src: git@github.com:status-im/infra-role-beacon-node-linux.git
version: 99a445d1ee3fa8d437088e72df6e9f88edf148d9
version: c401b27637e3b06e4a5de05618edce0f7f36b40c
scm: git
- name: infra-role-beacon-node-windows
src: git@github.com:status-im/infra-role-beacon-node-windows.git
version: dba21b36df6f9a3282f59fd71efe45c010c1b10f
version: f3fc1aa3093fa2832a70d2ebb43269ebd16eb307
scm: git
- name: infra-role-beacon-node-macos
src: git@github.com:status-im/infra-role-beacon-node-macos.git
version: eecf9feaa02f2ddd9c5e35b00c6d0e897a1a11af
version: 370b823f5f54578e5cbb7c53c2d91b442384def4
scm: git
- name: infra-role-validator-client