This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2014-126971, filed on Jun. 20, 2014, the entire contents of which are incorporated herein by reference.
The technology disclosed herein relates to a computer-readable recording medium having stored therein an outputting program, an output apparatus and an outputting method.
A cloud system is known wherein a plurality of virtual machines (VMs) are set in a virtualization environment using a resource of an information processing apparatus such as a server or a PC (Personal Computer) and are provided to users.
Further, in a cloud system, a technology is known wherein, in order to support operation management of a virtual machine (VM) to be provided to users, operating information of a virtual machine (VM) operating on the information processing apparatus is monitored and a result of the monitoring is outputted (refer to, for example, Patent Document 1).
[Patent Document 1] Japanese Laid-Open Patent Publication No. 2010-277208
In a cloud system, an information processing apparatus that is a resource is frequently shared by a plurality of virtual machines (VMs). Therefore, a virtual machine (VM) that is in an activated (started up) state although it is not utilized for execution of processing (such a virtual machine (VM) is hereinafter referred to also as idle-state virtual machine (VM) or idle virtual machine (VM)) wastefully utilizes a resource of the information processing apparatus.
In order to suppress wasteful utilization of a resource by an idle-state virtual machine (VM), for example, it seems recommendable for a manager of the cloud system to urge a user of a virtual machine (VM) to stop an idle-state virtual machine (VM) using a result of monitoring of operating information (usage rate, use amount and so forth of a resource) of the virtual machine (VM).
Normally, the manager can acquire a result of monitoring of operating information of a virtual machine (VM) when the virtual machine (VM) is operating. However, also there is a case in which operating information (performance information) of a virtual machine (VM) to be provided does not exist (is not acquired) in a result of monitoring. Where operating information of at least part of virtual machines (VMs) is not included in a result of monitoring, a plurality of causes are considered applicable that the virtual machine (VM) is in a stopping state, that a machine that performs monitoring (for example, a management virtual machine (VM) that performs management of virtual machines (VMs)) is in a stopping state or fails to operate due to occurrence of a failure and so forth.
Therefore, even if a result of monitoring (operation result) of operating information is provided, it is difficult for the user of a virtual machine (VM) to specify an actual operation situation of the virtual machine (VM) within a period within which there exists no operating information including information of whether or not the virtual machine (VM) has been operative.
In this manner, there is a subject that, since the reliability of a result of monitoring is low, it is difficult for the manager to let the user to be conscious of the necessity for stopping of the virtual machine (VM) and there is a case in which it is difficult to implement suppression of useless utilization of a resource by a virtual machine (VM) in an idle state.
According to an aspect of the embodiments, there is provided a computer-readable recording medium having stored therein an outputting program for causing a computer to execute a process. The process includes acquiring operating information relating to an operation situation within a predetermined period of a virtual machine operating on an information processing apparatus from a management machine that performs acquisition of the operating information and activation control of the virtual machine. The process further includes outputting, where a first period within which operating information of the virtual machine is not acquired is included in the predetermined period, operation actual results of the virtual machine within the first period based on operating information of the management machine within the first period and operating information of the virtual machine acquired at least at one of preceding and succeeding timings to the first period.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
In the following, an embodiment of the present technology is described with reference to the drawings. It is to be noted that the embodiment described below is illustrative to the end, and there is no intention to eliminate various modifications and applications of the technology not specified in the embodiment described below. Therefore, variations and modifications can be made without departing from the scope of the present invention. It is to be noted that, in the drawings used for embodiments described below, unless otherwise specified, like elements to those in the figures are denoted by like reference characters.
[1] Collection of Operating Information
In a cloud system, when virtual machines (VMs) are disposed, a central processing unit (CPU) resource is shared by the virtual machines (VMs). However, a storage region allocated to a virtual machine (VM) is occupied as a memory resource by the virtual machine (VM). Accordingly, in the cloud system, a resource management of an information processing apparatus, particularly of a memory resource, is important.
As described above, in order to release a memory of the idle-state virtual machines (VMs), the idle-state virtual machines (VMs) may be stopped. However, since a manager who does not understand a use application of each virtual machine (VM) is difficult to stop the virtual machines (VMs) without permission, it seems recommendable to urge a user of a virtual machine (VM) to stop the virtual machine (VM). However, a user of a private cloud system provided in an organization such as an enterprise is low in consciousness relating to waste of an allocation resource or energy consumption or an accounting in use of a virtual machine (VM), and frequently leaves a virtual machine (VM) in a normally activated state.
The user can start up a virtual machine (VM) when the user wants to use the virtual machine (VM) and can stop the virtual machine (VM) freely within a period within which the virtual machine (VM) is not to be used. Accordingly, in order to urge the user to voluntarily stop an idle-state virtual machine (VM) to reduce the resource use amount, it is preferable for the cloud system to visualize an operation situation of virtual machines (VMs) relating not only to time zones in which the virtual machines (VMs) operate but also to stopping time zones in which the virtual machines (VMs) stop. This is because, by causing the user to grasp stopping time zones of the virtual machines (VMs), the cloud system can cause the user to correctly recognize an operation situation (utilization situation) of each virtual machine (VM) and have awareness to use the virtual machines (VMs) effectively.
Conventionally, since it is a prerequisite that a server is operating usually, when it is intended to cause the user to recognize an operation situation of virtual machine (VM), it is a principal method to present information of time zones within which virtual machines (VMs) operate to the user. For example, regarding a time zone within which a virtual machine (VM) operates, the cloud system can decide whether the virtual machine (VM) executes processing or is in an idle state from operating information and so forth collected from the virtual machine (VM) and display a result of the decision on a Web site or the like that can be browsed by the user. It is to be noted that a server that acquires operating information indicative of an operation situation of a virtual machine (VM) from a management virtual machine (VM) that collects operating information and performs processing, totalization and so forth and then outputs a result of the process to the user is hereinafter referred to as outputting server.
On the other hand, when a virtual machine (VM) is placed into a power OFF state by the user or operating information is not sampled because of a failure of a management virtual machine (VM) by a system trouble or the like, loss of data occurs. Even if loss of data in operating information occurs in this manner, it is important for the outputting server to decide and complement data in which loss occurs from a point of view of reduction of the resource usage.
However, it is difficult for the management virtual machine (VM) to re-sample operating information sampled once or perform retroactive sampling in the past, and, when loss of data occurs in the operating information, it is difficult to perform totalization again.
To the user, it is difficult to confirm an operation situation of a virtual machine (VM) in the past from information other than operating information presented by the operation entity side (manager). Accordingly, when there is a period within which operating information is lost by a failure of the management virtual machine (VM), it is preferable for the manager to present a report of operating information including information for assisting decision of a loss period of operating information to the user.
[2] Contrast Example
Next, a contrast example to the embodiment is described. It seems recommendable for an outputting server to perform, as a decision method of data lost in operating information, data complementation for the data loss portion caused by a failure of a management virtual machine (VM) using various approximation methods such as a least squares method. However, if the outputting server performs data complementation regarding a time zone within which there is no data in operating information as a time zone of data loss, then a situation different from an actual situation is sometimes represented.
For example, a case is assumed in which the outputting server acquires operation data including a plurality of pieces of operating information depicted in
The outputting server calculates approximate lines exemplified in
Then, the outputting server calculates data after the complementation within the time zones within which there is no data (between 8 and 9 a.m. and between 10 and 11 a.m. of the virtual machines VM1, VM2 and VM3 and between 10 and 11 a.m. of the virtual machine VM2) using values on the approximate lines of
However, in
[3] One Embodiment
Since, in the contrast example, complementation is performed for all time zones within which there is no operating information in the operation data as described above with reference to
In contrast, in a system according to one embodiment, the outputting server can decide whether a time zone within which there is no operating information in operation data is a time zone of “power OFF of the virtual machine (VM) by the user” or of “data loss by a failure of the management virtual machine (VM)”. Accordingly, the outputting server can perform complementation suitably for a time zone within which “data loss by a failure of the management virtual machine (VM)” occurs in the operation data, and the reliability of the report of the operating information can be enhanced. In the following, details of the system according to the present embodiment are described.
[3-1] System According to the One Embodiment
The hardware resource 1 includes m (m is an integer equal to or greater than one) servers 1-1 to 1-m, and implements a virtualization environment 10 using resources including the servers 1-1 to 1-m by a virtualization technology. Each of the servers 1-1 to 1-m can include, as resources used in the virtualization environment 10, for example, a processor such as a CPU, a storage apparatus such as a memory, an auxiliary storage apparatus such as a Hard Disk Drive (HDD) or a Solid State Drive (SSD), an interface such as a network card and so forth. It is to be noted that the servers 1-1 to 1-m are an example of an information processing apparatus.
The virtualization environment 10 is managed by a manager of the cloud system using the hardware resource 1. In the virtualization environment 10, n (n is an integer equal to or greater than 1) virtual machines (VMS) 11-1 to 11-n (in the following description, where the virtual machines VM11-1 to VM11-n are not distinguished from each other, each of them is hereinafter referred to simply as virtual machine VM11) and one or more (in
The virtual machines VM11 are provided to user terminals 6-1 to 6-i (i is an integer equal to or greater than 1), for example, through the network 5 by the manager of the cloud system. It is to be noted that, as a providing method of a virtual machine VM11 to a user, various known methods can be used. As an example, the Web server 4 includes an application for performing control (utilization) of a virtual machine VM11, and the virtual machine VM11 is provided to a user by utilization of the virtual machine VM11 through the application by the user. It is to be noted that the network 5 may include the Internet, an intranet or a combination of them.
Each of the virtual machines VM11 exemplarily includes a virtual operating system (OS) 12 to be executed on a hyper visor not depicted, a predetermined application 14 to be executed by the user and middleware 13 for executing the application 14 on the virtual operating system (OS) 12.
The management virtual machine VM15 is used for management of the cloud system such as operation management of the virtual machines VM11 by the manager of the cloud system. For example, the management virtual machine VM15 can perform power management of the virtual machines VM11, sampling of operating information (behavior information) from the virtual machines VM11, production of operation data and so forth.
Exemplarily, the management virtual machine VM15 can include a virtual operating system (OS) 16 to be executed on the hypervisor, a power management unit 17, an operating information collecting unit 18 and a storage unit 19.
The power management unit 17 performs control of power to the virtual machines VM11 through the virtual operating system (OS) 16 and the hypervisor. For example, in accordance with a control instruction for power ON/OFF to a virtual machine VM11 from the user, the power management unit 17 controls ON control or OFF control of the power to the corresponding virtual machine VM11. In this manner, in the virtual machines VM11 in the present embodiment, the ON/OFF control of the power to a virtual machine VM11 by the user is executed through the power management unit 17 of the management virtual machine VM15. For example, when the user issues a controlling instruction for ON/OFF control of the power to a virtual machine VM11 from a site for management of the virtual machine VM11 provided by the Web server 4 or the like, a notification of the controlling instruction may be issued from the Web server 4 or the like to the power management unit 17.
It is to be noted that the power OFF control of a virtual machine VM11 may include control for saving, for example, information of the virtual machine VM11 into the auxiliary storage apparatus to release resources allocated to the virtual machine VM11 such as a CPU resource, a memory resource, a network resource and so forth. Meanwhile, the power ON control of a virtual machine VM11 may include a control for producing the virtual machine VM11 from a state of the virtual machine VM11 before power OFF saved in the auxiliary storage apparatus or the like, a template or the like and allocating a CPU resource, a memory resource, a network resource and so forth to the produced virtual machine VM11.
The operating information collecting unit 18 periodically collects operating information of the virtual machines VM11 through the virtual operating system (OS) 16 and the hypervisor and stores the collected information as operation data 19a exemplified in
As an example, the operating information collecting unit 18 collects, after every ten minutes, the operating information indicating a resource utilization situation (operation situation) such as a CPU usage rate, a data amount of the disk I/O, a data amount of the network I/O and so forth of each virtual machine VM11 from each of the management virtual machine VM15 and the virtual machines VM11. It is to be noted that, as the operating information (behavior information), for example, an operating log that is utilization information of a resource relating to accounting of the cloud system is available. The operating log may include not only the data described above but also a disk usage rate and so forth.
The storage unit 19 is a storage region for storing the operation data 19a collected by the operating information collecting unit 18 therein and is implemented by a storage apparatus such as a memory or an auxiliary storage apparatus such as an HDD from within the hardware resource 1.
In this manner, the management virtual machine VM15 can be regarded as an example of a management machine that performs acquisition of operating information relating to an operation situation within a predetermined period of the virtual machines VM11 operating on the servers 1-1 to 1-m and activation control of the virtual machines VM11.
As depicted in
In the following description of the present embodiment, it is assumed that the outputting server 2 produces and outputs an operation actual results report 21b in a unit of one day taking operating information of virtual machines (VMs) within a period within which operating information is not acquired into consideration. The outputting server 2 may be implemented by an information processing apparatus as hardware or may be implemented by a virtual machine (VM) that operates using the hardware resource 1 or some other hardware resource. Details of the outputting server 2 are hereinafter described.
The VM management information storage server 3 stores management information (VM management information 31a; refer to
The VM management information storage server 3 can include the storage unit 31 for storing the VM management information 31a therein. The storage unit 31 is a storage region for storing the VM management information 31a therein and is implemented by an auxiliary storage apparatus such as an HDD.
The Web server 4 is a server for laying open the operation actual results report 21b produced by the outputting server 2. The Web server 4 can provide a report providing site for management of the virtual machines VM11 to a user (terminals 6-1 to 6-i), and the user can access the Web server 4 to read and download the operation actual results report 21b.
[3-2] Example of the Configuration of the Output Server
Now, a detailed configuration of the outputting server 2 is described. The outputting server 2 can exemplarily include a storage unit 21, a retention unit 22, an operation data acquisition unit 23, an operation data list production unit 24, an operation decision unit 25, a first integration unit 27, a second integration unit 28, a VM management information addition unit 29 and a report transfer unit 30.
The storage unit 21 is a storage apparatus capable of storing various data and programs therein. In the present embodiment, the storage unit 21 can store files such as the operation data 21a and the operation actual results report 21b therein. It is to be noted that the storage unit 21 is implemented by an auxiliary storage apparatus such as an HDD or an SSD.
The retention unit 22 is a storage apparatus capable of storing various data and programs therein. In the present embodiment, the retention unit 22 can store data such as an operation data list 22a, an operation decision list 22b, a first integration list 22c and a second integration list 22d therein. It is to be noted that the retention unit 22 is implemented by a storage unit such as a memory.
The operation data acquisition unit 23 acquires the operation data 19a such as data of Systemwalker Service Quality Coodinator (SQC) collected by the management virtual machine VM15 (operation information collection unit 18) and stores (copies) the operation data 19a into the storage unit 21 in the outputting server 2. In particular, the operation data acquisition unit 23 can be regarded as an example of an acquisition unit for acquiring operating information from the management virtual machine VM15. The acquisition of the operation data 19a by the operation data acquisition unit 23 can be performed by various known techniques such as, for example, the File Transport Protocol (FTP), and detailed description of the techniques is omitted. It is to be noted that the operation data 21a that is stored into the storage unit 21 by the operation data acquisition unit 23 is same as or substantially same as the operation data 19a (refer to
The operation data list production unit 24 produces a list in which the operation data 21a stored in the storage unit 21 are arranged in a time series for each virtual machine (VM) and stores the produced list as the operation data list 22a exemplified in
The operation decision unit 25 decides an operation state (operation state) of each virtual machine (VM) within each time zone from information of the management virtual machine VM15 and the virtual machines VM11 set in the operation data list 22a and stores a result of the decision as the operation decision list 22b exemplified in
As an example, where a CPU usage rate for the virtual machine VM11 is set in the operation data list 22a, the operation decision unit 25 decides that the virtual machine VM11 is in a power ON state that is a processing execution state in which processing is being executed or an idle state. It is to be noted that, in the example of
Further, while a CPU usage rate for the management virtual machine VM15 is set in the operation data list 22a, if a CPU usage rate of a virtual machine VM11 is not set, then the operation decision unit 25 decides that the virtual machine VM11 is placed in a power OFF state by the user. It is to be noted that, in the example of
Further, where a CPU usage rate of the management virtual machine VM15 is not set in the operation data list 22a, the operation decision unit 25 decides that a failure occurs in the management virtual machine VM15. It is to be noted that, since the management virtual machine VM15 that collects operating information of the virtual machines VM11 suffers from a failure within the time zone, also a CPU usage rate of the virtual machines VM11 is not set (refer to VM1, VM2 and VM3 within the time zone from 10:00 to 10:50 in
In this manner, taking notice of a time zone within which operating information is not collected successfully, if collection of operating information of all virtual machines (VMs) including the management virtual machine VM15 at the same timing within the time zone results in failure, then the operation decision unit 25 can decide that data loss occurs because of a failure of the management virtual machine VM15.
On the other hand, if data collection is not completed successfully with regard to a certain virtual machine VM11 but is completed successfully with regard to some other virtual machine VM11, then the operation decision unit 25 can decide that the virtual machine VM11 with regard to which data collection is not completed successfully is in a power OFF state by the user. In other words, if a second period within which operating information of the management virtual machine VM15 is not acquired successfully is included in a first period within which there is no operating information of a virtual machine VM11, then the operation decision unit 25 can estimate that the operation state of the virtual machine VM11 within a period not included in the second period from within the first period is a stopping state.
In particular, the operation decision unit 25 can decide, on the basis of presence or absence (including a combination of such presence and absence) of an operating information log of a virtual machine VM11 and the management virtual machine VM15 that normally continues to operate during operation of the cloud system, whether the virtual machine VM11 is in a power OFF state or data loss by a failure of the management virtual machine VM15 occurs within a time zone within which the operating information of the virtual machine VM11 is lost. Accordingly, also where the operating information of a virtual machine VM11 is lost in the operation data list 22a, a power OFF state by voluntary stopping of the power to the virtual machine VM11 by the user can be identified. Therefore, the reliability of the operation actual results report 21b can be enhanced.
The first integration unit 27 performs a process for integrating operation states within a plurality of time zones of each virtual machine VM11 in the operation decision list 22b produced by the operation decision unit 25, and produces a first integration list 22c exemplified in
For example, the first integration unit 27 reads out a plurality of (in this case, six) operation states in an integration unit (one-hour unit) from the operation decision unit 22b with regard to each virtual machine VM11, and decides an operation state within the integrated time zone in accordance with the following conditions.
(I) When the plurality of readout operation states include at least one “down”: it is decided that the integrated time zone is a time zone of data loss (decision impossible).
(II) When the plurality of read out operation states do not include “down” but include at least one “pon”: an idle decision process hereinafter described is performed using the operating information within the time zone (in a unit of ten minutes) in which “pon” is set.
(III) When none of the conditions (I) and above is satisfied: it is decided that, within the integrated time zone, the virtual machine VM11 is in a power OFF state.
As an example, a case is described in which the first integration unit 27 performs integration of operation states for every one hour (between 8 and 9 a.m., between 9 and 10 a.m., between 10 and 11 a.m. and between 111 and 12 a.m.) in the operation decision list 22b depicted in
For example, since “down” is set in all of six time zones (unit of ten minutes) for the virtual machines VM1 to VM3 between 10 and 11 a.m., the first integration unit 27 decides that the integrated time zone is a time zone of data loss on the basis of the condition (I) described above. Then, as depicted in
Further, since “pon” is set to all of the time zones (unit of ten minutes) between 9 and 10 a.m. of the virtual machines VM1, VM2 and VM3 and between 11 and 12 a.m. of the virtual machines VM1 and VM3, the first integration unit 27 performs an idle decision process on the basis of the condition (II) described above. In the idle decision process, the first integration unit 27 decides whether the operation state within the integrated time zone is a processing execution state and an idle state in the power ON state.
For example, the first integration unit 27 refers to the operation data list 22a to decide whether or not at least one of the elements (CPU usage rate, disk I/O amount and network I/O amount) of the operating information within the time zones to which “pon” is set is lower than the threshold value. Then, the first integration unit 27 calculates the total of time periods within which all of the elements are lower than the threshold value within the time zone in an integration unit including the time zone with regard to which the decision is performed. Then, the first integration unit 27 decides that the operation state is an idle state if the ratio of the calculated total of time periods to the time zone of the integration unit is higher than the predetermined threshold value, but decides that the operation state is a processing execution state if the ratio of the calculated total is equal to or lower than the predetermined threshold value.
In the examples depicted in
Further, the first integration unit 27 decides that at least one of the elements is equal to or higher than the threshold value within all of the six time zones between 9 and 10 a.m. of the virtual machine VM2 and between 11 and a.m. of the virtual machine VM3. Then, the first integration unit 27 decides that the ratio of the total of time periods within which the element is equal to higher than the threshold value to the time zone (one hour) of the integration unit is lower than a ratio (predetermined threshold value) of the idle time, and decides that the virtual machines VM2 and VM3 are in a processing execution state within the time zones. Then, as depicted in
Further, the first integration unit 27 decides that neither “down” nor “pon” is set between 8 and 9 a.m. of the virtual machines VM1 and VM3 and between 8 and 9 a.m. and between 11 and 12 a.m. of the virtual machine VM2 (the conditions (I) and (II) given hereinabove are not satisfied). It is to be noted that this signifies that “poff” is set to all of the six time zones (unit of ten minutes). Then, the first integration unit 27 decides on the basis of the condition (III) given hereinabove that the virtual machines (VMs) are in a power OFF state within the time zones. Then, as depicted in
It is to be noted that characters of a filled circle (•), an open circle (∘), a hyphen (-) and a cross mark (x) indicative of the operation states set in the first integration list 22c are exemplary and are not restrictive. The operation states can be represented by various techniques such as, for example, by representation of a binary number of 2 bits.
In this manner, the first integration unit 27 performs a state decision for every one hour for producing an operation actual results report 21b on the basis of the operation data list 22a and the operation decision list 22b. At this time, the first integration unit 27 can decide in the integration process whether the virtual machine (VM) is in a processing execution state or in an idle state within a time zone of a power ON state in the operation data list 22a. Consequently, the time zone of the power ON state can be specified to one of a processing execution state and an idle state, and the reliability of the operation actual results report 21b can be enhanced.
The second integration unit 28 performs a process for integrating operation states within a time zone of a plurality of integration units of each virtual machine VM11 to a totalization unit in the operation actual results report 21b for the first integration list 22c for which the integration process has been performed by the first integration unit 27. Then, the second integration unit 28 produces a second integration list 22d exemplified in
It is to be noted that, in the following description, it is a premise that, even if a failure occurs, the management virtual machine VM15 is restored within 24 hours, and a case in which all time zones within 24 hours exhibit a data loss state (decision impossible) is excluded. This is because, when the management virtual machine VM15 stops from a failure, it is frequently restored in approximately 6 hours and it is a rare case that a failure of the management virtual machine VM15 occurs continuously for 24 hours. Also it is a reason that, if such a failure that the management virtual machine VM15 continues to be down for more than 24 hours occurs, then the operation state at this time does not have appealing power for reduction of idle virtual machines (VMs).
The second integration unit 28 reads out a plurality of (in this case, 24) operation states in an integration unit (unit of one day) from the first integration list 22c, for example, with regard to each virtual machine VM11, and decides an operation state within an integrated time zone (one day) in accordance with conditions described below.
(1) When the plurality of readout operation states include at least one processing execution state (filled circle: •): since there are actual results that a process is executed, it is decided that the integrated time zone is a time zone in a processing execution state.
(2) When the plurality of readout operation states include no processing execution state but include at least one data loss (cross mark: x):
(2-1) When the time zone just before that of the data loss indicates an idle state (open circle: ∘): since it can be decided that a time zone other than that within which a failure occurs in the management virtual machine VM15 is a time zone of an idle state, it is decided that the integrated time zone indicates a substantially idle state.
(2-2) When the time zone just before that of the data loss indicates a power OFF state (hyphen: -):
(2-2-1) When all time zones other than the time zone of data loss indicate a power OFF state: it is decided that the integrated time zone is a time zone in a power OFF state.
(2-2-2) When the time zones other than the time zone of data loss include at least one idle state: it is decided that the integrated time zone indicates an idle state.
(3) When the plurality of readout operation states include no processing execution state and no data loss:
(3-1) When all time zones indicate a power OFF state: it is decided that the integrated time zone indicates a power OFF state.
(3-2) When the plurality of read out operation states include at least one idle state: it is decided that the integrated time zone indicates an idle state.
It is to be noted that, in a day for which the decision of “substantially idle state” is made in the condition (2-1) above, the operation state within the time zone of data loss is unknown. However, since a time zone within which data exists normally indicates an idle state and also immediately preceding data indicates an idle state, there is the possibility that the virtual machine VM11 may be left in an idle state for a long period of time within the day. Therefore, where the condition (2-1) described above is satisfied, by setting the day as a day in a “substantially idle state”, reduction and power OFF of unnecessary virtual machines VM11 can be emphasized to the user similarly to a day determined as a day of an idle state and suppression of useless utilization of a resource can be anticipated.
As an example, a case is described in which the second integration unit 28 performs integration of operation states in the first integration list 22c depicted in
For example, the second integration unit 28 decides that no processing execution state is found with regard to the virtual machine VM1 and besides the immediately preceding data to data loss (between 10 and 11 a.m.) indicates an idle state (between 9 and 10 a.m.). Accordingly, the second integration unit 28 estimates on the basis of the condition (2-1) described above that the location at which the data loss is indicated indicates an idle state with a high degree of probability, and sets a slanting line circle indicating a substantially idle state to the virtual machine VM1 as depicted in
Further, the second integration unit 28 decides that a processing execution state is indicated between 9 and 10 a.m. with regard to the virtual machine VM2. Accordingly, the second integration unit 28 sets a filled circle (•) indicative of a processing execution state to the virtual machine VM2 as depicted in
Further, the second integration unit 28 decides that a processing execution state is indicated between 9 and 10 a.m. and between 11 and 12 a.m. with regard to the virtual machine VM3 similarly to the virtual machine VM2. Accordingly, the second integration unit 28 sets a filled circle (•) indicative of a processing execution state also to the virtual machine VM3 as depicted in
In this manner, the second integration unit 28 estimates the operation state of the virtual machine VM11 within a predetermined period on the basis of the operation state of the virtual machine VM11 estimated within a first period within which there is no operating information and another operation state of the virtual machine VM11 within at least one of preceding and succeeding periods to the first period.
As described above, with the second integration unit 28, even if a failure occurs over 6 hours, for example, in the management virtual machine VM15, the operation state within one day can be decided from the remaining 18 hours. Accordingly, the operation state of the virtual machine VM11 in a processing execution state or a power OFF state can be decided correctly, and even if the virtual machine VM11 executes a process within a time zone of data loss, a result of the decision in accordance with an actual situation can be obtained without making an error decision that the virtual machine VM11 is in an idle state.
The VM management information addition unit 29 extracts VM management information 31a of each virtual machine (VM) from the VM management information storage server 3 (refer to
The report transfer unit 30 transfers the operation actual results report 21b stored in the storage unit 21 to the Web server 4 by a technique such as, for example, the FTP.
As described above, the outputting server 2 has a function as an estimation unit for estimating operation actual results of the virtual machine VM11 within a first period on the basis of operating information of the management virtual machine VM15 within the first period and operating information of the virtual machine VM11 acquired within at least one of preceding and succeeding periods to the first period. For example, in one form, the operation decision unit 25, first integration unit 27 and second integration unit 28 can be considered as an example of the estimation unit. Further, the report transfer unit 30 can be considered as an example of an output unit for outputting operation actual results of the virtual machine VM11 within the period (first period) within which operating information is not acquired.
[3-3] Example of Display of the Operation Actual Results Report
The operation actual results report 21b transferred from the outputting server 2 to the Web server 4 is, for example, stored as an operation actual results report 41b into the storage unit 41 by the Web server 4. Then, as exemplified in
It is to be noted that the operation actual results report 41b can be configured in a data format such as, for example, XLS, CSV or TSV. In order to configure the operation actual results report 41b in the format, data conversion may be performed by the outputting server 2 (second integration unit 28, VM management information addition unit 29 or report transfer unit 30) or by the Web server 4 or the like.
As depicted in
In the example of
In contrast, in the present embodiment, a decision method of an operation state in a unit of one day including a data loss location is used for the data on August 30. Consequently, the user can easily grasp a virtual machine VM11 in an idle state and another virtual machine VM11 decided to be, although the operation state upon data loss is unknown, in a “substantially idle state” from a result of decision of operation states within the other time zones as depicted in
[3-4] Example of the Operation of the Output Server
Now, an example of operation of the outputting server 2 configured in such a manner as described above is described with reference to
First, an example of operation of a production process of an operation actual results report 21b by the outputting server 2 is described with reference to a flow chart depicted in
First, as depicted in
Then, the operation decision unit 25 decides power ON, power OFF and occurrence of a failure in the management virtual machine VM15 (occurrence of data loss) regarding the operation state on the basis of the operation data list 22a of the retention unit 22 to produce an operation decision list 22b (step S3). The operation decision list 22b is stored into the retention unit 22.
Then, the first integration unit 27 integrates the operation states of the operation decision list 22b in a unit of one hour to produce a first integration list 22c and then stores the produced first integration list 22c into the retention unit 22. At this time, the first integration unit 27 classifies the operation states of the virtual machines VM11 into idle, processing being executed, power OFF and data loss (decision impossible) (step S4). Then, the second integration unit 28 integrates the operation states in the first integration list 22c in a unit of one day to produce a second integration list 22d (step S5), and then stores the produced second integration list 22c into the retention unit 22.
The VM management information addition unit 29 acquires VM management information 31a from the VM management information storage server 3 and merges the VM management information 31a with the second integration list 22d to produce an operation actual results report 21b, and stores the produced operation actual results report 21b into the storage unit 21 (step S6). Then, the report transfer unit 30 transfers the operation actual results report 21b to the Web server 4 so as to be stored (step S7), and the processing by the outputting server 2 ends therewith. It is to be noted that details of the processes at steps S2 to S5 are hereinafter described.
[3-4-1] Example of the Operation Data List Production Process
Now, an example of operation of the operation data list production unit 24 (detailed example of step S2 of
As depicted in
Then, the operation data list production unit 24 returns the reading position to the top of the operation data 21a (step S12), and reads in the operation data 21a by one row (step S13). Further, the operation data list production unit 24 inserts values of a CPU usage rate, a disk I/O amount and a network I/O amount into positions of the table corresponding to the date and time and the virtual machine (VM) name in the row read in (step S14).
Then, the operation data list 22a decides whether or not the reading position at present is the end of the file of the operation data 21a (step S15). If the reading position at present is not the end of the file (No at step S15), then the processing advances to step S13. On the other hand, if the reading position at present is the end of the file (Yes at step S15), then the processing is ended. The process of the operation data list production unit 24 ends therewith.
[3-4-2] Example of the Operation Decision List Production Process
Now, an example of operation of the operation decision unit 25 (detailed example of step S3 of
As depicted in
If there is data of the CPU usage rate of the VMn in the read-in information (Yes at step S24), then the operation decision unit 25 sets “pon” to the VMn field in the target date and time of the operation decision list 22b (step S25), and increments n (step S26). Then, the operation decision unit 25 decides whether or not n is greater than the number of virtual machines (VMs) of the user (step S27). Then, if n is not greater than the virtual machine (VM) number (No at step S27), then the processing advances to step S24.
On the other hand, If n is greater than the number of virtual machines (VMs) of the user (Yes at step S27), then the operation decision unit 25 decides whether or not the reading position at present is the end of the operation data list 22a (step S28). If the reading position at present is not the end (No at step S28), then the processing advances to step S21. On the other hand, if the reading position at present is the end (Yes at step S28), then the processing is ended.
On the other hand, if there is no data of the CPU usage rate of the VMn in the read information at step S24 (No at step S24), then the operation decision unit 25 sets “poff” to the VMn field for the target date and time of the operation decision list 22b (step S29), and the processing advances to step S26.
On the other hand, if there is no data of the CPU usage rate of the management virtual machine VM15 in the read-in information at step S23 (No at step S23), then the operation decision unit 25 sets “down” to all virtual machine (VM) fields for the target date and time of the operation decision list 22b (step S30), and the processing advances to step S28. The process of the operation decision unit 25 ends therewith.
[3-4-3] Example of the Integration Process of the First Integration Unit
Now, an example of operation of the first integration unit 27 (detailed example at step S4 of
As depicted in
If the plurality of read-in operation states do not include any of “down” and “pon” (No at step S53 and S54), then the first integration unit 27 decides that all of the operation states indicate “poff” and decides that the time zone indicates power OFF (-) (step S55). Then, the first integration unit 27 decides whether or not the row at present is the end of the operation decision list 22b (step S56). If the row at present is not the end (No at step S56), then the processing advances to step S52.
On the other hand, if the row at present is the end (Yes at step S56), then the first integration unit 27 increments n (n=n+1; step S57) and decides whether or not n is greater than the number of virtual machines (VMs) of the user (step S58). If n is not greater than the virtual machine (VM) number of the user (No at step S58), then the processing advances to step S52. On the other hand, If n is greater than the virtual machine (VM) number of the user (Yes at step S58), then the processing is ended.
On the other hand, if the plurality of read-in operation states include at least one “pon” at step S54 although they include no “down” (No at step S53 and Yes at step S54), then the processing advances to step S59. At step S59, the first integration unit 27 performs an idle decision process using the data in which there is “pon” from within the data for one hour, and then, the processing advances to step S56. It is to be noted that details of the process at step S59 are hereinafter described.
On the other hand, if the plurality of read-in operation states include at least one “down” at step S53 (Yes at step S53), then the first integration unit 27 decides that the time zone indicates data loss (decision impossible) (x) (step S60), and the processing advances to step S56. The process of the first integration unit 27 ends therewith. It is to be noted that the first integration unit 27 newly produces or updates the first integration list 22c in the process of the processing described above. Or, the first integration unit 27 may process the operation decision list 22b (delete part of data or the like) to produce the first integration list 22c.
Now, the idle decision process at step S59 is described.
As depicted in
Then, the first integration unit 27 calculates the total of time periods within which all elements are lower than the threshold values after every one hour (step S73). Then, the first integration unit 27 decides whether or not the ratio of the calculated total time period to one hour is higher than the ratio (predetermined threshold value; here, 80.2%) of idle time (step S74).
If the ratio of the total time period is higher than the ratio of idle time (Yes at step S74), then the first integration unit 27 decides that the time zone indicates an idle state (∘) (step S75), and the processing is ended. On the other hand, if the ratio of the total time period is equal to or lower than the ratio of idle time (No at step S74), then the first integration unit 27 decides that the time zone indicates a processing execution state (•) (step S76), and then the processing is ended. The idle decision process by the first integration unit 27 ends therewith.
[3-4-4] Example of the Integration Process of the Second Integration Unit
Now, an example of operation of the second integration unit 28 (detailed example at step S5 of
As depicted in
On the other hand, if the operation states for one day include no processing execution state (No at step S81), then the second integration unit 28 decides whether or not the operation states for one day include at least one data loss (step S84). If the operation states for one day include data loss (Yes at step S84), then the second integration unit 28 decides whether or not a time zone just before that of the data loss indicates an idle state (∘) (step S85).
If the time zone just before that of the data loss indicates an idle state (Yes at step S85), then the second integration unit 28 decides that the operation state within the one day is a substantially idle state (step S86), and the processing advances to step S83.
On the other hand, if the time zone just before that of data loss does not indicate an idle state at step S85 (No at step S85), then the second integration unit 28 decides whether or not the operation situation within all of the time zones in the day other than the time zone of the data loss is a power OFF state (step S87). If the operation situation within all time zones other than the time zone of the data loss is a power OFF state (Yes at step S87), then the second integration unit 28 decides that the operation state in the day is a power OFF state (step S88), and the processing advances to step S83.
On the other hand, if the operation situation within all time zones other than the time zone of the data loss is not a power OFF state (No at step S87), then the second integration unit 28 decides that the operation situation in the day is an idle state (step S89), and the processing advances to step S83.
Further, if the operation states for one day do not indicate data loss (No at step S84), then the second integration unit 28 decides whether or not all of results of the decision within the time zones in the one day indicate a power OFF state (step S90). If all of the decision results indicate a power OFF state (Yes at step S90), then the second integration unit 28 decides that the operation situation in the one day is a power OFF state (step S91), and the processing advances to step S83.
On the other hand, if a state other than power OFF is included in the decision results within the time zones in the one day (No at step S90), then the second integration unit 28 decides that the operation situation in the day is an idle state (step S92), and the processing advances to step S83. The process of the second integration unit 28 ends therewith.
[3-5] Effect of the Embodiment
With the outputting server 2 in the embodiment described above, also where a first period within which operating information of a virtual machine VM11 is not acquired is included in a predetermined period, operation actual results of the virtual machine VM11 within the first period are estimated and outputted. In particular, the outputting server 2 can estimate the operation actual results of the virtual machine VM11 within the first period on the basis of the operating information of the management virtual machine VM15 within the first period and the operating information of the virtual machine VM11 acquired at least at one of preceding and succeeding timings to the first period. Accordingly, the operation actual results of the virtual machine VM11 within the period within which operating information is not acquired can be outputted.
While, in the technical field relating to a cloud system, operation states of a virtual machine (VM) are sometimes classified using operating information, in what circumstances operating information does not exist at a location at which operating information does not exist (whether such operating information has been lost by a user or by a failure of the management virtual machine VM15) is not available as information. Accordingly, the outputting server conventionally decides and displays an operation state only with regard to a time period within which the virtual machine (VM) operates and need not take a location at which operating information does not exist into consideration.
However, when it is attempted to visualize also a power OFF state of a virtual machine (VM) as operation actual results to a user, it is recognized that it is important to specify a factor (classify an operation state) with regard to a location at which operating information does not exist as described above although conventionally this is not recognized very much. For example, where, with regard to absence of operating information, distinction between power OFF and a failure of a management virtual machine (VM) from each other or classification of an operation state at the location, at which operating information does not exist, from data within the preceding and succeeding time zones to the location is not performed, all of the time zones within which there is no data are considered as data loss locations (refer to
It is to be noted that, if distinction between causes of loss of operating information by power OFF control of a virtual machine (VM) by a user and a failure of the management virtual machine (VM) is not performed and it is considered that all of the time zones within which there is no data originate from power OFF of the virtual machine (VM), then a result of decision of the operation state of each virtual machine (VM) for every one hour is such as exemplified in
Further, in order to grasp a state of power ON/OFF of a virtual machine (VM) at a time point in the past, it may be recommendable to refer to a system log of a host server of virtualization. However, where the cloud system assumed in the description of
Also it seems recommendable to perform definition of a power ON/OFF state for an expansion trap signal of the Simple Network Management Protocol (SNMP) and then perform decision of power ON, power OFF and failure occurrence through a Ping response. However, in this case, since also it is possible to limit the Ping response in order to achieve enhancement of the security on the virtual machine (VM), decision of the operation state is difficult to perform for a virtual machine (VM) to which limitation to the Ping response is applied.
In contract to the techniques described above, with the outputting server 2, since a power OFF state of a virtual machine VM11 by the user can be easily decided, calculation of an approximate line of the operating information can be suppressed relating to the virtual machines VM1, VM2 and VM3 between 8 and 9 a.m., for example, as depicted in
[4] Modifications
While the embodiment is described above in which the outputting server 2 decides an operation state of a virtual machine VM11 in a unit of one hour by the first integration unit 27 and the second integration unit 28 decides an operation state of the virtual machine VM11 in a unit of one day using a result of the decision by the first integration unit 27, the technology disclosed herein is not limited to this.
[4-1] First Modification
For example, where the outputting server 2 outputs the operation actual results report 21b when an operation state of the virtual machine VM11 is decided in a unit of one hour, the outputting server 2 can be configured in such a manner as exemplified in
As depicted in
The complementation process unit 26 can perform a complementation process for a location for which data complementation can be performed from among locations with regard to which it is decided by the operation decision unit 25 that data loss is caused by a failure of the management virtual machine VM15 (from among locations of the operation decision list 22b at which “down” is set). For example, the complementation process unit 26 performs the complementation process for a location (operation state) for which data complementation can be performed on the basis of the data within the preceding and succeeding time zones to the time zone in which “down” is set in the operation decision list 22b thereby to update the operation decision list 22b as depicted in
For example, the complementation process unit 26 refers to the operation decision list 22b to read in one by one row of each of the virtual machines VM11, and classifies locations to which “down” is set into the following four cases and then updates the operation decision list 22b.
(i) Where the preceding and succeeding time zones to the location to which “down” is set indicate a power ON state:
Since an operation of the management virtual machine VM15 is disabled, a power operation for the virtual machine VM11 is impossible within a time zone of data loss, and therefore, the complementation process unit 26 decides that the location to which “down” is set has indicated a power ON state. Then, the complementation process unit 26 sets and rewrites “pon_nodata” indicating estimation as a power ON state to and into the location to which “down” is set.
(ii) Where the preceding and succeeding time zones to the location to which “down” is set indicate a power OFF state:
Since an operation of the management virtual machine VM15 is disabled and a power operation for the virtual machine VM11 is impossible within a time zone of data loss, the complementation process unit 26 decides that the location to which “down” is set has indicated a power OFF state. Then, the complementation process unit 26 sets and rewrites “poff” indicating estimation as a power OFF state to the location to which “down” is set.
(iii) Where the preceding time zone to the location to which “down” is set indicates a power ON state while the succeeding time zone to the location to which “down” is set indicates a power OFF state:
Despite that a power operation by the management virtual machine VM15 within a time zone of data loss is disabled, the virtual machine VM11 is placed into a power OFF state at some timing within the time zone of data loss. In this case, the complementation process unit 26 does not perform decision of an operation state (power ON state/power OFF state) at the location to which “down” is set. Then, the complementation process unit 26 sets and rewrites “unknown” indicating that decision of an operation state is not performed to and into the location to which “down” is set.
(iv) Where the preceding time zone to the location to which “down” is set indicates a power OFF state while the succeeding time zone to the location to which “down” is set indicates a power ON state:
Despite that a power operation by the management virtual machine VM15 within the time zone of data loss is disabled, the virtual machine VM11 is placed into a power ON state at some timing within the time zone of data loss. Also in this case, the complementation process unit 26 does not perform decision of an operation state (power ON state/power OFF state) at the location to which “down” is set. Then, the complementation process unit 26 sets and rewrites “unknown” indicating that decision of an operation state is not performed to and into the location to which “down” is set.
As an example, a case is described in which the complementation process unit 26 performs a complementation process for the virtual machine VM1 in the operation decision list 22b depicted in
Since “Before=pon” and “After=pon” are satisfied within the time zones at 10:00 to 10:50 which indicate “down”, the complementation process unit 26 rewrites the data within the time zones at 10:00 to 10:50 into “pon_nodata” in accordance with the condition (i) described above. It is to be noted that, although the complementation process unit 26 successively reads the field of the virtual machine VM1 one by one row from 10:00 to 10:50 similarly, since the reading reaches the end of the list while “down” is not found, the complementation process for a data loss location of the virtual machine VM1 is ended. Further, as regards the example of
In accordance with such decision criteria as given by the conditions (i) to (iv) hereinabove, the complementation process unit 26 performs update of the operation decision list 22b as depicted in
By the classification by the complementation process unit 26 described above, as regards a location corresponding to the case of (1) above, although an operation situation is not acquired originally, it is decided that the location indicates a power ON state and complementation of data is performed. It is to be noted that, with regard to a location corresponding to the case of (ii) above, since it is decided that the location indicates a power OFF state, complementation of data is not required. Further, with regard to locations corresponding to the cases of (iii) and (iv) above, since power ON/OFF is not decided, complementation of data is not required.
In this manner, taking notice of the fact that an operation for power ON/OFF is performed through the management virtual machine VM15 in the cloud system, the complementation process unit 26 evaluates operation states in the preceding and succeeding time zones to a time zone within which it is decided that the management virtual machine VM15 suffers from a failure. Then, the complementation process unit 26 can specify (estimate) a time zone within which an operation state within a “time zone within which there is no data” is to be complemented and another time zone within which an operation state is not complemented in the operation decision list 22b. Consequently, the complementation process unit 26 can suitably decide whether or not complementation of an operation state is to be performed and classification of an operation state can be performed accurately.
It is to be noted that, while it is described that the complementation process unit 26 in the first modification performs the process described above on the basis of operation states in the preceding and succeeding time zones to a time zone of “down”, the complementation process unit 26 is not limited to this. The complementation process unit 26 may perform the process described above on the basis of at least one of operation states in the preceding and succeeding time zones to the time zone of “down”.
In particular, it can be considered that the complementation process unit 26 estimates an operation state of a virtual machine VM11 within a second period within which operating information of the management virtual machine VM15 is not acquired on the basis of operating information of the virtual machine VM11 acquired at least at one of preceding and succeeding timings to the second period.
The first integration unit 27 in the first embodiment performs the process for integrating operation states within a plurality of time zones of the virtual machines VM11 in the operation decision list 22b for which the complementation process has been performed by the complementation process unit 26 to produce a first integration list 22c exemplified in
For example, the first integration unit 27 reads out a plurality of (in this case, six) operation states in an integration unit (unit of one hour) from the operation decision list 22b with regard to each virtual machine VM11, and decides an operation state within the integrated time zone in accordance with conditions given below which are different from those of the embodiment.
(I′) When the plurality of read out operation states include at least one “unknown”: it is decided that deciding the operation state of the integrated time zone is impossible.
(II′) When the plurality of read out operation states do not include “unknown” but include at least one “pon_nodata”: it is decided that the integrated time zone indicates a power ON state.
(III) When the plurality of read out operation states do not include any of “unknown” and “pon_nodata” but include at least one “pon”: an idle decision process is performed using operating information in the time zone (unit of 10 minutes) to which “pon” is set.
(IV′) When none of the conditions (I) to (III) above is satisfied: it is decided that the integrated time zone indicates a power OFF state.
In the following, in order to avoid overlapping description, a case is described in which the first integration unit 27 performs integration of operation states between 10 and 11 a.m. in the operation decision list 22b depicted in
For example, since “unknown” is set to all of six time zones (unit of 10 minutes) in the time zone between and 11 a.m. of the virtual machine VM2, the first integration unit 27 decides in accordance with the condition (I′) described above that, within the integrated time zone, deciding the operation state is impossible. Then, as depicted in
Further, the first integration unit 27 decides that, although no “unknown” is set to the time zone between 10 and 11 a.m. of the virtual machines VM1 and VM3, “pon_nodata” is set to all of the six time zones (unit of 10 minutes). Accordingly, the first integration unit 27 decides on the basis of the condition (II′) given above that the time zones between 10 and 11 a.m. of the virtual machines VM1 and VM3 indicate a power ON state, and sets a triangle (Δ) indicating a power ON state to the time zones between 10 and 11 a.m. of the virtual machines VM1 and VM3 as depicted in
It is to be noted that symbols including a filled circle (•), an open circle (∘), a hyphen (-), a triangle (Δ) and a cross mark (x) indicating operation states set in the first integration list 22c of
The VM management information addition unit 29 merges the information of the first integration list 22c produced in such a manner as described above and the VM management information 31a with each other to produce an operation actual results report 21b in a unit of one hour and stores the produced report into the storage unit 21. Then, the operation actual results report 21b in a unit of one hour is transferred to the Web server 4 by the report transfer unit 30 and is provided as an operation actual results report 41a to the terminals 6-1 to 6-i by the Web server 4. It is to be noted that, for the operation actual results report 41b, data conversion may be performed by the outputting server 2 (first integration unit 27, VM management information addition unit 29, report transfer unit 30 or the like), or by the Web server 4 or the like.
In this manner, the operation decision unit 25, complementation process unit 26 and first integration unit 27 in the first modification can be regarded as an example of an estimation unit.
Now, an example of operation of the outputting server 2 according to the first modification configured in such a manner as described above is described with reference to
First, operation of a production process of an operation actual results report 21b by the outputting server 2 in the first modification is described with reference to a flow chart depicted in
As depicted in
Then, the first integration unit 27 integrates the operation states of the operation decision list 22b in a unit of one hour to produce a first integration list 22c and stores the produced first integration list 22c into the retention unit 22. At this time, the first integration unit 27 classifies the operation states of the virtual machines VM11 into idle, processing being executed, power ON, power OFF and decision impossible (step S9).
Then, the VM management information addition unit 29 acquires the VM management information 31a from the VM management information storage server 3. Then, the VM management information addition unit 29 merges the VM management information 31a with the first integration list 22c to produce an operation actual results report 21b in a unit of one hour and stores the produced operation actual results report 21b into the storage unit 21 (step S10). Then, the processing advances to step S7.
Now, an example of operation of the complementation process unit 26 (detailed example at step S8 of
As depicted in
If the value of the operation state indicates “down” (Yes at step S34), then the complementation process unit 26 reads the virtual machine VMn in the operation decision list 22b to a row that indicates a state other than “down” (step S35). If the reading reaches the end of the operation decision list 22b before a row that indicates a state other than “down” is found (step S36, Yes at step S36) or if the operation state is “Before=null” when a row that indicates a state other than “down” is found (step S37, Yes at step S37), then the processing advances to step S49.
On the other hand, if a row that indicates a state other than “down” is found (No at step S36) and the state at this time is not “Before=null” (No at step S37), then the complementation process unit 26 sets a value of the row read in at this time to “After” (step S38).
Then, the complementation process unit 26 decides whether or not the state indicates “Before=pon” (step S39), and, if the state indicates “Before=pon” (Yes at step S39), then the complementation process unit 26 decides whether or not the state indicates “After=pon” (step S40). If the state indicates “After=pon” (Yes at step S40), then since the preceding and succeeding time zones to “down” indicate “pon”, the complementation process unit 26 rewrites the value at the position of “down” read till then in the operation decision list 22b into “pon_nodata” (step S41).
Then, the complementation process unit 26 sets the value of “After” to “Before” (step S42), and decides whether or not the row at present is the end of the operation decision list 22b (step S43). If the row at present is not the end (No at step S43), then the processing advances to step S33. On the other hand, if the row at present is the end (Yes at step S43), then the complementation process unit 26 increments the variable n (n=n+1; step S44), and decides whether or not the variable n is greater than the VM number of the user (step S45).
If the variable n is not greater than the number of virtual machines (VM) of the user (No at step S45), then the processing advances to step S32. On the other hand, if the variable n is greater than the number of virtual machines (VM) of the user (Yes at step S45), then the processing is ended.
On the other hand, if the state is not “After=pon” at step S40 (No at step S40), then the operation states of the virtual machine VMn within preceding and succeeding time zones to “down” (power is switched from ON to OFF within the time zone of “down”) are different from each other. Therefore, the complementation process unit 26 rewrites the value at the positions of “down” read till then in the operation decision unit 22b into “unknown” (step S47), and the processing advances to step S42.
Further, if the state is not “Before=pon” at step S39 (No at step S39), then the complementation process unit 26 decides whether or not the state is “After=pon” (step S46). If the state is “After=pon” (Yes at step S46), then the operation states of the virtual machine VMn within the preceding and succeeding time zones to “down” (power is switched from OFF to ON within the time zone of “down”) are different from each other. Also in this case, the processing advances to step S42 through step S47.
On the other hand, if the state is not “After=pon” at step S46 (No at step S46), then the preceding and succeeding time zones to “down” indicate “poff”. Accordingly, the complementation process unit 26 rewrites the value at the positions of “down” read till then in the operation decision list 22b into “poff” (step S48), and the processing advances to step S42.
It is to be noted that, at step S49, the complementation process unit 26 rewrites the value at the positions of “down” read till then in the operation decision list 22b into “unknown” similarly as at step S47, and the processing advances to step S42. Here, the process at step S49 is executed when the Yes is taken at step S36 or S37 as described above. Further, the reason why the value at the positions of “down” is rewritten into “unknown” at step S49 is that, when the Yes is taken at step S36, “down” is set down to the end of the operation decision list 22b and the operation state after the time zone of “down” is unknown. Further, when the Yes is taken at step S37, “down” is set to positions from the start of the operation decision list 22b and the operation state before the time zone of “down” is unknown.
Further, when the value of the operation state does not indicate “down” at step S34 (No at step S34), the complementation process unit 26 sets the value of the row read in at this time to “Before” (step S50), and the processing advances to step S43. The process of the complementation process unit 26 ends therewith.
Now, an example of operation (detailed example at step S9 of
As depicted in
If the plurality of read-in operation states include none of “unknown”, “pon_nodata” and “pon” (No at steps S61, S62 and S54), then the processing advances to step S55. However, if the plurality of read-in operation states include none of “unknown” and “pon_nodata” but include at least one “pon” (No at steps S61 and S62 and Yes at step S54), then the processing advances to step S59.
If the plurality of read-in operation states include no “unknown” but include at least one “pon_nodata” (No at step S61 and Yes at step S62), then the processing advances to step S63. At step S63, the first integration unit 27 decides that the state within the time zone is power ON (Δ), and the processing advances to step S56.
On the other hand, if the plurality of read-in operation states include at least one “unknown” at step S61 (Yes at step S61), then the first integration unit 27 decides that the state within the time zone is decision impossible (x) (step S64), and the processing advances to step S56.
With the first modification, the function of the second integration unit 28 can be omitted where a unit of totalization of the operation actual results report 21b is equal to or less than a predetermined number of times (for example, 10 times or the like; in the description above, 6 times) the collection unit of the operation data 21a (operation information). Accordingly, the process load to the outputting server 2 can be suppressed and the operation actual results report 21b can be easily produced.
Further, since the first integration unit 27 can decide an operation state on the basis of the detailed operation data list 22a complemented by the complementation process unit 26, the accuracy of the operation actual results report 21b can be enhanced further.
[4-2] Second Modification
It is described above that, when a plurality of read-out operation states include at least one “pon” (power ON state) in the condition (III′) described above, the first integration unit 27 in the first modification performs an idle decision process to decide whether the operation state within an integrated time zone is a processing execution state or an idle state.
In a second modification, the first integration unit (integration unit) 27 may perform the idle decision process also where the plurality of read-in operation states include at least one “pon_nodata” (power ON state) in the condition (II′) described above.
However, while the idle decision process uses the operation data list 22a (operation information) within a time zone for which the process is to be performed, operating information is in the first place lost at a location (time zone) of “pon_nodata”. Therefore, the complementation process unit 26 in the second modification can calculate approximate lines depicted in
Then, with regard to the virtual machines VM1 and VM3 within the time zones between 10 and 11 a.m. (refer to (3) of
The first integration unit 27 in the second modification can perform the idle decision process within a time zone of “pon_nodata” using the operation data list 22a in which operating information is complemented by the complementation process unit 26 in such a manner as described above.
Consequently, as depicted in
It is to be noted that the first integration unit 27 in the second modification may otherwise decide whether the state is a processing execution state or an idle state in the following manner without performing the idle decision process within a time zone of “pon_nodata”. For example, the first integration unit 27 may decide the operation state within a time zone of “pon_nodata” on the basis of the operation states within the preceding and succeeding time zones of one hour to a time zone within which it is unknown whether the state is a processing execution state or an idle state. It is to be noted that, in this case, the function of the complementation process unit 26 in the second modification described above can be omitted. In the example of
Now, an example of operation (detailed example at step S9 of
As depicted in
Further, also if the plurality of read-in operation states include no “unknown” but include at least one “pon_nodata” at step S62 (No at step S61 and Yes at step S62), then the processing advances to step S65. At step S65, the first integration unit 27 performs the idle decision process using data that includes “pon_nodata” or “pon” from within data for one hour, and the processing advances to step S56.
It is to be noted that, in the idle decision process at step S65, a process basically similar to that depicted in
As described above, with the second modification, not only an effect similar to that achieved by the first modification can be achieved but also operation states of the virtual machines VM11 included in the operation actual results report 21b in a unit of one hour can be decided more correctly than the first modification as depicted in
[5] Example of the Hardware Configuration
As depicted in
The CPU 2a is an example of an arithmetic processing unit (processor) that performs various controls and arithmetic operations. The CPU 2a is coupled with the corresponding blocks 2b to 2g, and can execute a program stored in the memory 2a, the storage unit 2c, the record medium 2f or 2h, a Read Only Memory (ROM) not depicted or the like such that various functions are implemented. For example, by executing an outputting program stored in the memory 2b, the CPU 2a can implement functions of the blocks 23 to 30 of the outputting server 2 (refer to
The memory 2b is a storage apparatus for storing various data or programs therein. The CPU 2a stores and develops data or a program into and in the memory 2b when the program is to be executed. The memory 2b can store the outputting program described above therein. It is to be noted that, as the memory 2b, a volatile memory such as, for example, a Random Access Memory (RAM) is available. The storage unit 2c is hardware for storing various data or programs therein. As the storage unit 2c, various apparatus such as, for example, a magnetic disk apparatus such as an HDD, a semiconductor drive apparatus such as an SSD and a nonvolatile memory such as a flash memory are available. It is to be noted that the storage unit 21 and the retention unit 22 depicted in
The interface unit 2d performs control of coupling and communication with a network (not depicted) or some other information processing apparatus by wire connection or wireless connection and so forth. As the interface unit 2d, for example, an adapter that complies with a Local Area Network (LAN), a Fiber Channel (FC), InfiniBand or the like is available. The input and output unit 2e can include at least one of an input apparatus such as a mouse or a keyboard and an output apparatus such as a display unit or a printer. For example, the input apparatus may be used for processes such as various kinds of setting to the outputting server 2 and inputting of data by a manager or the like, and the output apparatus may be used for outputting of an operation state, a result of a process (operation actual results report 21b) or the like by the outputting server 2.
The record medium 2f is a storage apparatus such as, for example, a flash memory or a ROM and can record various data or programs therein. The read unit 2g is an apparatus for reading out data or a program recorded in a computer-readable record medium 2h. In at least one of the record media 2f and 2h, an outputting program for implementing all or part of various functions of the outputting server 2 in the embodiment may be stored. For example, the CPU 2a may develop and execute an outputting program read out from the record medium 2f or an outputting program read out from the record medium 2h through the read unit 2g into a storage apparatus such as the memory 2b.
It is to be noted that, as the record medium 2h, for example, an optical disk such as a flexible disk, a Compact Disk (CD), a Digital Versatile Disc (DVD), a Blu-Ray disk and a flash memory such as a Universal Serial Bus (USB) memory or an SD card are available. It is to be noted that, as a CD, a CD-ROM, a CD-R (CD-Recordable), a CD-RW (CD-Rewritable) or the like is available. Further, as a DVD, a DVD-ROM, a DVD-RAM, a DVD-R, a DVD-RW, a DVD+R, a DVD+RW or the like is available.
The blocks 2a to 2g described above are coupled for communication with each other through a bus. Further, the hardware configuration described above of the outputting server 2 is exemplary. Accordingly, increase or decrease (for example, addition or omission of an arbitrary block), division, or integration by an arbitrary combination of, addition or omission of a bus to or from hardware in, the outputting server 2 and so forth may be suitably performed.
[6] Others
While a preferred embodiment of the present disclosure has been described above in detail, the present technology is not limited to the specific embodiment, and variations and modifications can be made without departing from the scope of the present invention.
For example, the functional blocks of the outputting server 2 depicted in
Further, the outputting server 2 according to the embodiment may output the first integration list 22c by the first integration unit 27 in order to provide the list 22c to a user. Similarly, the outputting server 2 according to the first or second modification may output the operation data list 22a or the operation decision list 22b complemented by the complementation process unit 26 in order to provide the list 22a or 22b to a user.
While it is described in the description of the embodiment and the first and second modifications that the operation actual results report 21b is provided on a Web site in the Web server 4, the providing method of the operation actual results report 21b to a user is not limited to that described above. For example, the outputting server 2 may acquire a mail address of a user as the VM management information 31a and describe the substance of the operation actual results report 21b in a mail and then transmit the resulting mail to the user. Further, with regard to a virtual machine VM11 that has been in an idle state for a long period of time (for example, has continuously been in an idle state for 7 days or more or for a predetermined number of hours or more), the outputting server 2 may issue a notification reporting operation actual results to the user by a popup or the like at a timing at which the user executes power ON control or power OFF control of the virtual machine VM11.
Further, it is described in the foregoing description that a result of totalization of operation data 19a is presented to a user, in the embodiment, after every month and, in the first and second modifications, after every one hour. However, the presentation is not limited to this. As a timing at which a report of operation actual results is to be provided, a timing immediately after the outputting server 2 executes decision of an operation state may be applied. For example, since the operation data 19a acquired by the operating information collecting unit 18 of the management virtual machine VM15 is updated in a unit of 10 minutes, the outputting server 2 may sample the operation data 19a updated after every one day or after every one hour (or after every several hours) and execute decision of an operation state and then issue a notification to a user at a stage at which a result of the decision is obtained. Consequently, the operation actual results report 21b that includes a result of the decision prior by one day or by one hour (or by several hours) and is nearer to the state at present can be provided to a user.
Further, while it is described in the description of the embodiment that the range (period) in which totalization of the operation actual results report 21b is performed is one month, an operation situation may be provided not on the basis of monthly totalization but after a period of one week or one day in accordance with a request of a user or the like. At this time, the functions of the first integration unit 27 and the second integration unit 28 may be suitably combined or omitted on the basis of the first and second modifications described above.
With the embodiment, operation actual results obtained by complementing operating information of a virtual machine within a period within which operating information is not acquired can be outputted.
All examples and conditional language recited herein are intended for the pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although one or more embodiments of the present inventions have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2014-126971 | Jun 2014 | JP | national |