1. Technical Field
The present disclosure relates generally to a monitoring system and a monitoring method using for the same, and more particularly to a monitoring system and a monitoring method using for the same that are provided to overcome the problem of overloading of the database connected to multiple hosts.
2. Description of Related Art
In general, a cloud-based data center has a variety of hosts, such as physical machine (PM), virtual machine (VM), network switch, router, uninterruptible power supply (UPS), firewall, and so on for processing different information.
In order to conveniently manage and monitor statuses of the data center, the administrator usually installs sensors inside the hosts and uses the corresponding software to monitor various data of the hosts, such as temperature, humidity, fan speed, CPU, memory, network condition, hard disk capacity, and so on. In addition, the sensed and monitored information are regularly replied and stored in a database of the data center so that the administrator can access the data in the database to monitor all information of the hosts.
In the existing data centers, the hosts are usually directly connected to the corresponding database, and also each host replies its own information to the database and the information is stored in the database. That is, the hosts need to continually detect their own information and regularly reply the detected information to the database. However, the amount of the host is too much, the reply operation is too frequent, or the data quantity transmitted at the same time is too large that may cause bandwidth congestion so as to lose the accessed data.
Because the amount of the external transmission channel connected to the database gets larger as the amount of the host gets larger, the bandwidth congestion would occur when the amount of the hosts provided to transmit data at the same time. Also, the database would be damaged if overloading of the database occurs.
An object of the present disclosure is to provide a monitoring system of managing cloud-based hosts and monitoring method using for the same that a monitoring agent server is provided to simultaneously serve a plurality of hosts to be a transmission interface between the hosts and a database so as to overcome the overloading of the database because of the amount of the host connected to the database is too much.
In order to achieve the above-mentioned object, the monitoring system mainly includes a monitoring management server, a monitoring agent server, a database, and a plurality of hosts. The monitoring agent server is connected to the database. The monitoring agent server can simultaneously serve a plurality of hosts to collect status information of the hosts and store the status information in the database so that the administrator can monitor and inquire the hosts.
Accordingly, the present disclosure has following features and advantages. At least one monitoring agent server is used to be a transmission interface between the hosts and the database so as to efficiently control the amount of I/O interface of the database, thus avoiding overloading of the database from the too much used hosts directly connected to the database.
Furthermore, the monitoring agent server can be allocated by the monitoring management server to the assigned hosts. Accordingly, the monitoring management server is provided to inquire which host is served by which monitoring agent server so that the administrator can easily inquire the information of the specific host.
It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the invention as claimed. Other advantages and features of the invention will be apparent from the following description, drawings and claims.
The features of the present disclosure believed to be novel are set forth with particularity in the appended claims. The present disclosure itself, however, may be best understood by reference to the following detailed description of the present disclosure, which describes an exemplary embodiment of the present disclosure, taken in conjunction with the accompanying drawings, in which:
Reference will now be made to the drawing figures to describe the present invention in detail.
Reference is made to
In this embodiment, the monitoring management server 1, the host 2, the monitoring agent server 3, and the database 4 can be considered as a node, respectively, and the nodes can be realized by the physical machine (PM) or virtual machine (VM), but not limited. In particular, the monitoring system can arbitrarily assign one or more nodes to the monitoring agent server 3 according to actual demands. Hence, when the virtual machine is realized to be the monitoring agent server 3, the same physical machine can simultaneously play roles of the host 2 and the monitoring agent server 3. That is, the hosts 2 and the monitoring agent servers 3 are not limited to be realized by the physical machine and only one thereof. Hence, the same physical machine can simultaneously play different roles to increase system flexibility.
Especially, in one embodiment, the at least one monitoring agent server 3 can be an independent physical machine which are operated in the data center of the cloud system. In another embodiment, the monitoring management server 1 can assign one of the hosts 2 to simulate the monitoring agent server 3 and the same physical machine can simultaneously play roles of the host 2 and the monitoring agent server 3.
In this embodiment, the amount of the monitoring agent server 3 is less than that of the host 2 and each monitoring agent server 3 can serve multiple hosts 2 to be the transmission interface between the hosts 2 and the database 4 so as to significantly decrease the amount of the external transmission channel connected to the database 4 and reduce loading of the database 4. As shown in
As shown in
Especially, the sequence of the step S10 and the S14 are not limited. That is, the monitoring agent server 3 can earlier or later registers than the host 2 or even the monitoring agent server 3 and the host 2 can simultaneously register to the monitoring management server 1.
As mentioned above, the monitoring agent server 3 can be is an independent physical machine or the monitoring agent server 3 can be realized by simulating one of the hosts 2. The assigned host 2 to be simulated as the monitoring agent server 3 also needs to transmit own status information to the allocated monitoring agent server 3. That is, the assigned host 2 is provided to play roles of collecting monitoring data from other hosts as well as transmitting own monitoring data.
Reference is made to
The first control unit 11 is used to process various internal data of the monitoring management server 1. The first reception unit 13 is connected to the host 2 and the monitoring agent server 3 to receive registration requests transmitted from the host 2 and the monitoring agent server 3, respectively. The first transmission unit 12 is connected to the host 2 to send the allocation information to the registered host 2 so that the host 2 can recognize that which monitoring agent server 3 is used. If there is no monitoring agent server 3 can be assigned, however, the monitoring management server 1 can assign one of the hosts 2 to simulate the monitoring agent server 3 by sending an assignation instruction from the first transmission unit 12. In addition, the first transmission unit 12 is also connected to the monitoring agent server 3 to send the configuration information to the registered monitoring agent server 3 so that the monitoring agent server 3 is configured according to the configuration information.
In the present disclosure, the monitoring management server 1 is provided to allocate the monitoring agent server 3 to serve the host 2 and notify the monitoring agent server 3 that which hosts 2 need to be served. Hence, the administrator can inquire the monitoring management server 1 to easily know that a specific host is served by which monitoring agent server 3 so that the status information of the specific host can be inquired.
As shown in
In addition, the monitoring system further includes an application program interface server 5 connected to the monitoring management server 1. The application program interface server 5 can provide a physical dashboard 51 so that the administrator can operate the dashboard 51 to connect to and login the monitoring management server 1 to inquire the status information of the host 2. However, the embodiment is only exemplified but is not intended to limit the scope of the disclosure.
Reference is made to
The second control unit 21 is used to process various internal data of the host 2. The sensor unit 22 is used to sense various data of the host 2, such as temperature, humidity, fan speed, CPU status, memory status, network status, hard disk capacity, and so on to generate the status information. The second transmission unit 23 is connected to the monitoring management server 1 to send the registration request to the monitoring management server 1. In addition, the second transmission unit 23 is also connected to the monitoring agent server 3 to transmit the data sensed by the sensor unit 22 to the monitoring agent server 3. The second reception unit 24 is connected to the monitoring management server 1 to receive the allocation information transmitted from the monitoring management server 1 so that the host 2 can recognize that which monitoring agent server 3 is used. If there is no monitoring agent server 3 can be assigned, however, the second reception unit 24 can receive the assignation instruction transmitted from the monitoring management server 1 to simulate the assigned host 2 as the monitoring agent server 3. In addition, the first transmission unit 12 is also connected to the monitoring agent server 3 to send the configuration information to the registered monitoring agent server 3 so that the monitoring agent server 3 is configured. In addition, the second reception unit 24 is also connected to the monitoring agent server 3 so that the host 2 can receive an acknowledgement character (ACK) transmitted from the monitoring agent server 3 through the second reception unit 24 after the monitoring agent server 3 successfully receives the status information.
As shown in
The host 2 further includes a host data pool 26 connected to the second control unit 21. The host data pool 26 is used to temporarily store the status information sensed by the sensor unit 22 before the status information is transmitted to the monitoring agent server 3 (detailed description below).
Reference is made to
The third control unit 31 is used to process various internal data of the monitoring agent server 3. The monitoring agent server 3 is connected to the database 4 via the database access interface 32 so that the monitoring agent server 3 writes the collected status information into the database 4. The third transmission unit 33 is connected to the monitoring management server 1 to send the registration request to the monitoring management server 1. In addition, the third transmission unit 33 is also connected to the host 2 to transmit the acknowledgement character (ACK) to the host 2. The third reception unit 34 is connected to the monitoring management server 1 to receive the allocation information transmitted from the monitoring management server 1 after registering. In addition, the third reception unit 34 is also connected to the host 2 to receive the status information transmitted from the host 2.
As shown in
Especially, because the monitoring agent server 3 can be realized by simulating the host 2, the host 2 further has the database access interface 32 (not shown) so that the simulated monitoring agent server 3 (by simulating the host 2) can connect to the database 4 and write the status information of the host 2 into the database 4.
As shown in
As shown in
The monitoring agent server 3 further includes an agent data pool 36 connected to the third control unit 31. The agent data pool 36 is used to temporarily store the collected status information before the collected status information is transmitted to the database 4 (detailed description below).
Reference is made to
For example, the host 2 is provided to transmit the status information sensed by the sensor unit 22 to the monitoring agent server 3. If the monitoring agent server 3 does not been allocated to the host 2 or the monitoring agent server 3 is damaged, the host 2 will temporarily store the status information in the local database 62 of the host data pool 26 so as to ensure the status information cannot lose before being transmitted. In addition, the monitoring agent server 3 is used to write the collected status information into the database 4. If the database 4 is damaged, the monitoring agent server 3 will temporarily store the collected status information in the local database 62 of the agent data pool 36 so as to ensure the status information cannot lose before being transmitted. Accordingly, the local database 62 is used to efficiently enhance monitoring security and ensure data completeness.
Reference is made to
In addition, the physical server and simulated monitoring agent server 3 can be combined to use so as to enhance system efficiency. For example, if the monitoring agent server 3 cannot be allocated, the monitoring management server 1 can first assign any one of the hosts 2 to be simulated as the monitoring agent server 3 and then the simulated monitoring agent server 3 is allocated to be used by the registered host 2 so as to quickly overcome the problem of lack of the allocated monitoring agent server 3. At the same time, the monitoring management server 1 can start one physical server to be a new monitoring agent server 3. After the new monitoring agent server 3 is started, the new monitoring agent server 3 is used instead of the simulated monitoring agent server 3 to serve the host 2. Afterward, the simulated monitoring agent server 3 can be removed to make only the new monitoring agent server 3 serve the host 2. Also, the simulated monitoring agent server 3 can be retained to have functions of the host and the agent server. Accordingly, the simulated monitoring agent server 3 can be directly and quickly allocated without further assigning other hosts when the monitoring system needs provisional agent server.
After the step (S34), the host 2 continually senses status thereof through the sensor unit 22 and generates the status information (S38). Afterward, the monitoring agent server 3 periodically collects all status information of the host 2 (S40). Finally, the monitoring agent server 3 writes the collected status information into the database 4 (S42). For example, it is assumed that the amount of the host 2 is one hundred and each monitoring agent server 3 can simultaneously serve twenty hosts 2. Hence, the database 4 only provides five external transmission channels rather than one hundred ones. That is, the database 4 can connect to the five monitoring agent server 3 via the five external transmission channels (5×20=100) to acquire status information of all hosts 2, thus significantly reducing loading of the database 4 and the risk of overloading.
Especially, in the step (S32), the monitoring management server 1 judges whether there is at least one monitoring agent server 3 which is allocated in the monitoring system. If there is at least one monitoring agent server 3 which is allocated, the monitoring management server 1 further judges whether the amount of the allocated monitoring agent server 3 has reached its upper limit (twenty ones as assumed above). If the amount of the allocated monitoring agent server 3 has not reached its upper limit, the monitoring management server 1 can allocate the available monitoring agent server 3 to the registered host 2 and then the amount of the allocated monitoring agent server 3 is added by one.
Reference is made to
As shown in
Reference is made to
When the new monitoring agent server 3 is allocated to the host 2, all status information stored in the local database 62 is sent to the new monitoring agent server 3 (S58) and then the status information is written to the database 4.
Reference is made to
When the new database 4 is started, all status information stored in the local database 62 is written to the new database 4 (S68). Also, if necessary, the status information stored in the local database 62 can be deleted to avoid the insufficient capacity thereof.
The monitoring system of managing cloud-based hosts and the method using for the same are provided to easily inquire the status information of the hosts 2. Also, the monitoring agent server 3 is provided to be a transmission interface between the hosts 2 and the database 4. Accordingly, the problems of too-much host quantity, too-frequent reply operation, too-large data quantity, and overloading of the database 4 can be overcome.
Although the present disclosure has been described with reference to the preferred embodiment thereof, it will be understood that the present disclosure is not limited to the details thereof. Various substitutions and modifications have been suggested in the foregoing description, and others will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are intended to be embraced within the scope of the present disclosure as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10210576 | Jan 2013 | TW | national |