| Якорь | ||||
|---|---|---|---|---|
|
| Оглавление | ||
|---|---|---|
|
Initial data
| Информация |
|---|
Initial data Integration of the ECSS-10 Class 5 software switch (SSW) on 1 physical server with support for SIP with the following parameters per load:
|
...
Server name (host) | Role | Interface | Address | Port |
|---|---|---|---|---|
Static addresses of the software switch | ||||
| ecss1 | Server address | net.10 (mgm) | 10.0.10.10/24 | - |
| ecss2 | Protocole adapter address | net.20 (voip) | 10.0.20.10/24 | - |
ecss1 | Gateway address | net.10 (mgm) | 10.0.10.1 | - |
ecss2 | DNS server addresses | net.10 (mgm) | 10.0.10.1, 8.8.8.8 | - |
Internal addresses of the software switch | ||||
| ecss1 | Core address (ecss-core) | lo | 127.0.0.1/24 | 5000 |
| ecss2 | Media server address (ecss-media-server (MSR)) | lo | 127.0.0.1/24 | 5040 |
Connecting to network
The topology of connecting the server to the network to ensure redundancy is recommended to be done using 2 switches.
...
Server network interfaces are also included in pairs in switches, on which port aggregation (port-channel) is configured in LACP mode. For example, eth0 and eth1 are included to first switch (port-channel 1), and eth2 and eth3 — to the second (port-channel 2).
Installation of ECSS-10 on one server
Installation of ECSS-10 consists of two main parts:
- Preparation: installation of Ubuntu 22.04, Ubuntu packets updating, OS "optimization", installation of additional software packages, preparation of network interfaces, /etc/hosts, ssh-keygen
- Installation of ECSS-10
Preparation
This section describes the operating system installation, as well as required and optional packages. ECSS-10 version 3.18 runs on Ubuntu 22.04.
...
- Installation media with the operating system distribution;
- A prepared server with an updated BIOS, ILP (if available), and a connected network for internet access;
- Setting the installation media (USB flash drive or CD/DVD) as the first boot priority in the BIOS;
- Sufficient disk space and memory as specified in the design.
| Якорь | ||||
|---|---|---|---|---|
|
To install the OS, do the following:
...
| Подсказка |
|---|
When installing the system in a cluster, the recommended value for the first server is ecss1, for the second – ecss2. |
Configuring network
Install the software switch according to the parameters specified in the technical specification. In this example, it is assumed that the required operating system is already installed.
...
A single address for accessing the MySQL database is defined for all cluster nodes, for example, the ecss-mysql address 127.0.0.1. Thus, the uniformity condition is fulfilled, in which all cluster nodes have completely identical data about the current state of the dynamic components of the software switch (for example, call history).
Preparing system network interfaces
According to the technical specification, the system has 4 network interfaces. Information about their status can be viewed using the ifconfig or ip a command:
...
| Без форматирования |
|---|
sudo apt update sudo apt upgrade |
Software installation and configuration
| Предупреждение | ||
|---|---|---|
| ||
| Do NOT install the packages as ssw user. |
...
sudo apt install aptitude atop ethtool htop iotop mc minicom mtr-tiny nmap pptpd pv screen ssh tftpd vim sngrep tshark cpanminus gnuplot libgraph-easy-perl debconf-utils |
Installing ecss-mysql package
The installation begins with the deployment of the MySQL server and the integration of the ecss-mysql database.
...
sudo apt install ecss-mysql |
Configuring ecss-dns-env package
Before installing the ecss-mysql package, you will be prompted to configure environment variables for services in dnsmasq. Configuration manager will prompt to select the sections to configure, do not select anything.
Configuring ecss-mysql package
When installing the package, the following data will be requested:
...
sudo systemctl status mysql ● mysql.service - MySQL Community Server |
Installing the ecss-node package
Installing the ecss-node package:
...
To generate certificates, select manual method. All questions can be answered as suggested by default.
Installing ecss-media-server, ecss-media-resources, ecss-restf, ecss-web-conf packages
Next, ecss-media-server, ecss-media-resources, ecss-restf, ecss-web-conf and other packagesare installed in any order:
ecss-media-server, ecss-media-resources
| Без форматирования |
|---|
sudo apt install ecss-media-server ecss-media-resources |
...
realm — defines the address for registration on the core. Default entry point: port 5000, address: 127.0.0.1.
ecss-restfs
| Без форматирования |
|---|
sudo apt install ecss-restfs |
...
| Questions | Answers |
|---|---|
Use TTS service | No |
Configure phone book | No |
Configure speech recognition service | No |
Choose nothing | Ok |
ecss-web-conf
| Без форматирования |
|---|
sudo apt install ecss-web-conf |
...
| Questions | Answers |
|---|---|
| Input IP address or hostname of MySQL db for web-conf DB | 127.0.0.1 |
Input port of MySQL db for web-conf DB | 3306 |
Input IP address or hostname for ECSS-10 with http_terminal | 127.0.0.1 |
Input port SSW http_terminal | 9999 |
| Input login for SSW http_terminal | admin |
Input password for SSW http_terminal | password |
Configuring security. SSH
Configuring SSH server:
sudo nano /etc/ssh/sshd_config |
...
| Без форматирования |
|---|
sudo systemctl restart ssh.service |
Initial configuration
Start the necessary services.
...