HP XP Command View Advanced Edition Software User Manual
Page 95
TIP:
If the disk configuration changes significantly after the scan (for example, because the storage system
is replaced or device numbers of volumes change due to changes in I/O definitions), you must delete
the disk configuration definition file. Then rescan the storage system. If necessary, change the definition
of the tiering policy group.
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)";
Postrequisites
•
Creating a tiering policy information CSV file
Related topics
• Creating a tiering policy information CSV file when using the CLI commands
• KTGETHDA
• KTSCAN
• KTSTORE
User Guide
95