SVC Installation
Overall Installation Steps
The high-level steps for installing and configuring N2SNS SVC nodes are:
- Ensure the installation pre-requisites are met.
- Install the Lib package.
- Perform any required post-installation steps.
Installation Pre-requisites
OS-specific Setup
Refer to the specific Red Hat or Debian instructions for any pre-requisites as required.
N2SVC
The N-Squared Simple Number Services service libraries must be installed. Follow the installation steps for this, noting any prerequisites.
Installation Steps
Follow the appropriate installation steps depending on your installation sources.
From N-Squared Repository
Execute the instructions specific to your operating system:
RHEL 8 | Other RPM-based Systems | DEB-based Systems |
---|---|---|
sudo dnf install n2sns-svc |
sudo yum install n2sns-svc |
sudo apt-get install n2sns-svc |
As Manual Installation
Transfer the provided package file to the target node, then follow the instructions specific to your operating system.
Execute (adjusting as appropriate for package location and version details) the following:
RPM-based Systems | DEB-based Systems |
---|---|
sudo rpm -Uvh /path/to/n2sns-svc-M.m.p-b.noarch.rpm |
sudo dpkg -i /path/to/n2sns-svc_M.m.p-b_all.deb |
Post-Installation Steps
N2SVCD and Database Integration
The N2SNS runtime uses the several N2SVCD applications to perform call handling functions. For N2SNS call handling, the N2SVCD configuration must include:
- A Database N2SVCD application responsible for performing looksup on the behalf of N2SNS.
- A reference to any script keys installed by this module that are to be used.
Refer to the individual application configuration documentation for full details of the configuration required. The database application should be configured to connect to the appropriate primary or replica DB node that the LIB will use.
Once N2SVCD is updated, restart the service:
systemctl | System V |
---|---|
sudo systemctl restart n2svcd |
sudo service n2svcd restart |