Virtual Servers

Overview

TCAdmin allows you to split your server's resources into virtual servers. This feature does not use virtualization software. Basically you can create a virtual server with 1 or more IPs, cores, x amount of ram and x amount of disk space. In TCAdmin it will look like a normal server. You can assign this virtual server to a user. The user does not get root/administrator access to his virtual server.

Requirements

Windows

  • Enable quotas on the drive where the services will be created. The configuration shown in the screenshot is recommended.

WindowsQuotas.png

Linux

Possible Implementations

Sell dedicated cores and memory.
Assign a virtual server to a user or reseller so he can create game servers.
Distribute your game servers across different drives.
If you have 3 hard drives you can create 2 additional virtual servers with unlimited memory and disk space. Set the user files path of each virtual server to different drives.
Configure game servers on specific IPs.
If you want a game type to only use a specific IP you can create a virtual server with that IP. In the virtual server's game and voice settings only allow that game to be created. In the main server's settings allow all games except that one. In the main server's IP settings disable game and voice servers for the virtual server's IP.

Limitations

Windows Service Manager
On Windows, the service manager must always run in service mode. If you start a service that is assigned to a virtual server while the service manager is running in console mode it will be stopped after a few seconds.
Games and Services
The game must be able to run as a guest (non-root) user. Each virtual server has its own user. The game servers run as that user, overriding any setting in the game's Run As tab.
CPU usage shown in the System Resources Widget
There are 2 different ways CPU usage is displayed for a virtual server.
1- If the virtual server only has 1 core it will show CPU usage of all the services in that virtual server.
2- If the virtual server has 2 or more cores it will display the actual CPU usage of those cores. If other processes are running on that core their CPU usage will be visible even if it does not belong to that virtual server.
Memory Usage
Services running in the virtual server may use more memory than assigned. Memory limits are enforced by the system monitor depending on your configuration. Configure the system monitor in the main server's settings.
Linux Disk Usage
The quota package must be installed and configured so TCAdmin can restrict disk usage according to the virtual server's configuration. For more information read your distro's documentation.

Recommendations

If you plan on selling dedicated cores, It is recommended that you assign TCAdmin to CPU0 and sell the others. That way TCAdmin will not use the other CPUs. The monitor affinity can be configured in the main server's settings.

Licensing

Virtual servers do not require additional licenses. You only need 1 license for the parent server.

Enterprise licenses are limited to 10 user assigned servers. If one or more virtual server are assigned to a user the parent server will be counted towards your limit only once. To increase the limit add a leased or purchased remote to your master license.

Retrieved from "https://help.tcadmin.com/index.php?title=Virtual_Servers&oldid=652"