Open SyedMuhamadYasir opened 12 months ago
I'm not sure what you mean by redundancy node, but you can configure the NUM_NODES
variable in the script to run multiple nodes, which can give you more redundancy.
i meant setting up another node on a physically separate machine
As long as you facilitate peer discovery for the execution client and the consensus client, you can run from any machine. You will need to modify the script ofcourse, but this script can be used as a reference and nothing new will be required.
E.g.
Machine 1: Run execution client bootnode. Store the enode
Machine 2: Run Node 1 (execution client configured to use bootnode from Machine 1 / consensus client with no bootnode)
Machine 3: Run Node 2 (execution client configured to use bootnode from Machine 1 / consensus client configured to use Machine 2's consensus client as bootnode).
You'll also need to make sure all nodes have the same genesis, as done in my script.
Hi @SyedMuhamadYasir , @rzmahmood ! Hope you both are doing well.
Machine 1: I am running the bootnode Machine 2: Node-1) Running the geth node with machine 1 bootnode and beacon node without bootstrap node Node-2) Running 2nd geth node with machine 1 bootnode and beacon node with first beacon bootstrap node. Machine 3: Node-3) Running 3rd geth node with machine 1 bootnode and beacon node with first beacon bootstrap node.
Here I'm running 2 nodes from machine2 and 1 node from machine3 and machine2 2 nodes are creating separate blockchains and the machine3 node is not connecting with the other 2 nodes, showing looking for peers.
Here i am using the same genesis files and i am creating the new accounts per each node and adding in genesis file extract data to become a validator.
2_beacon_node.txt 1_beacon_node.txt 2_geth_node.txt 1_geth_node.txt
Hi @SyedMuhamadYasir , @rzmahmood ! Hope you both are doing well.
I am also creating the two nodes from different droplets with same Genesis file and boot node and prysm bootstrap node from node1 and facing the same issue how to resolve that??
Any help is greatly appreciated !
I am running geth with lighthouse and will appreciate your guidance!