To install an NSP analytics server
Purpose
CAUTION Installation Failure |
If you attempt to install an analytics server before the NSP Analytics function is fully initialized, the installation may fail.
Before you attempt to install an analytics server, you must ensure that the NSP Analytics function is fully initialized.
The following steps describe how to install the NSP analytics server software on a station.
Note: Each running NSP analytics server and each running auxiliary database in the NSP system must be at the same release.
Note: Performing the procedure creates the nsp user account on the analytics server station.
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
Verify NFM-P configuration | |
1 |
If one of the following is true, go to Step 3:
|
2 |
In an NSP system that includes an NFM-P with IP validation enabled, you must ensure that each analytics server is listed as a remote server in the NFM-P IP validation configuration of each NFM-P main database. Also, you must ensure that each system is running before you install an analytics server. Otherwise, analytics report generation is compromised. Perform the following high-level steps to configure IP validation in each NFM-P system that communicates with the analytics servers. For information about starting and stopping NFM-P components, see the NSP System Administrator Guide. For information about using the samconfig utility, see NFM-P samconfig utility.
|
Install analytics server packages | |
3 |
If the NSP system includes an NFM-P system that is not currently running, start the NFM-P system; see the NSP System Administrator Guide for information about starting the NFM-P. |
4 |
Log in as the root user on the analytics server station. |
5 |
Download the following installation files to an empty local directory: where R.r.p is the NSP release identifier, in the form MAJOR.minor.patch v is a version number |
6 |
Open a console window. |
7 |
Ensure that the analytics server hostname, or an analytics server IP address that can be resolved by a DNS server, is configured in the /etc/hosts file on the analytics server station. |
8 |
Navigate to the directory that contains the downloaded installation files. |
9 |
Enter the following: # chmod +x *.rpm ↵ |
10 |
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]: |
11 |
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 check The package installation is complete when the following is displayed: Complete! |
Obtain required system files | |
12 |
If you are installing the first of multiple analytics servers, go to Step 18. |
13 |
Enter the following to switch to the nsp user: # su - nsp ↵ |
14 |
Transfer the following files from the first installed analytics server to the /opt/nsp directory on the analytics server that you are currently installing: Note: If for any reason you uninstall the analytics software after you copy the files, for example, if the initial installation attempt fails, you must copy the files again before you retry the installation. |
15 |
Enter the following: # chown nsp:nsp /opt/nsp/.jrsks ↵ |
16 |
Enter the following: # chown nsp:nsp /opt/nsp/.jrsksp ↵ |
17 |
If you are currently operating on the final analytics server to be installed, perform the following steps on each analytics server other than the first installed analytics server to restart the analytics server. Note: You must not restart the first installed analytics server, only the other analytics servers. The restarts are required in order to correctly establish communication among the analytics servers.
|
Configure analytics server | |
18 |
If you are manually configuring TLS, perform the following steps. Note: For information about manual TLS configuration in an NSP system, including generating keystore and truststore files, see To generate custom TLS certificate files for the NSP.
|
19 |
Enter the following to switch to the nsp user, if you are not currently nsp: # su - nsp ↵ |
20 |
Enter the following: bash$ cd /opt/nsp/analytics/bin ↵ |
21 |
Enter the following: bash$ ./AnalyticsAdmin.sh updateConfig ↵ The script displays the following message and prompt: THIS ACTION UPDATES THE CONFIG FILE Please type 'YES' to continue |
22 |
Enter YES. The script displays the following, and the first in a series of prompts. Config file found. |
23 |
At each prompt, enter a parameter value; to accept a default in brackets, press ↵. The following table lists and describes each parameter. Table 14-2: NSP analytics server parameters |
24 |
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. |
25 |
Enter the following to install the analytics server software: bash$ ./AnalyticsAdmin.sh install ↵ Note: The analytics server starts automatically after the installation. The following prompt is displayed if the Use NFM-P-only mode parameter in Step 23 is set to false. Enter NSP user name: |
26 |
If the prompt is displayed, perform the following steps.
|
27 |
The following messages and prompt are displayed: Access token retrieved successfully date time Analytics App is UP and Running Version check passed. NSP version = RR.r; Analytics server version = RR.r date time Installing Analytics Server... Do you have existing TLS certificates?(yes/no) |
28 |
If you have TLS keystore and truststore files, perform the following steps.
|
29 |
If you do not have TLS keystore and truststore files, perform the following steps.
|
30 |
The installation begins, and messages like the following are displayed: Creating Analytics Repository Schema Analytics Repository Schema creation is complete Please wait while Analytics Server is being installed...This may take a few minutes date time Deploying Analytics Server in Tomcat... Analytics Server successfully deployed in Tomcat date time Starting Analytics Server... date time Starting Analytics Application Waiting for Analytics Server to come up date time Analytics Server is UP and Running Starting Watchdog process to check Oracle database connectivity... Analytics Server successfully started! date time Configuring Analytics Server.... Deploying Reports... Start Deploying report . . . All reports successfully tracked Analytics Server configured successfully date time Analytics Server successfully installed |
31 |
Enter the following to view the analytics server status; ensure that the server is running: bash$ ./AnalyticsAdmin.sh status ↵ The following is displayed if the analytics server is running: Analytics Server Version : Release Analytics Application is running Active PostgreSQL Repository Database Host : n.n.n.n Auxiliary Data source Database Host(s) : n.n.n.n,n.n.n.n,n.n.n.n,... Active Oracle Data source Database Host : n.n.n.n TLS KeyStore File Path : path TLS TrustStore File Path : path |
32 |
If no other components are to be deployed, stop the PKI server by entering Ctrl+C in the console window. |
33 |
Close the open console window. End of steps |