Ir para o conteúdo

Server Disk Drive Requirements

This article describes the disk drives requirements for servers when hosting Rox.Chat at the customer's facilities.

If several partitions are created on the disk drive, the largest one (500 GB) should be mapped to the /var directory (both on the application server and DBMS). The space reserve under /var is critical for uninterrupted operation.

The following are recommendations for disk drives partitioning on an application server. The information provided is only for code and data directly related to Rox.Chat Server. Additional components are not considered here.

Placing Code on the Disk Drive

It is recommended to place the code on an SSD disk together with the OS. A 128 GB drive will be sufficient for the code.

Code Directories Space
Configuration files /etc 1 MB
Additional component binaries /usr/share + /usr/local/bin 600 MB
Executables Rox.Chat Server /opt/roxchat 100 MB
Additional files /var/local + /var/run 100 MB

Placing Data on the Disk Drive

Data Directory Minimum Recommended
Server logs /var/log 5 GB 50 GB
Server caches /var/cache 1 GB 10 GB
User data /var/pro 10 GB 400 GB

It may be advisable to put user data on a separate SSD disk (500 GB or more) equipped with RAID, or connect an external NAS via NFS and place this data on it.

On the storage partitions we recommend using one of the file systems: ext3, ext4, NFS. Ideally, it is possible to work on other file systems as well, but it is guaranteed to work on these file systems.