Hp XP Command View Advanced Edition Software Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Lager Hp XP Command View Advanced Edition Software herunter. HP XP Command View Advanced Edition Software User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 310
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - User Guide

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

Seite 2 - DescriptionEditionVersionDate

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

Seite 3 - Contents

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

Seite 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

Seite 5

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

Seite 6

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

Seite 7

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

Seite 8

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

Seite 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

Seite 10

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

Seite 11

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 17

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

Seite 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

Seite 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

Seite 20

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

Seite 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

Seite 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

Seite 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

Seite 24

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

Seite 25

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

Seite 26

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

Seite 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

Seite 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

Seite 29

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

Seite 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

Seite 31 - Postrequisites

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

Seite 32

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

Seite 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

Seite 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

Seite 35

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

Seite 36

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

Seite 37

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

Seite 38 - Registering a user SVC

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

Seite 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

Seite 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

Seite 41

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

Seite 42

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

Seite 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

Seite 44

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

Seite 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

Seite 46

Preface14

Seite 47 - Registering licenses

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

Seite 48

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

Seite 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

Seite 50

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

Seite 51

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

Seite 52 - JCL example

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

Seite 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

Seite 54

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

Seite 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

Seite 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

Seite 57

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

Seite 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,

Seite 59

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

Seite 60

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

Seite 61

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

Seite 62

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

Seite 63

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

Seite 64

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

Seite 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

Seite 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

Seite 67

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

Seite 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

Seite 69

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

Seite 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

Seite 71

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

Seite 72

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

Seite 73

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

Seite 74

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

Seite 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

Seite 76

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

Seite 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

Seite 78

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

Seite 79

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

Seite 80

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

Seite 81

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

Seite 82

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

Seite 83

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

Seite 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

Seite 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

Seite 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

Seite 87

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

Seite 88 - Customizing the ISPF panels

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

Seite 89

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 94

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

Seite 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

Seite 96

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

Seite 97

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

Seite 98

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

Seite 99

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

Seite 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

Seite 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

Seite 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

Seite 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.

Seite 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 ,

Seite 105

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

Seite 106

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

Seite 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

Seite 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

Seite 109 - About the action bar

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

Seite 110

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

Seite 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 (

Seite 112 - ISPF panels112

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

Seite 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

Seite 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

Seite 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

Seite 116 - Error Code Help panel

REXX variable structures202

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 122

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 130

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 138 - Information Per Tier

Collecting trace information and logs222

Seite 139 - 6 CLI commands

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

Seite 140

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

Seite 141 - CLI command coding format

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

Seite 142 - REXX external routine details

Support and other resources226

Seite 143 - KTDCTDEV

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

Seite 144 - Return codes

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

Seite 145 - KTDCTTPG

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

Seite 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

Seite 147 - Reference note

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

Seite 148 - KTIMPORT

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

Seite 149

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

Seite 150 - Function

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

Seite 151

XML document type definitions for configuration files234

Seite 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

Seite 153 - KTQRYDEV

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

Seite 154

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 160 - CLI commands160

Commands that can be used in the ISPF panels242

Seite 161

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

Seite 162

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

Seite 163

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

Seite 164 - CLI commands164

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

Seite 165

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

Seite 166

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

Seite 167 - KTWTOMSG

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

Seite 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

Seite 169

ARG mediaTypeValue; IF mediaTypeValue = '0000' THEN

Seite 170 - Output items

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

Seite 171 - User Guide 171

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

Seite 172 - KTERCODE

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

Seite 173 - KTINSCHK

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

Seite 174

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

Seite 175 - User Guide 175

*/ printErrorMessage: procedure expose DEMO_MSG.

Seite 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

Seite 177 - KTDSPENV

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

Seite 178 - Execution examples

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

Seite 179 - KTSETENV

Overview of Smart Manager for Mainframe26

Seite 180

/* * Check option values in the argument.

Seite 181

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

Seite 182

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

Seite 183

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

Seite 184

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

Seite 185 - Record priority

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

Seite 186 - Examples

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

Seite 187

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

Seite 188

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

Seite 189

/* * Display pool tier information.

Seite 190

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

Seite 191

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

Seite 192 - After the change:

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

Seite 193 - 8 REXX variable structures

/* * Display header information.

Seite 194 - Prefix of the structure name

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

Seite 195

Sample scripts274

Seite 196

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

Seite 197

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 202 - REXX variable structures202

Upgrading Smart Manager for Mainframe280

Seite 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

Seite 204

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

Seite 205 - Collecting event logs

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

Seite 206

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

Seite 207 - Defining a log stream

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

Seite 208

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

Seite 209

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

Seite 210

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

Seite 211

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

Seite 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

Seite 213

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

Seite 214

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

Seite 215 - Control statement examples

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

Seite 216

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

Seite 217

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

Seite 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

Seite 219

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

Seite 220

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

Seite 221 - User Guide 221

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

Seite 222

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

Seite 223 - Related information

ContentsPreface ... 131 Overview of Smart Manager for Mainf

Seite 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

Seite 225 - User Guide 225

Modifying the sample JCL300

Seite 226

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 232 - DescriptionAttribute name

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

Seite 233 - User Guide 233

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

Seite 234

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

Seite 235

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

Seite 236 - Specification examples

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

Seite 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

Seite 238

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

Seite 239

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

Seite 240

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

Seite 241

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

Seite 242

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

Seite 243 - C Sample scripts

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

Seite 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

Seite 245 - User Guide 245

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

Seite 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

Seite 247 - User Guide 247

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

Seite 248

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 254

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

Seite 255 - User Guide 255

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

Seite 256

Customizing the ISPF panels ... 88Setting the comm

Seite 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

Seite 258

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

Seite 259 - User Guide 259

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

Seite 260

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

Seite 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

Seite 262

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

Seite 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

Seite 264

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

Seite 265 - User Guide 265

Installation and setup58

Seite 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

Seite 267 - User Guide 267

Volume Status Detail panel ... 1376 CLI commands .

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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 <

Seite 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

Seite 274 - Sample scripts274

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

Seite 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

Seite 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

Seite 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

Seite 278 - Removing the library linkage

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 289

HostAddressedDisk element ... 230Elements in the tiering p

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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,

Seite 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

Seite 300 - Modifying the sample JCL300

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

Seite 301 - F Command syntax descriptions

Smart Manager for Mainframe operations when using the ISPF panel90

Seite 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

Seite 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

Seite 304 - Glossary304

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

Seite 305

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

Seite 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

Seite 307

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

Seite 308

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

Seite 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

Seite 310

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

Kommentare zu diesen Handbüchern

Keine Kommentare