+ All Categories
Home > Documents > IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights...

IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights...

Date post: 09-Sep-2021
Category:
Upload: others
View: 7 times
Download: 0 times
Share this document with a friend
50
2018 IBM Corporation IBM Operations Analytics Predictive Insights Mediation Pack © 2018 IBM Corporation Mediation Pack for Spectrum Control IBM Operations Analytics Predictive Insights Version 1.2 January 2018
Transcript
Page 1: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack© 2018 IBM Corporation

Mediation Pack for Spectrum Control

IBM Operations AnalyticsPredictive Insights

Version 1.2

January 2018

Page 2: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Agenda

• Overview

• Prerequisite Information

• Spectrum Control Mediation Pack Introduction

• Spectrum Control Mediation Pack Data and Metrics

• Installing and Configuring the Spectrum Control Mediation Pack

• Deploying the Data Model and Data Training

• Support and Trouble Shooting

• Operations Analytics Media Resources

Page 3: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Overview Spectrum Control provides metric data in CSV format for which the Mediation Pack will

use to formulate content into Predictive Insights. IBM Operations Analytics Predictive

Insights Mediation Pack for Spectrum Control provides a pre-built model for data

ingestion. Predictive Insights creates a performance model that it uses to detect or

forecast behavior outside the modeled range, including generating an alarm when an

anomalous behavior occurs. Doing so enables organizations to pro-actively avoid system

and solution outages before users are impacted.

3

Page 4: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack4

Prerequisite Information

The Spectrum Control Mediation Pack requires Predictive Insights versions 1.3.3,

1.3.5 or 1.3.6 to be installed prior to installing the mediation pack.

The Spectrum Control Mediation Pack supports Spectrum Control version 5.2.13

or higher

Page 5: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Spectrum Control Solution

Overview

Page 6: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack6

Spectrum Control Data and Metrics

Spectrum Control mediation pack provides metric data in CSV format for which

the Mediation Pack will use to formulate content into Predictive Insights.

The Spectrum Control mediation pack provides scripts that retrieve the metric

from the Spectrum control server every 15 minutes.

Data is then sent to a python script on the predictive insight server which then

formats the metrics into 5 minute interval CSV files.

Page 7: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Spectrum Control Performance Metrics

7

Metric Group Name Attributes Metrics

StorageSystem Storage System Name Total I/O Rate - overall

Write-cache Delay Percentage

Total Data Rate

Overall Response Time

Overall Host Attributed Response Time Percentage

Overall Transfer Size

Total Back-end I/O Rate

Total Back-end Data Rate

Overall Back-end Response Time

Overall Back-end Queue Time

Overall Back-end Transfer Size

Total Port I/O Rate

Total Port to Host I/O Rate

Total Port to Disk I/O Rate

Total Port to Local Node I/O Rate

Total Port to Remote Node I/O Rate

Total Port Data Rate

Total Port to Host Data Rate

Total Port to Disk Data Rate

Total Port to Local Node Data Rate

Total Port to Remote Node Data Rate

Overall Port to Local Node Response Time

Zero Buffer Credit Percentage

System CPU Utilization

Page 8: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Spectrum Control Performance Metrics

8

Metric Group Name Attributes MetricsIOGroups Storage System Name Read Data Rate

IO Group name Write Data Rate

Read Response Time

Write Response Time

Metric Group Name Attributes Metrics

StoragePorts Storage System Name

Port Send I/O Rate

Port Name Port Receive I/O Rate

Port Send Data Rate

Port Receive Data Rate

Link Failure Rate

Loss of Sync Rate

Loss of Signal Rate

CRC Error Rate

Zero Buffer Credit Percentage

Metric Group Name Attributes Metrics

Nodes Storage System Name Node Utilization Percentage

Node Name System CPU Utilization

Zero Buffer Credit Percentage

Port to Local Node Send Response Time

Port to Remote Node Send Response Time

Page 9: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Spectrum Control Performance Metrics

9

Metric Group Name Attributes MetricsVolumes Storage System Name Read I/O Rate - overall

Volume Name Write I/O Rate - overall

Write-cache Delay I/O Rate

Read Data Rate

Write Data Rate

Read Response Time

Write Response Time

Overall Host Attributed Response Time Percentage

Overall Transfer Size

Metric Group Name Attributes Metrics

HostConnections Storage System Read I/O Rate - overall

Host Connection Write I/O Rate - overall

Read Data Rate

Write Data Rate

Read Response Time

Write Response Time

Page 10: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Installing and Configuring

Page 11: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack11

Mediation Pack Contents

The following directories are contained in the Mediation Pack: SpectrumControl_MedPack_v1.2.0.zip

Pack organization/config

/on_pi_server

/on_spectrum_control_server

/windows

/AIX

/linux

/docs

/license

/bin

/on_pi_server

/on_spectrum_control_server

/windows

/AIX

/linux

/pamodel

/etc

/sample

Page 12: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack12

Mediation Pack Contents

/config

The windows directory in the ‘on_spectrum_control’ directory contains the

allStorageSystems.txt and mediationProps.txt files which are needed for the batch script

run.bat on the spectrum control (windows) server along with plink.exe and pscp.exe for

transferring file from the windows server to the RHEL Predictive Insights server.

The AIX directory in the ‘on_spectrum_control’ directory contains the allStorageSystems.txt

and the mediationProps.txt files which are needed for the bash script run.sh on the spectrum

control server.

The linux directory in the ‘on_spectrum_control’ directory contains the allStorageSystems.txt,

and the mediationProps.txt files which are needed for the bash script run.sh on the spectrum

control server.

The ‘on_pi_server ’directory contains the spectrumControl_props.txt and the

spectrumControl_config.json files, which are required for the python script on the Predictive

Insights server.

Page 13: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack13

Mediation Pack Contents

/docs

Contains the Users Guide for Mediation Pack of Spectrum Control for deploying and

configuring the Mediation Pack.

Spectrumctl_MediationPack_UserGuide_v1.2.0.pdf

This is a deployment procedural guide to deploy the Spectrum Control mediation pack into the

Predictive Insights environment.

Spectrumctl_MediationPack_Readme_v1.2.0.txt

This is a text document for the deployment procedures of the Spectrum Control mediation

pack.

/license

Text license files for governing the use of the Mediation pack.

Page 14: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack14

Mediation Pack Contents Continued

/bin directory contents

on_spctrum_control_server directory:

run.bat (Use if Spectrum Control is on Windows), run_AIX.sh (Use if Spectrum Control

is on AIX), run_linux.sh (Use if Spectrum Control is on Linux):

The run.bat or run.sh scripts reside on the spectrum control server. These scripts execute the

exportPerformanceData script of Spectrum Control to collect the data from the Spectrum

Control for the storage systems names that are given in the allStorageSystems.txt file.

After successful collection, these scripts transfer the raw files (performance reports) from the

Spectrum control server to the Predictive Insights server.

After the transfer is complete, the script deletes the raw files from the Spectrum Control

directory. Then the run.bat or run.sh executes the Python script on the Predictive Insights

server remotely to produce files for ingestion in Predictive Insights.

Page 15: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack15

Mediation Pack Contents Continued

/bin directory contents

on_pi_server directory:

spectrumControl.sh (Bash script to be placed on PI server)

This script resides on the Predictive Insights server in the directory of the user’s choice. This

script executes the Python script from the same directory. The Python script takes the files

that have arrived from the Spectrum Control server and converts them into five-minute csv

files with the metrics that are configured in the spectrumControl_config.json file.

spectrumControl_generator.py (Python script to be placed on PI server)

This Python resides on the PI server in the same directory as the spectrumControl.sh script.

Users should not edit this script.

Page 16: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack16

Mediation Pack Contents Continued

/pamodel directory contents

Core files used in the Mediation Pack representing the Predictive Insights model consisting of

all attributes and metric definitions.

SpectrumControl_2.pamodel

The SpectrumControl_2.pamodel file is a PI model file which consists of all attributes and

metric definitions. This file consists of all metric group definitions. Import this file into mediation

tool.

/sample directory contents

Contains a sample CSV file representing the captured data streams that can be used to try the

Mediation Pack output in the Operations Analytics Predictive Insights product. There are two

five-minute interval files per metric group.

Page 17: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack17

Configuring the Mediation Pack

The following slides describe the steps that are necessary to add the Mediation

Pack to your Operations Analytics Predictive Insights system.

The first major steps are to setup and configure the scripts that will be executing

on the Spectrum Control Server and the Predictive Insights Server.

The second major step is to Configure the Data Model.

The last step is to create the topic.

Page 18: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack18

Configuring the Mediation PackOverview of the Scripts Execution on Spectrum Control and Predictive

Insights Servers

Every 15 minutes, the run.bat or run.sh script will execute the exportPerformanceData.bat

or .sh script which comes out of the box with Spectrum Control. The run.bat or run.sh script

will form a command to execute by reading “mediationProps.txt”, “allStorageSystems.txt”.

After execution, the metric files will be stored on the spectrum control server at the location

given by user in the “mediationProps.txt”.

These files will be then transferred to the Predictive Insights server as per the path given by

the user, followed by deletion of the files from the Spectrum Control server. After a

successful transfer, a Python script on the Predictive Insights server will be executed

remotely by run.bat or run.sh to produce 5-minute interval files on the PI server.

The Python script will take the transferred files from the Spectrum Control server as input

files and produce 5-minute files with selected metrics, in the location per the user’s

preference, given in “spectrumControl_props.txt” file, which resides on the PI server.

Page 19: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack19

Configuring the Mediation PackSetting up the scripts on the Spectrum Control Server

1. Copy the files run.sh or run.bat, mediationProps.txt, allStorageSystems.txt on the Spectrum Control

server in a new directory from the relevant OS directories of the mediation pack (Upload the plink.exe

and pscp.exe if Spectrum Control is running on Windows operating system).

2. Edit the Field descriptions for properties in the “mediationProps.txt” file as follows:

UserName: - The Spectrum Control UserName, given for extraction of the data

Password: - Spectrum Control Password

Server: - Spectrum Control Server IP/HostName

Port: - Spectrum Control Port Number

Destination: - Location where Spectrum Control files dump are to be stored on the Spectrum Control server. The user must

have read/write permissions to this directory as every 15 minutes, new files are going to be placed along with the deletion

of the old files.

Script: - The location of the exportPerformanceData script on the Windows/AIX Spectrum Control server.

resTypes: - The metric groups that user wants to be extracted for StorageSystems. (For the StorageSystems given in

allStorageSystems.txt file) (e.g. Nodes, Ports, Volumes, StorageSystem, HostConnections, IOGroups etc.)

PI_User: - Username of the Predictive Insights server. (Usually scadmin)

PI_Password: - Password of the Predictive Insights User.

PI_FileLocation: - The location where the transferred files from spectrum control server the user wants to hold every 15

minutes (As spectrum control server, this folder will be temporary location to hold files. Every 15 minutes, Python script will

read files from here, and delete after processing).

Exec_Command: - The path where the spectrumControl.sh executable is placed the PI server

Page 20: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack20

Configuring the Mediation PackSetting up the scripts on the Spectrum Control Server (continued)

3. Optionally edit the allStorageSystems.txt file which the user can define a sub list of desired

storage systems to retrieve metrics from user’s environment. If the user wants to retrieve all

storage systems metrics, leave this file blank.

4. Make sure that the ‘plink.exe’ and ‘pscp.exe’ are copied to the Spectrum Control server if

Spectrum Control is running on a windows operating system.

5. Make sure that the run.bat or run.sh script is copied to the Spectrum Control server. The

user should not edit this file.

Notes:

All the above mentioned files should reside in the same directory on the Spectrum Control

server.

It is recommended that the user edits the files on native operating system. E.g. Properties file

for Spectrum Control Linux server should be edited on Linux OS. In case the file to be placed

on UNIX server is edited on Windows server, use the dos2unix command to make the file Unix

compatible.

Page 21: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack21

Configuring the Mediation PackSetting up the scripts on the Predictive Insights Server

1. Download the anaconda package on the Predictive Insights server.

• Download the installer in a directory of your choice (login using scadmin):

$ wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh

• Make the .sh file executable if it is not already.

• Execute the downloaded .sh file and follow the prompt, it will ask usual questions –

agreement etc.

• When prompted, keep the default installation location or change per user’s preference.

Make a note of installation location.

• When asked, “Do you wish the installer to prepend the Anaconda3 install location to

PATH in your “/home/scadmin/.bashrc?”, Say No.

2. Copy the spectrumControl_config.json, spectrumControl_props.txt, from the

mediation pack /config/on_pi_server directory and the spectrumControl_generator.py,

spectrumControl.sh from the mediation pack /bin/on_pi_server directory to the

Predictive Insights server to a new directory of the user’s choice.

Page 22: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack22

Configuring the Mediation PackSetting up the scripts on the Predictive Insights Server (continued)

3. Edit the spectrumControl_props.txt file

inputFilesPath: - Path where the files are coming from Spectrum Control Server. This path is same as the

‘PI_FileLocation’ field in ‘mediationProps.txt’ file on the Spectrum Control server.

outputFilesPath: - Path where user wants to store five minute files. This will be the directory for Predictive

Insights training (make sure path given here is valid and exists).

4. Edit the spectrumControl.sh script file and on line 2, enter the path of

~/anaconda3/bin directory which is been created after installing anaconda package. An

example is shown below:

ANACONDA3_BIN_DIR=/home/scadmin/anaconda3/bin

5. Make the spectrumControl.sh script executable using chmod.

6. After configuring the pack on the Predictive Insights server, make a note of the path

pointing to the spectrumControl.sh script. Enter this path in Exec_Command variable

(the last line) in the mediationProps.txt file.

Example:

Exec_Command=/home/scadmin/SpectrumExt/spectrum_control/spectrumControl.sh

Page 23: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack23

Configuring the Mediation PackSetting up SSH Key for Spectrum Control on Unix

SSH keys should be set up between Spectrum Control server and Predictive Insights server before

executing run.sh/run.bat script. This is required to automate the file transfer.

1. Create the RSA Key Pair on Spectrum Control server using the following: $ ssh-keygen

2. Type ‘Enter’ when prompted for storing the keys and passphrase (leave empty).

3. Display the pub key using the following command:

$ cat ~/.ssh/id_rsa.pub

This will output something like below.

ssh-rsa

AAAAB3NzaC1yc2EAAAADAQABAAABAQCt3a9tIeK5rPx9p74/KjEVXa6/OODyRp0QLS/sLp8W6iTxFL+Ug

ALZlupVNgFjvRR5luJ9dLHWwc+d4umavAWz708e6Na9ftEPQtC28rTFsHwmyLKvLkzcGkC5+A0NdbiDZLa

K3K3wgq1jzYYKT5k+IaNS6vtrx5LDObcPNPEBDt4vTixQ7GZHrDUUk5586IKeFfwMCWguHveTN7ykmo2Ey

L2rV7TmYq+eY2ZqqcsoK0fzXMK7iifGXVmuqTkAmZLGZK8a3bPb6VZd7KFum3Ezbu4BXZGp7FVhnOMga

u2kYeOH/ItKPzpCAn+dg3NAAziCCxnII9b4nSSGz3mMY4Y7 ostechnix@ubuntuserver

4. Copy the entire contents and go to your PI server’s console. Create a directory called ssh in the home

directory as shown below.

User needs to execute the following commands as root user on the Predictive Insights server.

$ mkdir -p ~/.ssh

5. Now, append your client system’s public key which you generated in the previous step as shown below:

echo {Your_public_key_contents_here} >> ~/.ssh/authorized_keys

6. Restart ssh service on the Predictive Insights Server.

Page 24: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack24

Configuring the Mediation PackTransferring files if Spectrum Control is running on Windows

If Spectrum control is on Windows, there are different ways to do automate a transfer.

For the current version of the pack, after configuration of mediation pack contents on the

Spectrum Control server as well as on the Predictive Insights server:

For the first time, the user should save the RSA token. This will allow the script to authenticate

from next time without a prompt.

1. Execute run.bat script from the command line.

2. For the first execution, the prompt will ask user if the keys should be stored locally in a cache

for future reference.

3. Enter a yes response when prompted.

4. Execute the script again. This time the script should completely execute without any

prompts.

Page 25: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack25

Configuring the Mediation Pack

Scheduling the run script via a Cron Job using cron-tab

1. Open a Terminal Window (Command Line).

2. Give the shell script the correct permission. For example, if the script is called

“run.sh”, set permission as follows: chmod 755 run.sh

3. Add new cron job to crontab using the following command:

crontab –e

This opens the vi editor for you if your default editor is vi. You can set a different editor using

the following: export EDITOR=emacs

Create the cron command using the following syntax:

*/15 * * * * /path_to_run.sh/run.sh

This will execute run.sh on Spectrum Control server every 15 minutes.

Page 26: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack26

Configuring the Mediation PackScheduling the run script using the Windows Scheduler

1. Open the Windows Scheduler.

2. In the Menu Bar, click ‘Action > Create Task…’.

3. In General Tab Enter the name of the task. Make sure you click ‘Run whether user is logged

on or not’ option. Click Next.

Page 27: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack27

Configuring the Mediation PackScheduling the run script using the Windows Scheduler (continued)

4. In the Triggers tab, enter the time you want to run the script for the first time.

In Advanced settings Click ‘Repeat task every’.

Select 15 minutes from the drop down, select ‘Indefinitely’ in for a duration of drop down.

5. Click Ok.

Page 28: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack28

Configuring the Mediation PackScheduling the run script using the Windows Scheduler (continued)

6. In the Actions tab, select ‘Start a program’ from Action drop down.

Using ‘Browse…’ button, give the location of run.bat script.

Enter the parent folder path in Start in box.

Page 29: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack29

Configuring the Mediation PackScheduling the run script using the Windows Scheduler (continued)

7. In the ‘Conditions’ tab, based on your server environment, select options which will ensure

that the script will always be executed every 15 minutes. Click Ok.

Page 30: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack30

Configuring the Mediation PackScheduling the run script using the Windows Scheduler (continued)

8. In the Settings tab, it is recommended to select the following options. Click Ok. If prompted,

enter the password to schedule a task.

9. After scheduling, validate the task is successfully running every 15 minutes. After that

validate that five minute interval files are present on the Predictive Insights server in the

specified directory (in ‘outputFilesPath’ location, given in the spctrumControl_props.txt file).

Page 31: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Configure Data Modeling - Import

1. Copy the SpectrumControl.pamodel file to the Predictive Insight server where the

mediation tool is installed.

2. Run $PI_HOME/bin/mediationtool.sh to the launch mediation tool

3. Go to the File menu and click on the import button.

31

Page 32: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Configuring the Data Model - Import

4. Select the Predictive Insights Model in the menu and click on Next

32

Page 33: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Configuring the Data Model - Import

5. Select the SpectrumControl_2.pamodel file and click on ok

6. When prompted click on finish to complete the import process

33

Page 34: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Configuring the Data Model – Data Source

7. Enter the Spectrum Control File System details as shown below. Note make sure

the Time Zone is set to UTC.

34

Page 35: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Configuring the Data Model – Verify Data Source

35

To preview the data in the mediation tool click on the icon shown circled in red.

The data will appear at the bottom of the screen.

Page 36: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Configuring the Data Model – Create Topic

Use the following steps to define a topic for handling the data flow in the Mediation

Pack.

1. Login into the Predictive Insight server as scadmin

2. Change to the $PI_HOME/bin directory

3. Create the topic using the ./admin.sh tool.

./admin.sh create_topic TPC

4. ./admin.sh set -t=TPC system.aggregation.interval 5.

5. The aggregation interval will depend on data collection interval in the monitoring

source. In the command above the interval is set for 5 minutes.

36

Page 37: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Deploying the Model and Data

Training Process

Page 38: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack38

Deploy Mediation Pack

Follow these steps to deploy the defined model for representing the data flow in

Predictive Insights.

1. Right click on the model file and select the Deploy Model option.

Page 39: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Deploy Model for Mediation Pack

2. Enter the hostname, database and port number.

39

Deploy model SpectrumControl.pamodel to Predictive Insights system

hostname

Page 40: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack40

Start Data Training

Follow these steps to start the training process and test the mediation pack

1. Login into the Predictive Insight server as scadmin

2. Change to the $PI_HOME/bin directory

3. Run /start.sh -t=TPC (to start the topic)

4. Execute the following command:

./admin.sh run_extractor_instance –t=TPC –s=20170606-1703

Note: -s start time is based on your warehouse data.

Page 41: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Review the Data Training Process

1. Once the training has started you will see the events below in the Active event

list screen capture.

2. Login in to the console using the following url:

http://hostname:16310/ibm/console

3. User name : ncoadmin

4. Enter the ncoadmin password

5. You can see list events showing status about training process in Active event list.

41

Page 42: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Reviewing Anomalies

1. Login in to the console using the following url:

http://hostname:16310/ibm/console

2. User name: ncoadmin

3. Enter the ncoadmin password

4. Navigate to the “Detected Anomalies” page

42

Page 43: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Reviewing Anomalies

5. Right click on an anomaly and select ServiceDiagnosis tool

43

Page 44: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Reviewing Anomalies

Review the effected metrics and behavior of the metrics for the time period.

44

Page 45: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack45

Trouble Shooting and Support To get assistance from the IBM support team, you may open a Problem

Management Record (PMR).

Describe the problem encountered providing the following information that must

be attached to the PMR:

Product Name: IBM Operations Analytics Predictive Insights or IBM Operations Analytics

Advance Insights

Product Version: 1.3.3 or higher <Product version(s) on which you are using this Mediation

Pack>

Mediation Pack: Mediation Pack for Spectrum Control

Mediation Pack Version: 1.2.0

Page 46: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Trouble Shooting and Support

Include the following when opening the PMR :

Sample extracted CSV files, which are being ingested into Predictive Insights.

Found in folder

$PI_HOME/var/spool/topics/<topicname>/extracted/

Data source connectivity status screenshot

Predictive Insights log files ($PI_HOME/log/topicname/) when the problem

occurred while using the mediation pack. Use the command

$PI_HOME/bin/collect.sh -t=<topicname>

A screen shot of the error message that is generated while using the mediation

pack.

A specific use case scenario(s) where problem occurred while using the

mediation pack.

46

Page 47: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

IBM Operations Analytics Media Resources

Information Covering

• Benefits

• Featured Videos

• Demo

• Client Case Studies

• Purchase Information

• Webinars

• Information Resources

• Trialshttp://www.ibm.com/marketplace/cloud/it-operations-analytics/us/en-us

IBM Marketplace

Information Covering

• Blogs

• Documentation

• How-Tos

• Videos

• Integrations (Insight and

Medication Packs)

• Forum

IBM Operations Analytics Community

http://developer.ibm.com/itoa/

Page 48: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack48 1/30/2018

Copyright © 2018 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM.

U.S. Government Users Restricted Rights — use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM.

Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. This document is distributed “as is” without any warranty, either express or implied. In no event shall IBM be liable for any damage arising from the use of this information, including but not limited to, loss of data, business interruption, loss of profit or loss of opportunity. IBM products and services are warranted according to the terms and conditions of the agreements under which they are provided.

IBM products are manufactured from new parts or new and used parts. In some cases, a product may not be new and may have been previously installed. Regardless, our warranty terms apply.”

Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice.

Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual performance, cost,

savings or other results in other operating environments may vary.

References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business.

Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation.

It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actionsthe customer may need to take to comply with such laws. IBM does

not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance with any law.

Notices and disclaimers

Page 49: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack49 1/30/2018

Notices and disclaimers

continued

Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM expressly disclaims all warranties, expressed or implied, including but not limited to, the implied warranties of merchantability and fitness for a particular, purpose.

The provision of the information contained herein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or other intellectual property right.

IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management System™, FASP®, FileNet®, Global Business Services®,Global Technology Services®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®, Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli® Trusteer®, Unica®, urban{code}®, Watson, WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at: www.ibm.com/legal/copytrade.shtml.

Page 50: IBM Operations Analytics Predictive Insights...IBM Operations Analytics Predictive Insights Mediation Pack 2018 IBM Corporation Overview Spectrum Control provides metric data in CSV

2018 IBM CorporationIBM Operations Analytics Predictive Insights Mediation Pack

Thanks!


Recommended