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: In an integrated NSP and NFM-P deployment, the NSP UI is accessible only when the NFM-P is operational.
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
Start PKI server | |
1 |
If the PKI server is not running, start the PKI server.
|
Configure NFM-P | |
2 |
Perform Step 4 to Step 11 on each NFM-P main server station. Note: If the NFM-P system is redundant, you must perform the steps on the standby main server station first. |
3 |
Go to Step 16. |
Configure main server | |
4 |
Log in as the nsp user on the NFM-P main server station. |
5 |
Open a console window. |
6 |
Stop the main server, if it is running.
|
7 |
Enter the following: # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> |
8 |
Configure the NFM-P to use the NSP nspOs instance.
|
9 |
If you are using the PKI server, perform the following steps.
|
10 |
If the NSP deployment includes an auxiliary database, configure the auxdb parameters.
|
11 |
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.
|
12 |
Enter the following: <main configure> exit ↵ The prompt changes to <main>. |
13 |
Enter the following: <main> apply ↵ The configuration is applied. |
14 |
Enter the following: <main> exit ↵ The samconfig utility closes. |
Start main servers | |
15 |
Enter the following to switch back to the nsp user: # exit ↵ |
16 |
Perform the following steps on each main server to start the server. Note: If the NFM-P system is redundant, you must perform the steps on the primary main server first.
|
Stop PKI server | |
17 |
If the PKI server is running, press Ctrl+C in the NSP deployer host console window to stop the PKI server. |
Add NFM-P to NSP configuration | |
18 |
Log in as the root user on the NSP deployer host. |
19 |
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 |
20 |
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 IP address of the standalone main server, or the primary main server in a redundant NFM-P system server_2_address is the IP address of the standby main server in a redundant NFM-P system value is true or false |
21 |
If all of the following are true, configure the following parameters in the integrations section:
nfmpDB: primaryIp: "" standbyIp: "" |
22 |
If both of the following are true, configure the following parameters in the integrations section: auxServer: primaryIpList: "" standbyIpList: "" |
23 |
If the NFM-P includes an auxiliary database, enable the auxiliary database in the NSP configuration.
|
24 |
Save and close the file. |
Back up NFM-P Neo4j and PostgreSQL data | |
25 |
If you have not performed an NFM-P database backup for the system integration, you must perform a backup now. Perform the steps in the “To back up the main database from the client GUI” procedure in one of the following guides, depending on the installed NFM-P release: |
Restore NFM-P Neo4j and PostgreSQL data | |
26 |
Copy the following Neo4j and PostgreSQL database backup files created in Step 25 to an empty temporary directory on the NSP deployer host: where timestamp is the backup creation time |
27 |
Perform “How do I restore the NSP cluster databases?” in the NSP System Administrator Guide to restore only the following databases on the NSP cluster: Note: Performing the procedure also starts the NSP. |
Monitor NSP initialization | |
28 |
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. |
29 |
Close the open console windows. End of steps |