Ansible role for Nimbus Eth2 beacon node on Windows
https://github.com/status-im/nimbus-eth2
Jakub Sokołowski
b2f8af3f87
Signed-off-by: Jakub Sokołowski <jakub@status.im> |
||
---|---|---|
defaults | ||
meta | ||
tasks | ||
templates | ||
README.md |
README.md
Description
This role provisions a Nimbus installation that can act as an ETH2 network bootstrap node.
Ports
The service exposes three ports by default:
9000
- LibP2P peering port. Must ALWAYS be public.9200
- JSON RPC port. Must NEVER be public.9900
- Prometheus metrics port. Should not be public.
Configuration
Minimum configuration would include.
beacon_node_network: 'testnet0'
# Infura Web Sockets URLs
beacon_node_web3_urls: ['wss://mainnet.infura.io/ws/v3/123qwe123qwe123qwe']
The order of Web Socket URLs matters. First is the default, the rest are fallbacks.
It might be useful to increase the log verbosity level:
beacon_node_log_level: DEBUG
Management
The containers are managed using WinSW.
TODO
The logs for scheduled tasks running builds can be looked up using Get-WinEvent
:
PS C:\Users\nimbus\beacon-node-prater-stable> Get-WinEvent -LogName Microsoft-Windows-TaskScheduler/Operational | Select -First 4 | ft -Property TimeCreated,Message
TimeCreated Message
----------- -------
6/17/2021 11:09:46 AM Task Scheduler did not launch task "\beacon-node-prater-unstable-build" because instance "{afe16e96-be8d-40b8-a398-b3be6513de88}" of the same task is already running.
6/17/2021 11:09:46 AM Task Scheduler launched "{72498e41-91ee-4318-95f4-54daca2acf2f}" instance of task "\beacon-node-prater-unstable-build" for user "System" .
6/17/2021 11:09:46 AM Task Scheduler queued instance "{72498e41-91ee-4318-95f4-54daca2acf2f}" of task "\beacon-node-prater-unstable-build".
6/17/2021 11:06:55 AM Task Scheduler successfully finished "{747c0708-0908-4514-a4b4-c6e71d6132c0}" instance of the "\beacon-node-prater-stable-build" task for user "NT AUTHORITY\SYSTEM".