Quota management system and quota management method

The quota management system addresses the challenge of managing quotas across multiple locations by determining conflicts and optimizing resource allocation, thereby simplifying administrative tasks and improving hardware efficiency.

JP2024162449AInactive Publication Date: 2024-11-21HITACHI VANTARA LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023077955
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-10
Publication Date
2024-11-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing quota management systems require separate management for tenants with data stored in multiple locations, leading to a heavy administrative burden and inefficient use of hardware resources due to fixed commitment periods and potential over-provisioning.

Method used

A quota management system that determines conflicts and manages quotas across multiple locations and tenants, allowing unified quota management by considering tenant hierarchies and location-specific capacity limits, reducing the need for manual approval and hardware additions.

Benefits of technology

This system simplifies and reduces the administrative burden of managing quotas across multiple locations, optimizing hardware resource usage and preventing conflicts, while allowing efficient allocation and request handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024162449000001_ABST
    Figure 2024162449000001_ABST
Patent Text Reader

Abstract

To reduce the burden of managing a quota for each of a plurality of tenants of storage devices at a plurality of locations.SOLUTION: A system receives a quota request in which a tenant, one or more locations, and a capacity upper limit related to a requested quota are designated, executes conflict determination based on quota information (of determining whether there is a conflict for the quota associated with the tenant, the one or more locations, and the capacity upper limit designated in the quota request) based on the quota information, and adds information related to the requested quota to the quota information when a result of the conflict determination is false. The quota information includes information representing a tenant, one or more locations, and a capacity upper limit for each quota of a plurality of storage devices at the plurality of locations. For each of the plurality of locations, the capacity usable by the tenant out of the capacity of the storage device at the location is equal to or less than the capacity upper limit of the quota corresponding to the location and the tenant.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to quota management. [Background technology]

[0002] A storage device is generally owned or managed by a provider, and the provider allocates capacity to a consumer with a commitment period of a certain period (for example, several years). A consumer usually belongs to a part of multiple tenants.

[0003] A "quota" permits a consumer to store data in a storage device and limits the amount of data that can be stored. As a quota management technique, for example, the technique disclosed in Patent Document 1 is known. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] US11003497 Summary of the Invention [Problem to be solved by the invention]

[0005] According to the quota management disclosed in Patent Document 1, a provider can set a quota for a storage device at a single location.

[0006] However, there are tenants (e.g., companies) that store data in storage devices in multiple locations (e.g., on-premise, near cloud and public cloud storage devices). If the quota management disclosed in Patent Document 1 is adopted by such tenants, quota management by location will be required, which will impose a large burden.

[0007] Furthermore, a change in the quota may require a change (e.g., an increase or decrease) in hardware resources. For example, if the quota is changed to one with a larger capacity upper limit, an increase in storage devices such as HDDs (Hard Disk Drives) or SDDs (Solid State Drives) may be required. Since changing hardware resources requires time and effort, a change in quota generally requires human approval, and a certain commitment period is associated with the quota. It is possible to set a quota with a larger capacity upper limit than necessary, but in that case, the utilization rate of the hardware resources may be low, and a large amount of hardware resources may be wasted. [Means for solving the problem]

[0008] The quota management system receives a quota request in which a tenant, one or more locations, and a capacity upper limit are specified for the requested quota, and performs a conflict determination (determines whether or not there is a conflict for the requested quota, which is a quota associated with the tenant, one or more locations, and the capacity upper limit specified in the quota request) based on the tenant information and the quota information. If the result of the conflict determination is false, the quota management system adds information about the requested quota associated with the specified tenant, location, and capacity upper limit to the quota information. The tenant information includes information representing each of multiple tenants of the storage system. The storage system includes multiple storage devices in multiple locations. The quota information includes information about the quota of the storage system. For each quota, the quota information includes information representing the tenant, one or more locations among the multiple locations, and the capacity upper limit. For each of the multiple locations, the capacity available to the tenant out of the capacity of the storage device at the location is a quota corresponding to the tenant and one or more locations including the location, and is equal to or less than the capacity upper limit of the quota defined in the quota information. Effect of the Invention

[0009] According to the present invention, it is possible to reduce the burden of managing quotas for each of multiple tenants of storage devices in multiple locations. [Brief description of the drawings]

[0010] [Figure 1] 1 illustrates an example of the configuration of an entire system including a quota management system according to an embodiment. [Diagram 2] 2 illustrates an example of quota management in a quota management system. [Diagram 3] 1 illustrates an example of a quota interface. [Figure 4] 4 shows examples of tables and programs stored in the memory of the quota management system. [Diagram 5] 1 illustrates an example of the configuration of a tenant table. [Figure 6] 13 shows an example of the configuration of a location table. [Figure 7] An example of the configuration of a quota table is shown below. [Figure 8] 1 shows the flow of a quota determination process. [Figure 9] 8 shows the flow of capacity determination processing (details of S806 in FIG. 8). [Figure 10] 1 shows the flow of capacity provision processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] In the following description, an "interface unit" may refer to one or more interface devices. The one or more interface devices may be at least one of the following: One or more I / O (Input / Output) interface devices. The I / O (Input / Output) interface devices are interface devices to at least one of the I / O devices and a remote display computer. The I / O interface device to the display computer may be a communications interface device. The at least one I / O device may be a user interface device, e.g., either an input device such as a keyboard and a pointing device, or an output device such as a display device. One or more communication interface devices. The one or more communication interface devices may be one or more homogeneous communication interface devices (e.g., one or more NICs (Network Interface Cards)) or two or more heterogeneous communication interface devices (e.g., a NIC and an HBA (Host Bus Adapter)).

[0012] In the following description, a "memory" refers to one or more memory devices, which are an example of one or more storage devices, and may typically be a primary storage device. At least one memory device in the memory may be a volatile memory device or a non-volatile memory device.

[0013] In the following description, a "persistent storage device" may be one or more persistent storage devices, which are an example of one or more persistent storage devices. A persistent storage device may typically be a non-volatile storage device (e.g., an auxiliary storage device), and more specifically, may be, for example, a hard disk drive (HDD), a solid state drive (SSD), a non-volatile memory express (NVME) drive, or a storage class memory (SCM).

[0014] Furthermore, in the following description, a "processor" may be one or more processor devices. The at least one processor device may typically be a microprocessor device such as a CPU (Central Processing Unit), but may also be other types of processor devices such as a GPU (Graphics Processing Unit). The at least one processor device may be a single-core or multi-core. The at least one processor device may be a processor core. The at least one processor device may also be a broader processor device such as a circuit that is a collection of gate arrays written in a hardware description language that performs part or all of the processing (e.g., an FPGA (Field-Programmable Gate Array), a CPLD (Complex Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit)).

[0015] In the following description, the processes are sometimes described with a program as the executing entity, but since the program is executed by a processor (typically, the processes performed by the execution of a program by a processor are performed using a storage device and / or an interface device, etc., as appropriate), the processes described with the program as the subject may also be processes performed by a processor or a device having the processor. The program may be installed from a program source. The program source may be, for example, a program distribution computer or a computer-readable recording medium (for example, a non-transitory recording medium). The description of each program is an example, and multiple programs may be combined into one program, or one program may be divided into multiple programs.

[0016] In the following description, data that provides an output for an input may be described using expressions such as "xxx table," but the data may be data of any structure (for example, structured data or unstructured data), or may be a neural network that generates an output for an input, or a learning model such as a genetic algorithm or random forest. Therefore, the "xxx table" may be referred to as "xxx data." In the following description, the configuration of each table is an example, and one table may be divided into two or more tables, or all or part of two or more tables may be one table.

[0017] In addition, in the following description, when describing elements of the same type without distinguishing between them, common reference symbols will be used, and when describing elements of the same type without distinguishing between them, reference symbols will be used.

[0018] FIG. 1 shows an example of the overall configuration of a system including a quota management system according to an embodiment of the present invention.

[0019] The quota management system 4000 is capable of communicating with a provider terminal 1000, a consumer terminal 2000, and a plurality of storage servers 3000 via a communication network 5000 (for example, the Internet or a Wide Area Network (WAN)). At least a plurality of provider terminals 1000 or consumer terminals 2000 may exist.

[0020] The provider terminal 1000 is an information processing terminal of the provider (for example, a personal computer or a smartphone). The provider is a user having a resource provider role assigned to one or more tenants. The provider uses the provider terminal 1000 to approve or set (assign) quotas for the tenants that the provider is responsible for to the quota management system 4000. One provider may be able to approve or set quotas for any tenant without being assigned to a specific tenant.

[0021] The consumer terminal 2000 is an information processing terminal of a consumer. A consumer is a user who belongs to one or more tenants and has the role of a resource consumer. A consumer uses the consumer terminal 2000 to request a quota for the tenant to which the consumer belongs, or to request the provision of a logical volume for the tenant to which the consumer belongs, from the quota management system 4000. A single consumer may not belong to a specific tenant and may be able to request a quota or the provision of a logical volume for any tenant.

[0022] The multiple storage servers 3000 are present in multiple different locations 6000. For example, according to the example shown in FIG. 1, there are locations 6000A to 6000C, and the location 6000A has storage servers 3000A1 and 3000A2, the location 6000B has storage server 3000B, and the location 6000C has storage server 3000C. The storage servers 3000B and 3000C in the different locations 6000B and 6000C may be communicatively connected to each other without passing through the communication network 5000. The location 6000 may mean any of a site, a geographical region, a data center, and a network area. The location 6000 may be called a site. The location 6000 may also mean a storage environment such as an on-premise environment, a near cloud environment, or a public cloud environment. Locations 6000 with different meanings (definitions) may be mixed. In this embodiment, the location 6000 may be a geographical region.

[0023] The storage server 3000 may be a physical storage device or a logical storage device (for example, a storage device configured by logical partitioning, or a cloud storage). The storage server 3000 includes an interface device 3100, a memory 3300, one or more PDEVs (physical storage devices) 3400, and a CPU 3200 connected to them. The interface device 3100 is connected to a communication network 5000. The storage server 3000 provides a logical volume, and can input and output data to and from the logical volume in response to an I / O (Input / Output) request that specifies the logical volume.

[0024] In this embodiment, the quota management system 4000 is a physical computer system (one or more physical computers), but may be a logical computer system based on a physical computer system (e.g., a virtual machine or a cloud computing system). The quota management system 4000 (e.g., a server) has an interface device 4100, a memory 4300, and a CPU 4200 connected thereto. The interface device 4100 is connected to a communication network 5000. The quota management system 4000 manages quotas for each of multiple tenants of multiple storage servers 3000 in multiple locations 6000.

[0025] FIG. 2 shows a schematic diagram of an example of quota management in the quota management system 4000. As shown in FIG.

[0026] The locations 6000A to 6000C are US-West, UK, and Japan. The quota management system 4000 hierarchically manages a plurality of tenants. A tenant may be a company, an organization, a department, a branch office, or a team.

[0027] Tenant management may be a graph (tree) management in which the tenants are nodes and the hierarchical relationships between the tenants are edges. In this paragraph, one tenant is called a "tenant of interest." Among the tenants above the tenant of interest, the tenant one level above the tenant of interest may be called a "parent tenant," and among the tenants below the tenant of interest, the tenant one level below the tenant of interest may be called a "child tenant." The concept of "superior / subordinate" or "parent / child" of a tenant may differ depending on what is being managed (e.g., monitored), but may be defined according to a predetermined standard. For example, in the case of a "connection relationship" between tenants, one tenant may be subordinate, and the other tenant that depends on the other tenant (based on the other tenant) may be superior. In the case of an "inclusion relationship" between tenants, one tenant may be subordinate, and the other tenant that includes the other tenant may be superior. According to the example shown in FIG. 2, there are Company A and Company B as the top-level tenants. The child tenants of Company A are Branch A and Branch B. Branch B's child tenants are Sales E and Sales W. Company B's child tenants are Team 1 and Team 2.

[0028] Quota management may include associating a quota with a tenant, where the quota elements include a storage type, a capacity limit, and a location.

[0029] The quota management system 4000 can associate a quota with each of multiple tenants having a hierarchical relationship, or associate multiple quotas with the same tenant, as long as the quotas do not conflict. Although the conditions that cause quota conflicts will be described in detail later, according to FIG. 2, examples of quotas are as follows.

[0030] In the quota associated with Company A, the location is "US-West, UK, and Japan," the storage type is "SSD," and the capacity limit is "500TB." That is, Company A can allocate data up to a total of 500TB in SSDs (e.g., logical volumes to which storage areas based on SSDs are allocated) of the storage servers 3000 in any of the locations 6000 in US-West, UK, and Japan.

[0031] Also, the quota associated with Branch B has a location of "UK and Japan", a storage type of "SSD", and a capacity limit of "100TB". The quota for Branch B does not conflict with the quota for Company A, which is the parent tenant of Branch B, because the quota for Company A includes Branch B (child tenant) "Japan" as the location, includes Branch B's "SSD" as the storage type, and has a capacity limit that is greater than or equal to Branch B's "100TB".

[0032] Company B also has two quotas associated with it. One quota has a location of "US-West", a storage type of "HDD", and a capacity limit of "80TB". The other quota has a location of "US-West and Japan", a storage type of "SSD", and a capacity limit of "70TB". These quotas do not conflict because the storage types are different.

[0033] FIG. 3 shows an example of a quota interface.

[0034] The quota interface 4400 is an interface for requesting or setting a quota provided by the quota management system 4000, and is, for example, an API (Application Programming Interface) accessed by a program, or a UI (User Interface) provided to a user. In this embodiment, the quota interface 4400 is a GUI (Graphical User Interface) that can be provided to both the provider terminal 1000 and the consumer terminal 2000. Through the quota interface 4400, both the provider and the consumer can interact with the quota management system 4000. The quota interface 4400 has input fields of storage type 4410, capacity upper limit 4420, period 4430, location 4440, and tenant name 4450. The quota interface 4400 also has an action button called OK 4460. The input field and the action button are each an example of a GUI component.

[0035] The storage type 4410 accepts input of the storage type to be subject to the quota. In this embodiment, storage device types such as SSD and HDD are adopted as the storage type, but instead of or in addition to the storage device type, stored data types such as block storage, file storage, and object storage or other types may be adopted.

[0036] The capacity upper limit 4420 accepts input of the capacity upper limit as a quota.

[0037] The period 4430 accepts input of the quota commitment period (period of commitment and validity). For example, "2 years" means that a consumer belonging to a tenant with which the quota is associated cannot change the quota for two years. Note that at least the period 4430 among the input fields illustrated in FIG. 3 does not have to be provided in the quota interface 4400. In this case, the quota commitment period may be unlimited.

[0038] Location 4440 accepts input of one or more locations that the quota covers. For example, selecting “US-West” and “Japan” means that the tenant can place data in both locations as long as the total capacity consumption in both locations is within the capacity limit.

[0039] The tenant name 4450 accepts input of the tenant name of the tenant with which the quota is associated.

[0040] When OK 4460 is pressed, the quota determination process shown in FIG. 8 is started.

[0041] FIG. 4 shows examples of tables and programs stored in the memory 4300 of the quota management system 4000.

[0042] The memory 4300 stores data such as a tenant table 4310, a location table 4320, and a quota table 4330, as well as programs such as a quota program 4340 and a provision program 4350.

[0043] FIG. 5 shows an example of the configuration of the tenant table 4310.

[0044] The tenant table 4310 includes a record for each tenant. The record includes information such as a tenant ID 4311, a tenant name 4312, and a parent tenant ID 4313.

[0045] The tenant ID 4311 indicates the ID of the tenant. The tenant name 4312 indicates the name of the tenant. The parent tenant ID 4313 indicates the ID of the parent tenant of the tenant. Note that the parent tenant ID 4313 "Top" means that there is no parent tenant and the tenant is the top-level tenant. Also, for each tenant, there may be one or more child tenants, but there is zero or one parent tenant.

[0046] The tenant table 4310 is created or updated, for example, by the provider.

[0047] FIG. 6 shows an example of the configuration of the location table 4320.

[0048] The location table 4320 has a record for each location. The record has information such as a location 4321 and a storage type 4322.

[0049] The location 4321 indicates the ID of the location 6000. The storage type 4322 indicates the storage type of the storage server 3000 in the location 6000.

[0050] The location table 4320 is created or updated by, for example, a provider. The location table 4320 may be created or updated by the quota program 4340 based on data collected from the storage servers 3000 of each location 6000. For example, if all HDDs are removed from the storage servers 3000 belonging to US-West, the quota program 4340 may receive data indicating the HDD removal from the storage servers 3000 belonging to US-West and delete "HDD" from the storage type 4322 corresponding to US-West.

[0051] FIG. 7 shows an example of the configuration of the quota table 4330.

[0052] The quota table 4330 has a record for each quota. The record has information such as a quota ID 4331, a tenant ID 4332, a tenant name 4333, a location 4334, a storage type 4335, a capacity upper limit 4336, and a capacity in use 4337.

[0053] The quota ID 4331 indicates the ID of the quota. The tenant ID 4332 indicates the ID of the tenant with which the quota is associated. The tenant name 4333 indicates the name of the tenant with which the quota is associated. The location 4334 indicates one or more locations that the quota covers. The storage type 4335 indicates the storage type of the quota. The capacity limit 4336 indicates the capacity limit of the quota. The used capacity 4337 indicates the capacity that has been used out of the capacity limit of the quota.

[0054] An example of the processing performed in this embodiment will be described below.

[0055] FIG. 8 shows the flow of the quota determination process.

[0056] The quota determination process is started, for example, when OK 4460 of the quota interface 4400 is pressed.

[0057] The quota program 4340 determines whether or not a conflicting quota is already associated with the specified tenant (the tenant corresponding to the tenant name specified in the tenant name 4450) (S801). Specifically, for example, the quota program 4340 determines whether or not there is a record in the quota table 4330 that satisfies all of the following conditions: There is a tenant name 4333 that indicates the tenant name specified in the tenant name 4450 of the quota interface 4400. There is a location 4334 which represents at least one of the one or more locations selected in location 4440 of the quota interface 4400 . There is a storage type 4335 which represents the storage type specified in the storage type 4110 of the quota interface 4400 .

[0058] If the determination result in S801 is true (S801: Yes), the quota program 4340 returns a response indicating the conflict (S808). In the process shown in Fig. 8, the response is provided to the destination of the quota interface 4400 (i.e., the provider or the consumer). The response returned in S808 may include information indicating the information corresponding to the conflict among the information specified by the quota interface 4400.

[0059] If the result of the determination in S801 is false (S801: No), the quota program 4340 refers to the tenant table 4310 and determines whether the specified tenant is the top-level tenant (whether the parent tenant ID 4313 corresponding to the specified tenant is "Top") (S802). If the result of the determination in S802 is true (S802: Yes), there is no conflict with the quota newly established for the top-level tenant, so the quota program 4340 returns a response indicating approval (S807).

[0060] If the determination result in S802 is false (S802: No), the quota program 4340 determines, based on the quota table 4330 and the tenant table 4310, whether or not the quota table 4330 contains records that satisfy the following conditions for all upper tenants of the specified tenant. The one or more locations represented by location 4334 in the record include all of the one or more locations selected in location 4440 of quota interface 4400. The storage type 4335 in the same record indicates the storage type specified in the storage type 4110 of the quota interface 4400.

[0061] If there is no record that satisfies the above condition for at least one upper tenant, the determination result of S803 is false. If the determination result of S803 is false (S803: No), at least a part of the quota requested for the specified tenant exceeds the range of the upper tenant's quota, so the quota program 4340 performs S808.

[0062] If there is a record that satisfies the above condition for each of all upper tenants, the judgment result of S803 is true. The quota corresponding to such a record will be referred to as "upper tenant quota" in the following description of FIG. 8 (and FIG. 9). If the judgment result of S803 is true (S803: Yes), the quota program 4340 selects one of the upper tenant quotas for which S804 to S806 have not been processed, and performs S804 to S806. That is, S804 to S806 are repeated until there are no more upper tenant quotas for which S804 to S806 have not been processed (or until S806: Yes is detected for any upper tenant quota). S804 to S806 will be described using one upper tenant quota as an example.

[0063] The quota program 4340 subtracts the capacity upper limit of the specified tenant (the capacity specified in the capacity upper limit 4420) from the capacity upper limit 4336 of the upper tenant quota (S804). For example, according to the example shown in Figures 2, 3 and 7, since the capacity upper limit 4336 of the upper tenant quota is the capacity upper limit of Company A, "500TB", the quota program 4340 subtracts the capacity upper limit of the specified tenant "Branch B", "100TB", from "500TB". As a result, "400TB" is obtained.

[0064] Next, the quota program 4340 subtracts the upper tenant quota usage capacity 4337 from the value calculated in S804 (S805). For example, the quota program 4340 subtracts the usage capacity of the upper tenant "Company A" (2 TB) from the value of "400 TB" calculated in S804. As a result, "398 TB" is obtained.

[0065] Next, the quota program 4340 judges whether the capacity is sufficient or not (S806). Specifically, the quota program 4340 performs the capacity judgment process of Fig. 9. If the result of the capacity judgment process is a conflict, the judgment result of S806 becomes false (S806: No), and S808 is performed. If the result of the capacity judgment process is a non-conflict, the judgment result of S806 becomes true (S806: Yes). If there is an upper tenant quota for which S804 to S806 have not been processed, one such upper tenant quota is selected, and S804 to S806 are performed. If there is no upper tenant quota for which S804 to S806 have not been processed, S807 is performed.

[0066] In addition, in S807, the quota program 4340 may associate the quota requested through the quota interface 4400 with the specified tenant (may add a record of the quota requested for the specified tenant to the quota table 4330). When the destination of the quota interface 4400 is a consumer, the quota program 4340 may notify the provider of the specified tenant of information indicating that a quota request has been made and that no quota conflict has been detected. When the provider approves the notification, the quota program 4340 may associate the requested quota with the specified tenant.

[0067] FIG. 9 shows the flow of the capacity determination process (details of S806 in FIG. 8).

[0068] The quota program 4340 performs S901. Specifically, the quota program 4340 searches the tenant table 4310 for a record having the tenant ID of the specified tenant as the parent tenant ID 4313. If the specified tenant is not the lowest-level tenant, typically, one or more records, that is, one or more lower-level tenants of the specified tenant, are found. For each of the one or more lower-level tenants, the quota program 4340 obtains a record that satisfies all of the following conditions from among the quota records of the lower-level tenant: The tenant name 4333 in the record indicates the tenant name of the lower tenant. All of the one or more locations represented by the location 4334 in the same record are included in the one or more locations selected in the location 4440 of the quota interface 4400. The storage type 4335 in the same record indicates the storage type specified in the storage type 4110 of the quota interface 4400.

[0069] A quota corresponding to a record that satisfies the above conditions is hereinafter referred to as a "lower tenant quota" in the description of FIG. 9. If there is a lower tenant quota that has not been processed in S902, the quota program 4340 selects one such lower tenant quota and performs S902. That is, the quota program 4340 updates the remaining capacity by subtracting the capacity upper limit 4336 of the lower tenant quota from the latest remaining capacity (S902). If S902 is the first time (first time), the "latest remaining capacity" is the value calculated in S805 (for example, "398TB"). If S902 is the second time or later, the "latest remaining capacity" is the remaining capacity obtained in the previous S902. For example, according to the examples shown in FIG. 2, FIG. 3, FIG. 7, and FIG. 8, in the first S902, the quota program 4340 calculates the remaining capacity "378TB" by subtracting the capacity upper limit "20TB" of Sales E (UK) from the latest remaining capacity "398TB". Next, in the second S902, the quota program 4340 calculates the remaining capacity "338TB" by subtracting the capacity upper limit of Sales E (Japan) "40TB" from the latest remaining capacity "378TB". Next, in the third S902, the quota program 4340 calculates the remaining capacity "308TB" by subtracting the capacity upper limit of Sales W "30TB" from the latest remaining capacity "338TB".

[0070] S902 is repeated until there are no unprocessed lower tenant quotas. That is, after S902, the quota program 4340 judges whether there are any unprocessed lower tenant quotas in S902. If the judgment result is true, the quota program 4340 selects one such lower tenant quota and performs S902. If the judgment result is false, the process proceeds to S903.

[0071] The quota program 4340 determines whether the last calculated remaining capacity is equal to or greater than a threshold value (for example, "0") (S903).

[0072] If the determination result of S903 is true (S903: Yes), the quota program 4340 outputs a non-conflict (S904). As a result, the determination result of S806 becomes true (S806: Yes).

[0073] If the result of the determination in S903 is false (S903: No), the quota program 4340 outputs a conflict (S904). As a result, the result of the determination in S806 becomes false (S806: No).

[0074] In the processing shown in FIG. 9, the quota program 4340 performs S903 each time S902 is performed, and if S903: No is detected, it performs S905 and may end the processing in FIG. 9 even if there is an unprocessed lower tenant quota in S902.

[0075] FIG. 10 shows the flow of the capacity provision process.

[0076] The provision program 4350 starts a capacity provision process in response to a capacity request from the provider terminal 1000 or the consumer terminal 2000. In the capacity request, for example, a tenant name, a location, a storage type, and a capacity are specified. In addition, the capacity is provided as a logical volume having that capacity.

[0077] The provision program 4350 judges whether or not there is a record in the quota table 4330 that meets all of the following conditions (S1001). · The tenant name 4333 of the record indicates the tenant name specified in the capacity request. The storage type 4335 of the same record indicates the storage type specified in the capacity request. One or more locations represented by location 4334 of the same record include the location specified in the capacity request.

[0078] If there is no record that satisfies the above condition, the result of the determination in S1001 is false. If the result of the determination in S1001 is false (S1001: No), the request content in the capacity request exceeds the range of the quota of the tenant specified in the capacity request, so the provision program 4350 returns a response indicating a denial of the capacity request to the sender of the capacity request (i.e., the provider or the consumer) (S1008).

[0079] If there is a record that satisfies the above condition, the determination result in S1001 is true. If the determination result in S1001 is true (S1001: Yes), the provision program 4350 identifies the capacity upper limit 4336 and the used capacity 4337 from the record that satisfies the condition (S1002), and calculates the available capacity by subtracting the used capacity 4337 from the capacity upper limit 4336 (S1003). For example, if the corresponding record is a record having a quota ID "Q2", the identified capacity upper limit 4336 is "100TB" and the identified used capacity 4337 is "5TB", so the calculated available capacity is "95TB" (=100TB-5TB).

[0080] After S1003, the provision program 4350 acquires records in the quota table 4330 that satisfy the following conditions for all lower tenants of the specified tenant based on the quota table 4330 and the tenant table 4310 (S1004). · One or more locations represented by location 4334 in the record include the location specified in the capacity request. The storage type 4335 in the same record indicates the storage type specified in the capacity request.

[0081] A quota corresponding to a record that satisfies the above conditions will be referred to as a "lower tenant quota" in the following description of FIG. 10. If there is a lower tenant quota that has not been processed in S1005, the provision program 4350 selects one such lower tenant quota and performs S1005. That is, the provision program 4350 updates the free space by subtracting the lower tenant quota capacity upper limit 4336 from the latest free space (S1005). If S1005 is the first time (first time), the "latest free space" is the value calculated in S1003 (for example, "95 TB"). If S1005 is the second time or later, the "latest free space" is the free space obtained in S1005 immediately before. For example, according to the examples shown in Fig. 2, Fig. 3, and Fig. 10, in the first S1005, the provision program 4350 calculates the available capacity "75TB" by subtracting the upper capacity limit "20TB" of Sales E (UK) from the latest available capacity "95TB". Next, in the second S1005, the provision program 4350 calculates the available capacity "35TB" by subtracting the upper capacity limit "40TB" of Sales E (Japan) from the latest available capacity "75TB". Next, in the third S1005, the provision program 4350 calculates the available capacity "5TB" by subtracting the upper capacity limit "30TB" of Sales W from the latest available capacity "35TB".

[0082] S1005 is repeated until there are no unprocessed lower tenant quotas. That is, after S1005, the provision program 4350 judges whether there are any unprocessed lower tenant quotas in S1005. If the judgment result is true, the provision program 4350 selects one such lower tenant quota and performs S1005. If the judgment result is false, the process proceeds to S1006.

[0083] The provision program 4350 judges whether or not the last calculated free space is equal to or larger than the space specified in the space request (S1006).

[0084] If the result of the determination in S1006 is false (S1006: No), the provision program 4350 performs S1008. If the result of the determination in S1006 is true (S1006: Yes), the provision program 4350 returns a response indicating approval (S1007).

[0085] In addition, in S1007, the provision program 4350 may allocate a logical volume having the requested capacity to the specified tenant, and add the requested capacity to the used capacity 4337 of the corresponding quota of the specified tenant. If the sender of the capacity request is a consumer, the provision program 4350 may notify the provider of the specified tenant of information indicating that a capacity request has been made and that the capacity request has been approved. If the provider's approval is obtained in response to that notification, the provision program 4350 may allocate a logical volume having the requested capacity to the specified tenant (and may further add the requested capacity to the used capacity 4337 of the corresponding quota of the specified tenant).

[0086] In the processing shown in FIG. 10, the provision program 4350 performs S1006 each time S1005 is performed, and if S1006:No is detected, it performs S1008 and may end the processing of FIG. 10 even if there is an unprocessed lower tenant quota in S1005.

[0087] Although one embodiment has been described above, this is merely an example for explaining the present invention, and the scope of the present invention is not limited to this embodiment. The present invention can be implemented in various other forms.

[0088] Furthermore, the above description can be summarized, for example, as follows. The following summary may include supplementary explanations and explanations of modified examples of the above.

[0089] The quota management system 4000 includes an interface device 4100, a memory 4300 (an example of a storage device), and a CPU 4200 (an example of a processor) connected thereto. The interface device 4100 is capable of communicating with a storage system. The memory 4300 stores a tenant table 4310 (an example of tenant information) including information representing each of a plurality of tenants of the storage system, and a quota table 4330 (an example of quota information) including information regarding the quota of the storage system.

[0090] The storage system includes multiple storage devices in multiple locations 6000. For each location 6000, a storage device may be, for example, one or more storage servers 3000. A storage device provides capacity (typically a logical volume having that capacity).

[0091] For each quota, the information about the quota includes information describing the tenant, one or more locations 6000, and the capacity upper limit (eg, tenant ID 4332, tenant name 4333, location 4334, and capacity upper limit 4336).

[0092] For each of the multiple locations 6000, the capacity of the storage device at that location 6000 that can be used by the tenant is equal to or less than the quota capacity upper limit defined in the quota (quota table 4330) corresponding to the tenant and one or more locations including that location 6000. Such control may be performed, for example, by the CPU 4200 executing the quota program 4340, or may be performed by the storage device at each location 6000.

[0093] The CPU 4200 receives a quota request that specifies the tenant, one or more locations, and capacity upper limit for the requested quota. The CPU 4200 performs a conflict determination based on the tenant table 4310 and the quota table 4330. The conflict determination is a determination of whether or not there is a conflict for the requested quota (a quota associated with the tenant, one or more locations, and capacity upper limit specified in the quota request). If the result of the conflict determination is false, the CPU 4200 adds information about the requested quota associated with the specified tenant, location, and capacity upper limit to the quota table 4330.

[0094] This can reduce the burden of managing quotas for each of the multiple tenants of the storage device in the multiple locations 6000. The quota management system 4000 can centralize management of tenants and quotas in the storage device in the multiple locations 6000, thereby reducing and simplifying management operations. For example, based on the tenant's policy and laws and regulations applied to the locations 6000, a user such as a provider or a consumer can specify all or part of the multiple locations 6000. Furthermore, the "quota request" may be a request for setting a new quota or a request for changing an existing quota. Furthermore, each of the multiple locations 6000 may be any of a site, a geographical region, a data center, and a network area.

[0095] The tenant table 4310 may represent the hierarchical relationship of multiple tenants. The conflict determination may include a determination of whether or not there is a target upper tenant quota for an upper tenant of the specified tenant (e.g., S803). The "target upper tenant quota" may be a quota associated with one or more locations including all of the specified one or more locations among one or more quotas of the upper tenant of the specified tenant (e.g., if the specified one or more locations are "UK" and "Japan", the "target upper tenant quota" may be a quota associated with two or more locations including "UK" and "Japan"). If there is no target upper tenant quota for at least one upper tenant of the specified tenant (e.g., S803: No), the result of the conflict determination may be false. In this way, in the centralized management of quotas of storage devices of multiple locations 6000, quota conflicts (here, a quota outside the location range of the upper tenant quota is set for the specified tenant) can be avoided from the viewpoint of tenant hierarchical relationship and location.

[0096] The conflict determination may include a capacity determination (e.g., S804 to S806) that is a determination of whether or not a specified capacity upper limit satisfies a condition. The capacity determination may be a determination based on a capacity upper limit associated with a target upper tenant quota of a tenant above the specified tenant and a capacity upper limit associated with each of target lower tenant quotas of one or more lower quotas of the specified tenant. The "target lower tenant quota" may be a quota associated with one or more locations that are all included in one or more specified locations among one or more quotas of a lower tenant of the specified tenant (for example, if the one or more specified locations are "UK" and "Japan", the "target lower tenant quota" may be a quota that includes at least one of "UK" and "Japan" and does not include locations other than "UK" and "Japan"). If the result of the capacity determination is false for at least one upper tenant of the specified tenant (e.g., S806: No), the result of the conflict determination may be false. In this way, in centralized management of quotas for storage devices at multiple locations 6000, quota conflicts (here, a quota outside the location and capacity upper limit of the quota of a higher-level tenant is set for a specified tenant) can be avoided from the perspective of capacity upper limits as well as tenant hierarchical relationships and locations.

[0097] The “condition” for determining the capacity is that the difference between (X) below and (Y) below is equal to or greater than (Z) below. (X) The capacity limit associated with the target parent tenant quota of the parent tenant of the specified tenant. (Y) The sum of (y1) to (y3) below. (y1) The capacity used by the upper tenant within the range of the target upper tenant quota (for example, the capacity indicated by the used capacity 4337). (y2) A specified capacity limit for a specified tenant. (y3) The sum of the capacity limits of the target subtenant quotas of one or more subtenants of a specified tenant. (Z) First threshold (greater than or equal to 0).

[0098] An example of the determination as to whether or not this condition is met may be S804 to S806 in Fig. 8 (including S901 to S905 in Fig. 9). That is, as an example, (y2) may be subtracted from (X) (e.g., S804), then (y1) may be subtracted, and then the capacity upper limits of one or more target lower tenant quotas may be sequentially subtracted (e.g., S902), and it may be determined whether or not the finally obtained value is equal to or greater than (Z) (e.g., S903). If the result of the capacity determination is false for at least one upper tenant of the specified tenant (S806: No), the result of the conflict determination may be false.

[0099] The interface device 4100 may be capable of communicating with a user terminal. The user terminal may be a physical information processing terminal or an input / output console of a user, or may be a logical information processing terminal (for example, a virtual desktop or an account). The user terminal may be a provider terminal 1000, a consumer terminal 2000, or an administrator terminal (not shown) of an administrator of a storage system. The user may be any of a provider, a consumer, and an administrator. When a resource exhaustion location is detected, the CPU 4200 may transmit to the user terminal information suggesting that hardware resources be added to the resource exhaustion location in order to increase the capacity of the resource exhaustion location. The "resource exhaustion location" may be at least one location associated with a target upper tenant quota in which the difference (X) minus the above (Y) (for example, the difference compared in S903) is less than a second threshold value that is greater than a first threshold value. For example, if the locations associated with such a target upper tenant quota are "US-West", "UK" and "Japan", the resource depletion location may be all or part of those locations, or all or part of the specified locations "UK" and "Japan". This makes it possible to expect that resources (typically physical storage devices in which data stored in logical volumes is stored) will be added to the location 6000 in advance so as to prevent capacity shortages in parallel with setting the requested quota (or rejecting the quota request). Note that, since information suggesting an expansion is sent, information regarding the requested resource may be added to the quota information without manual approval if the result of the conflict determination is true.

[0100] The CPU 4200 may provide a quota interface (e.g., the quota interface 4400) that is an interface that accepts a tenant, one or more locations, and a capacity upper limit related to a requested quota to the provider terminal 1000 (an example of a user terminal). The tenant, one or more locations, and a capacity upper limit related to a requested quota may be specified via the quota interface. This allows the provider to assign a quota to a tenant.

[0101] The CPU 4200 may provide the consumer terminal 2000 (an example of a user terminal) with a quota interface (for example, the quota interface 4400) that is an interface for receiving a tenant, one or more locations, and a capacity upper limit related to the requested quota. This allows the consumer to request a quota. If the result of the conflict determination is false, the CPU 4200 may transmit information indicating no conflict for the requested quota to the provider terminal 1000, and may add information related to the requested quota to the quota table 4330 when approval for the requested quota is received from the provider terminal 1000. Since the quota is set with the approval of an authorized user, the provider, security is expected to be improved. If the result of the conflict determination is false, the CPU 4200 may add information related to the requested quota to the quota table 4330 without manual approval from the provider or the like. This is expected to further reduce the workload involved in setting the quota.

[0102] One or more storage types may be defined for each of the multiple locations 6000 (e.g., location table 4320). For each quota, the information about the quota may further include information indicating the storage type. CPU 4200 may further accept a designation of a storage type for the requested quota. The "target upper tenant quota" may be a quota that is associated with the same storage type as the designated storage type among one or more quotas of the upper tenant of the designated tenant. This makes it possible to avoid a quota outside the upper tenant's quota range from the viewpoint of storage type being set for the designated tenant.

[0103] The CPU 4200 may receive a capacity request in which a tenant, a location, and a capacity are specified. The CPU 4200 may identify a target quota, which is a quota associated with the location specified in the capacity request, from one or more quotas specified from the quota table 4330 for the tenant specified in the capacity request. The CPU 4200 may perform a provision determination (e.g., S1006) on the basis of the target quota as to whether or not the capacity specified in the capacity request can be provided to the tenant specified in the capacity request. If the result of the provision determination is true, the CPU 4200 may provide the capacity (e.g., a logical volume) specified in the capacity request to the tenant specified in the capacity request. In this way, in the centralized management of the quotas of the storage devices of the multiple locations 6000, it is possible to receive the specification of a tenant and a location, and provide the specified capacity to the tenant within the range of the quota corresponding to the tenant and the location. The "logical volume" may be a logical storage area provided to a tenant (specifically, for example, the consumer terminal 2000, or a computer that executes an application used by the consumer terminal 2000). The logical volume may be an actual logical volume or a virtual logical volume. An actual logical volume may be a logical volume based on physical storage resources (for example, one or more PDEVs) of the storage device that provides the logical volume. A virtual logical volume may be a logical volume that is configured from a plurality of virtual storage areas and conforms to a capacity virtualization technology (typically Thin Provisioning). Furthermore, the provision determination may be a determination of whether or not the difference obtained by subtracting the following (B) from the following (A) is equal to or greater than the following (C). (A) The capacity limit of the target quota. (B) The sum of (b1) and (b2) below. (b1) The amount of the target quota used. (b2) A capacity limit associated with each of the target subtenant quotas of one or more sub-quotas of the tenant specified in the capacity request. (Note that the "target subtenant quota" here may be a quota associated with one or more locations, including the location specified in the capacity request, among one or more quotas of subtenants of the tenant specified in the capacity request.) (C) The capacity specified in the capacity request.

[0104] An example of the determination as to whether or not this condition is met may be S1002 to S1006 in Fig. 10. That is, as an example, (b1) may be subtracted from (A) (e.g., S1003), and then the capacity upper limits of one or more target lower tenant quotas may be sequentially subtracted (e.g., S1005), and it may be determined whether or not the finally obtained value is equal to or greater than (C) (e.g., S1006).

[0105] The conflict determination may include a determination (e.g., S801) of whether or not the quota table 4330 has a quota for the tenant specified in the quota request that includes at least one of the one or more locations specified in the quota request. If the result of the determination is true (e.g., S801: Yes), the result of the conflict determination may be true (e.g., S808). In this way, in the centralized management of quotas for storage devices in multiple locations 6000, it is possible to avoid different quotas with overlapping locations being set for the same tenant. [Explanation of symbols]

[0106] 4000: Quota Management System

Claims

1. an interface device capable of communicating with the storage system; a storage device that stores tenant information including information representing each of a plurality of tenants of the storage system, and quota information including information regarding a quota of the storage system; a processor connected to the interface device and the storage device; Equipped with the storage system includes a plurality of storage devices at a plurality of locations; For each quota, the information about the quota includes information indicative of a tenant, one or more locations among the locations, and a capacity limit; For each of the multiple locations, a capacity available to a tenant out of a capacity of a storage device at the location is equal to or less than a capacity upper limit of a quota corresponding to one or more locations including the location and the tenant, the quota being set in the quota information; The processor, receiving a quota request specifying a tenant, one or more locations, and a capacity limit for the requested quota; performing a conflict determination based on the tenant information and the quota information to determine whether or not there is a conflict regarding a requested quota, which is a quota associated with the tenant, one or more locations, and a capacity upper limit specified in the quota request; if the result of the conflict determination is false, adding information regarding a request quota associated with the specified tenant, location, and capacity upper limit to the quota information; Quota management system.

2. the tenant information represents a hierarchical relationship among the plurality of tenants; The conflict determination includes determining whether or not there is a target upper tenant quota for an upper tenant of the specified tenant; The target upper tenant quota is a quota associated with one or more locations including all of the one or more specified locations among one or more quotas of upper tenants of the specified tenant, If the target upper tenant quota does not exist for at least one upper tenant of the specified tenant, the result of the conflict determination is false. The quota management system according to claim 1 .

3. the contention determination includes a capacity determination which is a determination as to whether the specified capacity upper limit satisfies a condition; the capacity determination is based on a capacity upper limit associated with a target upper tenant quota of a tenant above the specified tenant and a capacity upper limit associated with each of target lower tenant quotas of one or more lower quotas of the specified tenant; The target subtenant quota is a quota associated with one or more locations that are all included in the one or more specified locations among one or more quotas of subtenants of the specified tenant, When the result of the capacity determination is false for at least one upper tenant of the specified tenant, the result of the conflict determination is false. The quota management system according to claim 2 .

4. The condition is that the difference between the following (X) and the following (Y) is equal to or greater than the following (Z): (X) a capacity limit associated with the target superior tenant quota of an superior tenant of the specified tenant; (Y) the sum of the following (y1) to (y3): (y1) The capacity used by the upper tenant within the range of the target upper tenant quota, (y2) the specified capacity limit of the specified tenant; (y3) the sum of the capacity upper limits of the target subtenant quotas of one or more subtenants of the specified tenant; (Z) a first threshold value (0 or more); The quota management system according to claim 3.

5. the interface device is capable of communicating with a user terminal; When a resource-depleted location is detected, the processor transmits, to the user terminal, information suggesting that hardware resources be added to the resource-depleted location in order to increase the capacity of the resource-depleted location; The resource depleted location is at least one location associated with a target upper tenant quota in which a difference between (X) and (Y) is less than a second threshold value that is greater than the first threshold value, The quota management system according to claim 4.

6. the interface device is capable of communicating with a provider terminal of a provider of the specified tenant; The processor provides a quota interface to the provider terminal, the quota interface being an interface for receiving a tenant, one or more locations, and a capacity upper limit related to the requested quota; via the quota interface, a tenant, one or more locations, and a capacity limit for the request quota are specified; The quota management system according to claim 1 .

7. the interface device is capable of communicating with a consumer terminal of a consumer belonging to the specified tenant; The processor provides a quota interface to the consumer terminal, the quota interface being an interface that accepts a tenant, one or more locations, and a capacity upper limit for the requested quota; via the quota interface, a tenant, one or more locations, and a capacity limit for the request quota are specified; The quota management system according to claim 1 .

8. The interface device is further capable of communicating with a provider terminal of a provider of the specified tenant; When the result of the conflict determination is false, Transmitting information indicating no contention for the requested quota to the provider terminal; when approval of the requested quota is received from the provider terminal, information regarding the requested quota associated with the specified tenant, location, and capacity upper limit is added to the quota information; The quota management system according to claim 7.

9. the processor adds information regarding the requested quota to the quota information without manual approval if the result of the conflict determination is false; The quota management system according to claim 1 .

10. One or more storage types are defined for each of the plurality of locations; For each quota, the information about the quota further includes information representative of a storage type; The processor further accepts a designation of a storage type for the requested quota; The target upper tenant quota is one or more quotas of an upper tenant of the specified tenant, which is further associated with the same storage type as the specified storage type. The quota management system according to claim 2 .

11. The processor, Accepting a capacity request with a specified tenant, location, and capacity; Identifying a target quota, among one or more quotas identified from the quota information for the tenant specified in the capacity request, that is a quota associated with the location specified in the capacity request; determining whether or not the capacity specified in the capacity request can be provided to the tenant specified in the capacity request based on the target quota; If a result of the provision determination is true, the capacity specified in the capacity request is provided to the tenant specified in the capacity request. The quota management system according to claim 1 .

12. the tenant information represents a hierarchical relationship among the plurality of tenants; The provision determination is a determination of whether or not the difference between the following (A) and the following (B) is equal to or greater than the following (C): (A) the capacity limit of the target quota; (B) The sum of the following (b1) and (b2): (b1) the usage capacity of the target quota; (b2) a capacity upper limit associated with each target sub-tenant quota of one or more sub-quotas for the tenant specified in the capacity request; The target subtenant quota is a quota associated with one or more locations including the location specified in the capacity request, among one or more quotas of subtenants of the tenant specified in the capacity request. (C) the capacity specified in the capacity request; The quota management system according to claim 11.

13. each of the plurality of locations is one of a site, a geographic region, a data center, and a network area; The quota management system according to claim 1 .

14. The conflict determination includes determining whether the quota information includes a quota for the specified tenant that includes at least one of the specified one or more locations; If the result of the determination is true, the result of the conflict determination is true. The quota management system according to claim 1 .

15. a computer receives a quota request specifying a tenant, one or more locations, and a capacity limit for the requested quota; The computer performs a conflict determination based on the tenant information and the quota information to determine whether or not there is a conflict for a requested quota, which is a quota associated with the tenant, one or more locations, and a capacity upper limit specified in the quota request; the computer adds information about a request quota associated with the specified tenant, location, and capacity upper limit to the quota information when a result of the conflict determination is false; the tenant information includes information representing each of a plurality of tenants of the storage system; the storage system includes a plurality of storage devices at a plurality of locations; the quota information includes information regarding a quota of the storage system; For each quota, the information about the quota includes information indicative of a tenant, one or more locations among the locations, and a capacity limit; For each of the multiple locations, a capacity of the storage device at the location that can be used by the tenant is equal to or less than a capacity upper limit of a quota corresponding to one or more locations including the location and the tenant, the quota being set in the quota information; Quota management methods.

Citation Information

Patent Citations

  • Managing resource allocation in hierarchical quota system

    US11003497B2