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 <TSSA-DWInstallationDirectory>/bsa/bi/model/19202 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
  2. Use the following URL to log in to TrueSight Server Automation - Data Warehouse:
    https://<TrueSight Server Automation - Data Warehouse hostname>:<port>/tssa-dw

  3. In the Log in as field, select the DWAdmin user, who is the TrueSight Server Automation - Data Warehouse administrator.
  4. Click the Reports link.
  5. 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 in 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.
    3. Drag the report to the Export List area.
    4. Click Export in the upper left corner.
    5. In the Export window, provide a file name for your report.
    6. Click Export and then click OK in the Export Summary window.
    7. Click Close.
  6. Log out of the Admin Console.
  7. Use the following URL to open the TrueSight Smart Reporting - Platform login page:
    https://<TrueSight Smart Reporting hostname>:port/tsr 
  8. In the Log in as list, select the DWAdmin user, who is the TrueSight Server Automation - Data Warehouse administrator.
  9. Update the content. Do the following:

    1. On the Components page, click the Update Content icon  for TrueSight Server Automation - Data Warehouse.
    2. In the Update Content window, click Yes. A success message appears when the content is updated.
  10. If you have exported reports with custom properties, you must import them.

     Do the following:
    1. In the upper right corner, click your profile and then click Admin Console.
    2. Click Log in.
    3. Click the menu icon in the upper left corner, and then click Administration > Import.
    4. Browse to select the exported report on the screen.
    5. Select the Custom option and click Continue.
    6. Select the report from the list and drag it to the Import List area.
      Ensure that you do not drag any other content from the list.
    7. Click the Configuration icon for a report.
    8. In the <report name> area, click Replace Existing and select the previous report in the field provided. For example, the following image displays the custom report area.
    9. Close the <report name> area.
    10. Click Import and then click OK on the Import Summary window.

    11. Click Close.

How to video

Installing the Content Pack (2:16)

 https://youtu.be/hNZy9Xw4Lxk

Was this page helpful? Yes No Submitting... Thank you

Comments