Performing LUN masking LUN masking

To perform LUN masking you need instances of IBMTS2145_HardwareAccount (represent ports of a host) that are aggregated by an instance of IBMTS2145_Host.

Steps

Perform the following steps to execute LUN masking:

  1. Select an IBMTS2145_StorageVolume and an IBMTS2145_Host instance that need to be associated with each other.
  2. Obtain the reference (CIMObjectPath) of both instances.
  3. Traverse the IBMTS2145_SystemVolume association from the StorageVolume to obtain the reference of the scoping IBMTS2145_RedundancyGroup.
  4. Traverse the IBMTS2145_HostedAccount association from the Host to obtain a reference to an IBMTS2145_HardwareAccount. The HardwareAccount instances represent the individual Fiber Channel ports of the Host. Select one of them and proceed.
  5. Traverse the IBMTS2145_AuthorizatonSubject association to obtain the references of the IBMTS2145_AccessControlInformation instances.
  6. Traverse the BMTS2145_AuthorizatonTarget association to obtain the reference of the IBMTS2145_Controller instance. You will get exactly one Controller per AccessControlInformation instance.
  7. Traverse the IBMTS2145_SystemController association to obtain the reference of the scoping RedundancyGroup.
  8. Select the Controller which belongs to the same RedundancyGroup as the StorageVolume.
  9. Call AttachDevice() on that Controller instance. Make sure to set the Device parameter to the reference of the StorageVolume.
Related topics LUN masking

(C) Copyright International Business Machines Corporation 2003, 2004