Method and system for assigning or creating a resource
First Claim
1. A signal bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for assigning a resource, the method comprising the following operations:
- receiving a request for a resource, wherein the request includes a 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 resource, using the Controller and the AccessAuthorization object;
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.
1 Assignment
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.
37 Citations
29 Claims
-
1. A signal bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method for assigning a resource, the method comprising the following operations:
-
receiving a request for a resource, wherein the request includes a 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 resource, using the Controller and the AccessAuthorization object;
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computing system, comprising:
-
a memory; and
a processing device coupled to the memory, wherein the processing device is programmed to perform operations for assigning storage, the operations comprising;
receiving a request for storage, wherein the request includes a requested amount of storage space and a 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.
-
-
14. A computing system, comprising:
-
means for receiving a request for a resource, wherein the request includes a list of paths;
means for retrieving a HardwareAccount, Controller, and an AccessAuthorization object for a first path in the list of paths;
means for making an attach device request to a CIMOM for a first available resource, using the Controller and the AccessAuthorization object;
means for determining if the first available resource was successfully attached;
means for recording the assignment as successful; and
means for rolling back all assignments for the first available resource that were previously recorded as successful, if the first available resource was not successfully attached.
-
-
15. A method for assigning storage, comprising the following operations:
-
receiving a request for storage, wherein the request includes a requested amount of storage space and a 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.
-
-
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