To add an independent NFM-P to an existing NSP deployment
Purpose
Perform this procedure to add an existing independent NFM-P system as an integrated component of an existing NSP cluster deployment.
Note: Neo4j database backup and restore are not required for this procedure. Neo4j data is populated from the PostgreSQL database during NSP deployment; a restored Neo4j database would be overwritten. Nokia recommends starting with a fresh Neo4j cluster.
Note: An independent NFM-P may retain PostgreSQL data from embedded nspOS, such as classic telemetry and assurance data. Nokia recommends backing up and restoring that PostgreSQL data into the NSP cluster when you need to retain classic telemetry or assurance collected before integration. If you skip the PostgreSQL backup and restore and keep the existing NSP cluster PostgreSQL database, classic telemetry from the independent NFM-P may be lost; operational data such as equipment is populated after integration.
Note: release-ID in a file path has the following format:
R.r.p-rel.version
where
R.r.p is the NSP release, in the form MAJOR.minor.patch
version is a numeric value
Steps
Add NFM-P to NSP configuration | |||
1 |
Log in as the root or NSP admin user on the NSP deployer host. | ||
2 |
Open the following file using a plain-text editor such as vi: /opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/config/nsp-config.yml | ||
3 |
Configure the parameters in the integration section, nfmp subsection, as shown below: Note: You must preserve the leading spaces in each line of the file. Note: If the NFM-P system is standalone, you do not need to configure the standbyIp parameter. Note: In the client section of samconfig on the NFM-P main servers, if the address for client access is set using the hostname parameter, the primaryIp and standbyIp values in the nfmp section of the NSP configuration file, nsp-config.yml, must be set to hostnames. Likewise, if the public-ip parameter in the client section is configured on the main server, the primaryIp and standbyIp values in the nsp-config.yml file must be set to IP addresses. integrations: nfmp: primaryIp: "server_1_address" standbyIp: "server_2_address" tlsEnabled: value where server_1_address is the internal IP address of the standalone main server, or the primary main server in a redundant NFM-P system server_2_address is the internal IP address of the standby main server in a redundant NFM-P system value is true or false | ||
4 |
If both of the following are true, configure the following parameters in the integrations section: nfmpDB: primaryIp: "" standbyIp: "" | ||
5 |
If the NFM-P system includes one or more auxiliary servers, configure the following parameters in the integrations section: auxServer: primaryIpList: "" standbyIpList: "" | ||
6 |
If the NFM-P includes an auxiliary database, enable the auxiliary database in the NSP configuration.
| ||
7 |
Save and close the file. | ||
Back up NFM-P PostgreSQL data | |||
8 |
If you are keeping the existing NSP cluster PostgreSQL database, classic telemetry or assurance data from the independent NFM-P PostgreSQL database may be lost. Operational data such as equipment is populated after integration. Go to Step 12. | ||
9 |
If you have not performed an NFM-P PostgreSQL database backup for the system integration, you must perform a backup now. Perform “How do I back up the NSP cluster databases?” in the NSP System Administrator Guide to back up only the PostgreSQL database for the independent NFM-P. The backup creates a file named nspos-postgresql_backup_timestamp.tar.gz. | ||
Restore NFM-P PostgreSQL data | |||
10 |
Restoring the PostgreSQL database on the NSP cluster drops all existing PostgreSQL data on the NSP cluster in favour of the backup. Perform the PostgreSQL restore only if you intend to replace the existing NSP cluster PostgreSQL data. Before you restore, ensure that you have a current backup of the NSP cluster PostgreSQL database, if required. Copy the following PostgreSQL database backup file created in Step 9 to an empty temporary directory on the NSP deployer host: where timestamp is the backup creation time | ||
11 |
Perform “How do I restore the NSP cluster databases?” in the NSP System Administrator Guide to restore only the following database on the NSP cluster: Note: Performing the procedure also starts the NSP. | ||
Monitor NSP initialization | |||
12 |
Monitor the NSP initialization; if the status of any pod is Error, you must correct the error; see the NSP System Administrator Guide for information about recovering an errored pod. Note: You must not proceed to the next step until the cluster is operational and no pods are in error. | ||
Configure NFM-P | |||
13 |
Perform Step 17 to Step 28 on each NFM-P main server. Note: If the NFM-P system is redundant, you must perform the steps on the standby main server first. | ||
14 |
If the NFM-P does not include auxiliary servers, go to Step 32. | ||
15 |
Perform Step 29 to Step 31 on each NFM-P main server. Note: If the NFM-P system is redundant, you must perform the steps on the standby main server first. | ||
16 |
Go to Step 33. | ||
Configure main server | |||
17 |
Log in as the nsp user on the NFM-P main server station. | ||
18 |
Open a console window. | ||
19 |
Stop the main server, if it is running.
| ||
20 |
Enter the following: # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> | ||
21 |
Configure the NFM-P to use the NSP nspOs instance.
| ||
22 |
Perform the following steps.
Note: If you are using custom CA certificates on NSP and NFM-P, you must perform To generate custom TLS certificates for NSP upon completion of this procedure to restore any NFM-P custom certificates. | ||
23 |
If the NSP deployment includes an auxiliary database, configure the auxdb parameters.
| ||
24 |
To enable mTLS for internal Kafka authentication using two-way TLS, perform the following steps. Note: Enabling mTLS for internal Kafka authentication is supported only in an NSP deployment that uses separate interfaces for internal and client communication.
| ||
25 |
Enter the following: <main configure> exit ↵ The prompt changes to <main>. | ||
26 |
Enter the following: <main> apply ↵ The configuration is applied. | ||
27 |
Enter the following: <main> exit ↵ The samconfig utility closes. | ||
28 |
Enter the following to switch back to the nsp user: # exit ↵ | ||
Configure auxiliary servers | |||
29 |
Stop each Preferred and Reserved auxiliary server of the main server.
| ||
30 |
Update the NFM-P TLS configuration on each Preferred and Reserved auxiliary server of the main server.
| ||
31 |
Perform the following steps on each auxiliary server to start the auxiliary server.
| ||
Start main servers | |||
32 |
Perform the following steps on each NFM-P main server to start the main server. Note: If the NFM-P system is redundant, you must perform the steps on the primary main server first.
| ||
33 |
Close the open console windows. | ||
Set password for NFM-P XML API access | |||
34 |
If the NSP deployment includes the NFM-P, you must update the NSP cluster password for NFM-P XML API access; perform “How do I update NSP XML API user access details?” in the NSP System Administrator Guide. End of steps | ||