beautypg.com

HP XP P9500 Storage User Manual

Page 63

background image

2.

Execute the

KTSTORE

command.

The data in the host-discovered array structure is saved in the disk configuration definition file.

TIP:

To view the contents of the disk configuration definition file, execute the

KTGETHDA

command.

Reference scripts

For details about how to create the script, see the following sample scripts.

Creating a disk configuration definition file: KTDEMO00

Checking the contents of the created disk configuration definition file: KTDEMO01

Example 1:

The code in this example scans devices 0000 through 00FF and volumes FF00 through FFFF, and
saves the scan results in the disk configuration definition file.

CALL KTSCAN "STEM(stem1.) MSG(msgstem.) FROM(0000) TO(00FF)";

CALL KTSCAN "STEM(stem1.) MSG(msgstem.) FROM(FF00) TO(FFFF)";

CALL KTSTORE "STEM(stem1.) MSG(msgstem.) PREFIX(PREFIX1)";

Example 2:

The code in this example scans the volumes with volume serial numbers from VOL001 through VOL999,
and saves the scan results in the disk configuration definition file.

CALL KTSCAN "STEM(stem1.) MSG(msgstem.) FROMVSN(VOL001)",

"TOVSN(VOL999)";

CALL KTSTORE "STEM(stem1.) MSG(msgstem.) PREFIX(PREFIX1)";

Example 3:

The code in this example scans the volumes that belong to SMS storage group SG1, and saves the
scan results in the disk configuration definition file.

CALL KTSCAN "STEM(stem1.) MSG(msgstem.) STORGRP(SG1)";

CALL KTSTORE "STEM(stem1.) MSG(msgstem.) PREFIX(PREFIX1)";

Operations to be performed in the next step

Creating a tiering policy information CSV file

Related topics

Creating a tiering policy information CSV file

, page 64

KTGETHDA

, page 90

KTSCAN

, page 104

KTSTORE

, page 107

User Guide

63