Before installing NetVizura make sure to set the time on your server correctly. Time change after the installation will invalidate the license! |
Before installing NetVizura you will have to install: Oracle Java 7, Tomcat 7 or higher and PostgreSQL 9.3 or higher, in that order. The installation process has been tested on Windows Server 2008 R2 and Windows Server 2012 R2. |
To install NetVizura on Windows follow these steps:
Step 1: Download and install Oracle Java 7 from Oracle official website www.oracle.com/technetwork/java/javase/downloads/index.html
Step 2: Download and install Tomcat 7+ as a service from Tomcat official website tomcat.apache.org. 32-bit/64-bit Windows Service Installer is available on the downloads page
|
Step 3: Download and install PostgreSQL 9.3+ from PostgreSQL official website http://www.postgresql.org/download/windows/
|
Step 4: Download NetVizura Windows Installer from NetVizura website and run installer with administrative privileges
Step 5: Follow the installation steps
Step 6: 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:
Installed RAM | PostgreSQL | Tomcat | OS |
---|---|---|---|
4 GB | 2 GB | 1 GB | 1 GB |
16 GB | 10 GB | 5 GB | 1 GB |
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.
For instance:
Total RAM | Tomcat |
---|---|
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):
-Xmx
parameter to allocate additional memory to Tomcat. Additionally, set parameter -Xms
to the same amount. Also set Initial memory pool and Maximum memory pool to the same amount. This should look like on picture below.
Tweaking PostgreSQL for best performance is a topic on which many books were written, but the following are some common sense suggestions. In general there are two groups of PostgreSQL tweaks that are helpful for NetVizura performance - "safe" and "unsafe" tweaks. "Safe" tweaks are those which can be applied in all cases. "Unsafe" tweaks trade reliability for performance. 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 (#
). Although these tweaks are considered "safe" do take notice of the default values. Usually you can comment out the parameter that has been changed and PostgreSQL will revert to the default value.