Simplified installation of vSCOUT on Windows: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:


 
== Introduction ==
 
[[File:WIP.jpg|center|150px|WIP.jpg]]


 
vSCOUT verion 6.1.1 build 336 is the final version of product that supports "lite" mode.  In lite mode, the agent is not analyzing traffic; it can only be used to forward packets - encapsulated in GRE or UDP - to a InfiniStreamNG.  vSCOUT uses signifiantly less CPU time in lite mode than in standard mode.


== Introduction ==
The procedure below requires the use of a MSI installer transformed by COMCERT and is only available to COMCERT customers with an active support contract.  This installer overcomes a few installation limitations and problems with the NETSCOUT provided installer.


vSCOUT verion 6.1.1 build 336 is the final version of product that supports "lite" mode.  In lite mode the agent is not analyzing traffic.  It can only be used as packet forwarder to any InfiniStream NG.
Please read the article on [[vSCOUT_vSTREAM_Embedded_and_vSTREAM_Agent_resource_usage|vSCOUT resource usage]] before you start.


The procedure below is a siplified installation procedures tested by our engineers and in accordance with our best practises.  
This article assumes familiarity with Windows Server OS.


 
 
Line 16: Line 14:
== Solution ==
== Solution ==


=== Prepare ===
=== Supported Operating Systems ===


> Create a first file <code>/tmp/nsprobeid</code>&nbsp;containing the hostname of the target host.&nbsp; This name will eventually be used by NGS to identify the&nbsp;vSCOUT:
*Windows Server 2008 R2 SP1
<pre># vi /tmp/nsprobeid</pre>
*Windows Server 2012 R2 (minimum of R2 required regardless of SP level)
*Windows Server 2016
*Windows Server 2019<sup>#</sup> (not officially supported by NETSCOUT)


Content of the file:
(<sup>#</sup>) officially not supported by NETSCOUT but successfully tested by COMCERT.
<pre>HOSTNAME</pre>


Save and exit (wq).
&nbsp;


> Create a second file named <code>/tmp/nsagent_config.cfg</code>.&nbsp; Replace <A.B.C.D>&nbsp;with the IP address of the nGenius Server.&nbsp; Replace <MON> and <MAN> with the device name of the network interface on&nbsp;the target host.&nbsp; In most&nbsp;cases the interface to monitor will be the same&nbsp;interface used to communicate&nbsp;with nGenius (<MON>=<MAN>):
=== Supported Hardware ===
<pre># vi /tmp/nsagent_config.cfg</pre>


Content of the file:
*vSCOUT is supported on virtual and physical hosts based on 64-bit x86 processors.  
<pre>export NSCONFIG_SERVER=<A.B.C.D>
export NSCOMM_PORT=395
export NSCONSOLE_PORT=7501
export HTTP_PORT=7080
export HTTPS_PORT=7443
export NUM_CPUS=2
export MEM_SIZE=2048
export MON_INF=<MON>
export MGMT_INF=<MAN>
export VSCOUT_MODE=lite
</pre>


Save and exit (wq).
&nbsp;


Note: these files will be copied by the installer to their final destination in the installation folder.&nbsp; The file nsagent_config.cfg&nbsp;can be modified after installation to change vSCOUT settings as many times as you want.&nbsp; You must restart vSCOUT for the changes to take effect.
=== Before you begin ===


&nbsp;
==== Serial number ====


=== Download ===
The installer will automatically use the machine's hostname (%COMPUTERNAME%) to identify itself in&nbsp;Device Configuration.


Use wget or curl to download the required installation file to the /tmp directory on the host.&nbsp; There are two versions of this file: RPM&nbsp;to be used with&nbsp;Redhat, CentOS and Amazon Linux and BIN to be used with Ubuntu, Fedore and SUSE&nbsp;Linux.&nbsp; Keep in mind that only x86_64 architecture is supported.
==== Installation parameters ====


&nbsp;
Before you&nbsp;start, obtain and make a list of these parameters:


=== Installing vSCOUT using the RPM file ===
{| border="1" cellpadding="1" cellspacing="1" style="width: 800px;"
<pre># md5sum is-6xxx-xxx-vSCOUT.x86_64.rpm
|+ Table 1
# yum -y is-6xxx-xxx-vSCOUT.x86_64.rpm --prefix=<target directory></pre>
|-
! scope="col" | Parameter
! scope="col" | Description
! scope="col" | Initial Value
|-
| INSTALLDIR*
| Specifies the path for vSCOUT installation
| E:\Programs\NETSCOUT\VSCOUT
|-
| NSCONFIG_SERVER_IP
| nGeniusONE Server Address
| A.B.C.D
|-
| NSCONFIG_MONITOR_IP
| Specifies the network interfaces to be monitored by vSCOUT by IP address or subnet
| E.F.G.H
|-
| NSCONFIG_MGMT_IP
| Specifies the network interface to be used for<br/> communications with the managing nGeniusONE server&nbsp;either by IP address or subnet
| I.J.K.L
|-
| FWD_SRC_IP
| Specifies the IP address of the interface from which vSCOUT&nbsp;forwards traffic (tunnel)
| M.N.O.P
|}


The --prefix argument is optional and allows you to specify a location for the vSCOUT installation.&nbsp; The default location is /opt/NetScout/.&nbsp; If you want for example install vSCOUT in /usr/lib/NetScout/, you must specify&nbsp;/usr/lib/ as target directory.
(*) If the path includes spaces, be sure to enclose it in quotation marks.&nbsp; You also must respect Microsoft's path naming conventions.


&nbsp;
&nbsp;


=== Installing vSCOUT using the BIN&nbsp;file ===
=== Installing vSCOUT using the MSI&nbsp;file&nbsp; ===
<pre># md5sum is-6xxx-xxx-vSCOUT.bin
 
# chmod +x is-6xxx-xxx-vSCOUT.bin
Download, save and checksum the MSI&nbsp;installation file to a directory on the host (suggested <code>C:\Temp</code>).&nbsp;
# ./is-6xxx-xxx-vSCOUT.bin --prefix=<target directory>
 
</pre>
Before you can install vSCOUT using the MSI installer, you must download and install the [https://aka.ms/vs/16/release/vc_redist.x64.exe Microsoft Visual C++ Redistributable 2015 (64-bit)].&nbsp;


&nbsp;
Open a command prompt (CMD) as <u>Administrator</u> or with <u>elevated priviledges</u>.&nbsp; <u>This is very important!</u>


=== Removing vSCOUT from Linux ===
Run the folllowing command while substituting the correct values from Table 1:&nbsp;
<pre>msiexec /i COMCERT-is-6110-336-vSCOUT-x64.msi /qn INSTALLDIR=E:\Programs\NETSCOUT\vSCOUT NSHTTP_PORT=7080 NSHTTPS_PORT=7443 NSCONFIG_SERVER_IP=A.B.C.D NSCOMM_PORT=395 NSCONSOLE_PORT=7501 NSCONFIG_MONITOR_IP=E.F.G.H NSCONFIG_MGMT_IP=I.J.K.L NUM_CPUS=2 MEM_SIZE=2048 FWD_SRC_IP=M.N.O.P VSCOUT_MODE=lite</pre>


vSCOUT, vSTREAM Embedded and vSTREAM Agent are completely different products with different capabilities and different licenses.&nbsp; Before moving to vSTREAM Embedded or vSTREAM Agent, vSCOUT must be removed entirely.
After installation, the parameters listed in Table 1 are stored in the <code><INSTALLDIR>\rtm\config\nsagent_config.cfg</code> file.&nbsp; You can edit this file and restart vSCOUT services to apply changes. The MON_INF and MGMT_INF options in the nsagent_config.cfg file will be set automatically with the correct interface&nbsp;number and the NSCONFIG_MONITOR_IP and NSCONFIG_MGMT_IP options may&nbsp;no&nbsp;longer be present in the configuration file.&nbsp;&nbsp;


[[Removing_vSCOUT_vSTREAM_Embedded_and_vSTREAM_Agent_on_Linux|To remove vSCOUT, please read the article.]]
The install log is located in&nbsp;%<code>TEMP%\MSI???.log</code>.&nbsp;&nbsp;


&nbsp;
&nbsp;


&nbsp;
=== Removing vSCOUT from Windows ===
 
vSCOUT, vSTREAM Embedded and vSTREAM Agent are completely different products with different capabilities and different license requirements.&nbsp; Before moving to vSTREAM Embedded or vSTREAM Agent, vSCOUT must be removed entirely.


&nbsp;
To [[Removing_vSCOUT_vSTREAM_Embedded_and_vSTREAM_Agent|remove vSCOUT from Windows]], please read the article.

Latest revision as of 07:31, 21 July 2020

Introduction

vSCOUT verion 6.1.1 build 336 is the final version of product that supports "lite" mode.  In lite mode, the agent is not analyzing traffic; it can only be used to forward packets - encapsulated in GRE or UDP - to a InfiniStreamNG.  vSCOUT uses signifiantly less CPU time in lite mode than in standard mode.

The procedure below requires the use of a MSI installer transformed by COMCERT and is only available to COMCERT customers with an active support contract.  This installer overcomes a few installation limitations and problems with the NETSCOUT provided installer.

Please read the article on vSCOUT resource usage before you start.

This article assumes familiarity with Windows Server OS.

 

Solution

Supported Operating Systems

  • Windows Server 2008 R2 SP1
  • Windows Server 2012 R2 (minimum of R2 required regardless of SP level)
  • Windows Server 2016
  • Windows Server 2019# (not officially supported by NETSCOUT)

(#) officially not supported by NETSCOUT but successfully tested by COMCERT.

 

Supported Hardware

  • vSCOUT is supported on virtual and physical hosts based on 64-bit x86 processors.

 

Before you begin

Serial number

The installer will automatically use the machine's hostname (%COMPUTERNAME%) to identify itself in Device Configuration.

Installation parameters

Before you start, obtain and make a list of these parameters:

Table 1
Parameter Description Initial Value
INSTALLDIR* Specifies the path for vSCOUT installation E:\Programs\NETSCOUT\VSCOUT
NSCONFIG_SERVER_IP nGeniusONE Server Address A.B.C.D
NSCONFIG_MONITOR_IP Specifies the network interfaces to be monitored by vSCOUT by IP address or subnet E.F.G.H
NSCONFIG_MGMT_IP Specifies the network interface to be used for
communications with the managing nGeniusONE server either by IP address or subnet
I.J.K.L
FWD_SRC_IP Specifies the IP address of the interface from which vSCOUT forwards traffic (tunnel) M.N.O.P

(*) If the path includes spaces, be sure to enclose it in quotation marks.  You also must respect Microsoft's path naming conventions.

 

Installing vSCOUT using the MSI file 

Download, save and checksum the MSI installation file to a directory on the host (suggested C:\Temp). 

Before you can install vSCOUT using the MSI installer, you must download and install the Microsoft Visual C++ Redistributable 2015 (64-bit)

Open a command prompt (CMD) as Administrator or with elevated priviledgesThis is very important!

Run the folllowing command while substituting the correct values from Table 1: 

msiexec /i COMCERT-is-6110-336-vSCOUT-x64.msi /qn INSTALLDIR=E:\Programs\NETSCOUT\vSCOUT NSHTTP_PORT=7080 NSHTTPS_PORT=7443 NSCONFIG_SERVER_IP=A.B.C.D NSCOMM_PORT=395 NSCONSOLE_PORT=7501 NSCONFIG_MONITOR_IP=E.F.G.H NSCONFIG_MGMT_IP=I.J.K.L NUM_CPUS=2 MEM_SIZE=2048 FWD_SRC_IP=M.N.O.P VSCOUT_MODE=lite

After installation, the parameters listed in Table 1 are stored in the <INSTALLDIR>\rtm\config\nsagent_config.cfg file.  You can edit this file and restart vSCOUT services to apply changes. The MON_INF and MGMT_INF options in the nsagent_config.cfg file will be set automatically with the correct interface number and the NSCONFIG_MONITOR_IP and NSCONFIG_MGMT_IP options may no longer be present in the configuration file.  

The install log is located in %TEMP%\MSI???.log.  

 

Removing vSCOUT from Windows

vSCOUT, vSTREAM Embedded and vSTREAM Agent are completely different products with different capabilities and different license requirements.  Before moving to vSTREAM Embedded or vSTREAM Agent, vSCOUT must be removed entirely.

To remove vSCOUT from Windows, please read the article.