Creating a RAID array

You can create a RAID array using local drives.

To create a RAID array, follow these steps:
  1. Obtain the reference (CIMObjectPath) of an IBMTSSVC_StorageConfigurationService instance that is associated with the IBMTSSVC_Cluster in which you will create the new RAID array using one of the following two methods:
    • Obtain the reference of the IBMTSSVC_StorageConfigurationService instance directly. There is only one instance obtained by enumeration because CIMOM is embedded in the clustered system.
    • Obtain the reference of the IBMTSSVC_StorageConfigurationService instance by traversing the IBMTSSVC_HostedStorageConfigurationService association.
  2. Invoke the IBMTSSVC_StorageConfigurationService CreateOrModifyElementFromElements method.

    You must specify the following parameters:

    • The InElements [] parameter with a list of IBMTSSVC_DiskDriveExtent instances. The Extent [] parameter is a string array that contains the representation of the CIMObjectPath to an IBMTSSVC_ DiskDriveExtent. Only a disk drive with role of candidate is available for use in an array. To change the role of a disk drive, complete the following steps:
      1. Obtain the reference (CIMObjectPath) of an IBMTSSVC_StorageConfigurationService instance that is associated with the IBMTSSVC_Cluster
      2. Invoke the IBMTSSVC_StorageConfigurationService ChangeDriveRole method. You must specify the DiskDrive parameter with the reference of the IBMTSSVC_DiskDrive, and set Use parameter to 1.
    • StoragePool parameter with an instance of IBMTSSVC_ConcreteStoragePool, which identifies the StoragePool to add the created RAID array to.
    • Goal parameter with an instance of IBMTSSVC_RAIDSetting, which contains the RAID-level information.

    You can also specify the StripSize, WriteVerify, and SpareGoal. Also see the BlockServices.mof file for more details. To view the complete Managed Object Format (MOF) documentation, select the documentation information from the following website:

    http://support.lenovo.com/us/en/products/servers/lenovo-storage