Set up multiple server instances
I am using Ubuntu server 12.04 and I want to run multiple instances of Stratum mining proxy and use HAProxy to distribute the load.
My main question is, how can I create multiple instances of the server software(Stratum mining proxy) on my machine? Since this is my first time doing something like this, am I correct in assuming that: I simply have to create multiple instances of Stratum mining proxy with different ports on the same IP and then use HAProxy to distribute the load over those ports? Thanks in advance! EDIT: Just to be clear, its less about the actual software and more about how it is possible to run multiple instances of server software on one machine. This software could be anything (for example a Minecraft server). |
Quote:
|
Quote:
I'm sorry if this is a stupid question, I'm fairly new to Linux |
Commonly daemons run in the background so executing the app with the right args should clear the terminal to run another one. So you would only use screen sessions for daemons that don't background themselves properly or processes that don't expect to be run in the background.
|
Quote:
This particular software doesn't have a daemon option, so I guess I'll either have to code it or use screens! Thanks a million! :) |
Quote:
Code:
/path/to/application --whatever-args --you-need Code:
/path/to/application --whatever-args --you-need & |
All times are GMT -5. The time now is 06:14 AM. |