Installing and configuring Live reporting
This topic describes the process to install and configure Live Reporting with TrueSight Server Automation, and includes the following sections:
- System requirements for Live Reporting
- Downloading the installation files
- Before you begin
- Step 1: Installing Live Reporting
- Step 2: Importing certificate to TrueSight Server Automation application server
- Step 3: Verifying the Live Reporting installation
- Step 4: Configuring the BLAS Admin
- Step 5: Creating an automation principal for REPORT_ADMIN
- Step 6: Assigning authorization to your role
- Step 7: Populating the reports
- Step 8: Upgrade the Tomcat Server
- Where to go from here
The Live reporting dashboard displays complete information about patch management, compliance, and job activity in one consolidated view. The dashboard contains multiple reports, many of which you can run live while you are in a patching window, to review up-to-the-minute compliance.
For more information about the dashboard, see Using-the-Live-Reporting-dashboard.
System requirements for Live Reporting
This section describes the requirements for installing and using Live Reporting in your environment.
Application server requirements
Requirement | Recommended minimum specifications |
---|---|
Processor | 2 x Dual Core 3GHz or faster |
RAM | 4 GB minimum |
Hard Disk | 1 GB free space |
Operating System |
|
Database server requirements
Requirement | Recommended minimum specifications |
---|---|
Processor | 2 x Dual Core 3Ghz or faster |
RAM | 4 GB minimum |
Hard Disk | 10 GB (preferably with RAID disk mirroring) |
Database | For Live Reporting, BMC supports only the following databases as
|
Client requirements
Requirement | Recommended minimum specifications |
---|---|
Web Browser | Supported browsers include:
|
PDF reader such as Adobe Acrobat Reader for viewing PDF files. This reader is required only if users export Live Reporting reports to PDF. |
Requirements for concurrent users
Number of users | CPU requirements | RAM requirements |
---|---|---|
Developer / Demonstration | Single 2 GHz Xeon or equivalent | 2 Gb |
25 or Less Concurrent Users | 2 x 2 GHz Xeon or equivalent | 4 Gb |
50 Concurrent Users | 4 x 2 GHz Xeon or equivalent | 8 Gb |
150 Concurrent Users | 8 x 2 GHz Xeon or equivalent | 16 Gb |
Downloading the installation files
Download and extract the installation files for Live Reporting from the Electronic Product Distribution (EPD) website:
- (Windows) TSSA_LiveReportingInstaller.exe
- (Linux) TSSA_LiveReportingInstaller.bin
Before you begin
The version of Live Reporting must match the version of TrueSight Server Automation that is installed in your environment.
Upgrade from the earlier version of Live Reporting is not supported. You must first manually uninstall the existing version and then install the new version. For steps about uninstalling the existing version of Yellowfin, see Uninstalling-Live-Reporting.
- When BMC customers use Live Reporting in their production environment, the type of Yellowfin database must match the TrueSight Server Automation database. For example, if your TrueSight Server Automation environment is running MS SQL Server, then your Yellowfin environment must also be running MS SQL Server. You cannot mismatch databases.
- The database server does not have to reside on the same system as the Live Reporting application. However, BMC recommends that you install Live Reporting on a dedicated host.
- For Windows or Linux operating system, you can use one of these pre-created databases and database user:
- SQL Server
- Oracle
For creating a SQL Server database and database user, you need the following information:
- Host name or IP address of the Windows server running the database
- Port number that the database listens on. The default port is 1433 for MS SQL Server
- Credentials of a database user. Do not use the default sa user for the Yellowfin database user; use a more restricted user for the Yellowfin database. Choose one of the following:
- Database and database user credentials supplied to you by your database administrator,
- If you are using Windows authentication, make sure that a user account exists in Computer Management and is added to the Administrator group. This step is not required on the server that hosts the database.
- Credentials of the database administrator (for example, sa).
For information about pre-creating a Microsoft SQL database, see Walkthrough-Setting-up-a-SQL-Server-database .
- For creating an Oracle database and database user, you need the following information:
- Host name or IP address of the Linux server running the database
- Port number that the database listens on. The default port is 1521 for Oracle.
- Oracle SID (for example, ORA112DB) or the Oracle Service Name used to connect with Oracle, as defined in tnsnames.ora .
- Credential of a database user (do not use system) which is specifically created to configure the Yellowfin metadata. The schema of the database user must be empty.
- For information about creating an Oracle database, see Walkthrough: Setting up an Oracle database .
Step 1: Installing Live Reporting
Depending on which operating system you are installing Live Reporting on , follow one of the following procedures.
This example uses Live Reporting 8.9.03 screenshots. However, the steps are same for Live Reporting 8.9.03 and later.
Perform the following steps to install Live Reporting on your Windows host.
- Run the Live Reporting installation file (for example, TSSA_LiveReportingInstaller.exe ) as an administrator.
- The first screen of the Live Reporting installation wizard appears. Click Next.
- Read the End User License Agreement (EULA) and select I agree to the terms of the license agreement.
Click Next. Enter the HTTPS port number of the Yellowfin server that you want to connect to. The default port number is 8443.
- Select the type of database that you are using with Yellowfin, which is Microsoft SQL for this procedure.
Enter the Yellowfin SQL server database details (which you created in this step) as displayed in the following screenshot and table:
Field
Description
Host Name or IP Address
Enter the Host name or IP address of the server that runs the Yellowfin SQL server database.
Port
Enter the port that the Yellowfin database listens on. The default port is1433 for an SQL Database.
Instance Name
(only visible if the Named Instance option is selected)Enter the name of the database instance that you created.
Database Name
Enter the name of the database that you created.
User Name
Enter the user name that you created for the database.
User Password
Enter the user name password that you created for the database.
Confirm User Password
Confirm the user name password that you created for the database.
Windows Authentication or SQL Server Authentication
Select whether the user must log on to the Yellowfin database server using Windows credentials or SQL server credentials.
- Enter and confirm the password that you want to assign to the Yellowfin REPORT_ADMIN user. The REPORT_ADMIN user is the default administrator user for Yellowfin.
Enter the Tomcat Web server certificate information as displayed in the below screenshot and table. This information is used to enable an HTTPS connection to Yellowfin.
Field
Description
Common Name (CN)
Enter a name to identify the CA certificate
Organizational Unit (OU)
Enter your organization unit, for example: IDD
Organization Name (O)
Enter your organization name, for example: BMC Software
Locality Name (L)
Enter the name of your locality, for example: San Jose
State Name (S)
Enter the name of your state, for example: California
Country (C)
Enter the name of your country, for example: USA
Create Keystore Password
Enter the keystore password.
Important: Enter the password that is set for JRE cacerts keystore in TrueSight Server Automation. The default password set for cacerts is typically changeit.Create Keystore Password
Confirm the keystore password.
Important: Enter the password that is set for JRE cacerts keystore in TrueSight Server Automation. The default password set for cacerts is typically changeit.Enter TrueSight Server Automation database server details as displayed in the following screenshot and table:
Field
Description
Host Name or IP Address
Enter the Host name or IP address of the server that runs the TrueSight Server Automation database.
Port
Enter the port that the TrueSight Server Automation database listens on. The default port is1433 for an SQL Database.
Instance Name
(only visible if the Named Instance option is selected)Enter the name of the TrueSight Server Automation database instance .
Database Name
Enter the name of the TrueSight Server Automation database.
User Name
Enter the user name of the TrueSight Server Automation database.
User Password
Enter the user name password of the TrueSight Server Automation database.
Confirm User Password
Confirm the user name password of the TrueSight Server Automation database.
Windows Authentication or SQL Server Authentication
Select whether the user must log on to the TrueSight Server Automation database server using Windows credentials or SQL server credentials.
Enter the path to the directory in which you want to install Live Reporting. The default path is C:\Program Files\BMCSoftware\Live_Reporting. Click Next.
Review the information on the Preview screen and click install to start the installation.
- After the installation is successful, you must not close the Tomcat window.
Perform the following steps to install Live Reporting on your Linux host.
- Run the Live Reporting installation file (for example, BladeLogic_LiveReportingInstaller.bin) as a root user.
- The first screen of the Live Reporting installation wizard appears. Click Next.
- Read the End User License Agreement (EULA) and select I agree to the terms of the license agreement.
Click Next. - Enter the HTTPS port number of the Yellowfin server that you want to connect to. The default port number is 8443.
- Select the type of database that you are using with Yellowfin, which is Oracle for this procedure.
Enter the Yellowfin Oracle database details (which you created in in this step) as displayed in the following screenshot and table:
Field
Description
Host Name or IP Address
Enter the Host name or IP address of the server that runs the Yellowfin Oracle database.
Port
Enter the port that the Yellowfin database listens on. The default port is 1521 for an Oracle Database.
Service or SID
(depending on the option you have selected)Enter the database SID or the Service name, depending on which option you have selected.
User Name
Enter the user name of a database user (do not use system) which is specifically created to configure the Yellowfin metadata.
User Password
Enter the password of the user name that you created for the database.
Confirm User Password
Confirm the password of the user name that you created for the database.
- Enter and confirm the password that you want to assign to the Yellowfin REPORT_ADMIN user. The REPORT_ADMIN user is the default administrator user for Yellowfin.
Enter the Tomcat Web server certificate information as displayed in the below screenshot and table. This information is used to enable an HTTPS connection to Yellowfin.
Field
Description
Common Name (CN)
Enter a name to identify the CA certificate
Organizational Unit (OU)
Enter your organization unit, for example: IDD
Organization Name (O)
Enter your organization name, for example: BMC Software
Locality Name (L)
Enter the name of your locality, for example: San Jose
State Name (S)
Enter the name of your state, for example: California
Country (C)
Enter the name of your country, for example: USA
Create Keystore Password
Enter the keystore password.
Important: Enter the password that is set for JRE cacerts keystore in TrueSight Server Automation. The default password set for cacerts is typically changeit.Confirm Keystore Password
Confirm the keystore password.
Important: Enter the password that is set for JRE cacerts keystore in TrueSight Server Automation. The default password set for cacerts is typically changeit.Enter TrueSight Server Automation database server details as displayed in the following screenshot and table:
Field
Description
Host Name or IP Address
Enter the Host name or IP address of the server that runs the TrueSight Server Automation Oracle database.
Port
Enter the port that the TrueSight Server Automation database listens on. The default port is 1521 for an Oracle Database.
Service or SID
(depending on the option you have selected)Enter the database SID or the Service name, depending on which option you have selected.
User Name
Enter the user name of the TrueSight Server Automation database.
User Password
Enter the password of the user name of the TrueSight Server Automation database.
Confirm User Password
Confirm the password of the user name of the TrueSight Server Automation database.
Enter the path to the directory in which you want to install the Live Reporting feature. The default installation path is /opt/bmc/live_reporting. Click Next.
Review the information on the Preview screen and click install to start the installation.
If you need to install Live Reporting on a system that does not have internet access, perform the following steps:
- Install Live Reporting on a supported Microsoft Windows or Linux operating system.
- Stop the Yellowfin service.
- Locate the following section in the <yellowfin_installation_directory>/appserver/webapps/root/web-inf/web.xml file:
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" [
<!ENTITY jsps SYSTEM "file:/opt/bmc/Yellowfin/appserver/webapps/ROOT/WEB-INF/web-jsps.xml">
]> - Replace the above with the following:
<!DOCTYPE web-app
SYSTEM "web-app_2_3.dtd" [
<!ENTITY jsps SYSTEM "file:/opt/bmc/Yellowfin/appserver/webapps/ROOT/WEB-INF/web-jsps.xml">
]> - Start the Yellowfin service.
- Run the post-installation script:
- postinstaller.bat (Windows)
- postinstaller.sh (Linux)
Step 2: Importing certificate to TrueSight Server Automation application server
You must import the certificate on every Application Server in your environment. Otherwise, you will see an error when you try to access the Live Reporting data from the Application Servers. This means, if there are multiple Application Servers in your environment, you must repeat the steps to import the certificates on all the servers.
- Copy <installed_directory>\Yellowfin\appserver\conf\yellowfin_server.cer and paste it into a temp folder on the TrueSight Server Automation Application Server host.
- Open a administrative command prompt.
- Run the keytool command from the jre\bin installed with the TrueSight Server Automation Application Server. The default path for bin directory are as follows:
For Linux : <installed_directory> /NSH/br/java/bin
For Windows : <installed_directory> \NSH\jre\bin Import <temp_folder>\yellowfin_server .cer into your TrueSight Server Automation Application Server Java cacerts keystore. The default path for cacerts keystore are as follows:
For Windows : <installed_directory> \NSH\jre\lib\security\cacerts
For Linux: <installed_directory>/NSH/br/java/lib/security).
For example, in a Windows environment:keytool -import -alias yellowfin-server
-keystore "C:\Program Files\BMC Software\BladeLogic\NSH\jre\lib\security\cacerts"
-trustcacerts -file "C:\temp\yellowfin_server.cer"For example, in a Linux environment:
keytool -import -alias yellowfin-server
-keystore "/opt/bmc/bladelogic/NSH/br/java/lib/security/cacerts"
-trustcacerts -file "/tmp/yellowfin_server.cer"- At the prompt, enter changeit as the default cacerts password.
At the prompt to trust the certificate, enter yes.
keytool -import -alias yellowfin-server
-keystore "<installed_directory>\NSH\jre\lib\security\cacerts"
-trustcacerts -file "<temp_directory>\yellowfin_server.cer"
Enter keystore password:
Owner: CN=clm-aus-013663.bmc.com, OU=IDD, O=BMC Software,
L=San Jose, ST=California, C=US
Issuer: CN=clm-aus-013663.bmc.com, OU=IDD, O=BMC Software,
L=San Jose, ST=California, C=US
Serial number: 744eb125
Valid from: Thu Apr 07 07:59:15 GMT-12:00 2016 until: Fri Apr 07 07:59:15 GMT-12
:00 2017
Certificate fingerprints:
MD5: 4D:EE:5D:7A:F1:FF:1F:6B:78:10:89:02:E0:86:D0:C4
SHA1: 84:7A:C7:D9:18:FF:C8:4B:7D:60:9F:5B:08:A2:81:26:A7:6C:6A:D7
SHA256: 75:A7:4E:DE:8E:04:D5:2D:6C:09:69:1B:FA:7B:5D:E8:DB:39:5B:
68:76:BC:EF:DC:31:BD:04:A5:60:95:66:0E
Signature algorithm name: SHA256withRSA
Version: 3
Trust this certificate? [no]: yes
Certificate was added to keystoreAfter you import the certificate, restart the TrueSight Server Automation Application Server in which the certificate is imported.
For example:/etc/init.d/blappserv stop
/etc/init.d/blappserv start
Step 3: Verifying the Live Reporting installation
Follow this procedures to verify the Live Reporting installation.
Verify that whether the Live Reporting is installed successfully by logging on to Yellowfin (https://<yellowfinServerName>:<portNumber>) with the new REPORT_ADMIN user. Update the details for the REPORT_ADMIN profile (for example, enter the temporary password, create and confirm the new password for REPORT_ADMIN, and so on) and save your changes.
After you save your changes, review the default page.
Step 4: Configuring the BLAS Admin
Before you launch the live reporting dashboard, run the following command in the BLAS Admin console. For information about starting the BLAS admin console, see Starting-the-Application-Server-Administration-console.set livereporting livereportingurl https://<hostname>:<portNumber>
Replace the variables with values, as described in the following table:
Variable | Description |
---|---|
<hostname> | Host name of the server hosting the Yellowfin server |
<portNumber> | Port number that the Yellowfin server listens on. |
Examples:
set livereporting livereportingurl https://<yellowfinServerName>:8443
Step 5: Creating an automation principal for REPORT_ADMIN
You need an automation principal to create an BladeLogic Application Server session to communicate with Yellowfin.
Perform the following steps to create the automation principal for the REPORT_ADMIN user:
- Log on to TrueSight Server Automation Console using your RBAC Admin (RBACAdmin) credentials. For more information, see RBACAdmin-and-BLAdmin-users.
- In the RBAC Manager folder, select Automation Principals.
- Create a new automation principal by right-clicking and selecting New > Automation Principal from the pop-up menu. The Automation Principal Creation wizard appears.
Enter the following details to create your Automation principal for the REPORT ADMIN:
Field
Description
Name
Enter REPORT_ADMIN
Description
(Optional) Enter descriptive text
Principal ID
Enter REPORT_ADMIN
Domain
Leave empty
Passphrase
Enter the modified password of the REPORT_ADMIN user (not the temporary password that you created while running the post installer script)
Confirm
Re-enter the modified password of the REPORT_ADMIN user
- Click Finish.
Step 6: Assigning authorization to your role
Perform the following steps:
- Remain logged on to TrueSight Server Automation Console using your RBAC Admin credentials. For more information, see RBACAdmin-and-BLAdmin-users.
- In the RBAC Manager folder, select Roles.
- Right-click on the role that you will assign to the user, who launches the Live reporting dashboard (for example, BLAdmins), and select Open from the pop-up menu. Alternatively, create a new role for this by right-clicking and selecting New > Role from the pop-up menu.
- Click the System tab at the bottom of the Available Authorizations list.
Assign the Report.Writer authorization to the role, by clicking
and moving the Report.Writer authorization from the Available Authorizations box to the Selected Authorizations box.
- Make sure the role now has the Report.Writer authorization.
Assign the AutomationPrincipal.Read authorization to the role, by clicking
and moving the AutomationPrincipal.Read authorization from the Available Authorizations box to the Selected Authorizations box. Note that you can skip this step if you are using the BLAdmin role to access Live Reporting.
Click the Users tab to ensure that the role is assigned to the user with which you plan to launch the Live reporting dashboard. For more information about assigning roles to users from the Users tab, see Role-Users.
- Save your changes to the role.
For detailed information about creating a role and its authorizations, see Creating-roles. For information about modifying a role and its authorizations, see Modifying-Roles.
You are now ready to use the Live reporting dashboard. For more information, see Where to go from here.
Step 7: Populating the reports
The first time you launch the Live Reporting dashboard from the console, no data is shown in any of reports. To populate the reports, do the following:
- Log on to Live Reporting using the REPORT_ADMIN user.
- Click Administration > Admin Console > Data Sources.
- In the Data Sources panel, click the component datasource.
- Click Access Filters.
- Do the following for all the access filters:
- Click an access filter from the list of available filters.
- In the Settings panel, toggle New User Auto Refresh.
The access filters are updated when new users are added to the component. - Click Submit.
- Click Done.
- Click Administration > Admin Console.
- In the right pane, click Schedule Management in the Administration section.
- Select the following filters and click Run now.
- Access Filter- ROLE FOR ANALYSIS
- Access Filter- ROLEE FOR DEPLOY
- Access Filter- ROLE FOR DEVICE
- Ensure that all filters have been refreshed in the current date and time. If any filter still shows an earlier date and time in the Last Run column, select that filter and click Run Now again.
- Log on to the dashboard and click the Reset button
.
The latest values of server groups, patch catalogs, and so on are now reflected on the dashboard.
Step 8: Upgrade the Tomcat Server
The Live Reporting installer does not include the latest version of Tomcat Server. Therefore, we recommend using this embedded Tomcat Server only for test environments. For production environments, make sure that you manually upgrade the Tomcat Server to the latest non-vulnerable version to mitigate security risks. For the upgrade instructions, see How to upgrade Tomcat.
- Create backup copies of the server.xml and web.xml files.
- Perform the upgrade.
- Restore the backup after the upgrade is complete.
Where to go from here