For security reasons, make sure your server or VM has no software installed before installing NetVizura. Other software of services running on the same server can impact installation.

Before installing NetVizura, make sure the time on your server is set correctly. Time change after the installation will invalidate the license!

NetVizura requires an active internet connection to install the required dependent software. After the installation is successful, you can disable internet access for the NetVizura server.


Installation Steps

To install NetVizura, you will need root privileges.

To install NetVizura, follow these steps:

Step 1: Download and execute the CentOS 10 prerequisites script:

su -
dnf install wget -y
wget https://www.netvizura.com/files/products/general/downloads/netvizura-6.1-prerequisites-centos10.sh --output-document=/tmp/netvizura-prerequisites-centos10.sh
bash /tmp/netvizura-prerequisites-centos10.sh


Step 2: Installing the NetVizura package

Download NetVizura RPM package from NetVizura website to NetVizura server's /tmp directory and execute the following command:


dnf -y localinstall /tmp/netvizura-package.rpm

 

Step 3: Verify installation

 

Post Install Steps

After installation, configuration files must be tweaked to utilize the installed RAM to the fullest extent. The main consumers of RAM are the operating system, PostgreSQL/Elasticsearch database, and Tomcat. The general rule for allocating memory is to split it in a 2:1 ratio between PostgreSQL/Elasticsearch and Tomcat, with 1 GB or more reserved for the operating system. 

For instance:

Installed RAMPostgreSQLTomcatOSElasticsearch
6 GB2 GB1 GB1 GB2 GB
16 GB2 GB5 GB1 GB5 GB

Tweaking PostgreSQL

Tweaking PostgreSQL for optimal performance is a topic on which many books have been written, but the following are some common-sense suggestions. For the curious ones, recommended reads (among countless others) include the PostgreSQL Optimization Guide and the PostgreSQL Tuning Guide.

In order to apply the following tweaks, edit the file /var/lib/pgsql/PG_VERSION_NUMBER/data/postgresql.conf. You will need to restart the PostgreSQL service after editing with the command: service postgresql restart. Almost all of the following parameters are commented with a carron character (#). Be aware that if you comment out the changed parameter, PostgreSQL will revert to the default value.

Tomcat Memory Allocation 

During installation, NetVizura automatically allocates memory for the Tomcat process. The amount allocated to the Tomcat process is calculated according to the formula:

(RAMtotal - 1GB) / 3 but no less than 1GB.

For instance:

Total RAMTomcat
3 GB1 GB
4 GB1 GB
16 GB5 GB

However, if you need to tweak Tomcat RAM allocation differently (the example for 2048MB):

  1. Edit file /etc/tomcat/conf.d/netvizura.conf
  2. Locate JAVA_OPTS environment variable that defines memory. This line looks something like the following:
    JAVA_OPTS="${JAVA_OPTS} -Xmx1024m -Xms1024m"
  3. Modify the -Xmx and -Xms to the same amount. This should look something like:
    JAVA_OPTS="${JAVA_OPTS} -Xmx2048M -Xms2048M"

Save the file and restart Tomcat: systemctl restart tomcat.service

Elasticsearch Memory Optimization

By default, the memory limit for Elasticsearch should be set to 30% of RAM. If you need it set to a different value, edit the file/etc/elasticsearch/jvm.options and set the -Xms and Xmx values to the desired size. Then, restart the Elasticsearch and Tomcat services.

 














Prerequisites script will install required dependent software:

  • Wget
  • Tomcat 9
  • PostgreSQL 5