Retrieving deleted reports and views


When a view or report gets corrupted or deleted, you can retrieve them. Do the following:

  1. Install the Content Pack. 
  2. Import the latest content in TrueSight Smart Reporting - Platform.

The Content Pack includes only the out-of-the-box reports and views. When you import the latest content of your component in TrueSight Smart Reporting - Platform, the existing out-of-the box reporting content is replaced by the latest content. The customized reports are not replaced, and remain unchanged.

To install the Content Pack

  1. Log in to the host computer on which you want to install the Content Pack, and delete all the files from the temporary directory:
    • (Windows%temp%
    • (Linux/tmp
  2. On the host computer, ensure that you have administrator privileges and TrueSight Server Automation - Data Warehouse is installed.
  3. Download and extract the Content Pack installer zip files (TSSA-DW-ContentPackInstaller-<versionNo>.zip) to a temporary location outside the following location to avoid any file sharing conflicts:
    • (Windows)C:\Program Files
    • (Linux) /opt
  4. Navigate to the extracted folder, and execute the ContentPackInstaller.nsh script using the following command in cmd or shell terminal:

    nsh ContentPackInstaller.nsh

    The following snippet shows an example of a sample output:

      [root@vl-pun-bsa-xxx Content]# nsh ContentPackInstaller.nsh
     
      [Mon Apr  8 16:50:50  2019] -  ============================================================================

      [Mon Apr  8 16:50:50  2019] - PHASE 1 - Starting environment initialization.

      [Mon Apr  8 16:50:52  2019] -

      [Mon Apr  8 16:50:52  2019] - Initialization done... Ok

      [Mon Apr  8 16:50:52  2019] -

      [Mon Apr  8 16:50:53  2019] - ============================================================================

      [Mon Apr  8 16:50:53  2019] -  ============================================================================

      [Mon Apr  8 16:50:53  2019] - PHASE 2 - Webserver Health Check

      [Mon Apr  8 16:50:54  2019] -

      [Mon Apr  8 16:50:54  2019] - First the installer will stop and start the webserver to ensure it
     restarts successfully in current state before any modifications are made. do
     you wish to continue? (Y|N):

      [Mon Apr  8 16:54:27  2019] - UserInput - yes

      [Mon Apr  8 16:54:27  2019] -

      [Mon Apr  8 16:54:27  2019] -
     ============================================================================

      [Mon Apr  8 16:54:27  2019] - Restarting WebServer...

      [Mon Apr  8 16:54:28  2019] -
     ============================================================================

      [Mon Apr  8 16:54:28  2019] - Stopping Webserver....

      [Mon Apr  8 16:54:36  2019] - Waiting for 30 secs...

      [Mon Apr  8 16:55:07  2019] - Webserver stopped successfully.

      [Mon Apr  8 16:55:08  2019] - ============================================================================

      [Mon Apr  8 16:55:08  2019] - Starting Webserver....

      [Mon Apr  8 16:55:10  2019] - Waiting for 30 secs...

      [Mon Apr  8 16:55:41  2019] - Webserver started successfully.

      [Mon Apr  8 16:55:41  2019] -  ============================================================================

      [Mon Apr  8 16:55:42  2019] -

      [Mon Apr  8 16:55:42  2019] - Webserver restarted... Ok

      [Mon Apr  8 16:55:42  2019] -

      [Mon Apr  8 16:55:43  2019] - ============================================================================

      [Mon Apr  8 16:55:43  2019] -

      [Mon Apr  8 16:55:43  2019] - Webserver Health Check Done... Ok


      [Mon Apr  8 16:55:44  2019] -

      [Mon Apr  8 16:55:44  2019] - ============================================================================

      [Mon Apr  8 16:55:44  2019] -  ============================================================================

      [Mon Apr  8 16:55:44  2019] - PHASE 3 - Reading version of CONTENT from  Component_version.properties file

      [Mon Apr  8 16:55:45  2019] -

      [Mon Apr  8 16:55:45  2019] - Installed CONTENT version is : 00.00 ...ok

      [Mon Apr  8 16:55:46  2019] -

      [Mon Apr  8 16:55:46  2019] -  ============================================================================

      [Mon Apr  8 16:55:46  2019] - ============================================================================

      [Mon Apr  8 16:55:47  2019] - Comparing CONTENT version

      [Mon Apr  8 16:55:48  2019] -

      [Mon Apr  8 16:55:48  2019] - Installed CONTENT version 00.00 is less than installing CONTENT version  : 19.01 ...ok

      [Mon Apr  8 16:55:48  2019] -

      [Mon Apr  8 16:55:49  2019] -  ============================================================================


      [Mon Apr  8 16:55:49  2019] -  ============================================================================


      [Mon Apr  8 16:55:49  2019] - PHASE 4 - Installing the Content Pack Installer

      [Mon Apr  8 16:55:51  2019] -

      [Mon Apr  8 16:55:51  2019] - Installation done ...ok

      [Mon Apr  8 16:55:51  2019] - ============================================================================

      [Mon Apr  8 16:55:51  2019] -  ============================================================================

      [Mon Apr  8 16:55:52  2019] - PHASE 5 - Updating Component_version.properties

      [Mon Apr  8 16:55:53  2019] -

      [Mon Apr  8 16:55:53  2019] - CONTENT version has updated in Component_version.properties file  ...ok

      [Mon Apr  8 16:55:53  2019] -

      [Mon Apr  8 16:55:53  2019] -  ============================================================================

      [Mon Apr  8 16:55:54  2019] - ============================================================================

      [Mon Apr  8 16:55:54  2019] - Restarting WebServer...

      [Mon Apr  8 16:55:54  2019] -  ============================================================================

      [Mon Apr  8 16:55:55 2019]  - Stopping Webserver....

      [Mon Apr  8 16:55:58  2019] - Waiting for 30 secs...

      [Mon Apr  8 16:56:28  2019] - Webserver stopped successfully.

      [Mon Apr  8 16:56:29  2019] -  ============================================================================

      [Mon Apr  8 16:56:29  2019] - Starting Webserver....

      [Mon Apr  8 16:56:32  2019] - Waiting for 30 secs...


      [Mon Apr  8 16:57:03  2019] - Webserver started successfully.

      [Mon Apr  8 16:57:03  2019] - ============================================================================

      [Mon Apr  8 16:57:03  2019] -

      [Mon Apr  8 16:57:03  2019] - Webserver restarted... Ok

      [Mon Apr  8 16:57:04  2019] -

      [Mon Apr  8 16:57:04  2019] -  ============================================================================

      [Mon Apr  8 16:57:04  2019] -  ============================================================================

      [Mon Apr  8 16:57:05  2019] - Copying log at location C:\Program Files\TSSA-DW/br/

To get the latest content in TrueSight Smart Reporting - Platform

Do the following:

  1. Ensure that the <tssadw_installation_directory>/bsa/bi/model/23200 directory contains the following files:
    • Audit.yfx
    • ChangingTracking.yfx
    • CommandUsage.yfx
    • Compliance.yfx
    • HealthValueDashboard.yfx
    • Inventory.yfx
    • JobActivity.yfx
    • Patch.yfx
    • Provisioning.yfx
    • RBAC.yfx
    • UtilizationDashboard.yfx
    • VPC.yfx
  1. Use the following URL to log in to TrueSight Server Automation - Data Warehouse:
    https://<TrueSight Server Automation - Data Warehouse hostname>:<port>/tssa-dw
  2. In the Log in as field, select the DWAdmin user, who is the TrueSight Server Automation - Data Warehouse administrator.
  3. Click the Reports link.
  4. If you have created reports with custom properties, use TrueSight Smart Reporting - Platform to export these reports.

    Do the following:
    1. Click the menu icon menu_icon.pngin the upper left corner, and then click Administration > Export.
    2. From the list of the content, select the report that you created. You can use the Search option to locate your report.
      export_list_search.jpg
    3. Drag the report to the Export List area.
    4. Click Export in the upper left corner.
      export_button.jpg
    5. In the Export window, provide a file name for your report.
    6. In the Export Summary window, click Export and then click OK.
    7. Click Close.
  5. Log out of the Admin Console.
  6. Use the following URL to open the TrueSight Smart Reporting - Platform login page:
    https://<truesight_smart_reporting_platform_hostname>:port/tsr 
  7. In the Log in as list, select one of the following options:
    • TrueSight Smart Reporting - Platform - Admin
    • TrueSight Server Automation - Data Warehouse - Admin
  8. Depending on your selection, enter the DWAdmin or admin user credentials, and click LOG IN.
  9. On the Components page, click the Update Content icon update_content_icon.png for TrueSight Server Automation - Data Warehouse.
  10. In the Update Content window, click Yes. A success message appears when the content is updated.

How to video

Installing the Content Pack (2:16)

icon-play.png https://youtu.be/hNZy9Xw4Lxk

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*