Difference between revisions of "Recommended hardware"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(58 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Specifications ==
== Specifications ==


Main principle - as powerful as possible. For single server solution we recommend:
Main principle - as powerful as possible.  
 
It is required to have a clean server without any additional packets installed.
 
Default Centos kernel is required for all functionality to work correctly.
 
For single server solution we recommend:


{| border="1" cellpadding="5" cellspacing="0"  
{| border="1" cellpadding="5" cellspacing="0"  
| '''Component''' || '''Minimum requirement''' || '''Recommended''' || ''' We provide as Hosted Solution''' || '''Comment'''
| '''Component''' || '''Minimum requirement (for testing)''' || '''Recommended (for production)''' || '''Comment'''
|-
|-
| CPU || 4c/8t Xeon || any higher CPU || '''Germany''': Intel(R) Xeon(R) CPU E3-1245-1270v6  <br> '''USA''': Single Quad, E3-1220/E3-1240  ||  
| CPU || 4c/8t (four core, eight thread) Xeon || any higher CPU, at least 8 cores  ||  
|-
|-
| RAM || 8 Gb || 16 GB or more || '''Germany''': 32 GB <br>'''USA''': 16/32 GB||
| RAM || 16 GB || 32 GB || 32/64 GB ||
|-
|-
| HDD || 100 Gb || 100 Gb or more, SDD (Solid State Drives), [http://en.wikipedia.org/wiki/RAID#RAID_1 RAID Type 1] || '''Germany''': 2 x 240 GB SSD RAID 1 <br> '''USA''': 120/128 GB SSD || all space must be assigned to / partition; ext3 file system
| HDD || 100 Gb SSD (Solid State Drives) all space must be assigned to / partition; 500+ GB for M4 || 500+ Gb, SSD (Solid State Drives)/NVM Express (NVMe), [http://en.wikipedia.org/wiki/RAID#RAID_1 RAID Type 1] all space must be assigned to / partition; || separated /boot partition is fine since it is small; do not create separated partitions for /home, /var and similar ||
|-
|-
| OS || [[Centos_installation | Linux Centos 6]] || '''MOR''': minimal Centos 6.x/7.x x86_64 <br> '''M2''':  minimal Centos 6.x x86_64 <br> '''Cloud PBX''': minimal Centos 7.x x86_64 || '''MOR''': minimal Centos 6.x/7.x x86_64 <br> '''M2''':  minimal Centos 6.x x86_64 <br> '''Cloud PBX''': minimal Centos 7.x x86_64 || OS timezone must be set to UTC or at least to Timezone which does not have daylight saving
| OS || [https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.3-x86_64-minimal.iso Rocky 9 x86_64] || [https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.3-x86_64-minimal.iso Rocky 9 x86_64] || OS timezone must be set to UTC or at least to Timezone which does not have daylight saving  
|-
|-
| NIC|| Any || Intel I210, I350 || Intel I210 || Realtek RTL8111/8168/8411, Intel 82574L are weak NICs, not recommended
| NIC|| Any || '''M4''': Intel I210, I350, X550T (if you need over 700 concurrent calls) || Realtek RTL8111/8168/8411, Intel 82574L are weak NICs, not recommended  
|-
|-
| Brand|| Any || Intel, DELL, HP, Fujitsu || Intel ||
| Brand|| Any || Intel, DELL, HP, Fujitsu ||
|}
|}
It is required to have clean server without any additional packets installed.
Default Centos kernel is required for all functionality to work correctly.


<br><br>
<br><br>


== Requirements for multi-server deployment ==
== Requirements for specific elements in a multi-server deployment ==


'''Asterisk or Freeswitch server:''' same requirements as above, except SSD would not increase performance so it is not needed and 4 GB of RAM is sufficient. CPU is most important component here. If Proxy solution is in use, Asterisks cannot be under NAT, it must have Public IP for SIP and RTP traffic.
'''Asterisk/Core server:''' same requirements as above, except SSD would not increase performance so it is not needed and 4 GB of RAM is sufficient. CPU is most important component here. If Proxy solution is in use, Asterisks cannot be under NAT, it must have Public IP for SIP and RTP traffic. Must be located as close as possible to Database server to avoid problems caused by latency.


'''Database server:''' same requirements as above and SSD is highly recommended here. SSD is must if system has more than one Asterisk server. There should be 100GB or more space as database grows fast on high traffic. Fast data storage device and CPU are most important here. If more than one Database server is in use, UPS (Uninterruptible Power Supply) devices must be used for these servers, otherwise power outage would cause broken replication. 8Gb RAM minimum.
'''Database server:''' same requirements as above and SSD is highly recommended here. SSD is must if system has more than one Asterisk server. There should be 100GB or more space as database grows fast on high traffic. It is recommended to start with at least 400GB on M2 systems. Fast data storage device and CPU are most important here. If more than one Database server is in use, UPS (Uninterruptible Power Supply) devices must be used for these servers, otherwise power outage would cause broken replication. 8Gb RAM minimum. Must be located as close as possible to Asterisk server to avoid problems caused by latency.


'''GUI server:''' same requirements as above, except SSD would not increase performance a lot. HDD with more space is recommended here.
'''GUI server:''' same requirements as above, except SSD would not increase performance a lot. HDD with more space is recommended here.


'''Proxy server:''' same requirements as above, except 4 GB of RAM and 40 GB on HDD will be enough here. SSD would not increase performance. Proxy server cannot be under NAT, it must have Public IP for SIP traffic.
'''Proxy server:''' same requirements as above, except 4 GB of RAM and 40 GB on HDD will be enough here. SSD would not increase performance. Proxy server cannot be under NAT, it must have Public IP for SIP traffic.
 
<br><br>
'''Redundant servers:''' there are no special requirements on server hardware if server is part of redundant system. However, there are requirements for network to which servers are connected:
== Requirements for redundant deployment ==
 
Requirements for network to which servers are connected:
* Both servers should be within same subnet.
* Both servers should be within same subnet.
* Both servers should be able to ''broadcast'' packets to UDP 694 port.
* Both servers should be able to ''broadcast'' packets to UDP 694 port.
Line 44: Line 45:
* Both servers should be able to work with that Virtual IP (only one server at same time).
* Both servers should be able to work with that Virtual IP (only one server at same time).


If any of requirements above are not met, in some cases it is possible to adapt different network configurations or services (like "IP Failover"). However, management/configuration/development of third party software (like special scripts) needed to adapt special solution should be performed by servers owner.
If any of requirements above are not met, in some cases it is possible to adapt different network configurations or services (like "IP Failover").
 
In this case, you need to develop and manage special scripts or third-party software to achieve this (Kolmisoft does not provide this service).


<br><br>
<br><br>
Line 50: Line 53:
== Virtualization ==
== Virtualization ==


MOR system was tested and working (with low call capacity) on following Virtualization technologies:
MOR system was tested and working on the following Virtualization technologies:
* VMware
* VMware
* VirtualBox
* VirtualBox
* XEN
* XEN
* AWS
* Azure


In general we do not recommend to run VoIP Core servers (with Asterisk/Freeswitch) on Virtual Machines.
In general, we do not recommend using Virtual machines for multi-server solutions when those Virtual machines are running on the same host.  


GUI/DB servers on VM are acceptable.
Best multi-server system performance is achieved when running on Dedicated servers or on Virtual machines running on dedicated servers.  


<br><br>
<br><br>
Line 63: Line 68:
== FAQ ==
== FAQ ==


* Do you have the provision of STUN and TURN servers on your end?
* '''Do you have the provision of STUN and TURN servers on your end?'''
 
No, we do not provide STUN servers. MOR should receive Public IPs on SIP headers. NAT traversal should be done on the customer's side.
 
* '''Can I have redundancy between two data centers?'''
 
There's always a risk that the data center in which you keep your servers can be down for various reasons.
 
To reduce such risk, you can consider redundancy between two data centers located in different countries or continents.
 
Such implementation can work only if both data centers meet the requirements described [[Recommended_hardware#Requirements_for_redundant_deployment | here]].
 
However, we do not recommend this because of the following reasons:
 
1. Different data centers cannot ensure the same subnet for servers, so you must use VPN which is difficult to manage or DNS.


No, we do not provide STUN servers. MOR should receive Public IPs on SIP headers. NAT traversal should be done on customer's side.
2. MySQL replication requires a stable connection. If replication fails, you will have a "split-brain" scenario and it will not be possible to fix this without losing calls and billing information.


<br><br>
<br><br>

Latest revision as of 08:22, 17 January 2024

Specifications

Main principle - as powerful as possible.

It is required to have a clean server without any additional packets installed.

Default Centos kernel is required for all functionality to work correctly.

For single server solution we recommend:

Component Minimum requirement (for testing) Recommended (for production) Comment
CPU 4c/8t (four core, eight thread) Xeon any higher CPU, at least 8 cores
RAM 16 GB 32 GB 32/64 GB
HDD 100 Gb SSD (Solid State Drives) all space must be assigned to / partition; 500+ GB for M4 500+ Gb, SSD (Solid State Drives)/NVM Express (NVMe), RAID Type 1 all space must be assigned to / partition; separated /boot partition is fine since it is small; do not create separated partitions for /home, /var and similar
OS Rocky 9 x86_64 Rocky 9 x86_64 OS timezone must be set to UTC or at least to Timezone which does not have daylight saving
NIC Any M4: Intel I210, I350, X550T (if you need over 700 concurrent calls) Realtek RTL8111/8168/8411, Intel 82574L are weak NICs, not recommended
Brand Any Intel, DELL, HP, Fujitsu



Requirements for specific elements in a multi-server deployment

Asterisk/Core server: same requirements as above, except SSD would not increase performance so it is not needed and 4 GB of RAM is sufficient. CPU is most important component here. If Proxy solution is in use, Asterisks cannot be under NAT, it must have Public IP for SIP and RTP traffic. Must be located as close as possible to Database server to avoid problems caused by latency.

Database server: same requirements as above and SSD is highly recommended here. SSD is must if system has more than one Asterisk server. There should be 100GB or more space as database grows fast on high traffic. It is recommended to start with at least 400GB on M2 systems. Fast data storage device and CPU are most important here. If more than one Database server is in use, UPS (Uninterruptible Power Supply) devices must be used for these servers, otherwise power outage would cause broken replication. 8Gb RAM minimum. Must be located as close as possible to Asterisk server to avoid problems caused by latency.

GUI server: same requirements as above, except SSD would not increase performance a lot. HDD with more space is recommended here.

Proxy server: same requirements as above, except 4 GB of RAM and 40 GB on HDD will be enough here. SSD would not increase performance. Proxy server cannot be under NAT, it must have Public IP for SIP traffic.

Requirements for redundant deployment

Requirements for network to which servers are connected:

  • Both servers should be within same subnet.
  • Both servers should be able to broadcast packets to UDP 694 port.
  • Both servers should be able to receive packets broadcasted by other server.
  • There should be Virtual IP reserved in Subnet.
  • Both servers should be able to work with that Virtual IP (only one server at same time).

If any of requirements above are not met, in some cases it is possible to adapt different network configurations or services (like "IP Failover").

In this case, you need to develop and manage special scripts or third-party software to achieve this (Kolmisoft does not provide this service).



Virtualization

MOR system was tested and working on the following Virtualization technologies:

  • VMware
  • VirtualBox
  • XEN
  • AWS
  • Azure

In general, we do not recommend using Virtual machines for multi-server solutions when those Virtual machines are running on the same host.

Best multi-server system performance is achieved when running on Dedicated servers or on Virtual machines running on dedicated servers.



FAQ

  • Do you have the provision of STUN and TURN servers on your end?

No, we do not provide STUN servers. MOR should receive Public IPs on SIP headers. NAT traversal should be done on the customer's side.

  • Can I have redundancy between two data centers?

There's always a risk that the data center in which you keep your servers can be down for various reasons.

To reduce such risk, you can consider redundancy between two data centers located in different countries or continents.

Such implementation can work only if both data centers meet the requirements described here.

However, we do not recommend this because of the following reasons:

1. Different data centers cannot ensure the same subnet for servers, so you must use VPN which is difficult to manage or DNS.

2. MySQL replication requires a stable connection. If replication fails, you will have a "split-brain" scenario and it will not be possible to fix this without losing calls and billing information.



See also