12.2. Installation

Installation of sFlowTrend-Pro as a service is done through an installer, obtained from //www.myinmon.com. Download the appropriate installation file for your system: either Windows, or Linux. For Linux, you can download either an interactive installer, a Debian package (.deb file), or an RPM file, depending on your preference. If you are installing on Windows or using the interactive installer on Linux, follow the instructions in Section 12.2.1, “Using the interactive installer”. For more information on installing with a Debian or RPM package, see Section 12.2.2, “Installing with a Debian or RPM package”.

After sFlowTrend-Pro is installed, the license must be configured to allow it to be used. When the client first connects to the server, a dialog should automatically pop up to allow you to enter the license number. If it does not, or you would like to change the license, see Section 13.1, “Configuring the license for more information. Note that normally sFlowTrend-Pro will use the Internet to download the license key, once the license number has been entered. If a proxy configuration is required for the server to connect to the Internet, please make sure that the proxy is correctly configured (see Section 13.4.4, “Proxy configuration ). If the system has no Internet connectivity at all, then the license key can be entered manually. First, request a manual license key using a support request at //www.myinmon.com. Once you have the key, then enter it as described in Section 13.1, “Configuring the license .

12.2.1. Using the interactive installer

On Windows, or if using the interactive installer on Linux, follow the instructions in this section after downloading the installer file.

On Windows, just run the file by double-clicking it.

On Linux, you will need to be root to install sFlowTrend-Pro. If you choose to use the interactive installer, run the installer by typing # /bin/sh installer where installer is the file you downloaded. Alternatively make the file executable and then run it.

When you launch the installer, you will be presented with a sequence of installation steps. After the initial welcome screen, you will need to accept the license agreement. Next, choose the directory where you would like to install sFlowTrend-Pro; it is recommended that you accept the default location. In the next screen, you can chose which components to install:

sFlowTrend-Pro service
Select this option to install the service and the local client used to connect to the service on the same system.
sFlowTrend-Pro remote client
Select this option to install the remote client, which you can use to connect to other systems running the service.

You can install both the service and the remote client on the same system, if desired. You must select at least one of the options to complete the installation.

If you selected the service installation, on the next screen you will be prompted for the sFlowTrend-Pro home directory. This is where the database, log files and custom configuration is stored. Using the default directory is recommended, although it can be changed if you would rather use a different location. In particular, please make sure that enough disk space is available to store the database. The disk space required will depend on the type of network traffic seen, and the number of switches being monitored. Several gigabytes will be enough for most installations. Once you have chosen a location, it cannot be changed without reinstalling sFlowTrend-Pro.

The remaining screens allow you to select the menu location to install the shortcuts for launching sFlowTrend-Pro, and then proceed with the installation. After completing the installation, the service is started automatically (if you chose to install it), and you will have the option of immediately launching the client.

12.2.2. Installing with a Debian or RPM package

If you chose to install sFlowTrend-Pro using a Debian or RPM package, then the normal method for installing these files should be followed for your operating system, after downloading them. Note that Java 6.0 must be installed prior to installing sFlowTrend-Pro. When installing sFlowTrend-Pro using a package file, the home directory cannot be changed.

12.2.3. Notes on installing sFlowTrend-Pro as a service under Linux

After completing the installation of sFlowTrend-Pro on Linux as a service, the sFlowTrend-Pro service will be automatically created (as /etc/init.d/sflowtrend-server) and started. The service will also be registered to automatically start when the system is booted, using chkconfig. This is only possible for Linux distributions that use the chkconfig command. Some distributions use other methods for automatically starting services. If the Linux that you are using does not use chkconfig, then you should enter the /etc/init.d/sflowtrend-server service manually as a service to be started at boot time.

If you are installing sFlowTrend-Pro on a system which does not have a graphical user interface, you can either install using a package (see Section 12.2.2, “Installing with a Debian or RPM package”), or using the interactive installer but with a terminal interface. To do this, add the command line option -c to the installer, eg: # /bin/sh installer -c. This will step through the same installation steps that are used for the graphical installer, just using a terminal interface. Please take care to enter the data correctly, as the command line interface is more difficult to use than the graphical interface.