Hp XP Command View Advanced Edition Software Instrukcja Użytkownika Strona 1

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Przechowywanie Hp XP Command View Advanced Edition Software. HP XP Command View Advanced Edition Software User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 310
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - User Guide

HP XP7 Smart Manager for MainframeUser GuidePart number: TK916-96001First edition: April 2014

Strona 2 - DescriptionEditionVersionDate

FiguresAutomatic data relocation across tiers according to the access frequency ... 151Locating data in a specified tier according

Strona 3 - Contents

Procedure1. Perform either of the following operations to acquire information about the tiering policies fromthe storage system.• To acquire informati

Strona 4

2. Execute either of the following commands.• To acquire the page relocation status of each volume:Execute the KTQRYTPG command.• To acquire the progr

Strona 5

Tiering Policy Group Name: TPG1Volumes POOL Devn,Volser,SN ,CU,CCA, ID,TLv,RelocateStatus ,LocatedPage/ TotalPage 000

Strona 6

Tiering Policy Group Name : TPG1Monitor Interval Time(sec): 600Volume I/O statistics ------------------------------------------------------- 11:23

Strona 7

Related topics• KTACTTPG, page 142• KTACTTPG, page 142• KTIMPORT, page 148• KTLOAD, page 150• KTQRYTPG, page 157• Format of tiering policy information

Strona 8

TIP:You can also update the disk configuration definition file by executing the KTIMPORT command withthe SCAN parameter specified, instead of executin

Strona 9 - User Guide 9

Reference scriptsRefer to the sample script KTDEMO05 for details on how to create scripts for changing the tieringpolicy of volumes back to the defaul

Strona 10

5 ISPF panelsThis chapter describes transition, operation methods, and displayed items of the ISPF panel in SmartManager for Mainframe.Panel relations

Strona 11

Figure 24 Panel relationships of Smart Manager for MainframeCommon items in the panelThis section describes the common items between the panels for Sm

Strona 12

About the action barThe action bar of the Smart Manager for Mainframe panel contains the Goto, Commands, and Helpmenus.GotoThe Goto pull-down menu dis

Strona 13 - User Guide 13

TablesRelationship between tiering policy levels and tiers in which data will be located ... 201Values that can be used to specify the new-pa

Strona 14 - Preface14

Figure 26 Commands pull-down menu (Tiering Policy Group Pool List panel)HelpThe Help pull-down menu displays the name of the Help panels that can be r

Strona 15 - Mainframe

The following figure show an example of actions panels when / is specified to AC or COMMANDfield.About point-and-shoot fieldWhen you place the cursor

Strona 16

The following explains the actions that are executed when you select a point-and-shoot field.Table 10 Actions that are executed when you select a poin

Strona 17

• FieldThe following is a representative example of an action executed by selecting a point-and-shootfield.Action that is executedPoint-and-shoot fiel

Strona 18 - About tiering policies

Related topics• Highlighting available point-and-shoot fields, page 89About the display unitFor the panels that have a capacity or used capacity displ

Strona 19 - About tiering policy levels

Device Scan Scope panelIn this panel, you can scan a storage system volumes that are connected to a host. Specify a scantarget with an SMS storage gro

Strona 20

After scanning, press the Exit function key to create or update disk configuration definition files withthe following name, and save the configuration

Strona 21 - Prerequisite hardware

DescriptionItemDisplays the type of errors.Type of errorException Message List panelThis pop-up window displays warnings and error messages of a reque

Strona 22 - Prerequisite programs

Related topics• Error Code Help panel , page 116Main panelThis section explains the Main panel and the areas in the panel.Main panel (common)The panel

Strona 23

Related topics• Installation Management area, page 119• Set Defaults area , page 119• Storage System List area, page 120• Policy CSV List area, page 1

Strona 24

Output items of the KTINSCHK command ... 17332Return codes generated by the KTSLEEP comm

Strona 25

DescriptionItemSelect the <Edit> point-and-shoot field to display the Edit Defaults pop-up window where you can edit basic settings.<Edit>

Strona 26

DescriptionItemSelect the <Scan> point-and-shoot field to go to the Device Scan Scope panel to scanstorage systems.<Scan>The action to be

Strona 27 - 2 Installation and setup

DescriptionItemSelect the <Create> point-and-shoot field to display the Policy ID Entrypop-up window for creating tiering policy information CSV

Strona 28

DescriptionItemThe action to be executed for the selected tiering policy group.You can specify the following actions:• S: Goes to the Tiering Policy G

Strona 29

DescriptionItemDisplays the license name.• Smart Manager for MF: Smart Manager for Mainframe licenseIf a license key for Business Continuity Manager i

Strona 30

Pool Selection List panelThis panel displays a list of pools in a storage system.DescriptionItemSpecify the action to be executed for the selected poo

Strona 31 - Postrequisites

Current Relocation InformationDisplays the current relocation status and capacity and usage information for each tier.DescriptionItemDisplays the moni

Strona 32

DescriptionItemDisplays the expected number of migrated pages.ExpectedDisplays the migrated pages.MigratedBasic InformationDisplays the basic informat

Strona 33

DescriptionItemSpecify the action to be executed for the selected volume.You can specify the following actions:• V: Goes to the Tiering Policy Group V

Strona 34

The following figure shows the right-hand panel of the Tiering Policy Group Pool List panel:DescriptionItemSpecify the action to be executed for the s

Strona 35

PrefaceThis document describes how to use the following program product:- HP XP7 Smart Manager for MainframeHereafter, the above product is simply cal

Strona 36

Current Relocation InformationDisplays the current relocation status and the capacity and usage information for each tier.DescriptionItemDisplays the

Strona 37

DescriptionItemDisplays the expected number of migrated pages.ExpectedDisplays the migrated pages.MigratedBasic InformationDisplays the basic informat

Strona 38 - Registering a user SVC

Tiering Policy Group Summary panelThis panel displays the following information about a tiering policy group: capacity information, pagerelocation sta

Strona 39

DescriptionItemDisplays the number of volumes for which some pages in the volume are not assigned to the tiersspecified by tiering policy level due to

Strona 40

The following figure shows the right-hand panel of the Tiering Policy Group Volume List panel:DescriptionItemSpecify the action to be executed for the

Strona 41

DescriptionItemDisplays the amount of space used on each tier by the volume.Tier1, Tier2, Tier3Displays the distribution ratio (%) of the usage of eac

Strona 42

DescriptionItemDisplays the relocation status of the volume.• In range: All pages are assigned to the tiers specified by tiering policy level.• Out of

Strona 43

DescriptionItemSpecify the action to be executed for the selected volume.You can specify the following actions:• V: Goes to the Volume Status Detail p

Strona 44

Tiering Policy InformationDisplays the tiering policy of the current status in the storage system.DescriptionItemDisplays the relocation status of the

Strona 45 - ISPF panel

6 CLI commandsThis chapter describes the command functions that can be used in the Smart Manager for MainframeCLI.List of CLI CommandsThe CLI commands

Strona 46

Preface14

Strona 47 - Registering licenses

DescriptionCommand nameScans the operation-target volumes for Smart Manager for Mainframe to acquire theinformation necessary to identify the volumes,

Strona 48

CLI command coding formatThis section describes the CLI command coding format for each command type.REXX external routine coding formatREXX external r

Strona 49

Use the RC variable to acquire the return code of a TSO/E command in the REXX script.OS console command coding formatTo execute a CLI command categori

Strona 50

Return codesThe following table lists and describes the codes returned when the KTACTTPG command terminates.If the commands do not terminate normally,

Strona 51

• Tiering policy level: 0• New-page assignment tier: MIDDLE• Whether to execute tier relocation: YCommand typeREXX external routineFormatKTDCTDEV1MSG(

Strona 52 - JCL example

REXX variables that are updated by the KTDCTDEV command• All variables in the message structureRelated topics• Message structure, page 193• KTDEMO05 (

Strona 53 - Calculating required memory

MeaningReturn codeThe command ended due to an invalid REXX variable structure.36An error occurred during writing of the REXX variables.40The command e

Strona 54

1PREFIX(prefix)1SN(serial-number)ParametersSTEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>Specify the prefix (any value) of

Strona 55

REXX variables that are updated by the KTGETHDA command• All variables in the message structure• All variables in the host-discovered array index stru

Strona 56 - Manager is installed

Prerequisites• If the SCAN parameter is not specified, volumes to be defined as a tiering policy group must bedefined in the disk configuration defini

Strona 57

1 Overview of Smart Manager forMainframeThis chapter provides an overview of Smart Manager for Mainframe.About Smart Manager for MainframeSmart Manage

Strona 58 - Installation and setup58

Return codesThe following table lists and describes the codes returned when the KTIMPORT command terminates.If the commands do not terminate normally,

Strona 59

• Loads the disk configuration definition file to the host-discovered array structure and host-discoveredarray index structure.Command typeREXX extern

Strona 60

MeaningReturn codeThe command ended due to an invalid parameter. The possible cause is asfollows:• The parameters were specified incorrectly.48The com

Strona 61

• TPG.VOL.n.SSID• TPG.VOL.n.TierLevel• TPG.VOL.n.TierRelocationRelated topics• Message structure, page 193• Host-discovered array index structure, pag

Strona 62

Return codesThe following table lists and describes the codes returned when the KTQRYDEV command terminates.If the commands do not terminate normally,

Strona 63

• LOCAL.SNnnnnn.POOLxx.NAME• LOCAL.SNnnnnn.POOLxx.Type• LOCAL.SNnnnnn.POOLxx.PageSize• LOCAL.SNnnnnn.POOLxx.Tier.0• LOCAL.SNnnnnn.POOLxx.Tier.n.Media•

Strona 64

FormatKTQRYRLC1STEM(stem-name-1)1MSG(stem-name-2)ParametersSTEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>Specify the prefi

Strona 65

• In the host-discovered array structure, the following variables related to the Smart Tiers Z pool towhich the volumes in the specified tiering polic

Strona 66

MeaningReturn codeAn unsupported device was skipped.12An I/O error occurred.32The command ended due to an invalid REXX variable structure.36An error o

Strona 67

Command typeREXX external routineFormatKTQSTATS1STEM(stem-name-1)1MSG(stem-name-2)ParametersSTEM(stem-name-1)~<REXX prefix consisting of 64 or fewe

Strona 68

Figure 2 Locating data in a specified tier according to performance requirementsIf only Smart Tiers Z is being used, a storage administrator uses eith

Strona 69

REXX variables that are updated by the KTQSTATS command• All variables in the message structure• The following variables in the host-discovered array

Strona 70

1{FROM(nnnn)1TO(nnnn)|FROMVSN(volser)1TOVSN(volser)|STORGRP(SMS-storage-group-name)}[1ARRAYS(stem-name-3)]ParametersSTEM(stem-name-1)~<REXX prefix

Strona 71

• If information about the volumes in the detection range already exists in the host-discovered arraystructure specified for the STEM parameter, the e

Strona 72

• LOCAL.SNnnnnn.CUxx.CCAxx.Volser• LOCAL.SNnnnnn.CUxx.CCAxx.STORGRP (set only when the STORGRP parameter is specified)• LOCAL.SNnnnnn.CUxx.CCAxx.SSID•

Strona 73

Specify the prefix of the target REXX variable structure. If the host-discovered array structure hasbeen created by executing the KTSCAN command, spec

Strona 74

TIP:If the configuration file already exists when you execute the KTSTORE command, the existingconfiguration file information and the information stor

Strona 75

REXX variables saved in the configuration file by the KTSTORE command• If the disk configuration definition file is specified for saving the REXX vari

Strona 76

KTWTOMSGFunctionOutputs the specified message ID and message text to the console.Command typeREXX external routineFormatTo output a single-line messag

Strona 77

NoteA maximum of ten lines can be output in a multi-line message text.Return codesThe following table lists and describes the codes returned when the

Strona 78

Specify the processing type.• OPENEstablish an EMCS console interface for monitoring messages. When the command with theOPEN parameter specified ends

Strona 79

Figure 3 Tier management using Smart Manager for MainframeOverview of the Smart Manager for Mainframe functionalityThe functionality provided by Smart

Strona 80

MeaningReturn codeClose processing ended normally.6An invalid parameter was specified.8A system error occurred.9KTENVFunctionOutputs the program produ

Strona 81

DescriptionOutput itemPrefix of the license information datasetLicense info DSN prefix• LOGR: Event logs are output by using the system logger service

Strona 82

KTERCODEFunctionOutputs the information for the specified error code and the cause of the error to the TSO/E terminal.Command typeTSO/E commandFormatK

Strona 83

READYKTERCODE 6A13 Error details: The command could not be executed because a remote command was executed while the command device was not d

Strona 84

DescriptionOutput item• OK: There are no problems with registration of the user SVC.• FAULTY: There are problems with registration of the user SVC.Use

Strona 85 - Convenient use of list panels

Directions The current setup is listed above. An unregistered profile is listed as N/A. The RACF settings are necessary in order

Strona 86 - Searching character strings

YKK001I KTINSCHK completed. RC=00,V/R=v.r.m-nn(zz),2013/04/15 09:56:30KTSLEEPFunctionSuspends the execution of the script for the specified period of

Strona 87

KTALCSVCFunctionUse this command to register or delete a user SVC.Command typeOS console commandFormatSTART1KTALCSVC[,PARM='{SVC-number|DELETE}&a

Strona 88 - Customizing the ISPF panels

Command typeOS console commandFormatSTART1KTDSPENV[,PARM='[{SUMMARY|DETAIL}]']ParametersSUMMARY is assumed if the PARM part of the command w

Strona 89

START KTDSPENV,PARM='DETAIL'KTA403I HP XP7 Smart Manager for MainframeKTA400I Environment variables (v.r.m-nn(zz))KTA401I License info DSN p

Strona 90

TIP:There are two methods of operation for Smart Manager for Mainframe using ISPF panels and usingCLI commands. Use the method that suits the state of

Strona 91 - CLI commands

• SAMEvent logs are output to a sequential dataset without using the system logger service.To remove the value of the environment variable LOGPUT, spe

Strona 92

7 Files used by Smart Manager forMainframeThis chapter describes the files used by Smart Manager for Mainframe.File naming conventions used by Smart M

Strona 93

The following table shows the maximum length and the permitted characters for items in the filenamesused by Smart Manager for Mainframe.Table 38 Maxim

Strona 94

Format of tiering policy information CSV filesThis section describes the format of tiering policy CSV files.Descriptive conventions of tiering policy

Strona 95

prefix.TPG.tiering-policy-group-ID is used as the name of a tiering policy groupdefinition file. The maximum length of a tiering policy group ID that

Strona 96

Value of the new-page assignment tier settingTieringpolicy levelDescriptionLOWMIDDLEHIGHIf LOW is set, Tier 2 is given higher prioritythan Tier 1.2>

Strona 97

Examples• Example of defining multiple volumes for different tiering policies#TYPE ,DEVICE,TPGID,TierLvl,Entry,RelocDEVN ,1101 ,TPG1 ,1DEVN ,110

Strona 98

Figure 28 Configuration example of tiering policy groupsThe following provides details about the tiering policy groups in the configuration example.Ti

Strona 99

Specification in the tiering policy information CSV file#TYPE ,DEVICE,TPGID,TierLvl,Entry,RelocSTORGRP,SG1 ,TPG1 ,2 ,HIGHDEVN ,1101 ,TPG1 ,

Strona 100 - Related topics

When changing the tiering policy back to the defaultKeep the record, but delete the tiering policy parameters.Before the change:#TYPE ,DEVICE,TPGID,T

Strona 101 - Example 2:

Figure 5 Overview of tiering policiesA tiering policy can be specified by using a tiering policy information CSV file. In a tiering policyinformation

Strona 102 - Example:

When deleting tiering policies assigned individually to volumes in the SMS storage group sothat they match the settings on the SMS storage groupThis e

Strona 103

When adding a volume that does not belong to the SMS storage groupAdd the record of the volume to be added to the tiering policy information CSV file.

Strona 104 - Prerequisites

Delete the record of the volume from the tiering policy information CSV file.Before the change:#TYPE ,DEVICE,TPGID,TierLvl,Entry,RelocSTORGRP,SG1 ,

Strona 105

8 REXX variable structuresThis chapter describes the REXX variable structures used by Smart Manager for Mainframe.List of REXX variable structuresREXX

Strona 106

REXX variable names and contentsThe following table lists and describes the REXX variables in the message structure. A REXX variablename is preceded b

Strona 107 - 5 ISPF panels

DescriptionREXX variablenameInformation for each storage system is stored in lower-level REXX variables.n.Serial number of the scanned storage systemS

Strona 108 - Common items in the panel

REXX variable names and contentsThe following table lists and describes the REXX variables in the host-discovered array structure. AREXX variable name

Strona 109 - About the action bar

DescriptionREXX variable nameStorage system IDSSIDPool ID (decimal number)POOLIDVolume capacity (number of cylinders)CylsExternal volume information•

Strona 110

DescriptionREXX variable nameUpper-variable nameLOCAL.SNnnnnn.POOLxx.Pool nameNAMEPool type• DT: Smart Tiers Z pool• DP: Thin Provisioning Z pool• OTH

Strona 111 - About point-and-shoot field

DescriptionREXX variable nameUsed tier capacityUsedUnit of the total tier capacity and used tier capacityUnitFree area ratio for new-page assignment (

Strona 112 - ISPF panels112

Legal and notice information© Copyright 2014 Hewlett-Packard Development Company, L.P.Confidential computer software. Valid license from HP required f

Strona 113 - Pools exceeding threshold

Figure 6 When the tiering policy level of 1 is specified for a three-tier volumeIf the tiering policy level of 2 is specified for a volume that has th

Strona 114 - About the display unit

Tiering policy group structureThe values to be set for the storage system for the volumes belonging to a tiering policy group arestored in the tiering

Strona 115 - Device Scan Scope panel

DescriptionREXX variable nameWhether to execute tier relocation• Y: Executes tier relocation.• N (other than Y): Does not execute tier relocation.Tier

Strona 116 - Error Code Help panel

REXX variable structures202

Strona 117 - Exception Message List panel

9 Collecting trace information and logsThis chapter describes collecting trace information and logs for Smart Manager for Mainframe.Information that c

Strona 118 - Main panel

Procedure1. Log on to the TSO/E terminal.2. Enter the following commands.• To output an ABEND dump to the spool:ALLOC DD(SYSABEND) SYSOUT(SYSOUT-class

Strona 119 - Set Defaults area

Collecting event logsThis section describes how to collect event logs.How to collect event logsTwo methods are available for collecting event logs. Us

Strona 120 - Storage System List area

Figure 29 overview of event log outputFor details about log streams, see the manual MVS Programming: Assembler Services Reference.Related topics• Coll

Strona 121 - Policy CSV List area

Related topics• Setting LOGR couple data sets, page 207• Defining the SMS for the system logger service, page 207• Defining a log stream, page 207• Se

Strona 122

Related topics• Parameters specified when a log stream is defined, page 208Setting access privileges for system logger resourcesIf the System Authoriz

Strona 123 - Manage Licenses panel

to form the log stream name. If a system name starts with a number, the last five characters usedfor the log stream name must be unique within the sys

Strona 124 - Policy ID Entry panel

For the tiers with a specified tiering policy level, the priority assigned to new pages is determined bythe combination of the values specified for th

Strona 125 - Pool Status Detail panel

Specify the name of the SMS storage class used for allocating a log dataset. Specify this para-meter when using an SMS definition.AUTODELETE(YES)Speci

Strona 126 - DescriptionItem

Procedure• If a log dataset is full, execution of a CLI command will continue, but event log data will no longerbe output. Use either of the following

Strona 127 - Setting Information panel

Procedure1. Enter the FORCE IXGLOGR,ARM command to stop the system logger service.2. Enter the S IXGLOGRS command to restart the system logger service

Strona 128

Estimating the dataset (OUTLOG) to which logs are output from the log streamEstimate the disk capacity based on the amount of offloaded event log data

Strona 129

Related topics• Control statements for the event log data output tool, page 214• Output format of the event log data output tool, page 215Control stat

Strona 130

• Each control statement must be completely specified on one line. A control statement cannot extendover two or more lines.Control statement examplesT

Strona 131 - Basic Information

Procedure1. Estimate the log dataset capacity.Estimate the amount of log data based on the frequency at which CLI commands are issued andthe frequency

Strona 132

Writing to a log dataset without using the system logger serviceThis subsection describes how to write data to a log dataset without using the system

Strona 133

Disk space requirements for the event log when the system logger service is notusedThe following table shows the amount of log data when the event log

Strona 134

Procedure1. When you start using ISPF, delete the ISPF log information from the ISPF log dataset.2. When you perform an operation in the Smart Manager

Strona 135 - Tiering Policy Information

CAUTION:The following volumes are not supported:• Volumes of a remote storage system• Volumes without a host device number assignedPrerequisite progra

Strona 136 - Volume Selection List panel

3. In the panel showing SYSLOG, enter the SDSF command to extract SYSLOG data for the desiredperiod to the dataset you created in step 1.To extract in

Strona 137 - Volume Status Detail panel

5. Execute the CLI command-execution log output procedure to extract the CLI command-executionlog to the dataset you created in step 2.If the procedur

Strona 138 - Information Per Tier

Collecting trace information and logs222

Strona 139 - 6 CLI commands

10 Support and other resourcesNumerous support options are available.Contacting HPHP technical supportFor worldwide technical support information, see

Strona 140

ConventionsThis guide follows the conventions shown in Table 56 to refer to HP XP7 products.Table 56 Product reference conventionsFull name or meaning

Strona 141 - CLI command coding format

Full name or meaningProduct referenceLogical DEViceLDEVLogical RECord LengthLRECLMissing Interrupt HandlerMIHOperating SystemOSResource Access Control

Strona 142 - REXX external routine details

Support and other resources226

Strona 143 - KTDCTDEV

A XML document type definitions forconfiguration filesThis appendix describes the XML document type definitions for configuration files used by SmartM

Strona 144 - Return codes

SSID CDATA#REQUIRED CCA CDATA#REQUIRED POOLID CDATA#IMPLIED Cyls CDATA#IMPLIED External (Y|N)#IMPLIED>The following

Strona 145 - KTDCTTPG

DescriptionAttribute nameUsed by the system.NGDADIDEnableSerial number of the scanned storage systemSerialNumModel of the storage systemModelMicrocode

Strona 146 - KTGETHDA

Figure 9 System configuration of Smart Manager for MainframeCAUTION:The storage system must be connected to the z/OS host.About files used by Smart Ma

Strona 147 - Reference note

DescriptionAttribute namePool type information:DT: Smart Tiers Z poolDP: Thin Provisioning Z poolOTHER: Other poolsTypePage sizePageSizePoolTier eleme

Strona 148 - KTIMPORT

Volser CDATA#IMPLIED STORGRP CDATA#IMPLIED>The following lists and describes the attributes of this element.DescriptionAttribute nameDevice n

Strona 149

DescriptionAttribute nameTiering policy levelLevelNew-page assignment tier• HIGH: The new page is assigned from the higher tier of tiers set in the ti

Strona 150 - Function

Example of a disk configuration definition file that is generated<?xml version="1.0" encoding="ebcdic-cp-us"?><APIInfo Le

Strona 151

XML document type definitions for configuration files234

Strona 152

B Commands that can be used in the ISPFpanelsThis appendix describes the commands that can be used in the ISPF panels of Smart Manager forMainframe.ER

Strona 153 - KTQRYDEV

RESETCancels the filter.TIP:The filtered results will be sorted in ascending order.Specification examples• Character string specificationSpecify as fo

Strona 154

ParametersIf you omit the parameter, the Find Options panel appears to allow you to enter parameter values.search-stringSpecifies the search string.Re

Strona 155 - KTQRYRLC

TIP:If the FIND command has not been executed, the Find Options panel appears.SELECTFunctionSets or cancels an action in the AC field of a line that s

Strona 156

SEL Volser VOL* D• Range specificationSpecify as follows to cancel the actions set in the AC fields for the volumes having device numbersfrom 0F10 to

Strona 157 - KTQRYTPG

A file that defines a tiering policy group. This file is created by importing a tiering policy informationCSV file and a disk configuration definition

Strona 158 - KTQSTATS

TIP:If you execute the SORT command when the list is filtered, the filtered information is sorted.How to specify the search or filter conditions in IS

Strona 159

Yes: Can be specified--: Cannot be specified#If you want to specify a string in the command line, specify it as follows:• To specify a string that con

Strona 160 - CLI commands160

Commands that can be used in the ISPF panels242

Strona 161

C Sample scriptsThis appendix provides sample scripts for Smart Manager for Mainframe.List of sample scriptsSample scripts for each CLI command are st

Strona 162

Relevant REXX variablestructureDD name specification or parameterCommand to beexecutedPurposeSample scriptnameHost-discovered array structureTiering p

Strona 163

/* DEVN 0000 00FF */ /* VOLSER VOL001 VOL009

Strona 164 - CLI commands164

SAY 'Executing KTSCAN STORGRP= 'scan_from; CALL KTSCAN "STEM(DEMO_STEM.) MSG(DEMO_MSG.) ARRAYS

Strona 165

KTDEMO01 (Display the contents of the disk configuration definition file)/* REXX */

Strona 166

/* Display storage system information. */ SAY '';

Strona 167 - KTWTOMSG

hex_CU = D2X(pos_CU-1, 2); sym_CU = 'CU'||hex_CU;

Strona 168 - TSO/E command details

Figure 11 workflow for using Smart Manager for MainframeRelated topics• Workflow for when defining and checking tiering policy groups when using the I

Strona 169

ARG mediaTypeValue; IF mediaTypeValue = '0000' THEN

Strona 170 - Output items

PARSE UPPER ARG @options PARSE UPPER VALUE @options 'POLICY()' with 'POLICY(&a

Strona 171 - User Guide 171

/* displays information in the TPG configuration dataset. */ /*

Strona 172 - KTERCODE

/* * Generate symbol which is part of the DSK structure REXX variable

Strona 173 - KTINSCHK

/* displays storage information of the target volume's DKC.*/ /*

Strona 174

SAY 'Pool'; SAY ' ID, Type,Pool Name ,&ap

Strona 175 - User Guide 175

*/ printErrorMessage: procedure expose DEMO_MSG.

Strona 176 - OS console command details

/* 1) Device number of target (want to reset tiering policy to */ /* default) volume is specified in the DEVN() option value

Strona 177 - KTDSPENV

/* */ /*********************************************************************

Strona 178 - Execution examples

IF RESULT /= 0 THEN DO CALL printErrorMessage "KTACTTPG" RESULT;

Strona 179 - KTSETENV

Overview of Smart Manager for Mainframe26

Strona 180

/* * Check option values in the argument.

Strona 181

* Get information values about the volume * from DSK structure REXX variables.

Strona 182

/* 1) TPG and DSK configuration dataset is already created. */ /* 2) The TPG and DSK dataset name's prefix is PREFIX() option

Strona 183

SAY ' POOL'; SAY ' Devn,Volser,SN ,CU,CCA, ID,TLv,Cylinders,&apos

Strona 184

DO x = 1 to DEMO_MSG.0; SAY "Severity = " || DEMO_MSG.x.Severity;

Strona 185 - Record priority

*/ CALL KTLOAD "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",

Strona 186 - Examples

*/ val_Devn = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Devn;

Strona 187

TierRangePageCt = TierRangePageCt , + DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Tier.t.Used;

Strona 188

IF TierRangeUsed >= TierRangeCapacity - TierRangeReserved THEN relocateStatus = 'capacity shortage ';

Strona 189

/* * Display pool tier information.

Strona 190

2 Installation and setupThis chapter describes procedures for installing and setting up Smart Manager for Mainframe.Overview of installation and setup

Strona 191

/* Find next pool from POOLMap. */ pos_POOLID = POS('1', val_POOLMap, pos_POOLID+1);

Strona 192 - After the change:

/* All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd. */ /*

Strona 193 - 8 REXX variable structures

/* * Display header information.

Strona 194 - Prefix of the structure name

/DEMO_STEM.TPG.VOL.IO.Interval; IF TRUNC(val_iops.j) /= val_iops.j THEN DO;

Strona 195

Sample scripts274

Strona 196

D Upgrading Smart Manager for MainframeThis appendix describes how to upgrade Smart Manager for Mainframe.Workflow for upgrading Smart Manager for Mai

Strona 197

Preparation for upgrading Smart Manager for MainframeThe following describes the tasks that must be performed before upgrading Smart Manager forMainfr

Strona 198 - DescriptionREXX variable name

TIP:When you back up and rename files, make sure that you change only the prefix of the file names.Because a file name contains information such as ti

Strona 199

2. If this version is older than the prerequisite user SVC version of Smart Manager for Mainframeafter upgrading, disable (comment out) the SYMDEF sta

Strona 200

3. If the user SVC has been registered by using the IEASVCxx parmlib member, remove the linkageof the HPQYLPAT load library for LPALIB. (This step is

Strona 201 - Device information structure

If you are not using SMP/E for the installation, you do not need to create a backup in the distri-bution library.Related topics• Installing Smart Mana

Strona 202 - REXX variable structures202

Upgrading Smart Manager for Mainframe280

Strona 203 - Collecting trace information

E Modifying the sample JCLThis appendix provides examples of how to modify the sample JCL.Values used in the sample JCL modification examplesPrefixes

Strona 204

//*********************************************************************//*//* All Rights Reserved. Copyright (C) 2013, 2014, Hitachi, Ltd.//*//*******

Strona 205 - Collecting event logs

// DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=3120),// DISP=(,CATLG,DELETE)//F3 DD DSN=&PFX..&VRM..F3.XMIT,//

Strona 206

//* All Rights Reserved. Copyright (C) 2013, 2014, Hitachi, Ltd.//*//*********************************************************************//*//* This

Strona 207 - Defining a log stream

RECEIVE INDSN(CHKLnnn.F5.XMIT) DSNAME('HP.CHKLnnn.F5') + -----(24) VOLUME(#tso01)

Strona 208

// SET IPFX=HP Prefix of distribution data sets -----(4)// SET IVRM=CHKLnnn Version of distribution data sets// SET TPFX=HP

Strona 209

COPYMOD OUTDD=OUTF2,INDD=INF2 COPYMOD OUTDD=OUTF3,INDD=INF3 COPY OUTDD=OUTF4,INDD=INF4 COPY OUTDD=OUTF5,INDD=INF5 COPY O

Strona 210

NAME(HPQKT.SMPCSI.CSI) - -----(7) FREESPACE(10 5) - KEYS(24 0)

Strona 211

// DISP=(NEW,CATLG,DELETE),// UNIT=SYSDA,VOL=SER=&VSN,// SPACE=(CYL,(1,5)),// DCB=(BLKSIZE=32720,L

Strona 212

Transferring the load module to a host machineTransfer the load module for Smart Manager for Mainframe provided on the installation media to ahost mac

Strona 213

// DISP=(NEW,CATLG,DELETE),// UNIT=3390,VOL=SER=&TVSN,// SPACE=(TRK,(75,1,20)),// DCB=(BLKSIZE=614

Strona 214

//HPQKEXED DD DSN=&PFX..&VRM..HPQKEXED, EXEC(F) LIBRARY// DISP=(NEW,CATLG,DELETE),// UNIT=3390,VOL=SER=&DVSN

Strona 215 - Control statement examples

//*//*********************************************************************//*//* This JCL executes SMP/E DDDEF for the distribution libraries and//* t

Strona 216

(DLIB1,HPQKT.SMPCSI.CSI,DLIB), -----(5) (TGT1,HPQKT.SMPCSI.CSI,TARGET)) -----(6)

Strona 217

DA(HPQKT.Vnnnnnn.HPQKLPAT) -----(23) OLD.ADD DDDEF(HPQKPRCT) DA(HPQKT.Vnnnnnn.HPQKPRCT)

Strona 218 - Collecting ISPF logs

HPQKT3RC (SMP/E RECEIVE processing)The method for modifying HPQKT3RC, which performs SMP/E RECEIVE processing, is explainedbelow.The following numbers

Strona 219

// SPACE=(3120,(0364,0380,500)), // DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120) //SMPWRK2

Strona 220

//HPQKT4AP JOB (ACCT#),'APPLY SMART MGR Z', -----(1)// REGION=0M,CLASS=A, -----(

Strona 221 - User Guide 221

//GLOBAL DD DISP=SHR,DSN=&PFX..SMPCSI.CSI //TGT1 DD DISP=SHR,DSN=&PFX..SMPCSI.CSI //

Strona 222

//* //* 3) Submit the JCL and make sure that no error occurs. //* 4) Remov

Strona 223 - Related information

ContentsPreface ... 131 Overview of Smart Manager for Mainf

Strona 224 - Conventions

3. Edit the JCLs transferred in accordance with your installation environment.Details are provided at the beginning of each JCL.4. Create datasets use

Strona 225 - User Guide 225

Modifying the sample JCL300

Strona 226

F Command syntax descriptionsThis chapter describes the command syntax conventions used in this document.Command syntax descriptionsThe following tabl

Strona 227 - DiskDevice element

ConventionSymbolIndicates a syntax element that must be used when specifying the item.< >Indicates a default value used by the system if the ite

Strona 228 - HostDiscoveredArray element

GlossaryThis glossary describes the terms used in this manual.AC field An entry field used to specify an action in an ISPF panel. The action specified

Strona 229 - POOL element

event log The log in which operations of Smart Manager for Mainframe are logged. Thelogged data includes messages, information about parameters used w

Strona 230 - HostAddressedDisk element

SMP/E An IBM installer.SMS storage group An aggregate of the volumes that constitute the storage pool managed by DFSMS(storage management environment

Strona 232 - DescriptionAttribute name

IndexAAC field, 303ALLOUPLD (sample JCL), 281ARRAYS parameter [KTSCAN command], 161ARRAYS parameter [KTSTORE command], 164attributes of the distributi

Strona 233 - User Guide 233

HPQKT1AL [sample JCL], 289HPQKT2DF [sample JCL], 291HPQKT3RC [sample JCL], 295HPQKT4AP [sample JCL], 296HPQKT5AC [sample JCL], 298Iinstallation and se

Strona 234

PREFIX parameter [KTGETHDA command], 147PREFIX parameter [KTIMPORT command], 149PREFIX parameter [KTLOAD command], 151PREFIX parameter [KTSTORE comman

Strona 235

PostrequisitesPerform either of the following:• Performing an installation using SMP/E• Installing directly from the provided datasets in the target l

Strona 236 - Specification examples

tiering policy, 305applying (CLI commands), 98applying (ISPF panels), 65changing (CLI commands), 103changing (ISPF panels), 81verifying (CLI commands)

Strona 237 - LOCATE[ locate-string]

8. Re-execute HPQKT4AP after the CHECK operand is deleted.SMP/E APPLY is executed and the provided datasets are installed in the target library.Run th

Strona 238

Library datasets to be registered after the installationThis section describes the attributes of the library datasets (target libraries) to be registe

Strona 239

Registering the load library for LINKLIB and the KTQRYSMS command forauthenticationTo register the load library for LINKLIB and the KTQRYSMS command f

Strona 240

Postrequisites• Setting RACF security for CLI commandsRelated topics• Example of dynamically linking the LINKLIB load library to LNKLST, page 35• Sett

Strona 241

SETPROG LNKLST,UNDEFINE,NAME=LNKLST99For details on the SETPROG command, see the manual MVS System Commands.Setting RACF security for CLI commandsTo u

Strona 242

TIP:Users can use the following commands without access permissions:KTCONMSG, KTENV, KTERCODE, KTGETHDA, KTINSCHK, KTLOAD, KTSLEEP, KTSTORE,KTWTOMSGPo

Strona 243 - C Sample scripts

Postrequisites• Registering a user SVCRelated topics• Settings required for using CLI commands (registration for authentication), page 33• Registering

Strona 244 - Details about sample scripts

CAUTION:• If you used the KTALCSVC command to register a user SVC while Smart Manager for Mainframewas running, the execution of the CLI command conti

Strona 245 - User Guide 245

Workflow for registering a license ... 47Creating a license infor

Strona 246

4. Define the following SVCPARM statement in the IEASVCxx parmlib member:SVCPARM SVC-number,REPLACE,TYPE(3),EPNAME(JYUASVC),APF(NO),NPRMPT(NO),AR(NO)F

Strona 247 - User Guide 247

Related topics• Setting the operating environment by using environment variables, page 41• Setting the operating environment by using system symbols,

Strona 248

Procedure1. Execute the following KTSETENV command.START KTSETENV,PARM='parameter=parameter-value' 2. Use the KTDSPENV command as follows to

Strona 249 - User Guide 249

TIP:The license (name of the license information dataset) for Smart Manager for Mainframe takes effectwhen the KTLOAD command is first executed after

Strona 250

2. After an IPL is performed again, use the KTDSPENV command to confirm that the system symbolshave been specified correctly.START KTDSPENV,PARM=&apos

Strona 251 - User Guide 251

Settings required to use Smart Manager for Mainframe on theISPF panelYou need to execute the KTSTART command in the ISPF panel to use Smart Manager fo

Strona 252

CAUTION:To concatenate a dataset to libraries, make sure that the attributes of the target libraries are the sameas the attributes of the dataset. For

Strona 253 - User Guide 253

Sample REXX scriptWhile ISPF is running, you can execute the following REXX script to concatenate the libraries to theDD names (SYSEXEC, ISPPLIB, ISPM

Strona 254

• Registering a license by entering a license key, page 50Creating a license information datasetCreate a license information dataset for installing a

Strona 255 - User Guide 255

Related topics• Setting the operating environment by using environment variables, page 41• Setting the operating environment by using system symbols,

Strona 256

Customizing the ISPF panels ... 88Setting the comm

Strona 257 - User Guide 257

2. Transfer the license key file to the host machine.Use the following format to transfer the license key file to the license key dataset:• ASCII mode

Strona 258

The following figure provides the procedure for registering a license by directly entering a licensekey.Figure 17 Procedure for registering a license

Strona 259 - User Guide 259

Postrequisites• Verifying the setup informationRelated topics• Creating a license information dataset, page 48• Verifying the setup information, page

Strona 260

/* // For details about the example of the command outpu

Strona 261 - User Guide 261

Backing up Smart Manager for Mainframe to the distribution libraryIf SMP/E was used when installing Smart Manager for Mainframe in the target library

Strona 262

BLKSIZE(bytes)LRECL(bytes)RECFMDSORGLibrary type (DD name#)6,16080FBPOISPF message library(HPQKMSGD)6,16080FBPOISPF table library(HPQKTABD)#The DD nam

Strona 263 - User Guide 263

TIP:• For details on the YKINSCHK command, see the HP XP7 for Business Continuity Manager SoftwareReference Guide.• For details on how to delete the u

Strona 264

Prerequisite user SVC versions for Smart Manager forMainframeThe following table shows the prerequisite user SVC versions for Smart Manager for Mainfr

Strona 265 - User Guide 265

Installation and setup58

Strona 266

3 Smart Manager for Mainframe operationswhen using the ISPF panelThis chapter describes how to use the ISPF panels to operate Smart Manager for Mainfr

Strona 267 - User Guide 267

Volume Status Detail panel ... 1376 CLI commands .

Strona 268

Figure 18 Procedure for defining and verifying a tiering policy group (ISPF panels)Related topics• Overview of files used by Smart Manager for Mainfra

Strona 269 - User Guide 269

Starting Smart Manager for Mainframe and displaying themain panelThis section describes how to start Smart Manager for Mainframe and display the main

Strona 270

3. Enter values for the items, and then press Enter.The setting is saved.TIP:In each panel, press the DispConf function key (F17) to display the basic

Strona 271 - User Guide 271

3. Do either of the following:• To specify an SMS storage group to be scanned:Enter a slash (/) in the Storage Group field and specify the name of the

Strona 272

Procedure1. In the main panel, select the Policy CSV List 'Policy' point-and-shoot field.The Policy CSV List area appears.2. Select the <

Strona 273 - User Guide 273

2. Enter a slash (/) in the AC field for the tiering policy information CSV file.The Policy CSV List Actions panel appears.3. Enter 4 in the entry fie

Strona 274 - Sample scripts274

Verification after scanning storage systems when using the ISPFpanelThe following describes how to verify information about the volumes and pools afte

Strona 275

5. Enter 1 in the entry field or select the Volume Status Detail 'V' point-and-shoot field.The Volume Status Detail panel displays details a

Strona 276 - Creating a backup

3. Enter 2 in the entry field or select the Pool Selection 'P' point-and-shoot field.The Pool Selection List panel displays a list of pools

Strona 277

5. Enter 1 in the entry field or select the Pool Status Detail 'P' point-and-shoot field.The Pool Status Detail panel displays details about

Strona 278 - Removing the library linkage

Information that can be used for troubleshooting ... 203Collecting trace informa

Strona 279

Procedure1. In the main panel, select the Tiering Policy Group List 'TPG' point-and-shoot field.The Tiering Policy Group List area appears.2

Strona 280

3. Enter 1 in the entry field or select the Summary 'S' point-and-shoot field.The Tiering Policy Group Summary panel displays storage system

Strona 281 - E Modifying the sample JCL

3. Enter 4 in the entry field or select the Storage Groups 'SG' point-and-shoot field.The Select Storage Group List panel appears.4. Select

Strona 282

2. Enter a slash (/) in the COMMAND field for the tiering policy group whose information you wantto view.The Tiering Policy Group List Actions panel a

Strona 283

6. Enter 1 in the entry field or select the TPG Volume Status Detail 'V' point-and-shoot field.The Tiering Policy Group Volume Status Detail

Strona 284

3. Enter 6 in the entry field or select the Pools 'P' point-and-shoot field.The Select Pool List panel appears.4. Select 1 to display a list

Strona 285

6. Enter 1 in the entry field or select the TPG Pool Status Detail 'P' point-and-shoot field.The Tiering Policy Group Pool Status Detail pan

Strona 286

Procedure1. In the main panel, select the Tiering Policy Group List 'TPG' point-and-shoot field.The Tiering Policy Group List area appears.2

Strona 287

5. To check the tiering policies for a specific volume, enter a slash (/) in the AC field.The Tiering Policy Group Volume List Actions panel appears.T

Strona 288

Procedure1. In the main panel, select the Tiering Policy Group List 'TPG' point-and-shoot field.The Tiering Policy Group List area appears.2

Strona 289

HostAddressedDisk element ... 230Elements in the tiering p

Strona 290

4. To check the volumes for each relocation status, select the In range, Out of range, or Shortagepoint-and-shoot fields.The Tiering Policy Group Volu

Strona 291

3. Enter 1 in the entry field or select the Summary 'S' point-and-shoot field.In the Tiering Policy Group Summary panel, the number of pools

Strona 292

2. In the main panel, select the Policy CSV List 'Policy' point-and-shoot field to update the definitionof the tiering policy group.The Poli

Strona 293 - User Guide 293

2. If the volume to be added has not been scanned, scan that volume to update the disk configurationdefinition file.Information about the volume to be

Strona 294

TIP:You can change the tiering policy of the volume to be deleted back to the default by changing thepanel display from the Storage System List area t

Strona 295

4. Modify the contents of the tiering policy information CSV file.5. Press the Exit function key.The modifications are saved, and the Policy CSV List

Strona 296

2. Specify the filter conditions.The following is an example specification. The displayed items vary depending on the panel thatcalled this panel.3. P

Strona 297 - User Guide 297

Positioning the cursor at a specific line in a sorted fieldTo position the cursor at a specific line in a sorted field, use the Locate Options panel t

Strona 298

2. Specify the AC fields for which the action is to be set or canceled by specifying the target fields,the condition character string for the fields,

Strona 299 - User Guide 299

Procedure1. Enter PFSHOW TAILOR in the command line of the ISPF panel.The ISPF Settings panel appears.2. Enter 1 (12) or 2 (24) in the Number of keys

Strona 300 - Modifying the sample JCL300

HPQKT4AP (creating target libraries) ... 296HPQKT5AC (creating d

Strona 301 - F Command syntax descriptions

Smart Manager for Mainframe operations when using the ISPF panel90

Strona 302 - Table 60 Syntax elements

4 Smart Manager for Mainframe operationswhen using the CLIThis chapter describes how to use CLI commands to operate Smart Manager for Mainframe.Defini

Strona 303 - Glossary

Figure 19 Workflow for defining and verifying a tiering policy group (CLI commands)Related topics• Overview of files used by Smart Manager for Mainfra

Strona 304 - Glossary304

Checking volume information when using the CLI commandsBefore defining a tiering policy group, acquire volume information from the storage system by e

Strona 305

Postrequisites• Scanning the storage systemRelated topics• Scanning the storage system when using the CLI commands, page 94• KTQRYDEV, page 153• KTDEM

Strona 306 - Glossary306

TIP:If the disk configuration changes significantly after the scan (for example, because the storage systemis replaced or device numbers of volumes ch

Strona 307

• KTDEMO00 (Create a disk configuration definition file), page 244• KTDEMO01 (Display the contents of the disk configuration definition file), page 24

Strona 308

Figure 22 Defining tiering policy groups (CLI commands)Prerequisites• Scanning the storage system• Creating a tiering policy information CSV file• Var

Strona 309

Example 2:The code in this example imports a tiering policy information CSV file whose policy ID is POLICY1,and creates a disk configuration definitio

Strona 310

Procedure1. Execute the KTLOAD command.Target volume information and information about the tiering policies defined in configurationfiles is loaded fr

Komentarze do niniejszej Instrukcji

Brak uwag