tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
428 stars 37 forks source link

Multi host support #85

Open maZahaca opened 8 years ago

maZahaca commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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:

maZahaca commented 8 years ago

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