To install NSP Flow Collectors and Flow Collector Controllers
Purpose
Perform this procedure to install one or more NSP Flow Collectors and Flow Collector Controllers, which support collocated and distributed deployment.
Note: For a small-scale deployment, you can collocate an NSP Flow Collector Controller and an NSP Flow Collector on one station, as described in the procedure. A small-scale deployment has a maximum of two stations, and supports the following:
-
standalone—one station that hosts a Flow Collector Controller and Flow Collector, and a second station that hosts only a Flow Collector
-
redundant—two stations that each host a Flow Collector Controller and Flow Collector
Note: The root user password on each NSP Flow Collector Controller and Flow Collector station must be identical.
Note: An NSP Flow Collector or Flow Collector Controller uninstallation backs up the component configuration files in the /opt/nsp/backup_flow directory on the station. A subsequent NSP Flow Collector or Flow Collector Controller installation on the station automatically reloads the saved configuration files. If you do not want the previous configuration restored during a subsequent installation, you must delete the /opt/nsp/backup_flow directory before the installation.
Note: The install.sh utility requires SSH access to a target station. To enable SSH access, you must do one of the following.
Steps
1 |
Download the NSP component installer package NSP_NSD_NRC_R_r.tar.gz) from OLCS and extract it on any station running a supported version of RHEL. This does not have to be the station on which an NSP Flow Collector Controller or Flow Collector is to be installed; the installer can perform remote installations. Note: In subsequent steps, the directory is called the NSP_installer_directory. The NSP_installer_directory/NSD_NRC_R_r directory is created, where R_r is the NSP release identifier in the form MAJOR_minor. | ||||||||||||||||||||||||||||||||||||||||
2 |
Open a console window. | ||||||||||||||||||||||||||||||||||||||||
3 |
Enter the following as the root user: # cd NSP_installer_directory/NSD_NRC_R_r ↵ | ||||||||||||||||||||||||||||||||||||||||
4 |
Create a hosts file in the current directory that contains the required entries in the following sections: Note: If an NSP Flow Collector Controller and Flow Collector are to be collocated on one station, specify the same address for in the [fc] and [fcc] sections; for example: [fcc] 203.0.113.3 advertised_address=198.51.100.3 ansible_host=198.51.100.3 [fc] 203.0.113.3 ansible_host=198.51.100.3 fc_mode=AA See NSP hosts file for configuration information. Note: A sample hosts file is in the following directory; you must use a modified copy of the file for installation: | ||||||||||||||||||||||||||||||||||||||||
5 |
Create a config.yml file in the NSP installer directory that includes the following sections; see NSP RPM-based configuration file for information.
Note: The following parameter values in the tls section must match the values in the NSP configuration file; otherwise, the values must match the values in the NFM-P main server configuration: You can use the samconfig “show” command on a main server to display the tls parameters. See NFM-P samconfig utility for information about using the samconfig utility. Note: A sample config.yml file is in the following directory; you must use a modified copy of the file for installation: | ||||||||||||||||||||||||||||||||||||||||
6 |
If you intend to use the NSP PKI server, start the PKI server.
| ||||||||||||||||||||||||||||||||||||||||
7 |
Enter the following: # cd NSP_installer_directory/NSD_NRC_R_r/bin ↵ | ||||||||||||||||||||||||||||||||||||||||
8 |
Enter the following: Note: Include the --ask-pass option only if each target station has the same root user password. # ./install.sh --ask-pass --target target_list ↵ where target_list is a comma-separated list of the NSP Flow Collector Controller and NSP Flow Collector internal IP addresses The NSP Flow Collector Controller or NSP Flow Collector software is installed on the stations. | ||||||||||||||||||||||||||||||||||||||||
Configure NFM-P in DR deployment | |||||||||||||||||||||||||||||||||||||||||
9 |
If the NSP cluster and NSP Flow Collector Controllers are not deployed in a DR deployment, go to Step 15. | ||||||||||||||||||||||||||||||||||||||||
10 |
Log in as the root user on the NFM-P main server in the same data center as the NSP Flow Collector Controller. | ||||||||||||||||||||||||||||||||||||||||
11 |
Open a console window. | ||||||||||||||||||||||||||||||||||||||||
12 |
Stop the main server.
| ||||||||||||||||||||||||||||||||||||||||
13 |
You must create an association between the local NSP Flow Controller and the local NFM-P main server to ensure that the Flow Collector and Controller remain in communication with the local NFM-P during NSP DR activity. Add the local data center name to the main-server configuration. Note: The data center name must be a name other than “default”.
| ||||||||||||||||||||||||||||||||||||||||
14 |
Start the main server.
| ||||||||||||||||||||||||||||||||||||||||
Start NSP Flow Collector Controllers | |||||||||||||||||||||||||||||||||||||||||
15 |
Perform the following steps on each NSP Flow Collector Controller station. Note: If an NSP Flow Collector is also installed on the station, the Flow Collector starts automatically.
| ||||||||||||||||||||||||||||||||||||||||
Configure NSP Flow Collector Controllers | |||||||||||||||||||||||||||||||||||||||||
16 |
Perform Step 18 to Step 24 for each NSP Flow Collector Controller. | ||||||||||||||||||||||||||||||||||||||||
17 |
Go to Step 25. | ||||||||||||||||||||||||||||||||||||||||
18 |
Use a browser to open the following URL: https://server:8443/fcc/admin where server is the NSP Flow Collector Controller IP address or hostname | ||||||||||||||||||||||||||||||||||||||||
19 |
When the login form opens, enter the required user credentials and click OK. The default user credentials are available from technical support. The NSP Flow Collector Controller page opens. | ||||||||||||||||||||||||||||||||||||||||
20 |
Click on the NFM-P Configuration tab. | ||||||||||||||||||||||||||||||||||||||||
21 |
Configure the parameters in the following table. Table 14-1: NSP Flow Collector Controller parameters, NFM-P Configuration tab
| ||||||||||||||||||||||||||||||||||||||||
22 |
Click Save NFM-P configuration. | ||||||||||||||||||||||||||||||||||||||||
23 |
Click on the Operations tab. | ||||||||||||||||||||||||||||||||||||||||
24 |
The Force Snapshot Extraction option consumes NFM-P main server resources. Ensure that you perform the step only during a period of low NFM-P system activity.
The NSP Flow Collector Controller extracts the managed network information from the NFM-P. | ||||||||||||||||||||||||||||||||||||||||
Start NSP Flow Collectors | |||||||||||||||||||||||||||||||||||||||||
25 |
Start each NSP Flow Collector that is not collocated with an NSP Flow Collector Controller. Note: Any NSP Flow Collector that is collocated with a Flow Collector Controller is automatically started earlier in the procedure.
| ||||||||||||||||||||||||||||||||||||||||
Configure NSP Flow Collectors | |||||||||||||||||||||||||||||||||||||||||
26 |
As required, perform the following steps on each NSP Flow Collector station to specify the NEs from which the NSP Flow Collector is to collect statistics.
| ||||||||||||||||||||||||||||||||||||||||
27 |
Click on the Aggregation Policy tab. | ||||||||||||||||||||||||||||||||||||||||
28 |
Perform one of the following:
| ||||||||||||||||||||||||||||||||||||||||
29 |
Configure the aggregations. Note: The statistics collection interval affects NSP Flow Collector performance. A larger interval results in proportionally larger files, which take longer to store and transfer. Note: For BB NAT statistics, you must set the collection interval no higher than the following, based on the expected flow rate: You can achieve the statedrates only if you use a remote FTP client to retrieve the records and do not enable the record transfer in Step 30. If you enable the record transfer in Step 30, you must set the collection interval no higher than the following, based on the expected flow rate:
| ||||||||||||||||||||||||||||||||||||||||
30 |
Configure the transfer of BB NAT records in CSV format to a file server, if required. Note: A minimum 1 Gbyte/s link is required between the NSP Flow Collector and the file server. Note: SFTP transfers are considerably slower than FTP transfers. | ||||||||||||||||||||||||||||||||||||||||
31 |
Click Save Configuration. The configuration is saved. | ||||||||||||||||||||||||||||||||||||||||
32 |
Close the open browser pages. | ||||||||||||||||||||||||||||||||||||||||
33 |
If no other components are to be deployed, stop the PKI server by entering Ctrl+C in the console window. | ||||||||||||||||||||||||||||||||||||||||
34 |
Close the open console windows. End of steps |