SVC Node Installation

Overall Installation Steps

The high-level steps for installing and configuring N2VS SVC nodes are:

  1. Determine the server(s) that will supply the SVC logical component, bearing in mind the supported operating systems and minimum server requirements.
  2. Ensure the installation pre-requisites are met.
  3. Install the SVC package.
  4. Perform any required post-installation steps.
  5. Update the SVC configuration and N2SVCD configuration as desired.

Installation Pre-requisites

OS-specific Setup

Refer to the specific Red Hat or Debian instructions for any pre-requisites as required.

Lua

Each N2VS SVC instance requires Lua to be available at version 5.2+. Specifically, both lua and luac must be present in the PATH for all users. Consult your operating system documentation to determine the appropriate package to install.

If your distribution does not support Lua at version 5.2+, N-Squared maintains a pre-packaged, separately-installable version of Lua that meets N2VS’s requirements. Contact N-Squared Support to discuss access to this if required.

N2SVCD

The N-Squared application framework N2SVCD must be installed. Follow the installation steps for this, noting any prerequisites.

The N2VS SVC package also expects that the default N2SVCD configuration directory exists:

/etc/n2svcd

Be sure to apply any applicable N2SVCD post-installation steps once installation is complete.

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 / 9 DEB-based Systems
sudo dnf install n2vs-svc sudo apt-get install n2vs-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/n2vs-svc-M.m.p-b.noarch.rpm sudo dpkg -i /path/to/n2vs-svc_M.m.p-b_all.deb

Post-Installation Steps

N2SVCD Integration

The N2VS SVC requires several N2SVCD applications to be configured for the correct running of the Voucher Server backend. Refer to the application configuration documentation for details of the configuration required for these applications.

Firewall

The firewall (if any) on the SVC node must be updated to allow the establishment of the inbound and outbound HTTP connectivity to BSS systems for the purpose of supporting voucher redemption requests.

If required, the firewall (if any) on the SVC node may also be updated to allow inbound requests for the N2SVCD administrative GUI/API.

If statistics and EDRs are to be retained, the firewall must be updated to allow access for EDRs and statsistics. The exact commands to do this will depend both on the firewall on your platform and also which port(s) are in use. For example, to allow the default PostgreSQL port when using firewalld, the commands might be:

firewall-cmd --zone=public --add-port=5432/tcp --permanent
systemctl restart firewalld