Patent ID: 7500000

Claim:
A computer storage medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for assigning storage in a SAN to a host, the method comprising the following operations: retrieving a list of paths to a model LUN, wherein the model LUN is a LUN anywhere in the SAN that can be connected to the host; receiving a request for storage, wherein the request includes the list of paths; retrieving a HardwareAccount, Controller, and an AccessAuthorization object for a first path in the list of paths; making an attach device request to a CIMOM for a first available LUN, using the Controller and the AccessAuthorization object; determining if the first available LUN was successfully attached, and if so, recording the assignment as successful; and if not, rolling back all assignments for the first available LUN that were previously recorded as successful; wherein the request further includes a requested amount of storage space; and wherein if it is determined that the first available LUN was successfully attached on the first path, the operations further comprises repeating the retrieving, making, and determining operations for the first available LUN for a second path in the list of paths.