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

Setting up a private network #95

Closed
AlexBHarley opened this issue Aug 9, 2019 · 6 comments
Closed

Setting up a private network #95

AlexBHarley opened this issue Aug 9, 2019 · 6 comments
Labels
scope: docs Improvements or additions to documentation

Comments

@AlexBHarley
Copy link

To me it doesn't look like this repository sets up a proper network. In the /network folder I see all the ansible and terraform work that has been done but from what I can see the nodes will never connect to each other.

So I run make validators-start or make fullnodes-start with the configured number of servers per az (availability zone) and number of az's... let's pretend two az's and one server in each.

How do these servers know about each other? I can't see anything editing the persistent_peers entry in the config.toml file.

@AlexBHarley
Copy link
Author

According to this guide https://tendermint.com/docs/networks/terraform-and-ansible.html#ansible I do need to edit the config.toml or apply a --persistent-seeds flag

@alexanderbez
Copy link
Contributor

This repository allows you to run a local network of 4 nodes via make localnet-start. As for spinning up networks in cloud environments, I'm not too sure of. Maybe @mircea-c or @greg-szabo can help there.

@AlexBHarley
Copy link
Author

I've gotten something working by crawling the nodes and then using the /dial_peers endpoint.

@AlexBHarley
Copy link
Author

Following up on this, are there any open source examples of peoples infrastructure?

Many things are missing in this repo which makes me think the problems we're solving wrt. infrastructure are being done by everyone.

In particular would be great to get some conversation going around setting up a sentry node architecture with multiple validator nodes and some kind of cloud KMS in place.

@alexanderbez
Copy link
Contributor

Documentation does exist. I recommend taking a look at various validator's blogs/posts on their infra (e.g https://iqlusion.blog/a-look-inside-our-validator-architecture).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants