- This line was added.
- This line was removed.
- Formatting was changed.
For security reason, make sure that your server or VM doesn't have anything installed on it before NetVizura installation. Other software of services running on the same server can impact installation.
Before installing NetVizura make sure to set the time on your server correctly. Time change after the installation will invalidate the license!
NetVizura requires working connection to the internet to install required dependent software. After installation is successful you can turn off internet access for NetVizura server.
Before installing NetVizura you will have to install: Java 1.8, Tomcat 7 or higher and PostgreSQL 9.5 or higher (9.6 up to and including 12 (12 recommended), in that order. The installation process has been tested on Windows Server 2008 R2 (64bit), Windows Server 2012 R2 (64bit), Windows Server 2016 R2 (64bit) and Windows Server 2019 (64bit) .
To install NetVizura on Windows follow these steps:
Step 1: Download and install Oracle Java 8 from Oracle official website www.oracle.com/technetwork/java/javase/downloads/index.html , or if you don't have support agreement with Oracle,you can download openJDK build from :https://github.com/ojdkbuild/ojdkbuild . In openJDK case,you should download .msi file eg. https://github.com/ojdkbuild/ojdkbuild/releases/download/22.214.171.124-1/java-1.8.0-openjdk-126.96.36.199-1.b04.ojdkbuild.windows.x86_64.msi .
Only 64-bit Java is supported, so choose Windows x64 installer. We recommend JDK package because it helps with troubleshooting.
Step 2: Download and install Tomcat 7 (or higher- 9 (Tomcat 10 is not supported currently) as a service from Tomcat official website website tomcat.apache.org. 32-bit/64-bit Windows Service Installer is available on the downloads page.
When prompted for the installation type, choose Full installation. This will enable Tomcat to start on boot.
Server Shutdown port should be set to 8005.
After the installation is complete you need to set Local System account for the application,and restart it.
Step 3: Download and install PostgreSQL 9.5 + - 12 versions from PostgreSQL official website https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Step 4: Download NetVizura Windows Installer from NetVizura website and run installer with administrative privileges
Step 5: Follow the installation steps
Step 6(optional): Install Elasticsearch
Download the Elasticsearch installer from: https://www.netvizura.com/files/products/general/downloads/elasticsearch-7.10.2.exe
Execute the file with run as admin , and follow the installation.
To learn more about why this is an optional step at the moment read Why is Elasticsearch currently just an option?
Step 7: Verify installation
After installation tweaking of configuration files is required in order to utilize the installed RAM to the fullest extent. The main consumers of RAM are operating system, PostgreSQL database and Tomcat. General rule for distributing memory is to split it in ratio 2:1 between PostgreSQL and Tomcat with 1 GB or more reserved for operating system. For instance:
|4 GB||2 GB||1 GB||1 GB|
|16 GB||10 GB||5 GB||1 GB|
Tweaking PostgreSQL for best performance is a topic on which many books were written, but the following are some common sense suggestions. For the curious ones recommended reads (among countless others) are PostgreSQL Optimization Guide, PostgreSQL Tuning Guide, this article and this book.
In order to apply following tweaks edit file
postgresql.conf, this file is usually located in PostgreSQL data folder. You will need to restart the PostgreSQL service after done editing. Almost all of the following parameters are commented with carron character (
#). Be aware that if you comment out the parameter that has been changed, PostgreSQL will revert to the default value.
Note that NetVizura demands postgresql installer which includes Microsoft Visual C++ pre-installation. Make sure that the postgresql installer you have downloaded installs Microsoft Visual C++ before postgres installation starts. Otherwise, you will need to install it manually.
Tomcat Memory Allocation
During installation NetVizura automatically allocates memory for Tomcat process. The amount allocated to Tomcat process is calculated according to the formula:
(RAMtotal - 1GB) / 3 but no less than 1GB.
|3 GB||1 GB|
|4 GB||1 GB|
|16 GB||5 GB|
However, if you need to tweak Tomcat RAM allocation differently (the example for 2048MB):
- Double click on Apache Tomcat Properties in system tray
- In Java tab under Java options modify the
-Xmxparameter to allocate additional memory to Tomcat. Additionally, set parameter
-Xmsto the same amount. Also set Initial memory pool and Maximum memory pool to the same amount. This should look like on picture below.
- Back to the General tab, click Stop and Start to restart Tomcat.