Table of ContentsPreviousNextIndex
 
PDF

Fidelia Technology Logo

    Installation and Upgrade Guide

2.1 Overview

Fidelia NetVigil is a distributed application that has three basic software components:

Depending on the size of your network, you can install all of these components on a single server, or you can install components on independent servers. On Unix systems, each component can be installed separately. On Windows systems, the BVE WebApp and the BVE ObjectStore are always on the same server, but the DGE can be on a separate server.

New DGEs can be added easily at a later date as your IT infrastructure expands. The plugin actions and the plugin monitors allow extending the functionality of the DGEs very easily.

NetVigil System Components

2.2 Supported Platforms

NetVigil is currently supported on the following platforms:

You can use uname -s -r to determine the kernel version.

2.3 Recommended Hardware

For a small setup (about 100 devices), the entire application can be installed and run from a single server.

Pentium 3 (800 Mhz), 512M memory, 9G disk

OR

Sun UltraSparc II, 512M memory, 9G disk

The system should have at least 3G of free disk space in one partition.

For better performance, adding memory is the most critical factor. SCSI drives are strongly recommended in large environments.

Note Some desktop class processors like the Celeron or SPARC-IIe, which have minimal onboard cache, are not suitable for a NetVigil installation.

2.3.1 Disk Space Requirements

The software installation (all platforms) requires 500M of disk space. If you distribute NetVigil components (provisioning database, Web server, and DGEs) across several hosts, each host must have 500M of available disk space.

The following directories, which are created when NetVigil is installed, have variable size requirements:

Allow 1 MB for every 1,000 tests.

For instructions on calculating disk space requirements for a DGE database, see Section 6.1.4, "Disk Space Requirements for DGE Aggregation" on page 6-104.

Allow 1GB of disk space for log files.

2.3.2 Sizing Considerations for Large Sites

Note The information that follows applies to sites with at least 30,000 - 50,000 tests (1000+ devices)

For large installations with several thousand devices, it is recommended that an additional DGE (for monitoring) is added for every 800-1200 devices (approximately every 25k tests). The actual capacity depends on the number of tests on each device, since a server might only have 4-5 tests but a large switch with 500 ports can have 5000 tests (bytes, packets, errors). If a DGE cannot handle a large number of tests, the internal queues start backing up and a message is automatically logged to the error log.

Deploying large numbers of DGEs should be avoided since it increases the probability of failure and increases the administration tasks. Also see Section 6.1.4, "Disk Space Requirements for DGE Aggregation" on page 6-104 for information on DGE database sizing and Section 3.14, "NetVigil Operation in NAT Networks" on page 3-64.

A sample DGE server configuration for a large installation would be:

Pentium 3 (800+ Mhz) or Sun V210 (1GHz) with 1GB memory, 2x18G SCSI/IDE drives (or RAID-5/RAID-10)

The provisioning and webapp servers are not disk intensive, but do use the CPU intensively for processing and generating reports.

2.4 Additional Software Requirements

The following packages must be installed for proper operation of NetVigil:

2.5 System Performance Tuning

  1. You can increase performance by running a caching nameserver on the servers that run the DGE component.
  2. On Linux systems, the file descriptors should be increased to 8192 by editing the following files:
    1. Edit /etc/security/limits.conf, and add the lines:
			*       soft    nofile  8192 
			*       hard    nofile  8192 
  1. Edit /etc/pam.d/login, and add:
session required /lib/security/pam_limits.so
  1. Increase the system-wide file descriptor limit by adding the following three lines to the /etc/rc.d/rc.local startup script:
			# Increase system-wide file descriptor limit.
			echo  4096 > /proc/sys/fs/file-max
			echo 16384 > /proc/sys/fs/inode-max 
  1. On Linux systems, if you are using IDE drives, you can increase I/O performance by turning on 32bit io, direct memory access and multi block reads using:
			hdparm -c1 -d1 -m16 /dev/hda 

Make sure to replace /dev/hda with the proper device name appropriate for your system. This command should be added to /etc/rc.local.

  1. On Solaris systems, the following patch should be installed:
    Solaris patches for NetVigil installation
    Solaris Version
    Patch Id
    Note
    Description
    Solaris 7 (5.7)
    106327-06
    required
    Shared library patch for C++
    Solaris 2.6 (5.6)
    105591-07
    required
    Shared library patch for C++

In addition, make sure the patches appropriate for your Solaris version listed at http://java.sun.com/j2se/1.3/install-solaris-patches.html have been installed.

2.5.1 Increasing Java Memory (JVM) Size

If you add additional physical memory on your DGE or other servers, you should increase the memory size of the Java Virtual Memory used by NetVigil. The DGE, BVE ObjectStore and the WebApp all run as separate processes and have their own JVM size setting. In most situations, you will probably increase the DGE and the WebApp memory sizes. The following steps are for increasing the JVM size for the DGE- the steps for the web application are similar.

  1. Shut down the DGE (or web application) using the Control Panel on Windows or using the corresponding init script on Unix.

Start > Control Panel > Admin Tools > Services
$NETVIGIL_HOME/etc/monitor.init stop # on Unix

  1. On Windows, edit the following file using Notepad (turn off the word wrap feature)

\Program Files\Fidelia NetVigil\bin\monitor.lax

and add the following line at the end of the file to add an additional 512M of memory to the DGE process:

lax.nl.java.option.additiona=-Xmx512

Save the file.

  1. On Unix, edit $NETVIGIL_HOME/etc/monitor.init and search for Xmx256. Replace this with Xmx768 to add an additional 512M of JVM.

Remember that you should always dedicate physical memory to the java process, not swap. i.e. if you have 2GB of swap space, but only 512M of physical memory, you should set the JVM size to less than 512M and NOT 2GB.

2.5.2 System Security Issues

It is strongly recommended that all daemons or server processes not required on the servers running NetVigil be shutdown and disabled on startup (this includes telnet, ftp, etc.). All logins and file transfers should be done using 'ssh' or 'scp' into your servers. For advanced firewall rules, please see the Section 3.13, "Operating NetVigil Behind Firewalls" on page 3-60.

2.6 First-time Installation

For instructions on upgrading an existing installation, see Section 2.7, "Upgrading From Previous Versions" on page 2-20.

Note Make sure that there is no web server or database running on the NetVigil Server. If there is, you will get a port conflict and NetVigil will not start.

The NetVigil distribution for Linux/Solaris consists of two compressed archives (tar.gz) provided either on a CDROM or downloadable via HTTP/FTP:

Where x represents major, y is the minor version of the software, z is the maintenance release number and OS is the operating system. Example, netvigil-3.6.1-linux.tar.gz.

For Windows platforms, NetVigil is distributed as a single executable file.

In addition to the installation files, you need a license key. This can be either a limited-time trial key, or a permanent key based on the terms of your purchase.

2.6.1 Planning Checklist

Prior to your install, you should ensure that you have complete information about your IT environment where NetVigil is being installed.

NetVigil Installation Checklist
Item
Notes
Number of geographical locations with significant concentration of devices:
Instead of geographical locations, can consider network topology instead. Put a DGE in each location with a concentration of devices, and for small remote locations, use a single centralized DGE
Number of devices to be monitored in each location:
This is for sizing the DGE at each location. Each DGE can handle 500-1500 devices on an average.
Any large switches, routers or servers in each location?
A large switch with 500 ports will have close to 3000 tests (6 tests per port) which is the same as the number of tests on 100 devices.
Number of departments accessing system:
You need to decide on the permissions each department will have- view only or full control. Will they own their device configuration and management in NetVigil or will a central department do it for them?
Any existing custom monitors that need to be migrated to NetVigil?
Use the various APIs to interface any custom monitoring scripts to NetVigil (see Advanced Development Guide).
Do you need to interface with any existing provisioning system?
When you add new devices on the network, do you have an existing inventory system which can be tied into NetVigil directly.

2.6.2 Linux & Solaris Installations

The table that follows lists the tasks that you must perform in order to install NetVigil on a Unix system, and the shell command corresponding to each task.

NetVigil Unix Installation Tasks
Installation Task
Shell Command
Change to a temporary location with at least 100 MB disk space
cd /var/tmp 
Copy the downloaded archives to the temporary directory
cp /download/dir/netvigil-x.y.z-
OS.tar.gz . 
cp /download/dir/netvigil-base-
OS.tar.gz . 
Extract the OS software package. Do not uncompress/extract the files within the base package netvigil-base-OS.tar.gz
gunzip -c netvigil-x.y.z-OS.tar.gz | 
tar xvf - 
Change into the directory with newly extracted files. The package will be extracted into a directory named netvigil-x.y.z
cd netvigil-x.y.z 
If you need to make any changes to the software license key, you should make them before running the installation script. If the terms of your license have changed (e.g. change in expiration date, number of devices, etc.), a new license file would be provided to you by Fidelia customer support. The new key should be saved into netvigil-x.y.z/etc/licenseKey.xml file, replacing any existing file.
Run the installation script (as root)
su root 
sh ./install.sh 
The installation script will ask a series of questions to determine your requirements. When asked for the location of the base package, specify /var/tmp/netvigil-base.tar.gz. Once all necessary information has been collected, the software package will be installed under the specified directory and you are ready to start using NetVigil. This directory will have the following general layout:

2.6.3 Windows Installation

The Windows distribution consists of a single self-extracting archive:

Note You MUST reboot the machine before starting NetVigil.

2.7 Upgrading From Previous Versions

Before beginning the upgrade process from a previous version of NetVigil, you must ensure that you have a current and verified backup of your existing NetVigil installation available, so that you can recover from a failed upgrade. To accomplish this, you can simply make a copy of the

<netvigil_directory>/database & <netvigil_directory>/mysql/data

directories to a safe location. Once it has been verified that a backup exists, follow the method outlined in Section 2.6, "First-time Installation" on page 2-16 to install the new package. Make sure to specify the same locations as your existing NetVigil installation as the destination path, and answer y (or yes) when asked if you wish to preserve the existing database.

2.8 Quick Start

The following quick start steps will enable you to start using the NetVigil system immediately if all components are installed on a single server, and you don't have any other conflicting applications running on the host (such as another web server or SQL database). For a distributed installation (e.g. the DGE on a different physical server), please see Chapter 3, "Configuration and Operations" for proper configuration since this requires editing several configuration files.

The installation process creates default configuration files suitable to run all the NetVigil components on the same server. The default database configuration will contain one DGE location named Default Location, one DGE component named localhost and a User-Class named Default User Group.

  1. Make sure that your NetVigil license key is not expired (NETVIGIL_HOME/etc/licenseKey.xml), and you are not running any other web server on the NetVigil host which might prevent NetVigil's web service from starting up (on TCP port 80).
  2. Start NetVigil components. On Linux/Solaris platform execute the commands
    cd NETVIGIL_HOME;
    etc/netvigil.init start

On Windows platforms select
Start | Programs | Fidelia NetVigil | Start Fidelia NetVigil.

  1. Check for proper operation of different components using the netvigil.init status command on Unix or looking at the output of net start | more on Windows platforms. (For additional information, see Section 3.3.3, "Verifying proper operation" on page 3-26.) The most common reason for not starting up is either the license is expired (you can get new evaluation license by sending email to support@fidelia.com) or else some other web server is running and using the httpd port. If the components did not start, you will have to fix the cause and then restart NetVigil using netvigil.init restart
  2. Use your web browser to connect to http://your_host/ where your_host is the fully qualified name or ip address of the server that the NetVigil web application component is running on.
  3. Log into the website using end-user name localuser and the password localpassword
  4. Add a few sample devices to verify that the system is functioning properly. Go to Manage > Devices > CreateNew and try adding `localhost' or any other test device.
  5. Log out, and log back in as superuser with password netvigil. If you want to create additional departments and admin-groups, you should do so now as described in Chapter 4, "Users and Departments"
  6. Populate the system with devices- go to SuperUser -> Discover and run a new discovery on your network. For more information, see Section 3.5, "Network and Topology Discovery" on page 3-35.

2.9 What Next

The installation process creates default configuration files suitable to run all the NetVigil components on the same server. (For information on these configuration files, see Chapter 3, "Configuration and Operations".) The default database configuration will contain one DGE location named Default Location, one DGE component named localhost and a User-Class named Default User Group. It creates a default end-user called localuser with the password localpassword and a superuser login with password netvigil.

You must edit the following configuration parameters for your site:

Scheduled tasks (cron jobs)

Note: This section is applicable to Linux and Solaris platforms only

There is a sample crontab file NETVIGIL_HOME/etc/crontab.netvigil that should be installed into all your servers. The file contains periodic maintenance tasks and ensure a smooth and trouble free operation of the NetVigil system. Depending on which components you are running on a particular host, you will need to uncomment (remove '#') appropriate sections of the file after you import it into root's crontab.


Fidelia Technology, Inc.
Contact Us
Table of ContentsPreviousNextIndex