Previous | Contents | Index |
Serial Attached SCSI (SAS) is a T10 standard serial interconnect for mass storage devices. SAS provides faster speeds, longer distances, simpler cables, and more compatible connectors than parallel SCSI transport.
The SAS interconnect includes three transport-level protocols:
OpenVMS Version 8.3 supports only internal (direct-attached) SAS drives. |
RAID is used where extra performance, storage capacity, or redundancy of a RAID configuration, or all three, are required. OpenVMS Version 8.3 supports only RAID 1 and its Global Hot Spare capability.
On I64 systems, the SAS utility (SAS$UTIL) is an OpenVMS system management and diagnostic tool that is capable of configuring Integrated RAID (IR) functionality for the HP 8 Internal Port Serial Attached SCSI Host Bus Adapter (SAS Controller).
RAID 1 for the SAS Controller is called Integrated Mirroring. The
following sections describe Integrated Mirroring and Global Hot Spare
capability.
20.2.1 Integrated Mirroring
Integrated Mirroring (IM) is a simple sector-to-sector physical mirror of one drive to another drive. Each SAS controller supports up to two simultaneously mirrored volumes. Both disks in an IM volume must be connected to the same SAS controller.
IM provides fault-tolerant protection for critical data such as operating systems on servers and high-performance workstations. Usually, one of the IM volumes is the boot volume. If a disk in an IM volume fails, the hot spare and hot swap capability allows the volume to be restored easily simply by swapping disks. The firmware then automatically remirrors the swapped disk.
The advantage of IM is that a mirrored copy of the data is always available, and that reads performance is enhanced. The disadvantage is that write performance is diminished.
Data written to an IM volume is written simultaneously to both disks.
The overall write operation is not complete until both disk writes
complete; therefore, this operation is somewhat slower than a single
disk write. Reads from an IM volume are load balanced between the
primary and secondary disks for better performance.
20.2.2 Global Hot Spare Capability
Each SAS Controller can have a single Global Hot Spare disk available
to both IM volumes, making them even more fault tolerant. This disk
automatically replaces a failed IM disk. When the failed disk is
replaced in the same physical location, the new disk automatically
becomes the new hot spare.
20.3 SAS Utility Usage Summary
You must have SYSPRIV privilege to run the SAS utility.
To invoke the SAS utility, enter the following command at the DCL command prompt ($):
$ RUN SYS$SYSTEM:SAS$UTIL |
The SAS utility returns the following prompt:
SAS> |
At the SAS prompt, you can enter any SAS utility command described in
the following sections.
20.4 Restrictions
The following restrictions apply to the use of the SAS utility:
OpenVMS Version 8.3 supports internal (direct-attached) SAS drives and RAID 1 only. |
For additional information, see the following:
http://www.docs.hp.com |
http://www.docs.hp.com |
The following sections describe SAS utility commands and provide
examples of their use.
ADD UNIT
Creates a new Integrated RAID (IR) volume.An IR volume ID is created whenever an IR volume is created.
ADD UNIT /DISK=sas_id (,...) /RAID=1
/CACHE
/NOCACHE (default)
Enables or disables write caching to the physical disk. Write caching to the physical disk is set to off by default./DISK=sas_id(,...)
This qualifier is required. Specifies the SAS ID of the physical disk to be added to the IR volume set. (The SAS ID is the ID shown when you enter the SAS command SHOW DISK.) Enclose multiple SAS IDs in parentheses.The effective size of the RAID volume is automatically determined and set to the maximum size available. The firmware supports disks of varying sizes; however, the excess space of a larger disk or disks is unusable. Volume expansion is not supported; once a volume is created, its size cannot be increased.
A physical disk must be dismounted in OpenVMS before it can be added to the IR volume set.
/RAID=(0 | 1 | 10)
This qualifier is required. Specifies the RAID level of the IR volume set.RAID levels are the following:
RAID Level Description RAID 0 Integrated Striping RAID 1 Integrated Mirroring RAID 10 Integrated Mirroring Enhanced
Note
OpenVMS Version 8.3 supports RAID 1 (Integrated Mirroring)./SPARE=sas_id
Specifies the SAS ID of the physical disk to be added as the Global Hot Spare disk.This qualifier is required when specifying a Global Hot Spare disk for a RAID 1 configuration.
You can configure one Global Hot Spare disk per controller. The spare drive can be shared between two RAID 1 IR volume sets per controller. The size of the disk specified as /SPARE should be greater than or equal to the size of at least one of the physical disks on the IR volume.
/SYNCH
/NOSYNCH (default)
This qualifier applies only to RAID 1 IR volumes. Specifies the use of high-priority or low-priority resynchronization. High-priority resynchronization is set to OFF by default./UNSAFE
Overrides the restriction that limits OpenVMS support to RAID 1 only.
SAS> SHOW DISK Port _PKA0: ---- --- --- --- -------- ------- -------- ------------------ ----------------- ID Enc PHY Slt Device Type Size(MB) SAS Address Product Name ---- --- --- --- -------- ------- -------- ------------------ ----------------- 01 DA 04 01 DKA100 SAS 34732 5000C500-00334CCD HP DG036.. HPD43 02 DA 05 02 DKA200 SAS 70007 5000C500-00208185 HP DG072.. HPD43 03 DA 06 03 DKA300 SAS 34732 5000C500-0033D76D HP DG036.. HPD43 04 DA 07 04 DKA400 SAS 34732 5000C500-0030B02D HP DG036.. HPD43 SAS> ADD UNIT /RAID=1 /DISK=(2,3) /SPARE=4 IR Volume 4 created. . . . SAS> SHOW DISK Port _PKA0: ---- --- --- --- -------- ------- -------- ------------------ ----------------- ID Enc PHY Slt Device Type Size(MB) SAS Address Product Name ---- --- --- --- -------- ------- -------- ------------------ ----------------- 01 DA 04 01 DKA100 SAS 34732 5000C500-00334CCD HP DG036..HPD43 04 - - - DKA4 RAID 1 34332 9378ACB0-072A3D4E LSIL Logic..3000L |
In this example, a RAID 1 volume is created. It is comprised of physical disks with SAS IDs of 2 and 3, and a Global Hot Spare disk with an SAS ID of 4. The IR volume is assigned IR volume ID 4.
Deletes a Global Hot Spare disk that is part of an IR volume set.
DELETE DISK /SPARE
/SPARE
This qualifier is required. Deletes the Global Hot Spare disk in the IR volume set.
SAS> DELETE DISK /SPARE Global Hot Spare disk deleted. |
This example shows the deletion of the Global Hot Spare disk in the IR volume set.
Deletes the IR volume specified by the IR volume ID.
DELETE UNIT volume_id
volume_id
The IR volume ID number to be deleted. (To display IR volume IDs, enter the SAS command SHOW DISK or SHOW UNIT.The IR volume must be dismounted in OpenVMS before it can be deleted.
/CONFIRM (default)
/NOCONFIRM
Controls whether a question about confirming the DELETE UNIT command is displayed.
SAS> DELETE UNIT 4 WARNING: Proceeding with this operation may cause data loss. Would you like to continue (Yes/No) [NO]? Yes IR Volume ID 4 deleted. |
This example shows the deletion of IR Volume ID 4.
Exits the SAS utility and returns to the DCL prompt ($).
EXIT
SAS> EXIT $ |
This command exits the SAS utility.
Selects the default controller specified by the device name.This command is required before entering all SAS utility commands except SHOW CONTROLLER and SHOW VERSION.
SET CONTROLLER device_name
device_name
The device name has the format ddcu,
where:
dd is the device code. c is the controller designation A through Z. u is the unit number (0 through 9999). To display device names, enter the SAS command SHOW CONTROLLER.
SAS> SET CONTROLLER PKA0 Selected Controller _PKA0: is a LSISAS10XX device. SAS> |
In this example, controller _PKA0: is selected as the default controller.
Modifies physical disk properties such as turning the Locate LED on or off and specifying the unique device ID (UDID) to external SAS and SATA devices.
SET DISK sas_id
sas_id
Specifies the SAS ID of the target SAS disk to be modified. (To display SAS IDs, enter the SAS command SHOW DISK.)
/IDENT=udid
Specifies the unique device ID (UDID), which is used as the unit number in the device name for an external SAS or SATA disk. The device name is in the form $3$dgaxyz, where xyz is the UUID for external SAS and SATA disks.The UDID can be a number between 1 and 9999.
See the /REMOVE qualifier to remove a UDID.
/LED=OFF
/LED=ON
Sets the Locate LED, which can be used to find the SAS or SATA disk./REMOVE
Remove the unique device ID (UUID) for an external SAS or SATA disk.
SAS> SET DISK 1 /LED=ON |
In this example, the SAS ID 1 Locate LED is turned on.
Modifies IR volume characteristics.
SET UNIT volume_id
volume_id
Specifies the IR volume ID of the IR volume to be modified.(To display all IR volume IDs in the SAS Controller, enter the SAS command SHOW DISK or SHOW UNIT command.)
/ACTIVE
Activates the specified IR volume./CACHE
/NOCACHE (default)
Specifies write caching to a physical disk. Write caching is turned off by default./DISABLE
Temporarily disables all IR volumes on the SAS Controller./ENABLE
Enables all IR volumes previously disabled by the /DISABLE qualifier./INACTIVE
Deactivates the specified IR volume./LED=OFF
/LED=ON
Sets the Locate LED for all physical disks on the IR volume to off or on./SPARE=sas_id
Specifies the disk SAS ID to be added as the Global Hot Spare disk. (The SAS ID is the ID displayed when you enter the SAS command SHOW DISK.)This qualifier is required only when specifying a Global Hot Spare disk for a RAID 1 configuration.
You can configure one Global Hot Spare disk per controller. The spare drive can be shared between two RAID 1 IR volume sets per controller. The size of the disk specified as /SPARE should be equal to or greater than the size of at least one of the physical disks on the IR volume.
/SYNCH
/NOSYNCH (default)
Specifies the use of high-priority or low-priority resynchronization. High-priority resynchronization is off by default.
SAS> SHOW DISK Port _PKA0: ---- --- --- --- -------- ------- -------- ------------------ ----------------- ID Enc PHY Slt Device Type Size(MB) SAS Address Product Name ---- --- --- --- -------- ------- -------- ------------------ ----------------- 01 DA 04 01 DKA100 SAS 34732 5000C500-00334CCD HP DG036..HPD43 05 DA 00 05 DKA500 SAS 34732 5000C500-003306B1 HP DG036..HPD43 04 - - - DKA4 RAID 1 34332 603A21ED-0869B091 LSIL Logic..3000L SAS> SAS> SHOW UNIT IR Volume information: -------------- IR Volume 4 -------------- Volume Type : RAID 1 (LSI Logic Integrated Mirror) Volume State : Okay (OKY) Size : 34332 MB / 70311936 blocks IR Disk 1 Source Disk Disk State : Online (ONL) Slot ID : 2 SAS WWID : 5000C500-00208185 IR Disk 2 Secondary Disk Disk State : Online (ONL) Slot ID : 3 SAS WWID : 5000C500-0033D76D SAS> SAS> SET UNIT 4 /SPARE=5 Global Hot Spare 5 added to Volume Set 4. SAS> SHOW UNIT IR Volume information: -------------- IR Volume 4 -------------- Volume Type : RAID 1 (LSI Logic Integrated Mirror) Volume State : Okay (OKY) Size : 34332 MB / 70311936 blocks IR Disk 1 Source Disk Disk State : Online (ONL) Slot ID : 2 SAS WWID : 5000C500-00208185 IR Disk 2 Secondary Disk Disk State : Online (ONL) Slot ID : 3 SAS WWID : 5000C500-0033D76D IR Hot Spare : 1 Hot Spare Status : Active Slot ID : 5 SAS WWID : 5000C500-003306B1 |
This example shows a Global Hot Spare disk added to an IR volume set.
Displays information about the SAS Controller.
SHOW CONTROLLER [device_name]
device_name: (OPTIONAL)
The device name is an SAS device name used to display information about a specific controller. The device name has the format ddcu,
where:
dd is the device code. c is the controller designation A through Z. u is the unit number (0 through 9999). If you do not specify a device name, all controllers are displayed.
/DEFAULT
Displays information about the default controller./FULL
Displays additional information about the SAS Controller.
SAS> SHOW CONTROLLER A default controller is not set. All matching controllers displayed. Adapter: _PKA0: Controller Type : SAS LSISAS1068 Firmware version : 1.10.0.0 SAS WWID : 500605B0-00001A20 RAID Capabilities RAID 0 (Integrated Striping) supported. RAID 0+1 (Integrated Mirroring Enhanced) supported. RAID 1 (Integrated Mirroring) supported. Active IR Volumes : 1 of 2 Active PHYS disk : 3 of 10 Cache: Not Available. Battery: Not Available. |
This example shows SAS Controller information.
Displays a table of available SAS, SATA, and IR volumes in the SAS Controller.Each column in the table is displayed as follows:
Volume Description ID SAS ID for SAS/SATA device.
RAID volume ID for RAID volume set.Enc Enclosure number:
- Direct attached is displayed as "DA."
- Non-direct attached shows the enclosure handle number.
PHY SAS PHY number of the physical disk. Slt Physical slot or element index in the enclosure where the target device is physically located. Device OpenVMS device name. Type Device type. Size Disk size in MB. SAS Address SAS address (World Wide Identifier) of the device. Product Name Product model of the disk.
SHOW DISK [sas_id]
sas_id
The SAS ID is the ID shown when you enter the SAS command SHOW DISK.If you do not enter a SAS ID, the SAS utility displays all available physical SAS disks.
/FULL
Displays additional information about disks.
SAS> SHOW DISK Port _PKA0: ---- --- --- --- -------- ------- -------- ------------------ ----------------- ID Enc PHY Slt Device Type Size(MB) SAS Address Product Name ---- --- --- --- -------- ------- -------- ------------------ ----------------- 01 DA 04 01 DKA100 SAS 34732 5000C500-00334CCD HP DG036..HPD43 08 DA 03 08 DKA800 SATA 57231 D83F3C15-C9A98294 ATA FUJIT..034EN 04 - - - DKA4 RAID 1 34332 603A21ED-0869B091 LSIL Logic..3000L SAS> |
This example shows all devices connected to the SAS Controller.
Displays information about the SAS enclosure connected to the SAS Controller.
SHOW ENCLOSURE [encl_id]
encl_id
Displays information about a specific SAS enclosure.If the enclosure ID is not specified, the SAS utility displays information about all available enclosures that the SAS Controller finds.
/FULL
Displays additional information about SAS enclosures.
SAS> SHOW ENCLOSURE Enclosure 1 Encl WWID : 500605B0-00001A20 Num slots : 8 Start slot : 1 Encl Flags SEP BUS/Target ID is not valid. Start BUS/Target ID is not valid. IOC (direct attached) SGPIO. |
This example shows information about internal Enclosure 1 connected to the SAS Controller.
Previous | Next | Contents | Index |