Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP A5856A RAID 4Si PCI 4-Channel Ultra2 SCSI Controller: Installation and Administration Guide > Chapter 3 Configuring the HP RAID 4Si Product

Manually Configuring Arrays and Logical Drives

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

You can manually configure arrays and logical drives using three kinds of configuration:

For a comparison of what you can do with each kind of configuration, see Table 3-1 “Capabilities of Each Kind of IRM Configuration”.

Using Easy Configuration

This section describes the steps for an Easy Configuration. Note that these steps assume you have started IRM and (if applicable) selected the HP RAID 4Si controller you want to configure.

Menu path: "Management Menu" → ConfigureEasy Configuration

The "Easy Configuration - ARRAY SELECTION MENU" displays.

Information Shown

In the "Easy Configuration - ARRAY SELECTION MENU," the physical drives that are connected to the HP RAID 4Si controller are shown according to the controller channel they are on. The other information shown for each physical drive is as follows:

SCSI ID (ID)

The physical drive's SCSI ID (0 through 15).

Drive state

The physical drive's state, which is one of these values:

  • RDY: Ready—The drive is functioning normally but is not part of a configured logical drive, and is not designated as a Hot Spare.

  • ONL: Online—The drive is functioning normally and is part of a configured logical drive.

  • RBLD: Rebuild—The drive is being rebuilt with data from a failed drive.

  • HSP: Hot Spare—The drive is functioning normally and is designated as a Hot Spare drive for the controller, to be used if an online drive fails. Note that this can also be referred to as a Global Hot Spare (GHS).

  • FAIL: Failed—A fault has occurred in the drive, placing the drive out of service.

  • SES: A non-SCSI device—This provides enclosure services, which gives information about temperature, power supplies, fans, disk drive mapping, etc., for each JBOD you are using. You can use the irdiag -v command to see the information supplied by the SES device for your JBOD.

  • PROC: A non-SCSI device—This is an enclosure in SAF-TE mode. Like an SES device, it provides enclosure services, which gives information about temperature, power supplies, fans, disk drive mapping, etc., for each JBOD you are using. You can use the irdiag -v command to see the information supplied by the SAF-TE device for your JBOD.

Array

The array number ( Ann) and the physical drive's number within the array (0x). For example, A00-01 means array A00, physical drive 01. Note that this information is displayed for only a physical drive that has been configured in an array.

TIP: When you move the cursor and highlight a device, IRM displays the following information about the device at the bottom of the window:
  • Controller channel number.

  • SCSI ID.

  • The kind of device ( DISK, SES, or PROC).

  • The device's capacity.

  • The device's manufacturer.

  • The device's product number.

  • The device's revision number.

  1. Ensure that the physical drives you want to configure are available (shown as RDY).

  2. From the available physical drives, select the drives you want in the array. To do this, use the up and down arrow keys to highlight a drive and then press the space bar to select the drive. Do this for each drive you want in the array. Note that if you select a drive by mistake, just re-highlight the drive and press the space bar to unselect it.

    TIP: As you select a physical drive, IRM assigns it an array number/physical drive number combination. The array and physical drive numbers are assigned sequentially, beginning with 00. For example, if the latest array number is A04, the array number A05 is assigned to each drive as you highlight it and select it for the next array you configure. Within that array, the first drive you highlight and select is assigned number 00, the second drive 01, and so on until you stop selecting drives for that array.
  3. When you have selected all of the physical drives you want in the array, press the Enter key to configure the array into a logical drive.

    The "Logical Drives Configured" screen, with the "Logical Drive n" menu to the lower left, displays. The "Logical Drives Configured" screen lists the logical drives and this information about each drive:

    • Number (LD).

    • RAID level.

    • Size.

    • Number of stripes.

    • Size of each stripe.

    • State, which is one of these values:

      • OPTIMAL—The logical drive is in good condition. All of the configured physical disks are online.

      • DEGRADED—The logical drive is functioning but is not in optimal condition. One of the configured physical drives has failed.

      • OFFLINE—The logical drive is no longer functioning. One or more of the configured physical drives have failed.

    You are placed in the "Logical Drive n" menu. Here, you further configure the logical drive, by using the up and down arrow keys to highlight the item you want; press Enter to select the item. The possible values are then listed. Use the arrow and Enter keys to select the value you want. You are then returned to the "Logical Drive n" menu, where you can select another item, if needed.

    The configuration information you can specify through the "Logical Drive n" menu is as follows:

    • RAID—The RAID level. Based on the number of physical drives in the logical drive, IRM determines the default level. Because this is an Easy Configuration, spanning is not allowed. So, the valid RAID levels are the following:

      • 1 through 8 disks = RAID 0

      • 2 disks = RAID 1

      • 3 through 8 disks = RAID 3

      • 3 through 8 disks = RAID 5

      Note that if enough physical drives are in the logical drive, you can change this value. For example, if two physical drives are in the logical drive, IRM sets this value to 1: you can change it to 0 if you want to. However, if only one physical drive is in the logical drive, 0 is the only acceptable value.

    • Size—The size of the logical drive. Based on the RAID level and the maximum number of megabytes available from all of the physical disks in the logical drive, IRM determines the size.

    • Advanced Menu

      Menu path: "Management Menu" → ConfigureEasy ConfigurationLogical Drive nAdvanced Menu

      If you select this item, you are placed in another menu (titled "Advanced") to configure the following parameters:

      • Stripe Size—Specify the stripe size (size of segments written to each disk), in KB (2, 4, 8, 16, 32, 64, 128). The default is 64. Note that we recommend you specify 64. This is because in most cases, a 64KB stripe size provides the best performance. Specify a different value only if you want to test your applications' performance with different stripe sizes.

      • Write Policy—Specify either write-thru (WRTHRU) or write-back (WRBACK). In WRTHRU mode, data is written to the cache and the disk. In WRBACK mode, data is written to only the cache; it can be flushed out to the disk from the cache. Note that WRBACK can increase performance significantly. So, we recommend you specify WRBACK unless the controller's battery health is questionable—WRBACK relies on the battery to hold data in cache if the HP-UX system loses power (a fully charged battery holds data for up to 72 hours). So, if you use WRBACK, be sure the battery is in good condition ( irmd will tell you if it detects a problem with the battery). The default is WRTHRU.

      • Read PolicyNORMAL, READAHEAD, or ADAPTIVE. NORMAL implies no read-aheads from disk are done. READAHEAD means read ahead a full stripe from the disk. ADAPTIVE implies read ahead a full stripe if two successive READ calls are in the same stripe. ADAPTIVE provides the best performance, in most cases. So, we recommend you use a different setting only if you want to experiment to see if another setting provides better performance. The default is ADAPTIVE.

      • Cache Policy—Beginning with HP RAID 4Si versions B.11.00.04 (HP-UX 11.0) and B.11.11.01 (HP-UX 11i), this is always set to CachedIO, which means disk data is always cached in local memory (that is, memory on the HP RAID 4Si controller). Note that in earlier versions of HP RAID 4Si, Cache Policy could also be set to DirectIO, which means that disk data (the requested amount) is transferred directly to system memory. If you previously set this to DirectIO (in an earlier version), and then installed one of the above versions, this changes to CachedIO the first time you do a save of the configuration.

      To accept the values specified in the "Advanced" menu, press the Esc key to exit the menu. You are placed back in the "Logical Drive n" menu.

    • Accept—Accepts the values specified for the logical drive.

      NOTE: Be sure you have specified all of the values you want before you select this option.
    • Span—Because this is an Easy Configuration, spanning is not allowed. So, this is set to NOSPAN (displays as Span = NO on the "Logical Drive n" menu), and you cannot change it.

  4. When you have specified all of the information on the "Logical Drive n" menu, highlight the Accept option; press Enter.

    If at least one physical drive is still available (RDY), you are placed back in the "Easy Configuration - ARRAY SELECTION MENU." Do one of these things:

    • If you want to configure another array and logical drive—using the Easy Configuration—go back to step 1.

    • If you want to designate a physical drive as a Hot Spare—using the Easy Configuration—go to step 5.

    • If you do not want to configure anything else, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

    If no physical drives are still available, the "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

  5. If you want to designate a drive as a Hot Spare, follow these steps:

    1. Highlight the physical drive you want to designate as a Hot Spare and press F4.

    2. You are asked to confirm that you want to designate that physical drive as a Hot Spare.

      If you do not want to make that drive a Hot Spare, select NO. You are placed back in the "Easy Configuration - ARRAY SELECTION MENU." Go to step c.

      If you want to make that drive a Hot Spare, select YES. You are placed back in the "Easy Configuration - ARRAY SELECTION MENU." Note that the physical drive now shows as HSP. Go to step c.

      TIP: If you designate a drive as a Hot Spare (it shows as HSP), but then change your mind (and do not want it to be a Hot Spare), you can change it. Press Esc. You are asked to confirm whether you want to save the configuration (which includes the Hot Spare).

      If you select NO, all of the configuration you have done so far (or since the last time you saved it) is lost, including the Hot Spare. You are placed back in the "Configure" menu; select Easy Configuration and go back to step 1 (the beginning of Easy Configuration).

      If you select YES, the configuration is saved (including the Hot Spare). But, you can still change the Hot Spare back to a "regular" physical drive, by following these steps:

      1. Menu Path: "Management Menu" → ObjectsPhysical Drive

        The "Objects - PHYSICAL DRIVE SELECTION MENU" displays.

      2. Highlight the Hot Spare you want to change and press Enter.

        The "Channel-n, Target-x" menu displays.

      3. Select Fail Drive. A warning message displays, and you are placed in the "Fail Channel-n, Target-x" dialog box.

        If you do not want to fail the drive, select NO; you are placed back in the "Channel-n, Target-x" menu. Press Esc; you are placed back in the "Objects - PHYSICAL DRIVE SELECTION MENU." Go to step D.

        If you want to fail the drive, select YES. You are placed back in the "Objects - PHYSICAL DRIVE SELECTION MENU." Note that the drive's state is now RDY (it is no longer a Hot Spare). Go to step D.

      4. Press Esc. You are placed in the "Objects" menu.

      5. Press Esc. You are placed in the "Management Menu."

      6. Select Configure.

      7. Select Easy Configuration.

      8. Go back to step 1 (the beginning of Easy Configuration).

    3. If at least one physical drive is still available (RDY), do one of these things:

      • If you want to configure another array and logical drive—using the Easy Configuration—go back to step 1.

      • If you want to designate a physical drive as a Hot Spare—using the Easy Configuration—go back to step a.

      • If you do not want to configure anything else, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

      If no physical drives are still available, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including any you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

    NOTE: You can configure a maximum of eight Hot Spares for one HP RAID 4Si controller.
  6. If you do not want to save the configuration as it is, highlight NO and press Enter. You are placed back in the "Configure" menu; go to step 7.

    If you want to save the configuration as it is, highlight YES and press Enter. After the configuration for the controller has been saved, a confirmation message displays. Press any key to continue. You are placed back in the "Configure" menu; go to step 7.

  7. If at least one physical drive is still available, and you want to configure a Hot Spare or another array and logical drive—using the Easy Configuration—select Easy Configuration and go back to step 1.

    If at least one physical drive is available, but you do not want to do any more configuration, press Esc; go to step 8.

    If no physical drives are available, you cannot configure any more Hot Spares or arrays and logical drives at this point. So, press Esc and go to step 8.

  8. Back in the "Management Menu," press Esc.

  9. Press Esc; an exit confirmation dialog box displays.

  10. Highlight YES and press Enter; IRM ends.

  11. Make the new logical drives visible to HP-UX, by typing this command:

    irdisplay -f

  12. Create the special device files—the raw device interface (rdsk) files in the /dev/rdsk directory and the SCSI device files in the /dev/dsk directory—for any new devices on the system, by issuing this command:

    insf -e

    Applications use the SCSI device files to access the RAID logical drives. For example, file systems can be mounted on the logical drives (through SAM), or databases can be configured to use rdsk.

    The naming convention for the SCSI device files is as follows:

    /dev/dsk/cbus_instancebtargetdLUN

    where

    • bus_instance is the bus instance number for the HP-UX system.

    • target is the same as the logical drive number.

    • LUN is the logical unit number. Note that the LUNs are numbered sequentially, starting with 0.

    For example, /dev/dsk/c10t1d0, /dev/dsk/c2t6d0, and /dev/dsk/c8t1d0.

    The best way to see the mapping between logical drives and device files is to issue this command:

    irdisplay

  13. Collect the configuration information by issuing this command and sending its output to either a printer or a file (to be printed later):

    irdiag -v

    We recommend that you always have a hardcopy of the latest configuration—if you have to restore the configuration for some reason, the hardcopy contains all of the information you will need.

Using New Configuration

This section describes the steps for a New Configuration. Note that these steps assume you have started IRM and (if applicable) selected the HP RAID 4Si controller you want to configure.

Menu path: "Management Menu" → ConfigureNew Configuration

You are asked to confirm that you want to clear the existing configuration before starting. Note that the information is not actually deleted from the controller's NVRAM until you have finished configuring the arrays and logical drives, and are at the step where you save the configuration.

If you do not want to continue, highlight NO and press the Enter key; you are placed back in the "Configure" menu.

If you want to continue, highlight YES and press the Enter key. The "New Configuration - ARRAY SELECTION MENU" displays.

Information Shown

In the "New Configuration - ARRAY SELECTION MENU," the physical drives that are connected to the HP RAID 4Si controller are shown according to the controller channel they are on. The other information shown for each physical drive is as follows:

SCSI ID (ID)

The physical drive's SCSI ID (0 through 15).

Drive state

The physical drive's state, which is one of these values:

  • RDY: Ready—The drive is functioning normally but is not part of a configured logical drive, and is not designated as a Hot Spare.

  • SES: A non-SCSI device—This provides enclosure services, which gives information about temperature, power supplies, fans, disk drive mapping, etc., for each JBOD you are using. You can use the irdiag -v command to see the information supplied by the SES device for your JBOD.

  • PROC: A non-SCSI device—This is an enclosure in SAF-TE mode. Like an SES device, it provides enclosure services, which gives information about temperature, power supplies, fans, disk drive mapping, etc., for each JBOD you are using. You can use the irdiag -v command to see the information supplied by the SAF-TE device for your JBOD.

TIP: When you move the cursor and highlight a device, IRM displays the following information about the device at the bottom of the window:
  • Controller channel number.

  • SCSI ID.

  • The kind of device ( DISK, SES, or PROC).

  • The device's capacity.

  • The device's manufacturer.

  • The device's product number.

  • The device's revision number.

  1. Ensure that the physical drives you want to configure are available (shown as RDY).

    If you want to do spanning: Be sure that you have enough drives. (Remember, RAID 1+0 requires at least four physical drives, and RAID 3+0 and 5+0 require at least six drives each.)

  2. From the available physical drives, select the drives you want in the array. To do this, use the up and down arrow keys to highlight a drive and then press the space bar to select the drive. Do this for each drive you want in the array. Note that if you select a drive by mistake, just re-highlight the drive and press the space bar to unselect it.

    If you do not want to do spanning: When you have selected all of the drives you want in the array, press Enter and go to step 3.

    If you want to do spanning: Remember that spanning means you group the disks into multiple arrays. So, when you have selected all of the drives you want in the first array, press Enter only one time. Repeat this step (step 2) for each array you want in the span. When you have created all of the arrays you want in the span, check the "New Configuration - ARRAY SELECTION MENU" to ensure that the arrays were created. Then, go to step 3. For example, if you want to create a RAID 1+0 configuration with 10 physical disks, create the first array of two disks, press Enter, create the second array of two disks, press Enter, and continue until you have created the fifth array of two disks and pressed Enter. Then, make sure the five arrays are shown on the "New Configuration - ARRAY SELECTION MENU" (if you started with a clear configuration, the arrays would be numbered A00, A01, A02, A03, and A04.)

    TIP: As you select a physical drive, IRM assigns it an array number/physical drive number combination. The array and physical drive numbers are assigned sequentially, beginning with 00. For example, if the latest array number is A04, the array number A05 is assigned to each drive as you highlight it and select it for the next array you configure. Within that array, the first drive you highlight and select is assigned number 00, the second drive 01, and so on until you stop selecting drives for that array.
  3. Press Enter to configure the array (or arrays, if you did spanning) into a logical drive.

    The "Logical Drives Configured" screen, with the "Logical Drive n" menu to the lower left, displays. The "Logical Drives Configured" screen lists the logical drives and this information about each drive:

    • Number (LD).

    • RAID level.

    • Size.

    • Number of stripes.

    • Size of each stripe.

    • State, which is one of these values:

      • OPTIMAL—The logical drive is in good condition. All of the configured physical disks are online.

      • DEGRADED—The logical drive is functioning but is not in optimal condition. One of the configured physical drives has failed.

      • OFFLINE—The logical drive is no longer functioning. One or more of the configured physical drives have failed.

    You are placed in the "Logical Drive n" menu. Here, you further configure the logical drive, by using the up and down arrow keys to highlight the item you want; press Enter to select the item. The possible values are then listed. Use the arrow and Enter keys to select the value you want. You are then returned to the "Logical Drive n" menu, where you can select another item, if needed.

    The configuration information you can specify through the "Logical Drive n" menu is as follows:

    • RAID—The RAID level. Based on the number of physical drives in the logical drive, IRM determines the default level. Because this is a New Configuration, spanning is allowed. So, the valid RAID levels are the following:

      • 1 through 8 disks = RAID 0

      • 2 disks = RAID 1

      • 3 through 8 disks = RAID 3

      • 3 through 8 disks = RAID 5

      • 4 through 10 disks (with spanning) = RAID 1+0 (shows as RAID 1)

      • 6 through 40 disks (with spanning) = RAID 3+0 (shows as RAID 3)

      • 6 through 40 disks (with spanning) = RAID 5+0 (shows as RAID 5)

      Note that if enough physical drives are in the logical drive, you can change this value. For example, if two physical drives are in the logical drive, IRM sets this value to 1: you can change it to 0 if you want to. However, if only one physical drive is in the logical drive, 0 is the only acceptable value.

    • Size—The size of the logical drive. Based on the RAID level and the maximum number of megabytes available from all of the physical disks in the logical drive, IRM determines the size.

    • Advanced Menu

      Menu path: "Management Menu" → ConfigureNew ConfigurationLogical Drive nAdvanced Menu

      If you select this item, you are placed in another menu (titled "Advanced") to configure the following parameters:

      • Stripe Size—Specify the stripe size (size of segments written to each disk), in KB (2, 4, 8, 16, 32, 64, 128). The default is 64. Note that we recommend you specify 64. This is because in most cases, a 64KB stripe size provides the best performance. Specify a different value only if you want to test your applications' performance with different stripe sizes.

      • Write Policy—Either write-thru (WRTHRU) or write-back (WRBACK). In WRTHRU mode, data is written to the cache and the disk. In WRBACK mode, data is written to only the cache; it can be flushed out to the disk from the cache. Note that WRBACK can increase performance significantly. So, we recommend you specify WRBACK unless the controller's battery health is questionable—WRBACK relies on the battery to hold data in cache if the HP-UX system loses power (a fully charged battery holds data for up to 72 hours). So, if you use WRBACK, be sure the battery is in good condition ( irmd will tell you if it detects a problem with the battery). The default is WRTHRU.

      • Read PolicyNORMAL, READAHEAD, or ADAPTIVE. NORMAL implies no read-aheads from disk are done. READAHEAD means read ahead a full stripe from the disk. ADAPTIVE implies read ahead a full stripe if two successive READ calls are in the same stripe. ADAPTIVE provides the best performance, in most cases. So, we recommend you use a different setting only if you want to experiment to see if another setting provides better performance. The default is ADAPTIVE.

      • Cache Policy—Beginning with HP RAID 4Si versions B.11.00.04 (HP-UX 11.0) and B.11.11.01 (HP-UX 11i), this is always set to CachedIO, which means disk data is always cached in local memory (that is, memory on the HP RAID 4Si controller). Note that in earlier versions of HP RAID 4Si, Cache Policy could also be set to DirectIO, which means that disk data (the requested amount) is transferred directly to system memory. If you previously set this to DirectIO (in an earlier version), and then installed one of the above versions, this changes to CachedIO the first time you do a save of the configuration.

      To accept the values specified in the "Advanced" menu, press the Esc key to exit the menu. You are placed back in the "Logical Drive n" menu.

    • Accept—Accepts the values specified for the logical drive.

      NOTE: Be sure you have specified all of the values you want before you select this option.
    • Span—Specifies the spanning mode ( CANSPAN or NOSPAN) of the logical drive and creates RAID levels 1+0, 3+0, or 5+0. RAID level 1+0 requires at least four physical disks, and levels 3+0 and 5+0 require at least six physical disks.

      If you do not want to do spanning: Select NOSPAN.

      If you want to do spanning: Select CANSPAN. If you select CANSPAN but Span = NO still displays, you did not successfully create more than one array in step 2 earlier. Also, to make the logical drive spannable, you must do this step before you accept the logical drive information (see the Accept option above).

  4. When you have specified all of the information on the "Logical Drive n" menu, highlight the Accept option; press Enter.

    If at least one physical drive is still available (RDY), you are placed back in the "New Configuration - ARRAY SELECTION MENU." Do one of these things:

    • If you want to configure another array and logical drive—using the New Configuration—go back to step 1.

    • If you want to designate a physical drive as a Hot Spare—using the New Configuration—go to step 5.

    • If you do not want to configure anything else, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

    If no physical drives are still available, the "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

  5. If you want to designate a drive as a Hot Spare, follow these steps:

    1. Highlight the physical drive you want to designate as a Hot Spare and press F4.

    2. You are asked to confirm that you want to designate that physical drive as a Hot Spare.

      If you do not want to make that drive a Hot Spare, select NO. You are placed back in the "New Configuration - ARRAY SELECTION MENU." Go to step c.

      If you want to make that drive a Hot Spare, select YES. You are placed back in the "New Configuration - ARRAY SELECTION MENU." Note that the physical drive now shows as HSP. Go to step c.

      TIP: If you designate a drive as a Hot Spare (it shows as HSP), but then change your mind (and do not want it to be a Hot Spare), you can change it. Press Esc. You are asked to confirm whether you want to save the configuration (which includes the Hot Spare).

      If you select NO, all of the configuration you have done so far (or since the last time you saved it) is lost, including the Hot Spare. You are placed back in the "Configure" menu; select New Configuration and go back to step 1 (the beginning of New Configuration).

      If you select YES, the configuration is saved (including the Hot Spare). But, you can still change the Hot Spare back to a "regular" physical drive, by following these steps:

      1. Menu Path: "Management Menu" → ObjectsPhysical Drive

        The "Objects - PHYSICAL DRIVE SELECTION MENU" displays.

      2. Highlight the Hot Spare you want to change and press Enter.

        The "Channel-n, Target-x" menu displays.

      3. Select Fail Drive. A warning message displays, and you are placed in the "Fail Channel-n, Target-x" dialog box.

        If you do not want to fail the drive, select NO; you are placed back in the "Channel-n, Target-x" menu. Press Esc; you are placed in the "Objects - PHYSICAL DRIVE SELECTION MENU." Go to step D.

        If you want to fail the drive, select YES. You are placed back in the "Objects - PHYSICAL DRIVE SELECTION MENU." Note that the drive's state is now RDY (it is no longer a Hot Spare). Go to step D.

      4. Press Esc. You are placed in the "Objects" menu.

      5. Press Esc. You are placed in the "Management Menu."

      6. Select Configure.

      7. Select New Configuration.

      8. Go back to step 1 (the beginning of New Configuration).

    3. If at least one physical drive is still available (RDY), do one of these things:

      • If you want to configure another array and logical drive—using the New Configuration—go back to step 1.

      • If you want to designate a physical drive as a Hot Spare—using the New Configuration—go back to step a.

      • If you do not want to configure anything else, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

      If no physical drives are still available, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including any you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

    NOTE: You can configure a maximum of eight Hot Spares for one HP RAID 4Si controller.
  6. If you do not want to save the configuration as it is, highlight NO and press Enter. You are placed back in the "Configure" menu; go to step 7.

    If you want to save the configuration as it is, highlight YES and press Enter. After the configuration for the controller has been saved, a confirmation message displays. Press any key to continue. You are placed back in the "Configure" menu; go to step 7.

  7. If at least one physical drive is still available, and you want to configure a Hot Spare or another array and logical drive—using the New Configuration—select New Configuration and go back to step 1.

    If at least one physical drive is available, but you do not want to do any more configuration, press Esc; go to step 8.

    If no physical drives are available, you cannot configure any more Hot Spares or arrays and logical drives at this point. So, press Esc and go to step 8.

  8. Back in the "Management Menu," press Esc.

  9. Press Esc; an exit confirmation dialog box displays.

  10. Highlight YES and press Enter; IRM ends.

  11. Make the new logical drives visible to HP-UX, by typing this command:

    irdisplay -f

  12. Create the special device files—the raw device interface (rdsk) files in the /dev/rdsk directory and the SCSI device files in the /dev/dsk directory—for any new devices on the system, by issuing this command:

    insf -e

    Applications use the SCSI device files to access the RAID logical drives. For example, file systems can be mounted on the logical drives (through SAM), or databases can be configured to use rdsk.

    The naming convention for the SCSI device files is as follows:

    /dev/dsk/cbus_instancebtargetdLUN

    where

    • bus_instance is the bus instance number for the HP-UX system.

    • target is the same as the logical drive number. Note that the LUNs are numbered sequentially, starting with 0.

    • LUN is the logical unit number.

    For example, /dev/dsk/c10t1d0, /dev/dsk/c2t6d0, and /dev/dsk/c8t1d0.

    The best way to see the mapping between logical drives and device files is to issue this command:

    irdisplay

  13. Collect the configuration information by issuing this command and sending its output to either a printer or a file (to be printed later):

    irdiag -v

    We recommend that you always have a hardcopy of the latest configuration—if you have to restore the configuration for some reason, the hardcopy contains all of the information you will need.

Using View/Add Configuration

This section describes the steps for a View/Add Configuration. Note that these steps assume you have started IRM and (if applicable) selected the HP RAID 4Si controller you want to configure.

Menu path: "Management Menu" → ConfigureView/Add Configuration

The "View/Add Configuration - ARRAY SELECTION MENU" displays.

Information Shown

In the "View/Add Configuration - ARRAY SELECTION MENU," the physical drives that are connected to the HP RAID 4Si controller are shown according to the controller channel they are on. The other information shown for each physical drive is as follows:

SCSI ID (ID)

The physical drive's SCSI ID (0 through 15).

Drive state

The physical drive's state, which is one of these values:

  • RDY: Ready—The drive is functioning normally but is not part of a configured logical drive, and is not designated as a Hot Spare.

  • ONL: Online—The drive is functioning normally and is part of a configured logical drive.

  • RBLD: Rebuild—The drive is being rebuilt with data from a failed drive.

  • HSP: Hot Spare—The drive is functioning normally and is designated as a Hot Spare drive for the controller, to be used if an online drive fails. Note that this can also be referred to as a Global Hot Spare (GHS).

  • FAIL: Failed—A fault has occurred in the drive, placing the drive out of service.

  • SES: A non-SCSI device—This provides enclosure services, which gives information about temperature, power supplies, fans, disk drive mapping, etc., for each JBOD you are using. You can use the irdiag -v command to see the information supplied by the SES device for your JBOD.

  • PROC: A non-SCSI device—This is an enclosure in SAF-TE mode. Like an SES device, it provides enclosure services, which gives information about temperature, power supplies, fans, disk drive mapping, etc., for each JBOD you are using. You can use the irdiag -v command to see the information supplied by the SAF-TE device for your JBOD.

Array

The array number ( Ann) and the physical drive's number within the array (0x). For example, A00-01 means array A00, physical drive 01. Note that this information is displayed for only a physical drive that has been configured in an array.

TIP: When you move the cursor and highlight a device, IRM displays the following information about the device at the bottom of the window:
  • Controller channel number.

  • SCSI ID.

  • The kind of device ( DISK, SES, or PROC).

  • The device's capacity.

  • The device's manufacturer.

  • The device's product number.

  • The device's revision number.

  1. Ensure that the physical drives you want to configure are available (shown as RDY).

    If you want to do spanning: Be sure that you have enough drives. (Remember, RAID 1+0 requires at least four physical drives, and RAID 3+0 and 5+0 require at least six drives each.)

  2. From the available physical drives, select the drives you want in the array. To do this, use the up and down arrow keys to highlight a drive and then press the space bar to select the drive. Do this for each drive you want in the array. Note that if you select a drive by mistake, just re-highlight the drive and press the space bar to unselect it.

    If you do not want to do spanning: When you have selected all of the drives you want in the array, press Enter and go to step 3.

    If you want to do spanning: Remember that spanning means you group the disks into multiple arrays. So, when you have selected all of the drives you want in the first array, press Enter only one time. Repeat this step (step 2) for each array you want in the span. When you have created all of the arrays you want in the span, check the "View/Add Configuration - ARRAY SELECTION MENU" to ensure that the arrays were created. Then, go to step 3. For example, if you want to create a RAID 1+0 configuration with 10 physical disks, create the first array of two disks, press Enter, create the second array of two disks, press Enter, and continue until you have created the fifth array of two disks and pressed Enter. Then, make sure the five arrays are shown on the "View/Add Configuration - ARRAY SELECTION MENU" (if you started with a clear configuration, the arrays are numbered A00, A01, A02, A03, and A04.)

    TIP: As you select a physical drive, IRM assigns it an array number/physical drive number combination. The array and physical drive numbers are assigned sequentially, beginning with 00. For example, if the latest array number is A04, the array number A05 is assigned to each drive as you highlight it and select it for the next array you configure. Within that array, the first drive you highlight and select is assigned number 00, the second drive 01, and so on until you stop selecting drives for that array.
  3. Press Enter to configure the array (or arrays, if you did spanning) into a logical drive.

    The "Logical Drives Configured" screen, with the "Logical Drive n" menu to the lower left, displays. The "Logical Drives Configured" screen lists the logical drives and this information about each drive:

    • Number (LD).

    • RAID level.

    • Size.

    • Number of stripes.

    • Size of each stripe.

    • State, which is one of these values:

      • OPTIMAL—The logical drive is in good condition. All of the configured physical disks are online.

      • DEGRADED—The logical drive is functioning but is not in optimal condition. One of the configured physical drives has failed.

      • OFFLINE—The logical drive is no longer functioning. One or more of the configured physical drives have failed.

    You are placed in the "Logical Drive n" menu. Here, you further configure the logical drive, by using the up and down arrow keys to highlight the item you want; press Enter to select the item. The possible values are then listed. Use the arrow and Enter keys to select the value you want. You are then returned to the "Logical Drive n" menu, where you can select another item, if needed.

    The configuration information you can specify through the "Logical Drive n" menu is as follows:

    • RAID—The RAID level. Based on the number of physical drives in the logical drive, IRM determines the default level. The valid RAID levels are the following:

      • 1 through 8 disks = RAID 0

      • 2 disks = RAID 1

      • 3 through 8 disks = RAID 3

      • 3 through 8 disks = RAID 5

      • 4 through 10 disks (with spanning) = RAID 1+0 (shows as RAID 1)

      • 6 through 40 disks (with spanning) = RAID 3+0 (shows as RAID 3)

      • 6 through 40 disks (with spanning) = RAID 5+0 (shows as RAID 5)

      Note that if enough physical drives are in the logical drive, you can change this value. For example, if two physical drives are in the logical drive, IRM sets this value to 1: you can change it to 0 if you want to. However, if only one physical drive is in the logical drive, 0 is the only acceptable value.

    • Size—The size of the logical drive. Based on the RAID level and the maximum number of megabytes available from all of the physical disks in the logical drive, IRM determines the size.

    • Advanced Menu

      Menu path: "Management Menu" → ConfigureView/Add ConfigurationLogical Drive nAdvanced Menu

      If you select this item, you are placed in another menu (titled "Advanced") to configure the following parameters:

      • Stripe Size—Specify the stripe size (size of segments written to each disk), in KB (2, 4, 8, 16, 32, 64, 128). The default is 64. Note that we recommend you specify 64. This is because in most cases, a 64KB stripe size provides the best performance. Specify a different value only if you want to test your applications' performance with different stripe sizes.

      • Write Policy—Either write-thru (WRTHRU) or write-back (WRBACK). In WRTHRU mode, data is written to the cache and the disk. In WRBACK mode, data is written to only the cache; it can be flushed out to the disk from the cache. Note that WRBACK can increase performance significantly. So, we recommend you specify WRBACK unless the controller's battery health is questionable—WRBACK relies on the battery to hold data in cache if the HP-UX system loses power (a fully charged battery holds data for up to 72 hours). So, if you use WRBACK, be sure the battery is in good condition ( irmd will tell you if it detects a problem with the battery). The default is WRTHRU.

      • Read PolicyNORMAL, READAHEAD, or ADAPTIVE. NORMAL implies no read-aheads from disk are done. READAHEAD means read ahead a full stripe from the disk. ADAPTIVE implies read ahead a full stripe if two successive READ calls are in the same stripe. ADAPTIVE provides the best performance, in most cases. So, we recommend you use a different setting only if you want to experiment to see if another setting provides better performance. The default is ADAPTIVE.

      • Cache Policy—Beginning with HP RAID 4Si versions B.11.00.04 (HP-UX 11.0) and B.11.11.01 (HP-UX 11i), this is always set to CachedIO, which means disk data is always cached in local memory (that is, memory on the HP RAID 4Si controller). Note that in earlier versions of HP RAID 4Si, Cache Policy could also be set to DirectIO, which means that disk data (the requested amount) is transferred directly to system memory. If you previously set this to DirectIO (in an earlier version), and then installed one of the above versions, this changes to CachedIO the first time you do a save of the configuration.

      To accept the values specified in the "Advanced" menu, press the Esc key to exit the menu. You are placed back in the "Logical Drive n" menu.

    • Accept—Accepts the values specified for the logical drive.

      NOTE: Be sure you have specified all of the values you want before you select this option.
    • Span—Specifies the spanning mode ( CANSPAN or NOSPAN) of the logical drive and creates RAID levels 1+0, 3+0, or 5+0. RAID level 1+0 requires at least four physical disks, and levels 3+0 and 5+0 require at least six physical disks.

      If you do not want to do spanning: Select NOSPAN.

      If you want to do spanning: Select CANSPAN. If you select CANSPAN but Span = NO still displays, you did not successfully create more than one array in step 2 earlier. Also, to make the logical drive spannable, you must do this step before you accept the logical drive information (see the Accept option above).

  4. When you have specified all of the information on the "Logical Drive n" menu, highlight the Accept option; press Enter.

    If at least one physical drive is still available (RDY), you are placed back in the "View/Add Configuration - ARRAY SELECTION MENU." Do one of these things:

    • If you want to configure another array and logical drive—using the View/Add Configuration—go back to step 1.

    • If you want to designate a physical drive as a Hot Spare—using the View/Add Configuration—go to step 5.

    • If you do not want to configure anything else, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

    If no physical drives are still available, the "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

  5. If you want to designate a drive as a Hot Spare, follow these steps:

    1. Highlight the physical drive you want to designate as a Hot Spare and press F4.

    2. You are asked to confirm that you want to designate that physical drive as a Hot Spare.

      If you do not want to make that drive a Hot Spare, select NO. You are placed back in the "View/Add Configuration - ARRAY SELECTION MENU." Go to step c.

      If you want to make that drive a Hot Spare, select YES. You are placed back in the "View/Add Configuration - ARRAY SELECTION MENU." Note that the physical drive now shows as HSP. Go to step c.

      TIP: If you designate a drive as a Hot Spare (it shows as HSP), but then change your mind (and do not want it to be a Hot Spare), you can change it. Press Esc. You are asked to confirm whether you want to save the configuration (which includes the Hot Spare).

      If you select NO, all of the configuration you have done so far (or since the last time you saved it) is lost, including the Hot Spare. You are placed back in the "Configure" menu; select View/Add Configuration and go back to step 1 (the beginning of View/Add Configuration).

      If you select YES, the configuration is saved (including the Hot Spare). But, you can still change the Hot Spare back to a "regular" physical drive, by following these steps:

      1. Menu Path: "Management Menu" → ObjectsPhysical Drive

        The "Objects - PHYSICAL DRIVE SELECTION MENU" displays.

      2. Highlight the Hot Spare you want to change and press Enter.

        The "Channel-n, Target-x" menu displays.

      3. Select Fail Drive. A warning message displays, and you are placed in the "Fail Channel-n, Target-x" dialog box.

        If you do not want to fail the drive, select NO; you are placed back in the "Channel-n, Target-x" menu. Press Esc; you are placed in the "Objects - PHYSICAL DRIVE SELECTION MENU." Go to step D.

        If you want to fail the drive, select YES. You are placed back in the "Objects - PHYSICAL DRIVE SELECTION MENU." Note that the drive's state is now RDY (it is no longer a Hot Spare). Go to step D.

      4. Press Esc. You are placed in the "Objects" menu.

      5. Press Esc. You are placed in the "Management Menu."

      6. Select Configure.

      7. Select View/Add Configuration.

      8. Go back to step 1 (the beginning of View/Add Configuration).

    3. If at least one physical drive is still available (RDY), do one of these things:

      • If you want to configure another array and logical drive—using the View/Add Configuration—go back to step 1.

      • If you want to designate a physical drive as a Hot Spare—using the View/Add Configuration—go back to step a.

      • If you do not want to configure anything else, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including the one you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

      If no physical drives are still available, press Esc. The "Logical Drives Configured" screen displays, showing a list of all the controller's configured logical drives (including any you just configured). You are placed in the "Save Configuration" dialog box. Go to step 6.

    NOTE: You can configure a maximum of eight Hot Spares for one HP RAID 4Si controller.
  6. If you do not want to save the configuration as it is, highlight NO and press Enter. You are placed back in the "Configure" menu; go to step 7.

    If you want to save the configuration as it is, highlight YES and press Enter. After the configuration for the controller has been saved, a confirmation message displays. Press any key to continue. You are placed back in the "Configure" menu; go to step 7.

  7. If at least one physical drive is still available, and you want to configure a Hot Spare or another array and logical drive—using the View/Add Configuration—select View/Add Configuration and go back to step 1.

    If at least one physical drive is available, but you do not want to do any more configuration, press Esc; go to step 8.

    If no physical drives are available, you cannot configure any more Hot Spares or arrays and logical drives at this point. So, press Esc and go to step 8.

  8. Back in the "Management Menu," press Esc.

  9. Press Esc; an exit confirmation dialog box displays.

  10. Highlight YES and press Enter; IRM ends.

  11. Make the new logical drives visible to HP-UX, by typing this command:

    irdisplay -f

  12. Create the special device files—the raw device interface (rdsk) files in the /dev/rdsk directory and the SCSI device files in the /dev/dsk directory—for any new devices on the system, by issuing this command:

    insf -e

    Applications use the SCSI device files to access the RAID logical drives. For example, file systems can be mounted on the logical drives (through SAM), or databases can be configured to use rdsk.

    The naming convention for the SCSI device files is as follows:

    /dev/dsk/cbus_instancebtargetdLUN

    where

    • bus_instance is the bus instance number for the HP-UX system.

    • target is the same as the logical drive number.

    • LUN is the logical unit number. Note that the LUNs are numbered sequentially, starting with 0.

    For example, /dev/dsk/c10t1d0, /dev/dsk/c2t6d0, and /dev/dsk/c8t1d0.

    The best way to see the mapping between logical drives and device files is to issue this command:

    irdisplay

  13. Collect the configuration information by issuing this command and sending its output to either a printer or a file (to be printed later):

    irdiag -v

    We recommend that you always have a hardcopy of the latest configuration—if you have to restore the configuration for some reason, the hardcopy contains all of the information you will need.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002, - Hewlett-Packard Development Company, L.P.