Installing Unified Assurance on Multiple Servers
In production environments, you install Oracle Communications Unified Assurance components across multiple servers. Typically, this involves one presentation server, one database server, one Elasticsearch database server, and one or more collection servers. However, because a single server can have one or more roles associated to it, you could set up different configurations of combined and separate servers. For example, you could have a single combined presentation and database server and multiple collection servers, or a single combined presentation and collection server with a separate database server, or other combinations.
See Understanding Server Roles in Unified Assurance Concepts for information about server roles.
Multiple Server Installation Prerequisites and Directories
Before starting an installation, ensure that you have completed all tasks described Linux Prerequisites.
By default, Unified Assurance uses the following directories, though you can choose to use different ones:
-
/opt: The Unified Assurance parent directory.
-
/opt/install: The Unified Assurance installation directory.
-
/opt/assure1: The Unified Assurance home directory created by the RPM installation and set as $A1BASEDIR.
Preparing to Install Unified Assurance on Multiple Servers
To prepare the servers for the Unified Assurance installation:
-
On the presentation server that will be part of the environment:
-
Download the latest Unified Assurance release package from Oracle Software Delivery Cloud:
The package contains the Oracle-Communications-Unified-Assurance-6.X.X.X.X-el8.zip collection file for installation.
-
If there is not an /install subdirectory under the home directory, create it. The default directory structure is:
/opt/install
The documentation refers to this directory as <installation_directory>.
-
Move the collection file to <installation_directory>.
-
Extract the contents of the collection file:
unzip -d <installation_directory> Oracle-Communications-Unified-Assurance-6.W.X.Y.Z-el8.zip
-
-
On all other servers in the environment:
-
If there is not an /install subdirectory under the home directory, create it. The default directory structure is:
/opt/install
-
Upload the extracted RPM file from the presentation server to <installation_directory> on all other servers.
-
-
On all servers in the environment, including the presentation server:
-
Install the RPM by running one of the following commands:
-
To install Unified Assurance into the default /opt/assure1/ home directory:
yum install <installation_directory>/Assure1-6.V.W.X.Y-ZZZ.el8.x86_64.rpm
-
To install Unified Assurance into a custom home directory:
Caution:
The following rpm command does not automatically install the required dependencies, and some dependency errors may occur. To resolve them, install the missing dependencies, then rerun the command.
rpm -ivh --prefix <custom_home_directory> <installation_directory>/Assure1-6.V.W.X.Y-ZZZ.el8.x86_64.rpm
-
-
Run one of the following commands as root:
-
Export LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=$A1BASEDIR/lib:$A1BASEDIR/lib/private
-
Source the .bashrc file:
source $A1BASEDIR/.bashrc
Note:
By default, $A1BASEDIR is set to /opt/assure1/. If you used a custom home directory, this will be different.
-
-
Enable temporary files to run by redirecting the root tmp directory to the Unified Assurance tmp directory with the following command:
export TMP=$A1BASEDIR/tmp
This is required to run the SetupWizard application that installs Unified Assurance.
-
If SELinux is enabled, confirm that the assure1 directory has the correct permissions, ownerships, and security context:
-
From the Unified Assurance home directory's parent directory (typically the opt directory), run the following command:
ls -l
-
In the response, confirm that the permissions and ownership for the Unified Assurance home directory (typically assure1) match the following:
drwx------. 11 assure1 assure1 4096 <date_time> <UA_home>
-
Change to the Unified Assurance home directory (typically assure1) and run the following command:
ls -lZ
-
In the response, confirm that the permissions, ownership, and security contexts match the following:
drwxr-xr-x. 3 assure1 assure1 system_u:object_r:bin_t:s0 4096 <date_time> bin drwxr-xr-x. 12 assure1 assure1 system_u:object_r:etc_t:s0 149 <date_time> distrib drwxr-xr-x. 3 assure1 assure1 system_u:object_r:etc_t:s0 57 <date_time> etc drwxr-xr-x. 2 assure1 assure1 system_u:object_r:etc_t:s0 102 <date_time> legal drwxr-xr-x. 3 assure1 assure1 system_u:object_r:lib_t:s0 106 <date_time> lib drwxr-xr-x. 3 assure1 assure1 system_u:object_r:etc_t:s0 67 <date_time> logs drwxr-xr-x. 2 assure1 assure1 system_u:object_r:etc_t:s0 33 <date_time> tmp drwxr-xr-x. 3 assure1 assure1 system_u:object_r:etc_t:s0 17 <date_time> var drwxr-xr-x. 3 assure1 assure1 system_u:object_r:etc_t:s0 18 <date_time> vendor
If any permissions, ownership, and security contexts do not match, consult with your local system administrator.
-
-
Server preparation is complete. Proceed to Installing Unified Assurance on the Presentation Server.
Installing Unified Assurance on the Presentation Server
Before beginning these steps, you must prepare the server as described in Preparing to Install Unified Assurance on Multiple Servers.
To install Unified Assurance on the presentation server:
-
Go to the following directory:
cd $A1BASEDIR/bin/
-
Start SetupWizard by running the following command as root:
./SetupWizard --Depot <installation_directory>/:a1-local
-
When prompted Is this your Primary Presentation Server?, enter y then press Enter.
-
When prompted What is this install's Web FQDN? [FQDN]:, make a change if needed then press Enter.
-
When prompted Comma-delimited list of roles to install (numeric):, enter the numerical values for the following roles, and then press Enter:
-
Presentation
-
Processing
Note:
The Processing role is installed on the presentation server to split the overall load across the servers in the environment. It is not required to be on the presentation server specifically, but it does need to be installed on a server somewhere in the environment. If the applications run as part of this role become too much for the server, you may need to migrate the role to a dedicated system.
-
-
When prompted Do you accept all the license agreements? Must type "AGREE":, enter AGREE then press Enter.
Setup Wizard installs Unified Assurance.
-
Check the following log files for installation errors:
-
$A1BASEDIR/logs/SetupWizard.log
-
$A1BASEDIR/logs/Package.log
-
-
Change the default password:
-
In a browser, enter the web FQDN of the server.
-
Log in using admin as the username and password.
-
From the Configuration menu, select AAA, then Users.
-
Select the admin user account.
-
In the Password and Repeat Password fields, enter a new secure password of your choice and click Submit.
See Users in Unified Assurance User's Guide for information about the fields in this interface.
-
The presentation server installation is complete. Proceed to Installing Unified Assurance on the Database Server.
Installing Unified Assurance on the Database Server
Before beginning these steps, you must prepare the server as described in Preparing to Install Unified Assurance on Multiple Servers and install the presentation server as described in Installing Unified Assurance on the Presentation Server.
Note:
The installation process is different on Elasticsearch database servers. See Installing Unified Assurance on the Elasticsearch Database Server
To install Unified Assurance on the database server:
-
Go to the following directory:
cd $A1BASEDIR/bin/
-
Start SetupWizard by running the following command as root:
./SetupWizard
-
When prompted Is this your Primary Presentation Server?, enter n then press Enter.
-
When prompted Enter the Host FQDN of your Primary Presentation Server:, enter the host FQDN of the presentation server then press Enter.
-
When prompted Enter the Web FQDN of your Primary Presentation Server:, enter the web FQDN of the presentation server then press Enter.
-
When prompted Set Web FQDN for this server?, enter n then press Enter.
-
When prompted Is this a redundant server?, enter n then press Enter.
-
When prompted Comma-delimited list of roles to install (numeric):, enter the numerical values for the following roles then press Enter:
-
Database.Event
-
Database.Graph
-
Database.Metric
Note:
Depending on the load for each database, you can install the different database roles on separate servers. For example, you could install the Event and Graph databases on the same server and the Metric database on a separate server. Larger organizations may need to keep all three separate.
-
-
When prompted Do you accept all the license agreements? Must type "AGREE":, enter AGREE then press Enter.
The files needed for the installation are downloaded from the presentation server and installed.
-
Check the following log files for installation errors:
-
$A1BASEDIR/logs/SetupWizard.log
-
$A1BASEDIR/logs/Package.log
-
The database server installation process is complete. Proceed to Installing Unified Assurance on the Elasticsearch Database Server.
Installing Unified Assurance on the Elasticsearch Database Server
Before beginning these steps, you must prepare the servers as described in Preparing to Install Unified Assurance on Multiple Servers and install the presentation servers as described in Installing Unified Assurance on the Presentation Server.
To install Unified Assurance on the Elasticsearch Database server:
-
Run SetupWizard:
-
Go to the following directory:
cd $A1BASEDIR/bin/
-
Start SetupWizard by running the following command as root:
./SetupWizard
-
When prompted Is this your Primary Presentation Server?, enter n then press Enter.
-
When prompted Enter the Host FQDN of your Primary Presentation Server:, enter the host FQDN of the presentation server then press Enter.
-
When prompted Enter the Web FQDN of your Primary Presentation Server:, enter the web FQDN of the presentation server then press Enter.
-
When prompted Set Web FQDN for this server?, enter n then press Enter.
-
When prompted Is this a redundant server?, enter n then press Enter.
-
When prompted Comma-delimited list of roles to install (numeric):, enter the numerical value for the Database.Historical role then press Enter.
-
When prompted Do you accept all the license agreements? Must type "AGREE":, enter AGREE then press Enter.
The files needed for the installation are downloaded from the presentation server and installed.
-
Check the following log files for installation errors::
-
$A1BASEDIR/logs/SetupWizard.log
-
$A1BASEDIR/logs/Package.log
-
-
-
Install analytics by running AnalyticsWizard:
-
Go to the following directory:
cd $A1BASEDIR/bin/historical/
-
Start AnalyticsWizard by running the following command as root:
./AnalyticsWizard
-
When prompted Allow this script to configure for analytics? [n]:, enter y then press Enter.
-
When prompted What heap size should Elasticsearch use? [<value>]:, make a change if needed then press Enter.
Note:
By default, <value> is set to half of the total system memory, rounded down. You can change this for different environments, with a minimum recommended value of 512 megabytes (512m).
-
When prompted What maximum machine learning size should Elasticsearch use (percent of system memory)? [60]:, make a change if needed then press Enter.
-
When provided information about analytics components and a list of servers, then prompted Are these servers correct? [n]:, review the list to verify the following:
-
Analytics UI: The presentation server.
-
Analytics DB: The database server with the Database.Historical roles.
-
Importer: The database server with the Database.Historical roles.
-
-
If the servers listed are correct, enter y then press Enter. If they are incorrect, enter n, press Enter, and change the servers listed for each role as needed.
AnalyticsWizard installs analytics and other related services.
-
The Elasticsearch database server installation process is complete. Proceed to Installing Unified Assurance on the Collection Server.
Installing Unified Assurance on the Collection Server
Before beginning these steps, you must:
-
Prepare the servers as described in Preparing to Install Unified Assurance on Multiple Servers.
-
Install the presentation servers as described in Installing Unified Assurance on the Presentation Server.
-
Install the database servers as described in Installing Unified Assurance on the Database Server and Installing Unified Assurance on the Elasticsearch Database Server.
To install Unified Assurance on the collection server:
-
Go to the following directory:
cd $A1BASEDIR/bin/
-
Start SetupWizard by running the following command as root:
./SetupWizard
-
When prompted Is this your Primary Presentation Server?, enter n then press Enter.
-
When prompted Enter the Host FQDN of your Primary Presentation Server:, enter the host FQDN of the presentation server then press Enter.
-
When prompted Enter the Web FQDN of your Primary Presentation Server:, enter the web FQDN of the presentation server then press Enter.
-
When prompted Set Web FQDN for this server?, enter n then press Enter.
-
When prompted Is this a redundant server?, enter n then press Enter.
-
When prompted Comma-delimited list of roles to install (numeric):, enter the numerical value for the Collection role then press Enter.
-
When prompted Do you accept all the license agreements? Must type "AGREE":, enter AGREE then press Enter.
The files needed for the installation are downloaded from the presentation server and installed.
-
Check the following log files for installation errors:
-
$A1BASEDIR/logs/SetupWizard.log
-
$A1BASEDIR/logs/Package.log
-
The installation process is complete.