Performing 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:
- Select an IBMTS2145_StorageVolume and an IBMTS2145_Host instance that
need to be associated with each other.
- Obtain the reference (CIMObjectPath) of both instances.
- Traverse the IBMTS2145_SystemVolume association from the StorageVolume
to obtain the reference of the scoping IBMTS2145_RedundancyGroup.
- 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.
- Traverse the IBMTS2145_AuthorizatonSubject association to
obtain the references of the IBMTS2145_AccessControlInformation instances.
- Traverse the BMTS2145_AuthorizatonTarget association to obtain the reference
of the IBMTS2145_Controller instance. You will get exactly one Controller
per AccessControlInformation instance.
- Traverse the IBMTS2145_SystemController association to obtain the reference
of the scoping RedundancyGroup.
- Select the Controller which belongs to the same RedundancyGroup as the
StorageVolume.
- Call AttachDevice() on that Controller instance. Make sure to set the
Device parameter to the reference of the StorageVolume.
Related topics