Download Print this page

HP StorageWorks 7110 - Virtual Array Using Manual

Using vadiag on hp-ux
Hide thumbs Also See for StorageWorks 7110 - Virtual Array:

Advertisement

Using VADIAG on HP-UX
This document describes the VADIAG (Virtual Array) commands supported in the offline
diagnostic environment (ODE) for HP-UX systems.
VADIAG Command Summary
The following table lists the VADIAG commands and their brief descriptions.
Command
ARRAYINDEX
Selects the specified array for testing.
CLRLOG
Clears the logs of either the selected controller or disk.
CREATELUN
Adds a LUN to the selected array.
DELETELUN
Removes a LUN from the selected array.
DESCRIBE
Displays configuration information for the selected array.
DISPFILES
Displays the firmware images found on the ODE media.
DISPMAP
Displays the arrays connected to the specified bus.
DISPVOLSET
Displays the disk volume set serial number.
DISKINFO
Displays revision information for the selected array and disks installed in each
JBOD enclosure.
DISKSTATE
Displays the state of the disks installed in the array enclosures (including the
Map disks).
DOWNLOAD
Downloads the image file to the specified array controller, disk, or JOBOD LCC.
ENCLOSURE
Selects the JBOD enclosure connected to the selected array.
FRU
Selects the specified component either for testing or to get information from.
FORMAT
Formats either the array subsystem or a disk.
HELP
Lists either all VADIAG commands or detailed information for a specified
command.
INQUIRY
Displays SCSI Inquiry data for the selected array controller, disk, or JBOD
controller.
LCCINFO
Displays information about the JBOD LCCs connected to the array.
LOOPPAIR
Selects the controller loop pair.
RANGE
Selects a range of blocks to be tested by ROMT and WRTMT.
READLOG
Reads the logs of the specified controller or disk.
Description
1

Advertisement

loading

Summary of Contents for HP StorageWorks 7110 - Virtual Array

  • Page 1 Using VADIAG on HP-UX This document describes the VADIAG (Virtual Array) commands supported in the offline diagnostic environment (ODE) for HP-UX systems. VADIAG Command Summary The following table lists the VADIAG commands and their brief descriptions. Command Description ARRAYINDEX Selects the specified array for testing. CLRLOG Clears the logs of either the selected controller or disk.
  • Page 2 Command Description RECOVER Reconstructs data mapping and array configurations. REQSENSE Displays SCSI Sense data for the selected array controller, disk, or JBOD controller. RESETARRAY Resets the selected array. ROMT Performs a read only test on the selected disk. SETOPTIONS Displays and modifies SCSI mode parameters for the selected array controller. SHOWENV Displays the current settings for these variables: CONTROLLER, ENCLOSURE, LOOPPAIR, RANGE, SLOT, and TESTDEVICE.
  • Page 3 ARRAYINDEX Selects the array to be tested Syntax arrayindex [arrayindex] Description This command sets the ARRAYINDEX variable to an array controller’s device index number. The array controller is chosen from the numbers displayed by the dispmap command. The ARRAYINDEX variable is an index to the array to be tested, while the LOOPPAIR, ENCLOSURE, and SLOT variables select the appropriate component within the array.
  • Page 4 CLRLOG Clears device logs. Syntax clrlog Description This command clears the selected device logs. Use either the testdevice or fru command to select controller or disk logs within the array. Example VADIAG> clrlog CLRLOG...
  • Page 5 CREATELUN Creates a Logical Unit Number (LUN). Syntax createlun Description This command creates a LUN on the selected array, which provides a virtual disk to the host. Examples To create a LUN: VADIAG> createlun Do you want to create a Snapshot LUN (y/[n])? Enter the number of the LUN to create: 7 Enter the LUN size in the form <capacity>MB or <capacity>GB: 10MB LUN 7 was successfully created.
  • Page 6 DELETELUN Deletes a Logical Unit Number (LUN). Syntax deletelun Description This command deletes a LUN on the selected array. All information stored on the LUN is lost and the previously used physical storage is freed. Example VADIAG> deletelun Enter the number of the LUN to delete: 8 ************************************************************************* * D A T A L O S S W A R N I N G! *************************************************************************...
  • Page 7 DESCRIBE Displays configuration information for an array. Syntax describe [-c [FruLocation] | -d [FruLocation] | -e [FruLocation] | -f | -l [LUN] | -s | -m | -?] Description This command displays configuration information for the selected array. Use the arrayindex command to select the array.
  • Page 8: Array Information

    To display configuration information for the selected array: VADIAG> describe ARRAY INFORMATION Vendor ID: Product ID: A6188A Array WWN: 0x50060B0000000000 Array Serial Number: 00usp1001027 Alias: daveg_cass ARRAY INFORMATION Array State: System Warning Firmware Version: 38370HP01P0330010935 Product Revision: IJMTU00004 CAPACITY USAGE (MB=2^20): Total Disk Enclosures: Total Disks Total Physical Size:...
  • Page 9 DISPFILES Displays firmware information. Syntax dispfiles Description This command displays a list of all the firmware files found on the LIF (Logical Interchange Format) volume. The list contains the following information: • File name. Firmware file’s name. • Intended Product ID. Firmware file's intended product. •...
  • Page 10 DISPMAP Displays the device map. Syntax dispmap Description This command displays a list of all the array controllers found on the system. The list includes the following fields: • Array Indx. Device index number which is used by other VADIAG commands to reference a specific array controller.
  • Page 11 DISPVOLSET Displays internal disk volume set serial number. Syntax dispvolset Description This command displays a table that includes the internal disk’s FRU, storage type, state, firmware revision, capacity, and volume set serial number. The storage type (Map/User column) indicates if the disk is used for user data storage (US), meta data storage (MS) (Map Disk), or both.
  • Page 12 DISKINFO Returns device revision information. Syntax diskinfo Description This command returns basic revision information about the controller and all recognized disks within the selected array. Additional revision information might be available using the inquiry command. The storage type (Map/User column) indicates if the disk is used for user data storage (US), meta data storage (MS) (Map Disk), or both.
  • Page 13 DISKSTATE Displays the physical disk drive map. Syntax diskstate Description This command displays the state of the selected controller and the state of the disk drives located in the main enclosure. The storage type (Map/User column) indicates if the disk is used for user data storage (US), meta data storage (MS) (Map Disk), or both.
  • Page 14 DOWNLOAD Downloads firmware to the array controller or the disk drive. Syntax download Description This command transfers the image contained in the selected firmware file to either the array controller or internal disk. The fru command selects which device is issued the download. This command warns you if the firmware file is not compatible with the selected array.
  • Page 15 ENCLOSURE Sets the enclosure ID. Syntax enclosure [enclosure ID] Description This command sets the ENCLOSURE variable which is used to access JBOD LCCs and disks. The ENCLOSURE variable along with the LOOPPAIR and SLOT variables identify the component of interest. The ENCLOSURE variable should always be set to a value of 0.
  • Page 16 FORMAT Formats the array subsystem or an internal disk. Syntax format Description This command formats the entire array subsystem or an internal disk. A subsystem format is rejected if any LUNs exist. Example To format internal disk 3: VADIAG> fru m/d3 VADIAG>...
  • Page 17 Selects components for testing. Syntax fru [fru] Description This command selects a component (for example, disk or controller) for testing. For the selected component, it sets the correct values for the LOOPPAIR, ENCLOSURE, SLOT, and TESTDEVICE variables. You can manually set these variables, but it is much easier and less error prone to use the fru command.
  • Page 18 INQUIRY Returns SCSI Inquiry data (all pages). Syntax inquiry Description This command returns SCSI Inquiry data on the selected FRU. You can select a controller, a disk, or a JBOD LCC with the testdevice or fru command. Example To issue an inquiry command to drive 2 in the main enclosure: VADIAG>...
  • Page 19 LCCINFO Displays information about the JBOD LCCs connected to the array. Syntax lccinfo Description This command displays information about the JBOD LCCs connected to the array. The EID column shows the enclosure ID. A value of 0xFF in the Slot column indicates that the lccinfo command could not determine the LCC’s slot location.
  • Page 20 LOOPPAIR Sets the controller loop pair. Syntax looppair [loop pair] Description This command sets the LOOPPAIR variable which is used to access JBOD LCCs and disks. The LOOPPAIR variable along with the ENCLOSURE and SLOT variables identify the component of interest.
  • Page 21 RANGE Selects blocks for testing by the ROMT and WRTMT commands. Syntax range [start_block/[end_block]],[start_block/[end_block]],... Description This command selects multiple blocks for testing by the romt and wrtmt commands. The value of the RANGE variable identifies the selected blocks. Examples To select block 4000 and blocks 6000 through 7000: VADIAG>...
  • Page 22 READLOG Reads device logs. Syntax readlog Description This command returns the selected internal device logs. You can select controller logs or disk logs using the testdevice or fru command. Example To read the logs from controller 0: VADIAG> fru m/c0 VADIAG>...
  • Page 23 RECOVER Reconstructs data mapping and array configuration. Syntax recover Description This command instructs the target to attempt to reconstruct data mapping and array configuration information from the physical drives after the loss of NVRAM contents. The recover operation also performs a parity scan to correct any drive parity inconsistencies. This command is typically used when the subsystem is in the No Map state.
  • Page 24 REQSENSE Returns SCSI Sense data. Syntax reqsense Description This command returns SCSI Sense data on the selected FRU. You can select a controller, a disk, or a JBOD LCC with the testdevice or fru command. Example To issue a reqsense command to controller 0: VADIAG>...
  • Page 25 RESETARRAY Issues a hard reset to the array. Syntax resetarray Description This command causes the array to perform a hard reset. Example VADIAG> resetarray RESETARRAY...
  • Page 26 ROMT Performs a read test. Syntax romt Description This command performs a read-only test on the selected disk. It is designed to test only internal disks and not the array itself. Use either the enclosure, looppair, and slot commands or the fru command to select the disk for testing.
  • Page 27 SETOPTIONS View and modify SCSI Mode parameters. Syntax setoptions Description This command returns SCSI mode sense parameters on the selected array and enables you to modify changeable parameters. Example VADIAG> setoptions Parameter information for ArrayIndex 0 Subsystem Parameter Value Subsystem Parameter Value ------------------------------- ------- -------------------------------- -------...
  • Page 28 SHOWENV Displays the current environment variable settings. Syntax showenv Description This command displays the current value of these environment variables: ARRAYINDEX, TESTDEVICE, LOOPPAIR, ENCLOSURE, SLOT, RANGE, and FRU. Example VADIAG> showenv ArrayIndex: TestDevice: Controller LoopPair: EnclosureID: Slot: Range: NOT SET FRU: M/C0 SHOWENV...
  • Page 29 SHUTDOWN Puts the array into the shutdown state. Syntax shutdown Description This command requests that the array stop normal I/O operation and save all map information to physical drive storage. Example VADIAG> shutdown SHUTDOWN...
  • Page 30 SLOT Sets the disk slot. Syntax slot [slot] Description This command sets the SLOT variable which is used to access the main enclosure disks. The SLOT variable along with the LOOPPAIR and ENCLOSURE variables identify the component of interest. It might be easier to use the fru command to identify the component because it automatically sets the LOOPPAIR, ENCLOSURE, and SLOT variables.
  • Page 31 TESTDEVICE Selects devices for testing. Syntax testdevice [controller | disk | lcc] Description This command selects either the controller, disk, or JBOD LCC as the device to test and where the command can be executed by any one of the devices. If only the controller can execute the command, then the TESTDEVICE variable will not have any meaning because the command will still go to the controller even if TESTDEVICE is set to the disk.
  • Page 32 UNSETVARS Unsets all environment variables. Syntax unsetvars Description This command lets you unset (or clear) the following environment variables: TESTDEVICE, LOOPPAIR, ENCLOSURE, SLOT, RANGE, and FRU. The variables are changed to a NOT SET condition. Example VADIAG> unsetvars ArrayIndex: TestDevice: NOT SET LoopPair: NOT SET...
  • Page 33 UTILINFO Utility Information. Syntax utilinfo Description This command describes how to run VADIAG in some scenarios. Example VADIAG> utilinfo UTILINFO...
  • Page 34 WRTMT Performs a write/read test. Syntax wrtmt Description This command performs a write-then-read test on the selected disk. It is designed to test only internal disks and not the array itself. Use either the enclosure, looppair, and slot commands or the fru command to select the disk for testing.