Running Live Optics scripts to gather IBM Spectrum Protect (TSM) files

Live Optics Agent

Overview

Live Optics allows you, your Dell EMC technologists, or Dell EMC partner consultants to understand vital information about your IBM Spectrum Protect environment. To start, it is important to gather the pertinent data files of your backup environment. Live Optics provides you with a simple process to gather, parse and, ultimately, present your data in a clear and understandable way, so that you can make informed decisions to optimize your backup infrastructure.

The collector and file-gathering program is signed and verified by the Dell Certificate Authority. The file-gathering program uses the backup application’s specific commands to generate these files.

Versions Supported

TSM 7.x, TSM 8.x

Pre-Requisites

The following list is are required to follow the instructions below.

  • You are an End User with Administrative access to IBM Spectrum Protect
  • For a Windows Server, Powershell is installed
  • Your Dell EMC or Dell EMC-Partner User has provided you with a way to transmit and receive files
  • Download the latest version of the Live Optics collector. The collection scripts will be in the “scripts” folder.

Windows Instructions

To gather the .OUT files for TSM, run the .ps1 script on the Windows TSM Server following these steps:

  1. Launch Powershell
  2. change into the "scripts" directory in the LiveOptics folder by typing: cd [FOLDER]
  3. Run the program by typing into your Powershell window:
    • .\LiveOpticsTSMWindows.ps1
  4. Allow all of the files to populate into the directory
  5. Use the Live Optics Collector to upload your files for processing

Linux/Unix Instructions

To gather the .OUT files for TSM, run the .sh script on the Linux/Unix TSM Server following these steps:

  1. Launch your terminal
  2. cd into the "scripts" directory in the LiveOptics folder that contains the sh program by typing:
    • cd [FOLDER]
  3. Modify the file permissions to execute:
    • chmod +x LiveOpticsTSM.sh
  4. Execute program by typing:
    • ./LiveOpticsTSM.sh
  5. Allow all of the files to populate into the directory
  6. Use the Live Optics Collector to upload your files for processing

 

The following error may be seen when the user runs the collector script without sufficient privileges.  The specific ANS number may vary based on TSM release, but the general verbiage is similar:

 TSM Server: ANSxxxxx Pruning functions cannot open one of the Tivoli Storage Manager prune files: /opt/tivoli/tsm/client/ba/bin/dsmprune14534.log. errno = 13 Permission denied

 Solution: Ensure user is running script using an account with sufficient rights.  Also, ensure the specific directory has writes enabled (consult TSM admin and/or IBM Support if needed).

Was this article helpful?
2 out of 2 found this helpful
Article is closed for comments.