METHOD AND SYSTEM FOR ASSIGNING OR CREATING A RESOURCE
0 Assignments
0 Petitions
Accused Products
Abstract
An example of a method for assigning a resource (for example, storage) includes receiving a request for a resource, wherein the request includes a list of paths. This example also includes retrieving a HardwareAccount, Controller, and an AccessAuthorization object for a first path in the list of paths. This example further includes making an attach device request to a CIMOM for a first available resource, using the Controller and the AccessAuthorization object. This example also includes determining if the first available resource was successfully attached, and if so, recording the assignment as successful, and if not, rolling back all assignments for the first available resource that were previously recorded as successful. Another aspect of the invention is a method for creating at least one LUN.
-
Citations
29 Claims
-
1-15. -15. (canceled)
-
16. A signal bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for creating at least one LUN, the method comprising the following operations:
-
receiving a request to create storage, wherein the request specifies a LUN size and a requested number of LUNs; selecting a StoragePool object with available space to create the requested number of LUNs; retrieving a StorageConfigurationService of a disk storage system using the association of all ComputerSystem objects to the selected StoragePool object; associating a ComputerSystem object representing the disk storage system with the StorageConfigurationService; setting the LUN size equal to a calculated size; setting the storage pool as the selected StoragePool object; and invoking a CreateOrModifyElementFromStoragePool( ) method through the retrieved StorageConfigurationService for each LUN in the requested number of LUNs. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A computing system, comprising:
-
a memory; and a processing device coupled to the memory, wherein the processing device is programmed to perform operations for creating at least one LUN, the operations comprising; receiving a request to create storage, wherein the request specifies a LUN size and a requested number of LUNs; calculating a size based on a constraint of a disk storage system; selecting a StoragePool object with available space to create the requested number of LUNs; retrieving a StorageConfigurationService of a disk storage system using the association of all ComputerSystem objects to the selected StoragePool object; associating a ComputerSystem object representing the disk storage system with the StorageConfigurationService; setting the size equal to the calculated size; setting the storage pool as the selected StoragePool object; invoking a CreateOrModifyElementFromStoragePool( ) method through the retrieved StorageConfigurationService for each LUN in the requested number of LUNs; and returning a list of LUNs.
-
-
28. A computing system, comprising:
-
means for receiving a request to create storage, wherein the request specifies a LUN size and a requested number of LUNs; means for selecting a StoragePool object with available space to create the requested number of LUNs; means for retrieving a StorageConfigurationService of a disk storage system using the association of all ComputerSystem objects to the selected StoragePool object; means for associating a ComputerSystem object representing the disk storage system with the StorageConfigurationService; means for setting the size equal to a calculated size; means for setting the storage pool as the selected StoragePool object; and means for invoking a CreateOrModifyElementFromStoragePool( ) method through the retrieved StorageConfigurationService for each LUN in the requested number of LUNs.
-
-
29. A method for creating at least one LUN, comprising the following operations:
-
receiving a request to create storage, wherein the request specifies a LUN size and a requested number of LUNs; selecting a StoragePool object with available space to create the requested number of LUNs; retrieving a StorageConfigurationService of a disk storage system using the association of all ComputerSystem objects to the selected StoragePool object; associating a ComputerSystem object representing the disk storage system with the StorageConfigurationService; setting the size equal to a calculated size; setting the storage pool as the selected StoragePool object; invoking a CreateOrModifyElementFromStoragePool( ) method through the retrieved StorageConfigurationService for each LUN in the requested number of LUNs; and returning a list of LUNs.
-
Specification