Post Reply 
network segregation of multiple instances
13-04-2021, 20:52
Post: #1
network segregation of multiple instances
I'm confused on how to separate multiple instances on a linux minimserver. i understand how to install into different directories, but i'm not seeing how clients would "see" the different instances. Do you configure secondary instances on different ports? do you add additional IPs in the server, if so then do you how/where do you assign the secondary servers to different NICs/IPs? Basically how do you configure the additional instances to listen on resources that aren't already used by the first instance?
Find all posts by this user
Quote this message in a reply
13-04-2021, 21:40 (This post was last modified: 20-04-2021 22:09 by simoncn.)
Post: #2
RE: network segregation of multiple instances
In MinimServer 2, this is handled automatically. All instances share the same IP address and NIC. The first instance to be started gets an HTTP port of 9790 and a UPnP port of 9791. Subsequent instances get the first available HTTP port from 9792 onwards and a randomly assigned UPnP port. The display names of the subsequent instances are suffixed to make them unique.

Edit: This is not working on FreeBSD, apparently because of an ohNet limitation. On FreeBSD, port numbers of all instances must be configured manually to ensure no conflict. See this post.
Find all posts by this user
Quote this message in a reply
14-04-2021, 13:06
Post: #3
RE: network segregation of multiple instances
(13-04-2021 21:40)simoncn Wrote:  In MinimServer 2, this is handled automatically. All instances share the same IP address and NIC. The first instance to be started gets an HTTP port of 9790 and a UPnP port of 9791. Subsequent instances get the first available HTTP port from 9792 onwards and a randomly assigned UPnP port. The display names of the subsequent instances are suffixed to make them unique.
well shit, thats a much easier way to handle multiple instances on the same server. So then basically just install in different directories. I'm here adding IPs to VMs and going through config files and rc scripts to see where this was assigned.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)