Create a DV Alone
Last updated
Last updated
A basic of Ethereum nodes and validators.
Ensure you have installed.
Ensure you have installed.
Make sure docker
is running before executing the commands below.
Go to the the and select Create a distributed validator alone
. Follow the steps to configure your DV cluster. The Launchpad will give you a docker command to create your cluster.
Before you run the command, clone the and cd
into the directory.
After the create cluster
command is run, you should have multiple subfolders within the newly created ./cluster/
folder, one for each node created.
Backup the ./cluster/
folder, then move on to deploying the cluster.
This part of the guide only runs one Execution Client, one Consensus Client, and 6 Distributed Validator Charon Client + Validator Client pairs on a single docker instance, and is not suitable for a mainnet deployment. (If this machine fails, there will not be any fault tolerance - the cluster will also fail.)
For a production deployment with fault tolerance, follow the part of the guide instructing you how to distribute the nodes across multiple machines.
Check the monitoring dashboard and see if things look all right.
Run this command to start your cluster containers if you deployed using the .
To distribute your cluster across multiple machines, each node in the cluster needs one of the folders called node*/
to be copied to it. Each folder should be copied to a and renamed from node*
to .charon
.
Right now, the charon create cluster
command outputs a folder structure like cluster/node*/
. Make sure to grab the ./node*/
folders, rename them to .charon
and then move them to one of the single node repos below. Once all nodes are online, synced, and connected, you will be ready to activate your validator.
👉 Use the single node , the kubernetes , or the example repos to get your nodes up and connected after loading the .charon
folder artifacts into them appropriately.
Output from create cluster:
Setup the desired inputs for the DV, including the network you wish to operate on. Check the for additional optional flags to set. Once you have set the values you wish to use. Make a copy of this file called .env
.