|
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.
Figure 2.1 NetVigil System Components2.2 Supported Platforms
NetVigil is currently supported on the following platforms:
You can use
uname -s -rto determine the kernel version on Unix & Linux platforms.2.3 Recommended Hardware
For a small setup (about 100 devices), the entire application can be installed and run from a single server.
Pentium 4, 512M memory, 9G disk
OR
Sun UltraSparc III, 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.On Solaris Sparc platforms, use theprtconfcommand to see your processor type.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 10.1.4, "Disk Space Requirements for DGE Aggregation" on page 147.
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 20k 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 a very large numbers of DGEs should be avoided since it increases the probability of failure and increases the administration tasks. Also see Section 10.1.4, "Disk Space Requirements for DGE Aggregation" on page 147 for information on DGE database sizing and Section 3.7, "NetVigil Operation in NAT Networks" on page 44.
A sample DGE server configuration for a large installation would be:
Pentium 4 Xeon or Sparc Ultra III (1GHz) processors 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
# Increase system-wide file descriptor limit. echo 4096 > /proc/sys/fs/file-max echo 16384 > /proc/sys/fs/inode-maxMake sure to replace /dev/hda with the proper device name appropriate for your system. This command should be added to
/etc/rc.local.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.
Start > Control Panel > Admin Tools > Services
$NETVIGIL_HOME/etc/monitor.init stop # on Unix
\Program Files\Fidelia NetVigil\bin\monitor.laxand add/edit the following line at the end of the file to add an additional 512M of memory to the DGE process:
lax.nl.java.option.additional=-Xmx512Save the file.
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.6, "Operating NetVigil Behind Firewalls" on page 41.
2.6 First-time Installation
For instructions on upgrading an existing installation, see Section 2.7, "Upgrading From Previous Versions" on page 22.
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
xrepresents major,yis the minor version of the software,zis the maintenance release number andOSis 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.
Table 2.2 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. Any other web server or MySQL running on the Netvigil Server? Netvigil comes with its own web server.You should disable IIS or any other web server or else setup Netvigil to run on an alternate port as discussed in Section 3.4.11, "Web server TCP/IP port" on page 37.Also ensure that no firewall is running on the host.See "Problem: Cannot access Web Application" on page 362
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_HOME
- apps/ : supporting applications required for NetVigil
- bin/ :Utility software for NetVigil components
- database/ : NetVigil runtime database for tests & provisioning
- etc/ : NetVigil configuration files and startup scripts
- lib/ : NetVigil component libraries
- logs/ : NetVigil error and debug log files
- plugin/ : User custom actions and monitors
- transforms/ : XSL files for report transformation
- utils/ : Useful utility tools
- webapp/ : The web application
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/datadirectories 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 18 to install the new package. Make sure to specify the same locations as your existing NetVigil installation as the destination path, and answer
y(oryes) when asked if you wish to preserve the existing database.It is highly recommended that you contact Fidelia Support before upgrading your NetVigil installation in case there are any updated procedures that you need to be aware of.
2.8 Adding an Additional DGE
You can add additional DGEs in order to increase the scalability of your NetVigil installation (you might need to purchase a license in order to have more than one). The steps to do this are described in Section 10.1, "Configuring Data Gathering Engines (DGEs)" on page 143.
2.9 Quick Start (Running NetVigil)
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 namedlocalhostand a User-Class namedDefault User Group. It creates a default end-user callednetvigilwith the passwordnetvigiland asuperuserlogin with passwordnetvigil.
- 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).- Start NetVigil components. On Linux/Solaris platform execute the commands
cdNETVIGIL_HOME;
etc/netvigil.init startOn Windows platforms select
Start | Programs | Fidelia NetVigil | Start Fidelia NetVigil.
- Check for proper operation of different components using the
netvigil.init statuscommand on Unix or looking at the output ofnet start | moreon Windows platforms. (For additional information, see Section 3.3.3, "Verifying proper operation" on page 30.) The most common reasons for not starting up are:- If the components did not start, you will have to fix the cause and then restart NetVigil using
netvigil.init restart- Use your web browser to connect to
http://your_host/whereyour_hostis the fully qualified name or ip address of the server that the NetVigil web application component is running on.- Log into the website using end-user name
localuserand the passwordlocalpassword- Add a few sample devices to verify that the system is functioning properly. Go to
Manage > Devices > CreateNewand try adding `localhost' or any other test device.- Log out, and log back in as
superuserwith passwordnetvigil. If you want to create additional departments and admin-groups, you should do so now as described in Chapter 8, "Users and Departments"- Populate the system with devices- go to
SuperUser -> Discoverand run a new discovery on your network. For more information, see Chapter 5, "Network & Topology Discovery".2.10 What Next
After running a discovery on your network, you should:
- Setup actions and notifications (email, pager)
- Configure the Message Handler for monitoring traps and logs.
- Change the password for the default user and superuser (after logging into the Web application, go to
Manage->Prefs)- Set your timezone (also under
Manage->Prefs)- Change the DGE controller password (see Section 3.4.8, "DGE controller port/password" on page 35)
- Update device dependencies if needed (setup parent/child relationships) to prevent alarm floods.
- After running the system for a few days, either update the thresholds manually if you are getting too many alerts, else use the "baseline" feature to automatically reset the thresholds.
- Setup Service Containers as required to model your services.
Scheduled tasks (cron jobs)
Note: This section is applicable to Linux and Solaris platforms onlyThere is a sample crontab file
NETVIGIL_HOME/etc/crontab.netvigilthat 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 intoroot's crontab.
|
Fidelia Technology, Inc. NetVigil v4.0 www.fidelia.com |