To upgrade a redundant Release 22.6 or earlier NFM-P system
Description
The following steps describe how to upgrade a collocated or distributed Release 22.6 or earlier main database and main server in a redundant deployment. The steps include links to procedures for installing and upgrading optional NFM-P components.
Ensure that you record the information that you specify, for example, directory names, passwords, and IP addresses.
Note: You require the following user privileges:
Note: The following RHEL CLI prompts in command lines denote the active user, and are not to be included in typed commands:
Steps
Check pre-upgrade disk space | ||||||||||||||||||||||||
1 |
As part of the trial upgrade on a lab system in advance of a live upgrade, you must ensure that the available disk capacity on each NFM-P component remains within tolerance. Note: If the disk usage on an NFM-P partition approaches or exceeds 80% after the trial upgrade, you may need to add disk capacity before you attempt the upgrade on a live system. Perform the following steps on each of the following stations:
| |||||||||||||||||||||||
Stop and disable standby main server [Main2] | ||||||||||||||||||||||||
2 |
Open a GUI client to monitor the network during the upgrade. | |||||||||||||||||||||||
3 |
Stop the standby main server.
| |||||||||||||||||||||||
4 |
Disable the automatic main server startup so that the main server does not start in the event of a power disruption during the upgrade.
| |||||||||||||||||||||||
Stop auxiliary servers [Aux2] | ||||||||||||||||||||||||
5 |
If the NFM-P system includes auxiliary servers, stop each appropriate auxiliary server [Aux2].
| |||||||||||||||||||||||
Disable database redundancy | ||||||||||||||||||||||||
6 |
Disable the main database failover and switchover functions.
| |||||||||||||||||||||||
Upgrade standby main database [DB2] | ||||||||||||||||||||||||
7 |
Log in to the standby main database [DB2] station as the root user. Note: After the upgrade, the station is the new primary main database station. | |||||||||||||||||||||||
8 |
Open a console window. | |||||||||||||||||||||||
9 |
Stop and disable the Oracle proxy and main database services.
| |||||||||||||||||||||||
10 |
If analytics aggregations are enabled, perform the following steps to disable all aggregation rules. Note: Disabling analytics aggregation during a redundant system upgrade prevents the duplication of aggregation data in the NFM-P database, but does not cause the loss of any aggregation data. Upon startup, if a primary main server detects that the most recent aggregation data is not current, the server performs the interim aggregations. If aggregation is enabled during a redundant upgrade, the original primary main server creates aggregations while the standby main server is upgraded. In such a case, after the standby main server starts as the new primary main server, the server may perform aggregations that are duplicates of the aggregations performed by the original primary main server. The required aggregation rules are automatically enabled on the new primary main server, so the server performs the interim aggregations upon startup. If aggregation is disabled at the start of a redundant upgrade, no aggregation duplication occurs.
| |||||||||||||||||||||||
11 |
Perform the following steps.
| |||||||||||||||||||||||
12 |
If you are re-using the standby main database [DB2] station, recommission the station according to the platform specifications in this guide and in the NSP Planning Guide. For information about deploying the RHEL OS using an NSP OEM disk image, see NSP disk-image deployment. Note: After the upgrade, the station is the new primary main database station. | |||||||||||||||||||||||
13 |
Log in as the root user on the station that is commissioned as the main database [DB2] station. | |||||||||||||||||||||||
14 |
Perform one of the following.
| |||||||||||||||||||||||
15 |
Transfer the following downloaded file to an empty directory on the main database station: | |||||||||||||||||||||||
16 |
Navigate to the directory that contains the OracleSw_PreInstall.sh file. | |||||||||||||||||||||||
17 |
Enter the following: # chmod +x OracleSw_PreInstall.sh ↵ | |||||||||||||||||||||||
18 |
Enter the following: # ./OracleSw_PreInstall.sh ↵ Note: A default value is displayed in brackets []. To accept the default, press ↵. Note: If you specify a value other than the default, you must record the value for use when the OracleSw_PreInstall.sh script is run during a software upgrade, or when the Oracle management user information is required by technical support. The following prompt is displayed: This script will prepare the system for a new install/restore of an NFM-P Version Release main database. Do you want to continue? [Yes/No]: | |||||||||||||||||||||||
19 |
Enter Yes. The following prompt is displayed: Enter the Oracle dba group name [group]: | |||||||||||||||||||||||
20 |
Enter a group name. Note: To reduce the complexity of subsequent software upgrades and technical support activities, it is recommended that you accept the default. The following messages and prompt are displayed: Creating group group if it does not exist... done Enter the Oracle user name: | |||||||||||||||||||||||
21 |
Enter a username. Note: To reduce the complexity of subsequent software upgrades and technical support activities, it is recommended that you accept the default. The following messages and prompt are displayed: Oracle user [username] new home directory will be [/opt/nsp/nfmp/oracle19]. Checking or Creating the Oracle user home directory /opt/nsp/nfmp/oracle19... Checking user username... Adding username... Changing ownership of the directory /opt/nsp/nfmp/oracle19 to username:group. About to unlock the UNIX user [username] Unlocking password for user username. passwd: Success Unlocking the UNIX user [username] completed Please assign a password to the UNIX user username .. New Password: | |||||||||||||||||||||||
22 |
Enter a password. The following prompt is displayed: Re-enter new Password: | |||||||||||||||||||||||
23 |
Re-enter the password. The following is displayed if the password change is successful: passwd: password successfully changed for username The following message and prompt are displayed: Specify whether an NFM-P Main Server will be installed on this workstation. The database memory requirements will be adjusted to account for the additional load. Will the database co-exist with an NFM-P Main Server on this workstation [Yes/No]: | |||||||||||||||||||||||
24 |
Enter Yes or No, as required. Messages like the following are displayed as the script execution completes: INFO: About to set kernel parameters in /etc/sysctl.conf... INFO: Completed setting kernel parameters in /etc/sysctl.conf... INFO: About to change the current values of the kernel parameters INFO: Completed changing the current values of the kernel parameters INFO: About to set ulimit parameters in /etc/security/limits.conf... INFO: Completed setting ulimit parameters in /etc/security/limits.conf... INFO: Completed running Oracle Pre-Install Tasks, you *MUST* reboot your box. | |||||||||||||||||||||||
25 |
When the script execution is complete, enter the following to reboot the main database station: # systemctl reboot ↵ The station reboots. | |||||||||||||||||||||||
26 |
When the reboot is complete, log in to the main database [DB2] station as the root user. | |||||||||||||||||||||||
27 |
Open a console window. | |||||||||||||||||||||||
28 |
Navigate to the NFM-P software directory. Note: Ensure that the directory contains only the installation files. | |||||||||||||||||||||||
29 |
Enter the following: # chmod +x * ↵ | |||||||||||||||||||||||
30 |
Enter the following: # dnf install *.rpm ↵ The dnf utility resolves any package dependencies, and displays the following prompt: Total size: nn G Installed size: nn G Is this ok [y/d/N]: | |||||||||||||||||||||||
31 |
Enter y. The following and the installation status are displayed as each package is installed: Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction The package installation is complete when the following is displayed: Complete! | |||||||||||||||||||||||
32 |
Transfer the database backup file set to the station. Note: The path to the backup file set must be the same as the original backup path, which is named in the BACKUP_SUMMARY.INFO file from the backup file set; for example: Backup Path Name: /opt/nsp/nfmp/dbbackup/backupset_1 Note: Ensure that the Oracle management user has full access to the directory and contents. | |||||||||||||||||||||||
33 |
Enter the following: # samrestoreDb path -migrate ↵ where path is the absolute path of the database backup file set The database restore begins, and messages like the following are displayed as the restore progresses. Restore log is /opt/nsp/nfmp/db/install/NFM-P_Main_Database.restore.yyyy.mm.dd-hh.mm.ss.stdout.txt <date time> working.. <date time> Performing Step 1 of 7 - Initializing .. <date time> Executing StartupDB.sql ... <date time> Performing Step 2 of 7 - Extracting backup files ..... <date time> Performing Step 3 of 7 - Restoring archive log files .. <date time> Performing Step 4 of 7 - Executing restore.rcv .......... <date time> Performing Step 5 of 7 - Restoring Accounting tablespaces ....... <date time> Performing Step 6 of 7 - Opening database ..... <date time> working.... <date time> Executing ConfigRestoreDB.sql .................... <date time> working............... <date time> Performing Step 7 of 7 - Configuring NFM-P Server settings ... The following is displayed when the restore is complete: <date time> Database restore was successful DONE | |||||||||||||||||||||||
34 |
Stop the Oracle proxy and main database services.
| |||||||||||||||||||||||
35 |
You must prepare the restored database for the upgrade. Navigate to the directory that contains the OracleSw_PreInstall.sh file. | |||||||||||||||||||||||
36 |
Enter the following: # ./OracleSw_PreInstall.sh ↵ Note: A default value is displayed in brackets []. To accept the default, press ↵. Note: If you specify a value other than the default, you must record the value for use when the OracleSw_PreInstall.sh script is run during a software upgrade, or when the Oracle management user information is required by technical support. The following prompt is displayed: This script will prepare the system for an upgrade to NFM-P Version R.r Rn database. Do you want to continue? [Yes/No]: | |||||||||||||||||||||||
37 |
Enter Yes. The following messages and prompt are displayed: About to validate that the database can be upgraded to release. Found the database installation directory /opt/nsp/nfmp/samdb/install. Existing NFM-P database version = version Enter the password for the "SYS" Oracle user (terminal echo is off): | |||||||||||||||||||||||
38 |
Enter the SYS user password. The script begins to validate the database records, and displays the following: Validating the database for upgrade. Please wait ... If the validation is successful, the following messages and prompt are displayed: INFO: Database upgrade validation passed. Creating group group if it does not exist ... Checking or Creating the Oracle user home directory /opt/nsp/nfmp/oracle19... Checking user username... usermod: no changes Changing ownership of the directory /opt/nsp/nfmp/oracle19 to username:group. About to unlock the UNIX user [username] Unlocking password for user username. passwd: Success Unlocking the UNIX user [username] completed Do you want to change the password for the UNIX user username? [Yes/No]: | |||||||||||||||||||||||
39 |
If the database contains an invalid item, for example, an NE at a release that the new NFM-P software does not support, the following is displayed and the script exits; otherwise, go to Step 40. ERROR: Unsupported records found in database. Please remove the following unsupported items first: Please remove the following unsupported items first: item_1 item_2 . . item_n ERROR: The database cannot be upgraded. Please fix the above errors and re-run this script. Perform the following steps.
| |||||||||||||||||||||||
40 |
Perform one of the following. The following message and prompt are displayed: Specify whether an NFM-P server will be installed on this workstation. The database memory requirements will be adjusted to account for the additional load. Will the database co-exist with an NFM-P server on this workstation [Yes/No]: | |||||||||||||||||||||||
41 |
Enter Yes or No, as required. Messages like the following are displayed as the script execution completes: INFO: About to remove kernel parameters set by a previous run of this script from /etc/sysctl.conf INFO: Completed removing kernel parameters set by a previous run of this script from /etc/sysctl.conf INFO: About to set kernel parameters in /etc/sysctl.conf... INFO: Completed setting kernel parameters in /etc/sysctl.conf... INFO: About to change the current values of the kernel parameters INFO: Completed changing the current values of the kernel parameters INFO: About to remove ulimit parameters set by a previous run of this script from /etc/security/limits.conf INFO: Completed removing ulimit parameters set by a previous run of this script from /etc/security/limits.conf INFO: About to set ulimit parameters in etc/security/limits.conf... INFO: Completed setting ulimit parameters in /etc/security/limits.conf... INFO: Completed running Oracle Pre-Install Tasks | |||||||||||||||||||||||
42 |
Enter the following to upgrade the database: Note: A database upgrade takes considerable time that varies, depending on the release from which you are upgrading. # samupgradeDb ↵ The following prompt is displayed: Enter the password for the "SAMUSER" database user (terminal echo is off): | |||||||||||||||||||||||
43 |
Enter the database user password. The database upgrade begins, and messages like the following are displayed: Validation succeeded. Upgrade log is /opt/nsp/nfmp/db/install/NFM-P_Main_Database.upgrade.timestamp.stdout.txt Performing Step 1 of n - Initializing ........... Performing NFM-P database upgrade will take time... Executing PreOraUpgrade.sql ............. Executing ShutdownDBUpgrade.sql .... Executing StartupDB.sql ..... Executing DbJavaReload.sql ................ The database upgrade is complete when the following is displayed: DONE | |||||||||||||||||||||||
44 |
Verify the database configuration and create the database. Note: This main database [DB1] is the new primary main database.
| |||||||||||||||||||||||
Start PKI server | ||||||||||||||||||||||||
45 |
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 standby main server [Main2] | ||||||||||||||||||||||||
46 |
If the main server [Main2] and database [DB2] are on separate stations, and you are re-using the [Main2] main server station, recommission the station according to the platform specifications in this guide and in the NSP Planning Guide. For information about deploying the RHEL OS using an NSP OEM disk image, see NSP disk-image deployment. | |||||||||||||||||||||||
47 |
Log in as the root user on the station that is commissioned as the [Main2] station. Note: After the upgrade, the station is the new primary main server station. | |||||||||||||||||||||||
48 |
Open a console window. | |||||||||||||||||||||||
49 |
If the main server and database are on separate stations, perform the following steps.
| |||||||||||||||||||||||
50 |
Perform one of the following.
| |||||||||||||||||||||||
51 |
Navigate to the NFM-P software directory. | |||||||||||||||||||||||
52 |
Enter the following: # chmod +x * ↵ | |||||||||||||||||||||||
53 |
Enter the following: # dnf install *.rpm ↵ The dnf utility resolves any package dependencies, and displays the following prompt: Total size: nn G Installed size: nn G Is this ok [y/d/N]: | |||||||||||||||||||||||
54 |
Enter y. The following and the installation status are displayed as each package is installed: Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction The package installation is complete when the following is displayed: Complete! | |||||||||||||||||||||||
Configure new primary main server [Main2] | ||||||||||||||||||||||||
55 |
Enter the following; see NFM-P samconfig utility for information about using samconfig: Note: Regardless of whether you intend to modify the main server configuration, you must apply the main server configuration, as described in the following steps. # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> | |||||||||||||||||||||||
56 |
Enter the following: <main> configure ↵ The prompt changes to <main configure>. | |||||||||||||||||||||||
57 |
To apply a new or updated NFM-P license, enter the following: Note: You cannot start a main server unless the main server configuration includes a current and valid license. You can use samconfig to specify the license file in this step, or later import the license, as described in the NSP System Administrator Guide. <main configure> license license_file ↵ where license_file is the path and file name of the NSP license bundle | |||||||||||||||||||||||
58 |
Enter the following: <main configure> database instance primary_instance back ↵ where primary_instance is the [DB1] database instance name, which is the primary Instance Name recorded in Step 43 of To prepare for an NFM-P system upgrade from Release 22.6 or earlier | |||||||||||||||||||||||
59 |
Enter the following: <main configure> redundancy database instance standby_instance back ↵ where standby_instance is the [DB2] database instance name, which is the standby Instance Name recorded in Step 44 of To prepare for an NFM-P system upgrade from Release 22.6 or earlier The prompt changes to <main configure redundancy>. | |||||||||||||||||||||||
60 |
Enter the following: <main configure redundancy> back ↵ The prompt changes to <main configure>. | |||||||||||||||||||||||
61 |
Verify the main server configuration.
| |||||||||||||||||||||||
62 |
Enter the following: <main> apply ↵ The configuration is applied. | |||||||||||||||||||||||
63 |
Enter the following: <main> exit ↵ The samconfig utility closes. | |||||||||||||||||||||||
64 |
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.
| |||||||||||||||||||||||
Restore new primary main server [Main2] data files | ||||||||||||||||||||||||
65 |
Transfer the main server data backup .tar.gz file set created in Step 34 of To prepare for an NFM-P system upgrade from Release 22.6 or earlier to the /opt/nsp/nfmp directory on the [Main2] main server station. | |||||||||||||||||||||||
66 |
Enter the following: # cd /opt/nsp/nfmp ↵ | |||||||||||||||||||||||
67 |
Enter the following: # chown nsp:nsp *.tar.gz ↵ | |||||||||||||||||||||||
68 |
Enter the following: # ls *.tar.gz ↵ The data backup files are listed. | |||||||||||||||||||||||
69 |
For each listed file, enter the following: # tar -xf filename.tar.gz -C /opt/nsp/nfmp/ ↵ where filename is a backup timestamp in the format MM-DD-hh-mm | |||||||||||||||||||||||
70 |
Enter the following: # rm -f *.tar.gz ↵ | |||||||||||||||||||||||
71 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/lte ↵ | |||||||||||||||||||||||
72 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/nebackup ↵ | |||||||||||||||||||||||
73 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/nelogs ↵ | |||||||||||||||||||||||
74 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/nesoftware ↵ | |||||||||||||||||||||||
75 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/os ↵ | |||||||||||||||||||||||
76 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/server/script/savedResults ↵ | |||||||||||||||||||||||
77 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/server/nms/nodeSoftware ↵ | |||||||||||||||||||||||
Enable Windows Active Directory access | ||||||||||||||||||||||||
78 |
If you intend to use Windows Active Directory, or AD, for single sign-on client access, you must configure LDAP remote authentication for AD; otherwise,go to Step 87. Open the following file as a reference for use in subsequent steps: /opt/nsp/os/install/examples/config.yml Note: Consider the following.
| |||||||||||||||||||||||
79 |
Locate the section that begins with the following lines: # ldap: # enabled: true # servers: # - type: AUTHENTICATED/AD/ANONYMOUS # url: ldaps://ldap.example.com:636 # security: SSL/STARTTLS/NONE | |||||||||||||||||||||||
80 |
Open the following file using a plain-text editor such as vi: /opt/nsp/os/install/config.json | |||||||||||||||||||||||
81 |
Locate the section that begins with the following line: "sso": { The section has one subsection for each type of SSO access. Note: You can enable multiple remote authentication methods such as LDAP and RADIUS in the config.json file, or by using the NFM-P GUI. Using the GUI also allows you to specify the order in which the methods are tried during login attempts; however, no ordering is applied to multiple methods enabled in the config.json file. | |||||||||||||||||||||||
82 |
In the sso section, create an ldap subsection as shown below using the parameter names from the ldap section of config.yml and the required values for your configuration. The following example shows the LDAP configuration for two AD servers:
where auth_type is AD or AUTHENTICATED | |||||||||||||||||||||||
83 |
Save and close the files. | |||||||||||||||||||||||
84 |
Enter the following: # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> | |||||||||||||||||||||||
85 |
Enter the following: <main> apply ↵ The AD LDAP configuration is applied. | |||||||||||||||||||||||
86 |
Enter the following: <main> exit ↵ The samconfig utility closes. | |||||||||||||||||||||||
Configure WS-NOC integration | ||||||||||||||||||||||||
87 |
If the NFM-P is integrated with a WS-NOC system, open the following file with a plain-text editor such as vi: /opt/nsp/os/install/examples/config.json Otherwise, go to Step 97. | |||||||||||||||||||||||
88 |
Copy the following section: "nfmt": { "primary_ip": "", "standby_ip": "", "username": "", "password": "", "cert_provided": false }, | |||||||||||||||||||||||
89 |
Close the file. | |||||||||||||||||||||||
90 |
Open the following file with a plain-text editor such as vi: /opt/nsp/os/install/config.json | |||||||||||||||||||||||
91 |
Paste in the copied section. | |||||||||||||||||||||||
92 |
Configure the required parameters to enable the WS-NOC integration: | |||||||||||||||||||||||
93 |
Save and close the file. | |||||||||||||||||||||||
94 |
Enter the following: # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> | |||||||||||||||||||||||
95 |
Enter the following: <main> apply ↵ The configuration is applied. | |||||||||||||||||||||||
96 |
Enter the following: <main> exit ↵ The samconfig utility closes. | |||||||||||||||||||||||
Stop NSP analytics servers, NSP Flow Collectors | ||||||||||||||||||||||||
97 |
If the system includes one or more NSP analytics servers, stop each analytics server.
The following is displayed: Stopping Analytics Application When the analytics server is completely stopped, the following message is displayed: Analytics Application is not running | |||||||||||||||||||||||
98 |
If the system includes one or more NSP Flow Collector Controllers and Flow Collectors, stop each NSP Flow Collector Controller. Note: If the NSP Flow Collector Controller is collocated on a station with an NSP Flow Collector, stopping the NSP Flow Collector Controller also stops the Flow Collector.
| |||||||||||||||||||||||
99 |
If the system includes one or more NSP Flow Collectors that are not collocated on a station with a Flow Collector Controller, stop each such NSP Flow Collector.
| |||||||||||||||||||||||
Upgrade auxiliary servers [Aux2] | ||||||||||||||||||||||||
100 |
If the system includes auxiliary servers, perform To upgrade a Release 22.6 or earlier NFM-P auxiliary server on each appropriate auxiliary server station [Aux2]. | |||||||||||||||||||||||
Upgrade standby auxiliary database cluster | ||||||||||||||||||||||||
101 |
If the system includes an auxiliary database, perform To upgrade a geo-redundant Release 22.6 or earlier auxiliary database on the standby auxiliary database cluster. | |||||||||||||||||||||||
Stop and disable original primary main server [Main1] | ||||||||||||||||||||||||
102 |
Stop the original primary main server. Note: This step marks the beginning of the network management outage.
| |||||||||||||||||||||||
103 |
Disable the automatic main server startup so that the main server does not start in the event of a power disruption during the upgrade.
| |||||||||||||||||||||||
Upgrade NSP Flow Collector Controllers, Flow Collectors | ||||||||||||||||||||||||
104 |
If the system includes one or more NSP Flow Collectors, upgrade each NSP Flow Collector Controller and Flow Collector as described in NSP Flow Collector and Flow Collector Controller upgrade from Release 22.6 or earlier. | |||||||||||||||||||||||
Stop auxiliary servers [Aux1] | ||||||||||||||||||||||||
105 |
If the system includes auxiliary servers, perform the following steps on each [Aux1] auxiliary server station.
| |||||||||||||||||||||||
Stop original primary main database [DB1] | ||||||||||||||||||||||||
106 |
Log in to the original primary main database [DB1] station as the root user. | |||||||||||||||||||||||
107 |
Open a console window. | |||||||||||||||||||||||
108 |
Stop and disable the Oracle proxy and main database services.
| |||||||||||||||||||||||
109 |
Perform the following steps.
| |||||||||||||||||||||||
Stop former primary auxiliary database cluster | ||||||||||||||||||||||||
110 |
If the system includes an auxiliary database, perform the following steps on one station in the former primary auxiliary database cluster.
| |||||||||||||||||||||||
Integrate NFM-P and NSP cluster | ||||||||||||||||||||||||
111 |
If you are upgrading an NFM-P system that is not currently integrated with an NSP cluster, perform procedure To add an independent NFM-P to an existing NSP deployment. Note: Performing the procedure also starts the main server. | |||||||||||||||||||||||
Start new primary main server [Main2] | ||||||||||||||||||||||||
112 |
The new primary database [DB2] must be upgraded and running before you start the new primary main server [Main2], or the main server initialization may fail. If you perform the new primary main server and database upgrades concurrently, do not perform this step until the database upgrade is complete.
An NFM-P system upgrade is not complete until each main server performs crucial post-upgrade tasks during initialization. Before you attempt an operation that requires a server shutdown, you must ensure that each main server is completely initialized, or the operation fails. Start the new primary main server [Main2]. Note: You cannot start a main server unless the main server configuration includes a current and valid license. You can use samconfig to specify the license file, or import a license, as described in the NSP System Administrator Guide.
Note: This marks the end of the network management outage. | |||||||||||||||||||||||
113 |
If you have enabled Windows Active Directory access using the AUTHENTICATED type of LDAP server, use the NSP Session Manager RESTCONF API to add the LDAP server bind credentials; see the Network Developer Portal for information. | |||||||||||||||||||||||
114 |
Specify the memory requirement for GUI clients based on the type of network that the NFM-P is to manage.
| |||||||||||||||||||||||
Start auxiliary servers [Aux2] | ||||||||||||||||||||||||
115 |
If the NFM-P system includes auxiliary servers, start each appropriate auxiliary server [Aux2].
| |||||||||||||||||||||||
Activate upgraded former standby auxiliary database cluster | ||||||||||||||||||||||||
116 |
If the system includes an auxiliary database, issue the following RESTCONF API call to activate the former standby auxiliary database cluster, after which the cluster assumes the primary role: Note: In order to issue a RESTCONF API call, you require a token; see this tutorial on the Network Developer Portal for information. POST https://{{address}}/RESTCONF/data/auxdb:/clusters/cluster=cluster_N/activate where address is the advertised address of the primary NSP cluster N is the auxiliary database cluster number The following is the request body: { "auxdb:input" : { "force": true } } The cluster is activated. | |||||||||||||||||||||||
Perform NSP analytics server migration to NSP cluster | ||||||||||||||||||||||||
117 |
If the system includes one or more NSP analytics servers, move the analytics-server functions to the NSP cluster, as described in NSP analytics server migration from Release 22.6 or earlier. | |||||||||||||||||||||||
Enable GUI client | ||||||||||||||||||||||||
118 |
You require an NFM-P GUI client to complete the procedure; see the following for information: Note: A client delegate server installation typically takes more time than the other options. A single-user client or client delegate server upgrade is recommended if your maintenance period is limited.
| |||||||||||||||||||||||
Test upgraded system using GUI client | ||||||||||||||||||||||||
119 |
When the new primary main server [Main2] is started, use a newly installed or upgraded GUI client to perform sanity testing of the new primary main server and database. Note: To back out of the upgrade and return the original primary main server [Main1] and database [DB1] to service, you can do so by stopping the new primary main server [Main2] and database [DB2] and restarting the original primary main server [Main1] and database [DB1]. | |||||||||||||||||||||||
Uninstall original primary database [DB1] | ||||||||||||||||||||||||
120 |
Enter the following to uninstall the original primary main database: # yum remove nsp-nfmp-main-db nsp-nfmp-oracle ↵ The yum utility resolves any dependencies and displays the following prompt: Installed size: nn G Is this ok [y/N]: | |||||||||||||||||||||||
121 |
Enter y. The following is displayed as the packages are removed: Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Uninstalling the NFM-P package... As each package removal completes, the following is displayed: Complete! | |||||||||||||||||||||||
Install new standby main database [DB1] | ||||||||||||||||||||||||
122 |
If you are re-using the primary main database [DB1] station, recommission the station according to the platform specifications in this guide and in the NSP Planning Guide. For information about deploying the RHEL OS using an NSP OEM disk image, see NSP disk-image deployment. Note: After the upgrade, the station is the new standby main database station. | |||||||||||||||||||||||
123 |
Log in as the root user on the station that is commissioned as the main database [DB1] station. | |||||||||||||||||||||||
124 |
Perform one of the following.
| |||||||||||||||||||||||
125 |
Transfer the following downloaded file to an empty directory on the main database station: | |||||||||||||||||||||||
126 |
Open a console window. | |||||||||||||||||||||||
127 |
Navigate to the directory that contains the OracleSw_PreInstall.sh file. | |||||||||||||||||||||||
128 |
Enter the following: # chmod +x OracleSw_PreInstall.sh ↵ | |||||||||||||||||||||||
129 |
Enter the following: # ./OracleSw_PreInstall.sh ↵ Note: A default value is displayed in brackets []. To accept the default, press ↵. Note: If you specify a value other than the default, you must record the value for use when the OracleSw_PreInstall.sh script is run during a software upgrade, or when the Oracle management user information is required by technical support. The following prompt is displayed: This script will prepare the system for a new install/restore of an NFM-P Version R.r Rn database. Do you want to continue? [Yes/No]: | |||||||||||||||||||||||
130 |
Enter Yes. The following prompt is displayed: Enter the Oracle dba group name [group]: | |||||||||||||||||||||||
131 |
Enter a group name. Note: To reduce the complexity of subsequent software upgrades and technical support activities, it is recommended that you accept the default. The following messages and prompt are displayed: Creating group group if it does not exist... done Enter the Oracle user name: | |||||||||||||||||||||||
132 |
Enter a username. Note: To reduce the complexity of subsequent software upgrades and technical support activities, it is recommended that you accept the default. The following messages and prompt are displayed: Oracle user [username] new home directory will be [/opt/nsp/nfmp/oracle19]. Checking or Creating the Oracle user home directory /opt/nsp/nfmp/oracle19... Checking user username... Adding username... Changing ownership of the directory /opt/nsp/nfmp/oracle19 to username:group. About to unlock the UNIX user [username] Unlocking password for user username. passwd: Success Unlocking the UNIX user [username] completed Please assign a password to the UNIX user username .. New Password: | |||||||||||||||||||||||
133 |
Enter a password. The following prompt is displayed: Re-enter new Password: | |||||||||||||||||||||||
134 |
Re-enter the password. The following is displayed if the password change is successful: passwd: password successfully changed for username The following message and prompt are displayed: Specify whether an NFM-P Main Server will be installed on this workstation. The database memory requirements will be adjusted to account for the additional load. Will the database co-exist with an NFM-P Main Server on this workstation [Yes/No]: | |||||||||||||||||||||||
135 |
Enter Yes or No, as required. Messages like the following are displayed as the script execution completes: INFO: About to set kernel parameters in /etc/sysctl.conf... INFO: Completed setting kernel parameters in /etc/sysctl.conf... INFO: About to change the current values of the kernel parameters INFO: Completed changing the current values of the kernel parameters INFO: About to set ulimit parameters in /etc/security/limits.conf... INFO: Completed setting ulimit parameters in /etc/security/limits.conf... INFO: Completed running Oracle Pre-Install Tasks, you *MUST* reboot your box. | |||||||||||||||||||||||
136 |
When the script execution is complete, enter the following to reboot the station: # systemctl reboot ↵ The station reboots. | |||||||||||||||||||||||
137 |
When the reboot is complete, log in as the root user on the station that is commissioned as the main database [DB1] station. | |||||||||||||||||||||||
138 |
Open a console window. | |||||||||||||||||||||||
139 |
Navigate to the NFM-P software directory. Note: Ensure that the directory contains only the installation files. | |||||||||||||||||||||||
140 |
Enter the following: # chmod +x * ↵ | |||||||||||||||||||||||
141 |
Enter the following: # dnf install *.rpm ↵ The dnf utility resolves any package dependencies, and displays the following prompt: Total size: nn G Installed size: nn G Is this ok [y/d/N]: | |||||||||||||||||||||||
142 |
Enter y. The following and the installation status are displayed as each package is installed: Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction The package installation is complete when the following is displayed: Complete! | |||||||||||||||||||||||
143 |
Configure the database as a standby database; see NFM-P samconfig utility for information about using samconfig.
| |||||||||||||||||||||||
144 |
Verify the database configuration.
| |||||||||||||||||||||||
145 |
Enter the following to apply the configuration and begin the database creation: <db> apply ↵ The database creation begins, and progress messages are displayed. The following is displayed when the database creation is complete: DONE db configurations updated. | |||||||||||||||||||||||
146 |
When the database creation is complete, enter the following: <db> exit ↵ The samconfig utility closes. | |||||||||||||||||||||||
Reinstantiate standby database | ||||||||||||||||||||||||
147 |
Log in to an NFM-P GUI client as the admin user. | |||||||||||||||||||||||
148 |
Choose Administration→System Information from the main menu. The System Information form opens. | |||||||||||||||||||||||
149 |
Click Re-Instantiate Standby. | |||||||||||||||||||||||
150 |
Click Yes to confirm the action. The reinstantiation begins, and the GUI status bar displays reinstantiation information. Note: Database reinstantiation takes considerable time if the database contains a large amount of statistics data. You can also use the System Information form to monitor the reinstantiation progress. The Last Attempted Standby Re-instantiation Time is the start time; the Standby Re-instantiation State changes from In Progress to Success when the reinstantiation is complete. | |||||||||||||||||||||||
151 |
When the reinstantiation is complete, close the System Information form. | |||||||||||||||||||||||
Upgrade former primary auxiliary database cluster | ||||||||||||||||||||||||
152 |
If the system includes redundant auxiliary database clusters, perform To upgrade a geo-redundant Release 22.6 or earlier auxiliary database on the former primary auxiliary database cluster. | |||||||||||||||||||||||
Upgrade original primary main server [Main1] | ||||||||||||||||||||||||
153 |
If the main server [Main1] and database [DB1] are on separate stations, and you are re-using the main server station, recommission the station according to the platform specifications in this guide and in the NSP Planning Guide. For information about deploying the RHEL OS using an NSP OEM disk image, see NSP disk-image deployment. Note: After the upgrade, the station is the new standby main server station. | |||||||||||||||||||||||
154 |
Log in as the root user on the station that is commissioned as the main server [Main1] station. | |||||||||||||||||||||||
155 |
Open a console window. | |||||||||||||||||||||||
156 |
If the main server and database are on separate stations, perform the following steps.
| |||||||||||||||||||||||
157 |
Perform one of the following.
| |||||||||||||||||||||||
158 |
Navigate to the NFM-P software directory. | |||||||||||||||||||||||
159 |
Enter the following: # chmod +x * ↵ | |||||||||||||||||||||||
160 |
Enter the following: # dnf install *.rpm ↵ The dnf utility resolves any package dependencies, and displays the following prompt: Total size: nn G Installed size: nn G Is this ok [y/d/N]: | |||||||||||||||||||||||
161 |
Enter y. The following and the installation status are displayed as each package is installed: Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction The package installation is complete when the following is displayed: Complete! | |||||||||||||||||||||||
Configure new standby main server [Main1] | ||||||||||||||||||||||||
162 |
Enter the following; see NFM-P samconfig utility for information about using samconfig: Note: Regardless of whether you intend to modify the main server configuration, you must apply the main server configuration, as described in the following steps. # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> | |||||||||||||||||||||||
163 |
Enter the following: <main> configure ↵ The prompt changes to <main configure>. | |||||||||||||||||||||||
164 |
To apply a new or updated NFM-P license, enter the following: Note: You cannot start a main server unless the main server configuration includes a current and valid license. You can use samconfig to specify the license file in this step, or later import the license, as described in the NSP System Administrator Guide. <main configure> license license_file ↵ where license_file is the path and file name of the NSP license bundle | |||||||||||||||||||||||
165 |
Enter the following: <main configure> database instance standby_instance back ↵ where standby_instance is the [DB2] database instance name, which is the standby Instance Name recorded in Step 44 of To prepare for an NFM-P system upgrade from Release 22.6 or earlier | |||||||||||||||||||||||
166 |
Enter the following: <main configure> redundancy database instance primary_instance back ↵ where primary_instance is the [DB1] database instance name, which is the primary Instance Name recorded in Step 43 of To prepare for an NFM-P system upgrade from Release 22.6 or earlier The prompt changes to <main configure redundancy>. | |||||||||||||||||||||||
167 |
Enter the following: <main configure redundancy> back ↵ The prompt changes to <main configure>. | |||||||||||||||||||||||
168 |
Verify the main server configuration.
| |||||||||||||||||||||||
169 |
Enter the following: <main> apply ↵ The configuration is applied. | |||||||||||||||||||||||
170 |
Enter the following: <main> exit ↵ The samconfig utility closes. Note: This station is the new standby main server station. | |||||||||||||||||||||||
171 |
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.
| |||||||||||||||||||||||
Restore new standby main server [Main1] data files | ||||||||||||||||||||||||
172 |
Transfer the main server data backup .tar.gz file set created in Step 34 of To prepare for an NFM-P system upgrade from Release 22.6 or earlier to the /opt/nsp/nfmp directory on the [Main1] main server station. | |||||||||||||||||||||||
173 |
Enter the following: # cd /opt/nsp/nfmp ↵ | |||||||||||||||||||||||
174 |
Enter the following: # chown nsp:nsp *.tar.gz ↵ | |||||||||||||||||||||||
175 |
Enter the following: # ls *.tar.gz ↵ The data backup files are listed. | |||||||||||||||||||||||
176 |
For each listed file, enter the following: # tar -xf filename.tar.gz -C /opt/nsp/nfmp/ ↵ where filename is a backup timestamp in the format MM-DD-hh-mm | |||||||||||||||||||||||
177 |
Enter the following: # rm -f *.tar.gz ↵ | |||||||||||||||||||||||
178 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/lte ↵ | |||||||||||||||||||||||
179 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/nebackup ↵ | |||||||||||||||||||||||
180 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/nelogs ↵ | |||||||||||||||||||||||
181 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/nesoftware ↵ | |||||||||||||||||||||||
182 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/os ↵ | |||||||||||||||||||||||
183 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/server/script/savedResults ↵ | |||||||||||||||||||||||
184 |
Enter the following: # chown -R nsp:nsp /opt/nsp/nfmp/server/nms/nodeSoftware ↵ | |||||||||||||||||||||||
Enable Windows Active Directory access | ||||||||||||||||||||||||
185 |
If you intend to use Windows Active Directory, or AD, for single sign-on client access, you must configure LDAP remote authentication for AD; otherwise, go to Step 194. Open the following file as a reference for use in subsequent steps: /opt/nsp/os/install/examples/config.yml Note: Consider the following.
| |||||||||||||||||||||||
186 |
Locate the section that begins with the following lines: # ldap: # enabled: true # servers: # - type: AUTHENTICATED/AD/ANONYMOUS # url: ldaps://ldap.example.com:636 # security: SSL/STARTTLS/NONE | |||||||||||||||||||||||
187 |
Open the following file using a plain-text editor such as vi: /opt/nsp/os/install/config.json | |||||||||||||||||||||||
188 |
Locate the section that begins with the following line: "sso": { The section has one subsection for each type of SSO access. Note: You can enable multiple remote authentication methods such as LDAP and RADIUS in the config.json file, or by using the NFM-P GUI. Using the GUI also allows you to specify the order in which the methods are tried during login attempts; however, no ordering is applied to multiple methods enabled in the config.json file. | |||||||||||||||||||||||
189 |
In the sso section, create an ldap subsection as shown below using the parameter names from the ldap section of config.yml and the required values for your configuration. The following example shows the LDAP configuration for two AD servers:
where auth_type is AD or AUTHENTICATED | |||||||||||||||||||||||
190 |
Save and close the files. | |||||||||||||||||||||||
191 |
Enter the following: # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> | |||||||||||||||||||||||
192 |
Enter the following: <main> apply ↵ The AD LDAP configuration is applied. | |||||||||||||||||||||||
193 |
Enter the following: <main> exit ↵ The samconfig utility closes. | |||||||||||||||||||||||
Configure WS-NOC integration | ||||||||||||||||||||||||
194 |
If the NFM-P is integrated with an WS-NOC system, open the following file with a plain-text editor such as vi; otherwise, go to Step 204: /opt/nsp/os/install/examples/config.json | |||||||||||||||||||||||
195 |
Copy the following section: "nfmt": { "primary_ip": "", "standby_ip": "", "username": "", "password": "", "cert_provided": false }, | |||||||||||||||||||||||
196 |
Close the file. | |||||||||||||||||||||||
197 |
Open the following file with a plain-text editor such as vi: /opt/nsp/os/install/config.json | |||||||||||||||||||||||
198 |
Paste in the copied section. | |||||||||||||||||||||||
199 |
Configure the required parameters to enable the WS-NOC integration: | |||||||||||||||||||||||
200 |
Save and close the file. | |||||||||||||||||||||||
201 |
Enter the following: # samconfig -m main ↵ The following is displayed: Start processing command line inputs... <main> | |||||||||||||||||||||||
202 |
Enter the following: <main> apply ↵ The configuration is applied. | |||||||||||||||||||||||
203 |
Enter the following: <main> exit ↵ The samconfig utility closes. | |||||||||||||||||||||||
Integrate NFM-P and NSP cluster | ||||||||||||||||||||||||
204 |
If you are upgrading an NFM-P system that is not currently integrated with an NSP cluster, perform procedure To add an independent NFM-P to an existing NSP deployment. Note: Performing the procedure also starts the main server. | |||||||||||||||||||||||
Start new standby main server [Main1] | ||||||||||||||||||||||||
205 |
Start the new standby main server [Main1]. Note: You cannot start a main server unless the main server configuration includes a current and valid license. You can use samconfig to specify the license file, or import a license, as described in the NSP System Administrator Guide.
| |||||||||||||||||||||||
206 |
If you have enabled Windows Active Directory access using the AUTHENTICATED type of LDAP server, use the NSP Session Manager RESTCONF API to add the LDAP server bind credentials; see the Network Developer Portal for information. | |||||||||||||||||||||||
207 |
Specify the memory requirement for GUI clients based on the type of network that the NFM-P is to manage.
| |||||||||||||||||||||||
208 |
Close the console window. | |||||||||||||||||||||||
Upgrade auxiliary servers [Aux1] | ||||||||||||||||||||||||
209 |
If the system includes auxiliary servers, perform To upgrade a Release 22.6 or earlier NFM-P auxiliary server on each [Aux1] auxiliary server station. | |||||||||||||||||||||||
Start auxiliary servers [Aux1] | ||||||||||||||||||||||||
210 |
If the system includes auxiliary servers, perform the following steps on each [Aux1] auxiliary server station.
| |||||||||||||||||||||||
Disable maintenance mode for auxiliary database agents | ||||||||||||||||||||||||
211 |
If the system does not include an auxiliary database, go to Step 215. | |||||||||||||||||||||||
212 |
Activate the nspos-auxdb-agent in each NSP cluster.
The cluster enters active mode within approximately one minute. | |||||||||||||||||||||||
Verify auxiliary database status | ||||||||||||||||||||||||
213 |
Issue the following RESTCONF API call to verify that the new primary auxiliary database cluster is in active mode: Note: In order to issue a RESTCONF API call, you require a token; see this tutorial on the Network Developer Portal for information. GET /data/auxdb:/auxdb-agent HTTP/1.1 Request body: Host: address Content-Type: application/json Authorization: bearer_and_token_from_session_manager where address is the advertised address of the primary NSP cluster The cluster is in active mode if the response includes ACTIVE. | |||||||||||||||||||||||
214 |
Issue the following RESTCONF API call to verify the auxiliary database operation: Note: In order to issue a RESTCONF API call, you require a token; see this tutorial on the Network Developer Portal for information. GET https://{{address}}/RESTCONF/data/auxdb:/clusters where address is the advertised address of the primary NSP cluster The call returns auxiliary database cluster status information like the following, which is the output for redundant clusters; if each mode and status value are not as shown below, contact technical support. <HashMap> <clusters> <cluster> <name>cluster_M</name> <mode>ACTIVE</mode> <status>UP</status> <nodes> <external-ip>203.0.113.101</external-ip> <internal-ip>10.1.2.101</internal-ip> <status>UP</status> </nodes> <nodes> <external-ip>203.0.113.102</external-ip> <internal-ip>10.1.2.102</internal-ip> <status>UP</status> </nodes> <nodes> <external-ip>203.0.113.103</external-ip> <internal-ip>10.1.2.103</internal-ip> <status>UP</status> </nodes> </cluster> <cluster> <name>cluster_N</name> <mode>STANDBY</mode> <status>ON_STANDBY</status> <nodes> <external-ip>203.0.113.104</external-ip> <internal-ip>10.1.2.104</internal-ip> <status>READY</status> </nodes> <nodes> <external-ip>203.0.113.105</external-ip> <internal-ip>10.1.2.105</internal-ip> <status>READY</status> </nodes> <nodes> <external-ip>203.0.113.106</external-ip> <internal-ip>10.1.2.106</internal-ip> <status>READY</status> </nodes> </cluster> </clusters> </HashMap> | |||||||||||||||||||||||
Check post-upgrade disk space | ||||||||||||||||||||||||
215 |
If you are performing a trial upgrade on a lab system in advance of a live upgrade, you must check the available capacity of the disk partitions on each component against the values recorded in Step 1. Perform the following steps on each of the following stations:
| |||||||||||||||||||||||
Install or upgrade single-user GUI clients | ||||||||||||||||||||||||
216 |
As required, install or upgrade additional single-user GUI clients; see the following for information: | |||||||||||||||||||||||
Install or upgrade client delegate servers | ||||||||||||||||||||||||
217 |
As required, install or upgrade client delegate servers; see the following for information: | |||||||||||||||||||||||
Stop PKI server | ||||||||||||||||||||||||
218 |
If no other components are to be deployed, stop the PKI server by entering Ctrl+C in the console window. | |||||||||||||||||||||||
Restore TLS version and cipher support configuration | ||||||||||||||||||||||||
219 |
An NFM-P system upgrade does not preserve your changes to the system support for specific TLS versions and ciphers. If the system had customized TLS settings before the upgrade, see the NSP System Administrator Guide for information about how to restore the TLS version and cipher support settings. Note: TLS 1.0 and 1.1 are disabled by default after an upgrade. If either version is enabled before an NFM-P system upgrade and required after the upgrade, you must re-enable the version support after the upgrade. | |||||||||||||||||||||||
Configure and enable firewalls | ||||||||||||||||||||||||
220 |
If you intend to use any firewalls between the NFM-P components, and the firewalls are disabled, configure and enable each firewall. Perform one of the following.
End of steps |