Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to do if i want to set up a redundancy node for this (or similar) setup ? #14

Open
SyedMuhamadYasir opened this issue Nov 10, 2023 · 5 comments

Comments

@SyedMuhamadYasir
Copy link

Any help is greatly appreciated !

I am running geth with lighthouse and will appreciate your guidance!

@rzmahmood
Copy link
Owner

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.

@SyedMuhamadYasir
Copy link
Author

i meant setting up another node on a physically separate machine

@rzmahmood
Copy link
Owner

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.

@cryptonix21
Copy link

cryptonix21 commented Nov 21, 2023

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

@rupamharod1
Copy link

rupamharod1 commented Nov 25, 2023

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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants