Creating a rank using the DS CLI

Complete this task to create a rank using the DS CLI commands. A rank is a logically contiguous storage space that is made up of one array. You can assign a rank to every unassigned array.

A rank inherits the characteristics, including the RAID type, of its parent array and is given a storage type attribute of either FB (fixed block) or CKD (count key data). The rank configuration state is unassigned until it is assigned to an extent pool. An “unassigned” rank is not associated with either rank group 0 or 1. Any unassigned rank can be assigned to an extent pool that is associated with either rank group 0 or 1.
Note: You can assign a rank to an unassigned array and also assign the rank to an extent pool at the same time if you have already created the extent pools and the arrays. Creating extent pools first saves a step in the configuration.

Use the lsarray, mkrank, and lsrank commands to assign a rank to each unassigned array. You must be logged into the DS CLI application and connected to the storage unit that will be used for open systems host system storage.

To create ranks, perform the following steps:

  1. Ensure you have a list of the unassigned arrays for which ranks must be assigned. Issue the lsarray command to obtain this list if you do not already have it. Enter the lsarray command at the dscli command prompt with the following parameters and variables:
     dscli>lsarray -dev IBM.1750-68FA120 -state unassigned
  2. Issue the mkrank command to assign a rank to rank group 0 or 1 according to the rank group number of the assigned extent pool ID. Enter the mkrank command at the dscli command prompt with the following parameters and variables:
    mkrank -dev IBM.1750-68FA120 -array A44 -stgtype fb
     -extpool P1
    Notes:
    1. You can specify either the -wait or the -extpool parameter when you use the mkrank command. Either of these parameters allows you to be notified if the rank configuration has failed for any reason.
    2. If you use the -wait parameter, you cannot issue other commands until the entire transaction has processed.
  3. Press Enter to display a report of rank assignments for your entire storage unit.

    Because the process of creating the rank involves formatting drives, it could take some time before the process finishes. If you want to check on the process, you can issue the lsrank command from a different DS CLI session. A successful process displays the following type of message:

    Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Device: IBM.1750-68FA120  
    
    Rank IBM.1750-68FA120/R44 successfully created.
  4. Repeat Step 2 until all unassigned arrays are assigned a rank and an extent pool.
  5. Issue the lsrank command to verify that ranks and extent pools have been assigned. Enter the lsrank command at the dscli command prompt with the following parameters and variables:
    dscli>lsrank -dev IBM.1750-68FA120 -l
  6. Press Enter to display a report of the rank assignments for your entire storage unit.
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.