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

Multi host support #85

Open
maZahaca opened this issue Dec 24, 2015 · 3 comments
Open

Multi host support #85

maZahaca opened this issue Dec 24, 2015 · 3 comments

Comments

@maZahaca
Copy link

Hi,
After a lot reading about pm2 I realized that they do not support multi-host ability (to see and manage in one interface applications from different servers).

Is it possible to do in your app?
Do you have more convenient way to manage hosts. I have the same processes which are located on different hosts. They can be added dynamically. The do the same jobs. Is it any way aggregate that processes in the web interface?

So that has the same meaning as cluster in your docs, but each process is located on separate host

@achingbrain
Copy link
Member

Multi-host monitoring is the main reason why guvnor came into being.

As you've seen, the guvnor-web-hosts file is how you configure multiple hosts - the purpose of that file is to configure authentication and connection information guvnor-web will use to connect to remote hosts (e.g. host, port).

To add hosts dynamically you'd need a way of getting this connection/authentication information on the fly but I'm not sure how you'd do it without some sort of central registry that guvnor-web would query and guvnor daemons would register themselves with or something.

Did you have anything in mind?

@maZahaca
Copy link
Author

I use tutum.co. It allows to create multiple hosts from Docker repository and also have API to get info about each instance. On the start we could pass all necessary information to the container as params. So I would use that API to get list of hosts and send it to guv.
And here good features to have:

  • Ability to override hosts provider, and replace them on the fly.
  • Aggregate info in the UI about such clusters (number of nodes could be 100+).

@maZahaca
Copy link
Author

Do you use it in production somewhere? How many hosts does it serve ?

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

2 participants