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, Linux or Mac. 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, Mac 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.5.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
”.
On Windows, Mac, 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 Mac, mount the disk image by double clicking on it, then run the installer contained in the disk image by double clicking on it. Remember to unmount the disk image when finished.
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:
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.
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.
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.
The amount of memory required by the sFlowTrend-Pro service varies considerably, depending on how many sFlow agents are monitored, and the quantity and type of network traffic. The default memory available to the service is generous and suitable for most installations. However, if memory runs low then events will appear in the event log warning of this, and performance of sFlowTrend-Pro may become poor.
To increase the memory available to the service, first go to
the bin directory, in the directory on the
server where
sFlowTrend-Pro was installed. Here there should be a file named
sflowtrend-server.vmoptions. Edit this file
with a text editor, and add a line to the end with this format:
-Xmx1800m
This will change the memory available to be 1800 MB. The memory can also be reduced in a similar way. After making this change, the sFlowTrend-Pro service must be restarted for the change to take effect.
![]() |
Note |
|---|---|
It is very important to specify a valid memory configuration. If the directive is incorrectly typed, or has an invalid size of memory, then the sFlowTrend-Pro service will not start. Be aware that with a 32-bit JRE, the maximum memory that can be specified is approximately 1800 MB; if the size is greater than this, then the service will not start. If you are using a 64-bit OS and a 64-bit JRE, then a larger amount can be specified. |