This invention relates to a technique for calculating importance degrees for resources to be allocated or having been allocated to a business service.
In a distributed computing environment in which the resources are shared and used in plural business services, it is desired that the resource allocation for each of the business services is optimized. A method for adjusting the resource allocation based on the statically defined priority of the business service has already been known. Furthermore, a method is proposed in which a resource manager of a business service is caused to determine the importance degree of the resource allocated to the pertinent business service, and the global adjustment of the resource allocation based on their importance degrees is carried out.
For example, as shown in
Similarly, an administrator of a business service 2 carries out the setting of the BV calculation policy of the business service 2 for a BV calculation apparatus of a local optimization mechanism for a business service 2. The BV calculation apparatus assigns the BV from 50 to 100 to the resource nodes for the business service 2 according to the setting of the BV calculation policy. Specifically, one resource node of BV=60, one resource node of BV=80 and one resource node of BV=90 are secured.
When actually accepting the allocation of the resource nodes, the local optimization mechanisms of the business services 1 and 2 notify a global optimization mechanism of the BVs. The global optimization mechanism allocates the resource nodes according to settings of its operation administrator. In the example of
Here, as shown in
In the conventional art, the administrators of respective business services and the operation administrator of the global optimization mechanism separately make agreements so that an appropriate BV is output in each local optimization mechanism. That is, it is impossible to carry out the complete optimization only by the global optimization mechanism.
Incidentally, the aforementioned system is disclosed in the following paper: Haruyasu Ueda, Nobutaka Imamura, Hiromichi Kobashi, Soichi Shigeta, Miho Murata, Akira Asato and Yoshimasa Kadooka, “Grid Service Platform: A Prototype to Share Computational Resources for Business Operation Services”, proceedings of the Conference on Computational Engineering and Sciences, Vol. 11, No. 2, pp 531-534 (2006, July).
In this conventional art, because not only the reference and/or strategy to calculate the importance degree of the specific business service but also the setting of the range of the importance degree, which is used by the specific business service, (relative magnitude correlation of the importance degree of the specific business service and the importance degrees of other business services) are also made by the administrator of the specific business service, the following problems occur. That is, (1) the operation administrator of the global optimization mechanism cannot directly change the relative importance degree of the business service, and when changing the relative importance degree of each business service in order to deal with the change of the operational state, he or she cannot change the relative importance degree immediately. (2) When setting the BV calculation policy for the BV calculation apparatus of the specific business service, it is necessary for the administrator of the specific business service to obtain the agreement about the importance degree of the specific business service with the operation administrator (and the administrators of the other business services) in advance. That is, a lot of human works are required for the setting of the BV calculation policy of the local optimization mechanism. (3) Because the administrators of the business services and management hosts are located in a geographically dispersive manner, a lot of human works are required for the grasp and management of the relative importance degree of the entire business service and they are difficult. (4) It is impossible to prevent a wrong importance degree from being used when an inappropriate BV calculation policy is set for the BV calculation apparatus of the specific business service due to a mistake or intention of the administrator of the specific business service. That is, it is impossible to prevent the importance degree of the specific business service from unreasonably becoming relatively lower or higher than that of the other business services.
Furthermore, (5) even when the distribution of the BVs assigned to the resources allocated to a business service has a bias because the BV calculation policy set for the BV calculation apparatus of the business service by the administrator of the business service is improper, it is impossible to correct the BV calculation policy.
Therefore, an object of this invention is to provide a technique enabling to flexibly and appropriately set the importance degree for the resource node to be allocated or having been allocated to the business service in the distributed computing environment in which the plural business service shares the resources.
In addition, another object of this invention is to provide a technique to appropriately allocate the resource nodes even when the importance degree assigned to the resource node in the business service is improper.
A method for calculating an importance degree for a resource according to this invention includes: receiving a first importance degree assigned to a resource node to be allocated or having been allocated to a specific business service based on an original policy in the specific business service; and converting the received first importance degree to a second importance degree in an entire system according to data concerning an importance degree re-calculation policy, which is set for the specific business service independently of the original policy and stored in a policy storage, and storing the second importance degree into a storage device.
Because the second importance degree in the entire system is re-calculated according to the importance degree re-calculation policy, it is possible for the operation administrator of the entire system to flexibly and appropriately set the importance degree re-calculation policy so as to optimize the resource allocation of the entire system. Here, the optimization means that effects and gains obtained from plural business services are maximized when carrying out all those business services by using the limited number of resource nodes, which exist in the system.
Incidentally, this invention may further include switching the importance degree re-calculation policy for the specific business service. For instance, there is a case where it is necessary to apply the different importance degree re-calculation policies at daytime and night, and it becomes possible to flexibly deal with such a case by carrying out such a processing.
Furthermore, the importance degree re-calculation policy may be at least one of a method for causing to carry out a section compression and a section shift, a method for mapping values to discontinuous predetermined values, and a method using a predetermined function.
In addition, the importance degree re-calculation policy may include a rule concerning a range of the second importance degree. By carrying out such a processing, even when an inappropriate importance degree is received, the correction can be made by this processing.
Furthermore, this invention may further include: judging whether or not distribution of the received first importance degrees is deviated from a reference, which is defined in advance and is stored in a distribution adjustment data storage; and when it is judged that the distribution of the received first importance degrees is deviated from the reference, correcting the distribution of the received first importance degrees.
In addition, the aforementioned correcting may include: invalidating the importance degree re-calculation policy; and correcting the received first importance degree so that the corrected first importance degrees distribute according to distribution stored in the distribution adjustment data storage. This is because, when the received first importance degree has an offset, problems occur in which the resources are unreasonably occupied, and the service is not carried out infinitely.
Furthermore, the aforementioned correcting may include: when a difference between an average value of the received first importance degrees and a reference stored in the distribution adjustment data storage is equal to or greater than a predetermined value, correcting the received first importance degree according to the difference. By carrying out such correction, the importance degree can be made within an appropriate range.
Incidentally, it is possible to create a program for causing a computer to execute the method for calculating the importance degree for the resources according to the present invention. The program is stored into a storage medium or a storage device such as, for example, a flexible disk, a CD-ROM, a magneto-optical disk, a semiconductor memory, or a hard disk. In addition, the program may be distributed as digital signals over a network in some cases. Data under processing is temporarily stored in the storage device such as a computer memory.
For example, when the resource is acquired in the business service 1 based on a request from a user, a BV (called as a local BV) for the resource to be acquired is calculated according to a predetermined policy in the local optimization mechanism 1 of the grid service subsystem 1, and a resource request including the calculated local BV is output to the global optimization mechanism 110 of the resource brokering subsystem 100. The global optimization mechanism 110 converts the local BV to a global BV according to a preset importance degree re-calculation policy, and determines the resource allocation according to the global BV. When the resource allocation is carried out, a notification as to the resource allocation is notified to the local optimization mechanism 1 of the requesting source. In addition, the global optimization mechanism 110 outputs the result of the resource allocation to the physical resource management mechanism 120. When the switching of the resource occurs, the physical resource management mechanism 120 determines to which resource node the business service is allocated physically, and outputs an instruction about the allocation to the switching instruction mechanism 130. The switching instruction mechanism 130 outputs an instruction to the effect that the requested business service is allocated to a specific physical resource node relating to the instruction from the physical resource management mechanism 120, to a pertinent switching execution mechanism. The pertinent switching execution mechanism causes the resource node to switch a processing to be executed, according to the instruction from the switching instruction mechanism 130.
This embodiment mainly relates to the local optimization mechanisms of the grid service subsystems corresponding to respective business services and the global optimization mechanism 110 of the resource brokering subsystem 100. Therefore, further explanation for other portions will be omitted.
Next, a configuration of the local optimization mechanism will be mainly explained with reference to
The original local BV calculation policy is set to the policy setting unit 202 of the local optimization mechanism according to the business service, and the BV calculator 203 calculates the local BV according to the original local BV calculation policy. In the conventional art, after the operation administrator of the global optimization mechanism 110 and the administrators of the respective business services confer, the local BV calculation policies (e.g. distribution) in the local optimization mechanisms and the like were determined and set. However, in this embodiment, because the global optimization mechanism 110 carries out the adjustment for the entire system according to settings of the operation administrator in the global optimization mechanism 110, the local BV is calculated according to the original local BV calculation policy in the local optimization mechanism. For example, the local BV from 1 to 100 is calculated. However, as described below, when the local BV is calculated in extremely biased distribution, the global optimization mechanism 110 forcibly correct the biased local BV.
Next, a specific configuration of the global optimization mechanism 110 will be explained by using
The local BV distribution monitoring and adjustment unit 111 receives an update notification (including the service ID, local BV and resource ID) of the local BV from the local optimization mechanism of each business service, and carries out a processing relating to the update notification. At the processing, it refers to the distribution adjustment policy table 1121. In addition, if necessary, it causes the BV re-calculation policy setting unit 114 to carry out settings. Furthermore, when it carried out the adjustment of the local BV, it outputs the adjustment result to the BV recalculator 113.
The local BV distribution monitoring table 1111 stores, for each service ID, the number of receipt times, a count start time, an average, a distribution, a threshold flag of the average, a threshold flag of the variance and a state flag. Because the count start time is used in order to calculate the time from the count start, it is possible to hold an elapsed time itself while independently updating it.
As shown in
The BV re-calculation policy setting unit 114 receives a setting file from the operation administrator of the global optimization mechanism 110, or displays a setting screen on a display device to cause the operation administrator to input data, and stores the received data into the BV re-calculation policy table 1141. As shown in
The BV recalculator 113 receives the update notification of the local BV from the local optimization mechanism of each business service, and carries out a processing to convert the local BV into the global BV based on data stored in the BV re-calculation policy table 1141. Incidentally, there is a case where a processing for the local BV included in the resource request is carried out. When the update notification of the local BV is received, the calculated global BV is output to the resource manager 115.
The resource manager 115 updates the resource management table 1151 in response to an instruction from the BV recalculator 113 or the allocation determination unit 117. As shown in
When the resource request and return receiver 116 receives a resource request including the local BV from the local optimization mechanism of each business service, the resource request and return receiver 116 requests the BV recalculator 113 to calculate the global BV, and outputs a resource request including the global BV to the allocation determination unit 117. When receiving a resource return request including the resource ID from the local optimization mechanism of each business service, the resource request and return receiver 116 outputs the resource return request to the allocation determination unit 117.
The allocation determination unit 117 receives the resource request including the global BV via the resource request and return receiver 116, and registers the request into the resource request management table 1171, and refers to the resource management table 1151 managed by the resource manager 115 to judge whether or not the resource allocation should be changed. In a case where the resource allocation is switched, such as a case where the global BV relating to the resource request is greater than the minimum global BV among the resources, which are currently allocated, the allocation determination unit 117 refers to the allocation change management table 1172 to confirm that the resource having the minimum global BV is not in the switching, and after that, the allocation determination unit 117 registers data concerning the switching into the allocation change management table 1172. When the switching of the resource allocation is completed, the allocation determination unit 117 instructs the resource manager 115 to carry out the change of the resource management table 1151. Incidentally, when the switching is carried out, the pertinent records, which are registered in the resource request management table 1171 and the allocation change management table 1172, are invalidated. On the other hand, when receiving the resource return including the resource ID via the resource request and return receiver 116, the allocation determination unit 117 causes the resource manager 115 to register the release of the resource relating to the return into the resource management table 1151. In addition, the allocation determination unit 117 causes the resource manager 115 to register the allocation of the vacant resource to the business service whose global BV is the maximum value in the resource request management table 1171 to the resource management table 1151.
As shown in
Incidentally, because, in this embodiment, the resource manager 115, the resource request and return receiver 116 and the allocation determination unit 117 are not main portions, their specific operations are explained only by using
By using
When receiving the local BV, the resource manager 201 transmits the resource request including the local BV to the resource request and return receiver 116 of the global optimization mechanism 110 (step (4)).
The resource request and return receiver 116 of the global optimization mechanism 110 receives the resource request including the local BV from the resource manager 201 of the local optimization mechanism of the business service 1, and outputs a calculation request of the global BV for the local BV to the BV recalculator 113 (step (5)). The BV recalculator 113 refers to the BV re-calculation policy table 1141 to calculate the global BV for the received local BV (step (6)). This processing will be explained in detail later. The BV recalculator 113 outputs the global BV to the resource request and return receiver 116 (step (7)), and the resource request and return receiver 116 outputs the resource request including the global BV to the allocation determination unit 117. The allocation determination unit 117 registers data relating to the resource request (the service ID (here, business service 1) of the business service of the requesting source, the number of requested resources, and the global BV at the request), and refers to the resource management table of the resource manager 115 to judge whether or not the allocation of the resource should be carried out for the resource request. Here, the allocation determination unit 117 judges that the resource allocated to the business service 2 to be confiscated, and the resource to be allocated to the business service of the requesting source of this resource request (step (8)). In this case, the resource ID of the resource for which the business service is switched, the global BV included in the resource request, the service ID of the confiscation source (here, business service 2), which is the service ID of the business service from which the resource is confiscated, and the service ID of the allocation destination (here, business service 1), which is the service ID of the business service of the transmission source of the resource request, are registered into the allocation change management table 1172.
In addition, the allocation determination unit 117 transmits a resource release request including the resource ID of the resource to be confiscated to the resource manager 201 in the local optimization mechanism of the business service (here, business service 2) identified by the service ID of the confiscation source (step (9)). The resource manager 201 in the local optimization mechanism of the business service 2 receives the resource release request including the resource ID of the resource to be confiscated from the global optimization mechanism 110, and registers the resource release of the resource (step (10)). In addition, the resource manager 201 outputs the BV calculation request to the BV calculator 203 (step (11)). The BV calculator 203 receives the BV calculation request from the resource manager 201 to carry out the BV calculation (step (12)). Then, the BV calculator 203 outputs the local BV of the calculation result to the resource manager 201 (step (13)). The resource manager 201 receives the local BV from the BV calculator 203, and transmits the local BV update notification including the local BV, the resource ID and the service ID to the BV recalculator 113 of the global optimization mechanism 110 (step (14)).
The BV recalculator 113 of the global optimization mechanism 110 receives the local BV update notification from the local optimization mechanism of the business service 2, and carries out calculation of the global BV as described later (step (15)). Then, the BV recalculator 113 outputs the calculated global BV in addition to the service ID and the resource ID to the resource manager 115 (step (16)). The resource manager 115 updates the global BV of the pertinent record in the resource management table 1151 (step (17)).
In addition, the resource manager 201 in the local optimization mechanism of the business service 2 transmits a resource return notification including the resource ID to the allocation determination unit 117 through the resource request and return receiver 116 in the global optimization mechanism 110 (step (18)). Then, the allocation determination unit 117 causes the resource manager 115 to register the service ID (here, the business service 1) of the allocation destination and the BV at the request in association with the resource ID relating to the switching (
The resource manager 201 in the local optimization mechanism of the business service 1 receives the resource allocation notification from the global optimization mechanism 110, updates its own resource management table and outputs the BV calculation request to the BV calculator 203 (step (21)). The BV calculator 203 receives the BV calculation request from the resource manager 201 to carry out the BV calculation (step (22)). Then, the BV calculator 203 outputs the local BV of the calculation result to the resource manager 201 (step (23)). The resource manager 201 receives the local BV from the BV calculator 203, and transmits the local BV update notification including the local BV, the resource ID and the service ID to the BV recalculator 113 of the global optimization mechanism 110 (step (24)).
The BV recalculator 113 of the global optimization mechanism 110 receives the local BV update notification from the local optimization mechanism of the business service 1, and carries out the calculation of the global BV, which will be described later (step (25)). Then, the BV recalculator 113 outputs the calculated global BV in addition to the service ID and the resource ID to the resource manager 115 (step (26)). The resource manager 115 updates the global BV of the pertinent record in the resource management table 1151 (step (27)). By carrying out such a processing, the resource switching is carried out.
Incidentally, the processing flow shown in
Although a scene is indicated in which the global BV is calculated from the local BV in the aforementioned processing, the global BV is also further calculated in the scene as shown in
A monitor agent of each resource node or a service master in a master node of the business service, which collects notification from the monitor agents, transmits a state notification (e.g. including the number of sessions or the elapsed execution time) to the resource manager 201 in the local optimization mechanism of the business service, periodically or at the state change (step (31)). The resource manager 201 receives the state notification from the service master in the master node of the business service or the monitor agent of the allocated resource node, and outputs a local BV calculation request including the state notification to the BV calculator 203 (step (32)). The BV calculator 203 receives the local BV calculation request including the state notification and carries out calculation so as to update the local BV (step (33)). The BV calculator 203 notifies the resource manager 201 of the recalculated local BV (step (34)). The resource manager 201 updates its own management information (step (35)), and transmits a local BV update notification including the local BV, and the related resource ID and service ID to the BV recalculator 113 of the global optimization mechanism 110 (step (36)).
The BV recalculator 113 of the global optimization mechanism 110 receives the local BV update notification including the local BV, the resource ID and the service ID from the resource manager 201 in the local optimization mechanism of the business service, and carries out the calculation of the global BV from the local BV, which will be described in detail later (step (37)). Then, the BV recalculator 113 notifies the resource manager 115 of the global BV, the resource ID and the service ID (step (38)). The resource manager 115 receives the global BV, the resource ID and the service ID from the BV recalculator 113, and updates the pertinent record in the resource management table 1151 (step (39)).
Such a processing is repeated to update the global BV.
Next, the calculation of the global BV by the BV recalculator 113, for which the explanation was omitted in
After that, the BV recalculator 113 refers to the BV re-calculation policy table 1141 of the BV re-calculation policy setting unit 114 to judge whether or not the BV re-calculation policy for the business service is set (step S3). That is, it is judged whether or not the record for the received service ID exists. Incidentally, even when the record for the received service ID exists, there is a case where “off” is set to the recalculation flag. In such a case, because the processing is carried out according to the input from the local BV distribution monitoring and adjustment unit 111 as described in detail later, the explanation more than this is omitted here. When there is no record for the received service ID, the BV recalculator 113 carries out a predetermined error processing because of the error (step S19). Then, the processing returns to the step S1.
On the other hand, when the record for the received service ID exists, the BV recalculator 113 judges whether or not a method of “section compression+section shift” is designated as the BV recalculation policy (step S5). This is judged by using data such as values of parameters (or graph/function) in the BV recalculation policy table 1141. When the method of “section compression+section shift” is adopted, the BV recalculator 113 calculates the global BV by ((the local BV)*(section compression ratio)+(section shift value)), for example, and stores the global BV into the storage device such as the main memory (step S7). However, the function is not limited to such a linear method of “compression and the section shift”. Then, the processing shifts to the step S17.
An example of the method of “section compression+section shift” is shown in
On the other hand, in
In addition,
On the other hand, when it is judged at the step S5 that the “section compression+section shift” method is not designated, the BV recalculator 113 judges whether or not a method of “mapping to discontinuous values” is designated (step S9). This is judged by using data such as values of parameters (or graph/function) in the BV recalculation policy table 1141. When the method of “mapping to discontinuous values” is designated, the BV recalculator 113 carries out mapping to the global BV corresponding to the local BV section including the notified value (step S11). Then, the processing shifts to the step S17.
An example of the method of “mapping to discontinuous values” will be explained by using
On the other hand, when the method of “mapping to discontinuous values” is not designated, the BV recalculator 113 judges whether or not a “function definition” method is designated (step S13). In this step, the BV recalculator 113 judges by using data such as values of parameters (or graph/function) in the BV re-calculation policy table 1141. When the “function definition” method is designated, the BV recalculator 113 calculates the global BV by f(local BV) wherein the f(x) is a designated function (step S15). Then, the processing shifts to step S17.
An example of the “function definition” method will be explained by using
Another example of the “function definition” method will be explained by using
When it is judged at the step S13 that the “function definition” method is not designated, the processing shifts to step S19 in this embodiment. That is, an error processing is carried out. After the error processing, the processing returns to the step S1.
On the other hand, after the step S7, S11 or S15 is executed, the BV recalculator 113 outputs the global BV to the resource manager 115 to cause the resource manager 115 to update the resource management table 1151 (step S17). In case of the notification from the resource request and return receiver 116, the global BV is output to the resource request and return receiver 116. Then, the processing returns to the step S1.
By carrying out such a processing, it becomes possible to calculate the global BV by any one of the method of “section compression+section shift”, the method of “mapping to discontinuous values” and the “function definition” method according to the business service of the notification source. That is, the global BV is calculated independently of the calculation of the local BV in the BV calculator 203 of the local optimization mechanism and while considering the entire system to carry out the resource switching.
Incidentally, it is possible to dynamically change the calculation method of the global BV. In such a case, the BV re-calculation policy setting unit 114 registers two or more records into the BV re-calculation policy table 1141, and sets ON to the re-calculation flag for the valid record.
An example of dynamically changing the calculation method will be explained by using
Thus, the first business service, which consumes a lot of resources, is preceded in the daytime, and oppositely, the second business service is preceded by changing the values of the global BV in a time range when the number of use times of the batch processing is greater than that of the business service such as the videophone, such as the night of the weekday or the holiday. Therefore, more flexible and effective utilization of the system resources is enabled.
Incidentally, the switching of the BV re-calculation policy is not limited to two stages and it is possible to switch the policy in more stages. In addition, the switching may be carried out according to not only the reference relating to the time but also other references. For example, other references may be weather or a congestion state of the network.
When summarizing the aforementioned explanation, the resource allocation is carried out as shown in
Next, in the state of
Furthermore, in the state of
After that, in the state of
Furthermore, in the state of
Next, a processing of the local BV distribution monitoring and adjustment unit 111 will be explained. For example, a case is considered where the administrator of the business service sets the policy as shown in
In order to adjust the distribution, the local BV distribution monitoring and adjustment unit 111 carries out a following processing. First, the local BV distribution monitoring and adjustment unit 111 receives the update notification of the local BV, which contains the local BV, the service ID and the resource ID, from the local optimization mechanism of the business service, and stores the update notification into the storage device such as the main memory (
On the other hand, when the distribution monitoring flag for the business service is ON, the local BV distribution monitoring and adjustment unit 111 judges whether or not the local BV monitoring and adjustment policy for the business service is set (step S25). The local BV monitoring and adjustment policy is specified by the distribution function in the distribution adjustment policy table 1121, parameters (average and variance) of the distribution function, the threshold of the average difference and the threshold of the variance difference. When the local BV monitoring and adjustment policy for the business service is not set, the local BV distribution monitoring and adjustment unit 111 carries out a predetermined error processing (step S27). Then, the processing returns to the step S21.
On the other hand, when the local BV monitoring and adjustment policy for the business service is set, the local BV distribution monitoring and adjustment unit 111 carries out a statistical processing, that is, calculation of the average and variance, and registers the processing result into the local BV distribution monitoring table 1111 (step S29). Furthermore, the local BV distribution monitoring and adjustment unit 111 judges from the grace period (time/the number of times) in the distribution adjustment policy table 1121 and the number of receipt times or count start time in the local BV distribution monitoring table 1111, whether or not the grace period of the correction of the local BV of the business service is elapsed (step S31). When the grace period is defined by the number of times, the local BV distribution monitoring and adjustment unit 111 judges whether or not the number of receipt times in the local BV distribution monitoring table 1111 exceeds the defined threshold. In addition, when the grace period is defined by time, the local BV distribution monitoring and adjustment unit 111 judges based on the difference between the count start time in the local BV distribution monitoring table 1111 and the current time, whether or not the grace period is elapsed.
When it is judged that the grace period of the correction of the local BV of the business service is not elapsed, the processing returns to the step S21. On the other hand, when it is judged that the grace period of the correction of the local BV of the business service was elapsed, the local BV distribution monitoring and adjustment unit 111 judges whether or not the absolute value of the difference between the average in the local BV distribution monitoring table 1111 and a parameter (i.e. the average) of the distribution function in the monitoring and adjustment policy defined in the distribution adjustment policy table 1121 exceeds the threshold of the average difference in the distribution adjustment policy table 1121 (step S33). When it is judged that the absolute value of the difference between the average in the local BV distribution monitoring table 1111 and the average set in the monitoring and adjustment policy does not exceed the threshold of the average difference, the processing shifts to step S37. Incidentally, when the thresholds include the upper limit and the lower limit, it is judged whether or not the difference is within a range specified by the upper limit and the lower limit.
On the other hand, when it is judged that the absolute value of the difference between the average in the local BV distribution monitoring table 1111 and the average set in the monitoring and adjustment policy exceeds the threshold of the average difference, the local BV distribution monitoring and adjustment unit 111 corrects the parameter value (e.g. the section shift value) for the pertinent business service in the BV re-calculation policy table 1141 of the BV re-calculation policy setting unit 114 by the difference between the average in the local BV distribution monitoring table 1111 and the average set in the monitoring and adjustment policy (step S35). {(the section shift value)−(the difference between the average in the local BV distribution monitoring table 1111 and the average set in the monitoring and adjustment policy)} is calculated and used for the correction. Other correction method may be adopted.
In case of No route at the step S33 or after the step S35, the local BV distribution monitoring and adjustment unit 111 judges whether or not the absolute value of the difference between the variance in the local BV distribution monitoring table 1111 and the parameter (i.e. variance) of the distribution function in the monitoring and adjustment policy defined in the distribution adjustment policy table 1121 exceeds the threshold of the variance difference in the distribution adjustment policy table 1121 (step S37). When it is judged that the absolute value of the difference between the variance in the local BV distribution monitoring table 1111 and the variance set in the monitoring and adjustment policy does not exceed the threshold of the variance difference, the processing shifts to step S45. Incidentally, when the thresholds include the upper limit value and the lower limit value, the local BV distribution monitoring and adjustment unit 111 judges whether or not the difference is out of the range specified by the upper limit value and the lower limit value.
On the other hand, when the absolute value of the difference between the variance in the local BV distribution monitoring table 1111 and the variance set in the monitoring and adjustment policy exceeds the threshold of the variance difference, the local BV distribution monitoring and adjustment unit 111 changes the state for the pertinent business service to “under adjustment” in the local BV distribution monitoring table 1111 (step S39). In addition, the local BV distribution monitoring and adjustment unit 111 causes the BV re-calculation policy setting unit 114 to set OFF to the re-calculation flag of the pertinent business service in the BV re-calculation policy table 1141 (step S41). Then, the local BV distribution monitoring and adjustment unit 111 generates the local BV in the distribution (the distribution function and parameters of the distribution function) set in the distribution adjustment policy table 1121, and outputs the local BV to the BV recalculator 113 (step S43). For example, a random number in the BV range (specified by the lower limit value and the upper limit value), which is defined in the BV re-calculation policy table, is generated. For example, when the normal distribution of N(μ, σ2) is designated, the normal random number is generated by the Box-Muller transform or the like, and the random number is generated in the BV range. Other distribution may be designated.
Incidentally, “OFF” may not be set to the re-calculation flag, but “1” may be set to the section compression ratio included in the parameters.
Then, the processing returns to the step S21.
On the other hand, when it is judged that the absolute value of the difference between the variance in the local BV distribution monitoring table 1111 and the variance set in the monitoring and adjustment policy does not exceed the threshold of the variance difference, the local BV distribution monitoring and adjustment unit 111 judges whether or not the state of the pertinent business service is “under adjustment” (step S45). When it is judged that the state of the pertinent business service is not “under adjustment”, the processing returns to the step S21. When it is judged that the state of the pertinent business service is “under adjustment”, the local BV distribution monitoring and adjustment unit 111 change the state of the pertinent business service to the “in waiting of the adjustment” in the local BV distribution monitoring table (step S47). In addition, the local BV distribution monitoring and adjustment unit 111 causes the BV re-calculation policy setting unit 114 to set ON to the re-calculation flag of the pertinent business service in the BV re-calculation policy table 1141 (step S49). Then, the processing returns to the step S21.
By carrying out the aforementioned processing, even when the distribution of the local BV is inappropriate, it is possible to appropriately correct the distribution. Therefore, an appropriate resource allocation is enabled.
Although the embodiment of this invention is explained, this invention is not limited to this embodiment. For example, the functional block diagrams shown in
In addition, as for the flowchart and the sequence diagram, when the same processing result can be obtained, the flowchart and the sequence diagram can be modified. For example, the order of the steps may be exchanged, and some steps may be executed in parallel.
Incidentally, the local optimization mechanism and the global optimization mechanism 110 are computer devices as shown in
The local optimization mechanism and the global optimization mechanism 110 may be implemented in separate computers and may be implemented in the same computer.
Although the present invention has been described with respect to a specific preferred embodiment thereof, various change and modifications may be suggested to one skilled in the art, and it is intended that the present invention encompass such changes and modifications as fall within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2006-307382 | Nov 2006 | JP | national |