HP StorageWorks MSA1000 Software Manual

HP StorageWorks MSA1000 Software Manual

Modular smart array command line interface user guide
Hide thumbs Also See for StorageWorks MSA1000:
Table of Contents

Advertisement

HP StorageWorks
1000/1500 Modular Smart Array Command Line
Interface user guide
This guide details the Command Line Interface (CLI), which is used to configure and manage the following products:
— HP StorageWorks 1000 Modular Smart Array (MSA1000)
— HP StorageWorks 1500 Modular Smart Array (MSA1500)
Part number: 347282–004
Fourth edition: June 2007

Advertisement

Table of Contents
loading

Summary of Contents for HP StorageWorks MSA1000

  • Page 1 Interface user guide This guide details the Command Line Interface (CLI), which is used to configure and manage the following products: — HP StorageWorks 1000 Modular Smart Array (MSA1000) — HP StorageWorks 1500 Modular Smart Array (MSA1500) Part number: 347282–004...
  • Page 2 Hewlett-Packard. The information is provided “as is” without warranty of any kind and is subject to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services.
  • Page 3: Table Of Contents

    HP-authorized reseller........
  • Page 4 Basic command ............29 Command options .
  • Page 5 Index ............. 51 HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 6 Figures Multiple physical drives (D1, D2, and D3) in a system ........45 Multiple physical drives (D1, D2, and D3) configured into one logical drive (L1) .
  • Page 7: About This Guide

    • HP Array Configuration Utility user guide • Configuring Arrays on HP Smart Array Controllers reference guide These and other HP documents can be found on the HP documents website: http://www.docs.hp.com. Document conventions and symbols Table 1 Document conventions Convention...
  • Page 8 WARNING! Indicates that failure to follow directions could result in bodily harm or death. CAUTION: Indicates that failure to follow directions could result in damage to equipment or data. IMPORTANT: Provides clarifying information or specific instructions. NOTE: Provides additional information. TIP: Provides helpful hints and shortcuts.
  • Page 9: Hp Technical Support

    • Detailed, specific questions For continuous quality improvement, calls may be recorded or monitored. HP strongly recommends that customers sign up online using the Subscriber's choice website at http://www.hp.com/go/e-updates. • Subscribing to this service provides you with e-mail updates on the latest product enhancements, newest versions of drivers, firmware documentation updates, and instant access to numerous other product resources.
  • Page 11: Overview And Setup

    Recall the previous command in the command buffer Ctrl+N Down arrow Recall the next command in the command buffer NOTE: The CLI uses a zero-based numbering system. For example, LUN number assignments begin with HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 12: Cli Commands In Redundant Configurations

    CLI commands in redundant configurations When an MSA has two controllers, the same firmware image is run on both controllers. The two controllers communicate with each other through a PCI bus called the inter-controller link (ICL). Each controller has a serial port and has a CLI available to the users who connect the serial port to a serial terminal.
  • Page 13: Overview Of Cli Storage Configuration Procedures

    Each host accessing the storage must identify its operating system (profile type.) See ”Changing the profile of a connection” on page 41 for instructions. (Optional) Limit access to the storage. ”Access Control List commands” on page 43 for command descriptions. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 14: Accessing The Cli

    Accessing the CLI The CLI is accessed through a host computer connected to the serial port of an MSA controller. Use the following steps to establish a serial connection to the controller: Make sure there is an MSA controller installed in Slot 1 of the unit (Slot 1 is located on the front right of the unit).
  • Page 15 Flow control: None The CLI input screen is displayed. e. Press Enter several times to display the command prompt (CLI>). Commands can now be entered at this CLI prompt. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 16 Overview and setup...
  • Page 17: Using The Cli

    HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 18: Example Help Display_All Command And Response

    Example help display_all command and response CLI> help display_all Displaying list of all currently supported CLI commands: help add unit add units add connection add acl add profile copy profile change mode add spare download firmware delete unit delete units delete connection delete acl delete profile...
  • Page 19: Show Commands

    LUN, list of hard drives assigned as spares to the LUN, RAID level, and LUN size. version—displays version information, including: hardware build, controller firmware, and fan module firmware. version -all—displays individual hard drive firmware versions, in addition to what the version command shows. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 20: Example Show Disks Command And Response For An Msa1500

    Example show disks command and response for an MSA1500 CLI> show disks Disk List: (box,bay) (B:T:L:) Size Speed Units Enclosure 1: SATA SATA PROLIANT 8LCE Disk101 (1,01) (0:03:01) 250.0GB 160 MB/s none Disk102 (1,02) (0:03:02) 250.0GB 160 MB/s none Disk103 (1,03) (0:03:03) 250.0GB...
  • Page 21: Example Show Globals Command And Response

    SCSI I/O Module Bus 1 Revision: 2.02 SCSI I/O Module Bus 2 Revision: 2.02 SCSI I/O Module Bus 3 Revision: 2.02 Fan Control Module A Revision: 2.38 Fan Control Module B Revision: 2.38 HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 22: Example Show Version -All Command And Response

    Example show version -all command and response CLI> show version -all MSA 1500 Firmware Revision: 5.10b414 (SGA0434084) MSA 1500 Firmware Revision: 7 [AutoRev: 0x010000] Fibre Module AutoRev: 0x020000 SCSI I/O Module Bus 0 Revision: 2.02 SCSI I/O Module Bus 1 Revision: 2.02 SCSI I/O Module Bus 2 Revision: 2.02...
  • Page 23: Example Show This_Controller Command And Response

    Battery: Module #1 is fully charged and turned off. Controller Up Time: 5 Days 06 Hours 01 Minutes 51 Seconds Health: Surface Scan: Complete. Rebuild Status: Complete. Expansion: Complete. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 24: Example Show Connections Command And Response

    Example show connections command and response NOTE: Use the command to verify that all connections to the MSA are recognized show connections and defined, including the profile type. CLI> show connections Connection Name: <unknown> Host WWNN = 11111111-11111111 Host WWPN = 22222222-22222222 Profile Name = Windows Unit Offset = 0 Controller 1 Port 1 Status = Online...
  • Page 25: Lun-Related Commands

    —(optional) the length of time to flash the LEDs, where t represents the number of seconds. This time=t option must be preceded by another option such as all. —the number of the LUN whose disks you want to locate. unit x HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 26: Creating Luns

    Creating LUNs A LUN is a logical storage unit comprised of one or more hard drives. When a LUN is initially created, the LUN Unit ID is automatically set to the same number assigned to the LUN. If desired, this LUN ID name can be changed. See ”Assigning a name or ID to a LUN”...
  • Page 27: Example Command And Response To Create A Single Lun From A Group Of Drives

    Logical Unit size = 4000 MB RAID overhead = 2000 MB Total space occupied by new unit = 6000 MB Free space left on this volume = 15533 MB Unit 3 is created successfully. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 28: Example Command And Response To Create A Lun With An Assigned Spare

    Example command and response to create a LUN with an assigned spare CLI> add unit 4 data=”disk211-disk212” raid_level=1 spare=”disk213” First volume to be configured on these drives. Logical Unit size = 69460 MB RAID overhead = 69460 MB Total space occupied by new unit = 138920 MB Free space left on this volume = 0 MB Unit 4 is created successfully.
  • Page 29: Adding A Spare To An Existing Lun

    Data will be lost after the unit is deleted. Do you still want to DELETE unit 4 (Y/N)? Y Please wait while unit 4 is being deleted… Unit 4 is deleted successfully. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 30: Deleting Spares

    Expanding an array CAUTION: In an HP-UX environment, expanding a LUN, as described in this section, is not supported. See the HP-UX documentation for instructions on expanding LUNs on an HP-UX system. To add additional physical drives to an array: NOTE: Because this command affects the entire array, all LUNs made from the array are also affected.
  • Page 31: Extending A Lun

    Extending a LUN CAUTION: In an HP-UX environment, extending a LUN as described in this section is not supported. See the HP-UX documentation for instructions on extending LUNs on an HP-UX system. To incorporate unused, available space in an array to a specific LUN: Basic command extend unit <#>...
  • Page 32: Changing The Cache Setting For A Lun

    The RAID level of Unit 0 will now be 5. Unit 0 is being migrated. Use “show unit 0” to monitor progress. Changing the cache setting for a LUN To enable or disable the array accelerator cache for a specific LUN: Basic command set unit <#>...
  • Page 33: Example Command And Response

    Preferred path for unit 7 is now controller 1 (this_controller) Preferred path for unit 9 is now controller 1 (this_controller) Resuming I/O... I/O Resumed... POST_Do_Msg: 65 CACHE HARDWARE ENABLED HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 34: Enabling/Disabling Automatic Path Switching

    Enabling/disabling automatic path switching NOTE: This command is available only with active/active firmware (v6.x or later). If implicit path changes are enabled, controller firmware will automatically determine and, as needed, switch controller paths for units based on host request load, according to the specified preferences. Basic command set auto_path_change <enable|disable>...
  • Page 35: Global Commands

    NOTE: The sum of read_cache and write_cache must equal 100. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 36: Example Command And Response

    Example command and response CLI> set globals expand_priority=medium rebuild_priority=medium system_name=”MSA-1” read_cache=50 write_cache=50 Global Parameters: System Name: MSA-1 Rebuild Priority: medium Expand Priority: medium Total Cache: 256MB 50% Read Cache: 256MB 50% Write Cache: 256MB Setting the controller ID This command can be used to assign a unique name to each controller installed in the MSA. NOTE: In OpenVMS environments, a unique identifier must be assigned to each MSA controller.
  • Page 37: Changing The Cli Prompt

    • If it has been more than six months since you restarted your MSA storage system, HP recommends that you power-cycle the MSA (power off, and then power on) before updating the firmware to ensure that you are working with a fresh system.
  • Page 38 • HP-UX environments must have an MSA Fibre link to a host. IMPORTANT: If you encounter any problems during the firmware update process, stop and contact HP technical support. See ”HP technical support” on page 9 for support contact information.
  • Page 39: Disabling A Controller For Removal

    To allow additional system level messages to appear on the CLI console during failure events (such as hard drive, power supply, or fan module failures): Basic command set debug <on|off> HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 40: Host Connection Commands

    Before a host accesses the storage of the MSA, you must identify the operating system (host mode) of each connection. HP also recommends assigning a user-defined name to each connection, to make the identification and setup of each connection easier.
  • Page 41: Changing The Profile Of A Connection

    16 alphanumeric characters. Example command and response CLI> rename connection abc xyz Connection(s) has been renamed successfully. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 42: Deleting The User-Defined Name Of A Connection

    ), you can use this command to copy the settings for a valid profile (such as Windows) default into the default profile. However, HP recommends using the command to properly set the host connection. For set connection details, see ”Changing the profile of a connection”...
  • Page 43: Changing The Profile Mode

    Viewing the ACL To display the current ACL: Basic command show acl Example command and response CLI> show acl ACL is enabled: Connection WWPN Units 11111111-22222222 0,1,2 33333333-44444444 Inaccessible Units: 5,6 HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 44: Adding To The Acl

    Adding to the ACL Two methods of entering LUN assignments are available: • Adding to the ACL using the connection name • Adding to the ACL using the WWPN Basic command add acl <connection=name> <unit=#> -or- add acl <connection=wwpn=xxxxxxxx-xxxxxxxx> <unit=#> Command options connection=name—the name of the connection to grant access.
  • Page 45: A Storage Overview

    Each unit of data is called a block, and adjacent blocks form a set of data stripes across all physical drives in that logical drive (Figure 15312 Figure 3 Data striping (S1-S4) and data blocks (B1-B12) on multiple physical drives (D1, D2, and D3) HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 46: Fault-Tolerance Methods

    For data in the logical drive to be readable, the data block sequence must be the same in every stripe. This sequencing process is performed by the array controller, which sends the data blocks to the drive write heads in the correct order. A natural consequence of the striping process is that each physical drive in a given logical drive will contain the same amount of data.
  • Page 47: Raid 0-No Fault Tolerance

    When the array has more than two physical drives, drives are mirrored in pairs (Figure 15315 Figure 6 RAID 1+0 array, with eight physical hard drives (D1 through D8) HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 48: Raid 5-Distributed Data Guarding

    In each mirrored pair, the physical drive that is not busy answering other requests answers any read requests that are sent to the array. (This behavior is called load balancing.) If a physical drive fails, the remaining drive in the mirrored pair can still provide all the necessary data. Several drives in the array can fail without incurring data loss, as long as no two failed drives belong to the same mirrored pair.
  • Page 49: Information (Px,Y)(Qx,Y)

    High data availability—Any two drives can fail without loss of critical data. More drive capacity is usable than with RAID 1+0—Parity information requires only the storage equivalent to two physical drives. HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 50: Comparison Of Raid Methods

    Comparison of RAID methods Table 7 summarizes important features of the different RAID levels. Table 7 Summary of RAID methods RAID 0 RAID 1+0 RAID 5 RAID 6 Alternative name Striping Mirroring Distributed Data Advanced Data Guarding (DDG) Guarding (ADG) Usable drive space* 100% 67% to 93%...
  • Page 51: Index

    LUN, cache, enabling/disabling related documentation LUN, creating documentation, HP website LUN, extending DOWNLOAD FIRMWARE command overview of profile, adding new profile, changing EXPAND UNIT command profile, changing mode of HP StorageWorks 1000/1500 Modular Smart Array Command Line Interface user guide...
  • Page 52 EXTEND UNIT command symbols in text fault tolerance methods technical support, HP flashing LEDs, with the CLI text symbols global controller settings, changing with the CLI websites HP documentation HP storage HP Subscriber’s choice hard addressing, setting hard drives, locating with the CLI...

This manual is also suitable for:

Storageworks msa1500

Table of Contents