To upgrade Release 22.6 or earlier NSP Flow Collector Controllers and NSP Flow Collectors
Purpose
Use this procedure to upgrade the Release 22.6 or earlier standalone or redundant NSP Flow Collector Controllers and NSP Flow Collectors in an NSP data center.
Note: You cannot upgrade an NSP Flow Collector or Flow Collector Controller to a collocated deployment that has both on one station.
Note: The install.sh utility requires SSH access to a target station. To enable SSH access, you must do one of the following.
Steps
Commission new stations, if required | |
1 |
If you are deploying any NSP Flow Collector or Flow Collector Controller on a new station, commission the station according to the platform specifications in this guide and in the NSP Planning Guide. Note: The hostname and IP address of a replacement station must match the hostname and IP address of the station being replaced. For information about deploying the RHEL OS using an NSP OEM disk image, see NSP disk-image deployment. |
Stop NSP Flow Collector Controllers | |
2 |
Perform the following steps on each NSP Flow Collector Controller station to stop the NSP Flow Collector Controller. Note: If an NSP Flow Collector is also installed on the station, the Flow Collector stops automatically.
|
Stop NSP Flow Collectors | |
3 |
Stop 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 stopped earlier in the procedure.
|
Uninstall software | |
4 |
Log in as the root user on a station that has the downloaded and extracted NSP component installer package. |
5 |
Open a console window. |
6 |
Enter the following: # cd path/NSD_NRC_R_r/bin ↵ where path is the directory path of the NSP component installer package R_r is the NSP software release, in the form MAJOR_minor |
7 |
Enter the following: # ./uninstall.sh --ask-pass --target address_1,address_2,...address_n ↵ where address_1, address_2,...address_n is a comma-separated list of the local NSP Flow Collector Controller and Flow Collector IP addresses You are prompted for the common root password of the stations. |
8 |
Enter the password. The NSP software is removed from each station, and the following backup directory is created: /opt/nsp/backup_flow |
Back up configurations | |
9 |
Back up the configuration of each NSP Flow Collector Controller and Flow Collector; perform the following steps on each station that hosts an NSP Flow Collector Controller, and on each station that hosts only an NSP Flow Collector.
|
Recommission stations, if required | |
10 |
If you are reusing any NSP Flow Collector Controller or Flow Collector station, recommission the station according to the platform specifications in this guide and the NSP Planning Guide. For information about deploying the RHEL OS using an NSP OEM disk image, see NSP disk-image deployment. Note: If you are using RHEL OpenStack VMs, you must re-image each VM using the rebuild option, which preserves the current VM IP addresses, and specify the required new RHEL version. |
Start PKI server | |
11 |
Start the PKI server, regardless of whether you are using the automated or manual TLS configuration method; perform To configure and enable a PKI server. Note: The PKI server is required for internal system configuration purposes. |
Upgrade software | |
12 |
Perform the following steps on each new or recommissioned station.
|
13 |
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 the NSP Flow Collector Controller or an NSP Flow Collector is installed; the installer can perform remote upgrades. An NSD_NRC_R_r directory is created in the current directory, where R_r is the release identifier in the form MAJOR_minor. Note: In subsequent steps, the directory is called the NSP installer directory or NSP_installer_directory. |
14 |
Log in as the root user on the station that has the downloaded NSP software bundle. |
15 |
Enter the following: # cd NSP_installer_directory/NSD_NRC_R_r/bin ↵ |
16 |
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: |
17 |
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: |
18 |
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 IP addresses The NSP Flow Collector Controller or NSP Flow Collector software is upgraded on each station. |
Configure NFM-P in DR deployment | |
19 |
If the NSP cluster and NSP Flow Collector Controllers are not in a DR deployment, go to Step 25. |
20 |
Log in as the root user on the NFM-P main server in the same data center as the NSP Flow Collector Controller. |
21 |
Open a console window. |
22 |
Stop the main server.
|
23 |
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”.
|
24 |
Start the main server.
|
Start NSP Flow Collector Controllers | |
25 |
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.
|
Start NSP Flow Collectors | |
26 |
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.
|
27 |
Perform the following steps for each NSP Flow Collector.
|
28 |
If no other components are to be deployed, stop the PKI server by entering Ctrl+C in the console window. |
29 |
Close the open console windows. End of steps |