Dynamic monitoring method and device for server room, medium and program product
By setting up multi-level alarm policies in the server room and dynamically adjusting them in real time, the problem of low monitoring accuracy in the existing technology is solved, more efficient monitoring and response is achieved, and the stability and security of the server room is improved.
Patent Information
- Application Number
- CN202510363185.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-03-26
AI Technical Summary
In the prior art, the monitoring accuracy of the server room is low, making it difficult to effectively capture and respond to the high dynamic load changes, complex environmental interference and equipment heterogeneity of the server room.
By obtaining the historical monitoring information and cluster performance parameters of the server room, setting up multi-level alarm policies, and monitoring the internal and external environment in real time, dynamically adjusting the alarm policies to achieve the target alarm policies.
It improves the monitoring accuracy and response speed of the server room, ensures the timeliness and accuracy of the multi-level alarm strategy, and improves the overall stability and security of the server room.
Smart Images

Figure CN119892680A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of server room monitoring, and in particular to a method, equipment, medium and program product for dynamic monitoring of a server room. Background Art
[0002] With the rapid development of cloud computing and big data technologies, the stability and reliability of the server room's operation as the core infrastructure supporting modern digital business has become a key factor in ensuring service quality and business continuity.
[0003] In the related art, server rooms generally adopt a monitoring and alarm mechanism based on fixed thresholds. Specifically, sensors are deployed in the server room to obtain monitoring data, and the monitoring data is compared with a preset fixed threshold. When the monitoring data exceeds the fixed threshold, an alarm signal will be triggered, and the operation and maintenance personnel will be notified through the preset communication channel for manual intervention. However, current server room monitoring needs to cope with multiple challenges such as high dynamic load changes, complex environmental interference, and equipment heterogeneity. These challenges make the operating status of the server room more complex and changeable. The monitoring and alarm mechanism based on fixed thresholds may be difficult to effectively capture and respond to these dynamic changes.
[0004] However, when using the above-mentioned monitoring and alarm mechanism based on fixed thresholds, since the workload and environmental conditions of the server room often change, the fixed thresholds are difficult to adapt to these dynamic changes, making it impossible to conduct a comprehensive and accurate assessment and early warning of the operating status of the room, which in turn leads to a low monitoring accuracy of the server room in related technologies. Summary of the invention
[0005] The present application provides a method, device, medium and program product for dynamic monitoring of a server room, which are used to improve the monitoring accuracy of the server room.
[0006] In a first aspect, the present application provides a dynamic monitoring method for a server room, which is applied to the above-mentioned electronic equipment, the method comprising: upon obtaining historical monitoring information of the server room and cluster performance parameters of a server device cluster, setting a multi-level alarm strategy based on the historical monitoring information and the cluster performance parameters, wherein the server room includes a server device cluster; obtaining internal monitoring information obtained by a first monitoring device performing real-time monitoring of an internal environment of the server room, and obtaining external monitoring information obtained by a second monitoring device performing real-time monitoring of an external environment of the server room; performing dynamic adjustment operations on the multi-level alarm strategy based on the internal monitoring information and the external monitoring information to obtain a target alarm strategy; and performing alarm processing operations on the server room based on the target alarm strategy.
[0007] By adopting the above technical solution and setting a multi-level alarm strategy based on historical data and cluster performance parameters, a scientific early warning mechanism can be provided for the monitoring of the server room. By real-time monitoring of the internal and external environment of the server room, various factors that may affect the stable operation of the server room can be fully captured. The multi-level alarm strategy is dynamically adjusted according to these real-time monitoring information to ensure the timeliness and accuracy of the multi-level alarm strategy. Executing alarm processing operations according to the adjusted target alarm strategy can effectively improve the monitoring efficiency and response speed of the server room. This solves the technical problem of low monitoring accuracy of the server room in the related technology and achieves the technical effect of improving the monitoring accuracy of the server room.
[0008] Optionally, when historical monitoring information of the server room and equipment performance information of the server equipment cluster are obtained, a multi-level alarm strategy is set according to the historical monitoring information and cluster performance parameters, specifically including: determining the environmental parameter baseline fluctuation range and historical failure time series data of the server room according to the historical monitoring information; determining the temperature, humidity and pressure resistance parameter curve and redundant configuration status of the server equipment cluster according to the cluster performance parameters; setting a multi-level alarm strategy according to the environmental parameter baseline fluctuation range, historical failure time series data, temperature, humidity and pressure resistance parameter curve, and redundant configuration status.
[0009] By adopting the above technical solution, the baseline fluctuation range of environmental parameters and historical fault time series data are determined based on historical monitoring information, providing a data basis for the formulation of multi-level alarm strategies. Combined with the temperature, humidity and pressure resistance parameter curve and redundant configuration status of the server equipment cluster, the tolerance capacity of all equipment in the server room and the availability of backup resources can be more accurately evaluated. This multi-level alarm strategy that takes into account multiple factors can not only improve the pertinence and effectiveness of the alarm strategy, but also ensure the stable operation of the server room.
[0010] Optionally, a multi-level alarm strategy is set according to the environmental parameter benchmark fluctuation range, historical fault time series data, temperature, humidity and pressure resistance parameter curve, and redundant configuration status, specifically including: setting an early warning level strategy according to the environmental parameter benchmark fluctuation range and the temperature, humidity and pressure resistance parameter curve, wherein the early warning level strategy is to trigger fan speed regulation or enable a backup power supply module when at least one of the three parameters of temperature parameter, humidity parameter and voltage parameter reaches a first preset proportion range of the device tolerance threshold and deviates from the environmental parameter benchmark fluctuation range; determining the performance degradation data of the server device cluster according to the historical fault time series data, and determining the device load rate of the server device cluster according to the cluster performance parameters; determining the performance degradation data and the device load rate according to the performance degradation data and the device load rate An alarm level strategy is set, wherein the alarm level strategy is to trigger a standby server device switching operation or a non-core business shutdown operation when at least one of the temperature parameter, humidity parameter, and voltage parameter exceeds the device tolerance threshold and the device load rate is greater than a first preset load threshold; determine the power supply stability data of the server device cluster according to the cluster performance parameters; set an emergency level strategy based on historical fault time series data and power supply stability data, wherein the emergency level strategy is to trigger a device power-off protection operation or a data emergency migration operation when the temperature parameter, humidity parameter, and voltage parameter exceed the preset deviation range of the historical device tolerance peak and the power supply fluctuation amplitude exceeds the safe fluctuation range.
[0011] By adopting the above technical solutions, the early warning level strategy is set according to the environmental parameter baseline fluctuation range and the temperature, humidity and pressure resistance parameter curve, so that timely measures can be taken when the environmental parameters deviate from the normal range to prevent equipment damage. The alarm level strategy is set according to the historical fault time series data and the equipment load rate, so that the backup equipment can be switched or non-core business can be shut down in time when the equipment performance is degraded or the load is too high, thereby ensuring the overall performance of the server room. The emergency level strategy is set according to the power supply stability data and the historical fault time series data, so that measures such as power outage protection or data migration can be quickly taken when the power supply is unstable or the equipment is at its limit, so as to ensure the security of data and the integrity of equipment.
[0012] Optionally, internal monitoring information is obtained by the first monitoring device performing real-time monitoring of the internal environment of the server room, and external monitoring information is obtained by the second monitoring device performing real-time monitoring of the external environment of the server room, specifically including: obtaining CPU utilization, memory occupancy, and network throughput data of the server device cluster collected by the first monitoring device from the internal environment in real time, wherein the internal monitoring information includes CPU utilization, memory occupancy, and network throughput data; obtaining instantaneous temperature fluctuation values, instantaneous humidity fluctuation values, and instantaneous power supply voltage fluctuation values collected by the first monitoring device from the core area of the internal environment in real time, wherein the internal monitoring information The external monitoring information includes the instantaneous fluctuation value of temperature, the instantaneous fluctuation value of humidity and the instantaneous fluctuation value of power supply voltage; the temperature change trend, air humidity index and lightning activity warning level collected by the second monitoring device from the external environment in real time are obtained, wherein the external monitoring information includes the temperature change trend, air humidity index and lightning activity warning level; the voltage stability coefficient and frequency offset amplitude collected by the second monitoring device from the external power grid of the external environment in real time are obtained, wherein the external monitoring information includes the voltage stability coefficient and the frequency offset amplitude, the voltage stability coefficient is the power supply quality evaluation index of the external power grid, and the frequency offset amplitude is the absolute value of the deviation between the actual operating frequency of the external power grid and the standard operating frequency.
[0013] By adopting the above technical solutions, various key parameters inside and outside the server room are fully collected, providing rich data support for dynamically adjusting the alarm strategy. Internal monitoring information reflects the operating status and load conditions of the server equipment cluster, internal core area monitoring information is directly related to the stability and security of the server room environment, external environment monitoring information helps to predict potential natural disaster risks in advance, and external power grid monitoring information ensures the reliability and stability of the power supply in the room. Through the comprehensive collection and analysis of this information, a comprehensive and accurate data foundation can be provided for the operation and maintenance of the server room.
[0014] Optionally, a dynamic adjustment operation is performed on the multi-level alarm strategy based on the internal monitoring information and the external monitoring information to obtain a target alarm strategy, specifically including: generating a workload intensity assessment index based on the CPU utilization, memory occupancy and network throughput data, and generating an environmental pressure parameter set based on the instantaneous temperature fluctuation value, the instantaneous humidity fluctuation value and the instantaneous power supply voltage fluctuation value; generating power supply quality assessment data based on the voltage stability coefficient and the frequency offset amplitude; dynamically correlating and analyzing the workload intensity assessment index, the environmental pressure parameter set and the power supply quality assessment data to generate a dynamic monitoring baseline; and dynamically adjusting the multi-level alarm strategy based on the dynamic monitoring baseline to obtain the target alarm strategy.
[0015] By adopting the above technical solution, the workload intensity assessment indicators, environmental pressure parameter sets and power supply quality assessment data are dynamically correlated and analyzed to generate a dynamic monitoring baseline that can reflect the overall operating status of the computer room in real time, providing a scientific basis for the dynamic adjustment of multi-level alarm strategies, thereby ensuring the timeliness and accuracy of the alarm strategies and further improving the security and stability of the server room.
[0016] Optionally, a dynamic adjustment operation is performed on the multi-level alarm strategy according to the dynamic monitoring baseline to obtain a target alarm strategy, specifically including: when it is determined according to the dynamic monitoring baseline that the voltage stability coefficient is lower than the preset voltage stability threshold, the first preset proportion range of the voltage parameter is narrowed to the second preset proportion range, and the first startup priority of the backup voltage module is increased to the second startup priority, wherein the second startup priority is higher than the first startup priority; when it is determined according to the dynamic monitoring baseline that the first correlation between the workload intensity index and the environmental pressure parameter set is greater than the first preset correlation threshold, the first preset load threshold is reduced to the second preset load threshold; when it is determined according to the dynamic monitoring baseline that the lightning activity warning level is greater than or equal to the preset level threshold and the frequency offset amplitude is greater than the preset amplitude threshold, the first trigger time of the data emergency migration operation is adjusted to the second trigger time, wherein the first trigger time is later than the second trigger time; or, when it is determined according to the dynamic monitoring baseline that the second correlation between the workload intensity index and the environmental pressure parameter set is less than the second preset correlation threshold, the third trigger time of the data emergency migration operation is adjusted to the fourth trigger time, wherein the third trigger time is earlier than the fourth trigger time; when it is determined according to the dynamic monitoring baseline that the voltage stability coefficient is higher than the preset voltage stability threshold, the target alarm strategy is reset.
[0017] By adopting the above technical solution, the alarm strategy is dynamically adjusted in a refined manner according to the dynamic monitoring baseline. When the voltage stability coefficient is lower than the preset voltage stability threshold, the first preset proportion range of the voltage parameter is narrowed, and the startup priority of the backup voltage module is increased. The preset load threshold is adjusted according to the correlation between the workload intensity index and the environmental pressure parameter set, and the trigger time of the data emergency migration operation is adjusted according to the lightning activity warning level and the frequency offset amplitude. In addition, when the voltage stability coefficient is higher than the preset voltage stability threshold, the target alarm strategy is reset. These adjustment measures make the alarm strategy more flexible and effectively improve the response capability and security of the server room.
[0018] Optionally, an alarm processing operation is performed on the server room according to the target alarm strategy, specifically including: when it is determined that the target alarm strategy is an early warning level strategy, sending a voltage fluctuation warning signal and a backup power supply startup countdown prompt information; dynamically adjusting the air conditioning cooling power gradient and fan speed level of the server room according to a second preset proportion range; starting the backup voltage module according to the second startup priority to complete seamless switching of the power supply line; or, when it is determined that the target alarm strategy is an alarm level strategy, real-time monitoring of the load balancing status of the server device cluster according to the second preset load threshold; when it is determined that the load rate of a single-node device exceeds the second preset load threshold, triggering a non-core business shutdown operation and generating a resource dynamic allocation strategy; when it is determined that the cluster device load rate continues to exceed the second preset load threshold for a preset period of time, triggering a backup server device switching operation and generating a device performance degradation analysis report; storing the resource dynamic allocation strategy and the equipment performance degradation analysis report in the server room database; completing the data emergency migration operation within the second trigger time when it is determined that the target alarm strategy is an emergency level strategy, the first correlation is greater than the first preset correlation threshold, the lightning activity warning level is greater than or equal to the preset level threshold, and the frequency offset amplitude is greater than the preset amplitude threshold; after determining that the data emergency migration operation is completed, performing the following equipment power-off protection operations on the server room: cutting off the power supply to non-critical equipment and releasing the redundant capacitor of the uninterruptible power supply, wherein the server room includes non-critical equipment; enabling surge protection for the storage array of the server room; triggering the emergency trip protection of the room-level circuit breaker; or, when it is determined that the target alarm strategy is an emergency level strategy and the second correlation is less than the second preset correlation threshold, completing the data emergency migration operation within the fourth trigger time.
[0019] By adopting the above technical solutions, when the early warning strategy is triggered, by sending voltage fluctuation warning signals and backup power supply startup countdown prompt information, sufficient preparation time can be provided for relevant operation and maintenance personnel; by dynamically adjusting the air conditioning cooling power gradient and fan speed level, the stability of the server room environment can be ensured. When the alarm-level strategy is triggered, the stable operation of the core business can be ensured by real-time monitoring of the load balancing status and triggering corresponding operations. When the emergency-level strategy is triggered, the security of equipment and data can be maximized by quickly completing emergency data migration and executing equipment power-off protection operations. The comprehensive application of these alarm processing operations can not only ensure that the computer room can respond quickly and effectively to various abnormal situations, but also improve the overall stability and security of the server room.
[0020] In a second aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method described in the first aspect and any possible implementation method of the first aspect.
[0021] In a third aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions. When the instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible implementation manner of the first aspect.
[0023] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The dynamic monitoring method of the server room provided by this application sets a multi-level alarm strategy based on historical data and cluster performance parameters, which can provide a scientific early warning mechanism for the monitoring of the server room. By real-time monitoring of the internal and external environment of the server room, various factors that may affect the stable operation of the server room can be fully captured. The multi-level alarm strategy is dynamically adjusted according to these real-time monitoring information to ensure the timeliness and accuracy of the multi-level alarm strategy. Performing alarm processing operations according to the adjusted target alarm strategy can effectively improve the monitoring efficiency and response speed of the server room.
[0024] 2. The dynamic monitoring method of the server room provided in this application determines the baseline fluctuation range of environmental parameters and historical failure time series data based on historical monitoring information, providing a data basis for the formulation of a multi-level alarm strategy. Combined with the temperature, humidity and pressure resistance parameter curve and redundant configuration status of the server equipment cluster, it can more accurately evaluate the tolerance of all equipment in the server room and the availability of backup resources. This multi-level alarm strategy that takes into account multiple factors can not only improve the pertinence and effectiveness of the alarm strategy, but also ensure the stable operation of the server room.
[0025] 3. The dynamic monitoring method for the server room provided in this application sets an early warning level strategy based on the baseline fluctuation range of environmental parameters and the temperature, humidity and pressure resistance parameter curve, and can take timely measures when environmental parameters deviate from the normal range to prevent equipment damage. The alarm level strategy is set according to the historical fault time series data and the equipment load rate, and can switch to backup equipment or shut down non-core businesses in time when the equipment performance degrades or the load is too high, thereby ensuring the overall performance of the server room. The emergency level strategy is set according to the power supply stability data and the historical fault time series data, and can quickly take measures such as power-off protection or data migration when the power supply is unstable or the equipment is at its limit, so as to ensure the security of data and the integrity of equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of a dynamic monitoring method for a server room in an embodiment of the present application; Figure 2 It is a schematic diagram of a physical device structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to any or all possible combinations comprising one or more listed items.
[0028] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
[0029] This application provides a dynamic monitoring method for a server room. Figure 1 , Figure 1 It is a flow chart of a dynamic monitoring method for a server room in an embodiment of the present application, comprising the following steps: Step S101, when historical monitoring information of the server room and cluster performance parameters of the server equipment cluster are obtained, a multi-level alarm strategy is set according to the historical monitoring information and the cluster performance parameters; In the above embodiment, historical monitoring information represents various types of data collected by monitoring the server room in the past period of time (for example, within three days, within a week, within a month, etc., not limited here), such as temperature, humidity, power usage, equipment failure records, etc., not limited here. A server device cluster refers to a collection of multiple server devices. Cluster performance parameters refer to a series of indicators that describe the overall performance of a server device cluster, such as CPU (Central Processing Unit) utilization, memory occupancy, network throughput, storage I / O (Input / Output) performance, etc., not limited here. A multi-level alarm strategy refers to different levels of alarm rules set based on historical monitoring information and cluster performance parameters.
[0030] In the above embodiment, the execution time and scenario of step S101 are usually in the operation and maintenance management process of the server room, in order to ensure the stable operation of the server equipment cluster and timely respond to potential problems. Specifically, after obtaining the historical monitoring information of the server room and the cluster performance parameters of the server equipment cluster, the normal operating range of the server room and the server equipment cluster and possible abnormal situations are analyzed based on the historical monitoring information and cluster performance parameters. According to these analysis results, a multi-level alarm strategy is set, and the multi-level alarm strategy includes but is not limited to different levels of alarm thresholds, alarm methods (for example, SMS, email, sound and light alarm, mobile phone APP alarm, upload to the Internet of Things platform alarm, etc.), alarm objects (for example, operation and maintenance personnel, management personnel, etc.) and post-alarm processing procedures. By setting a multi-level alarm strategy, it can be ensured that when different levels of abnormalities occur, corresponding processing measures can be taken in a timely and accurate manner.
[0031] Step S102, obtaining internal monitoring information obtained by real-time monitoring of the internal environment of the server room by the first monitoring device, and obtaining external monitoring information obtained by real-time monitoring of the external environment of the server room by the second monitoring device; In the above embodiment, the first monitoring device refers to a device installed inside the server room for real-time monitoring of the internal environment of the room. The first monitoring device can monitor environmental parameters such as temperature, humidity, air quality (for example, combustible gas, PM2.5, etc.), smoke, water immersion, noise, light collection, digital frequency conversion infrared grating, etc. Internal monitoring information refers to various data of the internal environment of the server room monitored in real time by the first monitoring device, which can reflect the real-time status inside the room. The second monitoring device refers to a device installed outside the server room for real-time monitoring of the external environment of the server room. The second monitoring device may monitor natural parameters such as temperature, humidity, wind speed, rainfall, and possible security conditions such as intrusion and destruction. External monitoring information refers to various data of the external environment of the server room monitored in real time by the second monitoring device, which helps to understand the environmental changes outside the server room and respond to external factors that may affect the room in a timely manner.
[0032] In the above embodiment, the execution timing and scenario of step S102 are usually during the daily operation and maintenance of the server room, in order to ensure the stability and safety of the environment inside and outside the server room. Specifically, a first monitoring device and a second monitoring device are configured to monitor the internal and external environments of the server room in real time, respectively. The first monitoring device will collect data such as temperature, humidity, and air quality inside the room regularly or in real time, and save these data as internal monitoring information. At the same time, the second monitoring device will also monitor the environmental parameters and safety conditions outside the room, and save the collected data as external monitoring information. Through these real-time monitoring information, the real-time conditions inside and outside the server room can be timely understood, potential problems can be discovered, and corresponding measures can be taken to prevent or deal with them.
[0033] Step S103, dynamically adjusting the multi-level alarm strategy according to the internal monitoring information and the external monitoring information to obtain a target alarm strategy; In the above embodiment, the dynamic adjustment operation means adjusting the alarm level, alarm condition, emergency measures, etc. in the multi-level alarm strategy in real time according to the internal monitoring information and external monitoring information obtained in real time to adapt to the changes in the environment inside and outside the server room. The target alarm strategy refers to the multi-level alarm strategy that is most suitable for the current internal and external environment of the server room after the dynamic adjustment operation.
[0034] In the above embodiment, the execution timing and scenario of step S103 are usually during the daily operation and maintenance of the server room. When the internal and external environment of the server room changes, the alarm strategy needs to be adjusted in real time to ensure the safety and stable operation of the room. Specifically, the environmental conditions inside and outside the server room are analyzed based on the internal monitoring information and external monitoring information obtained in real time. For example, when it is found that the internal temperature of the server room is gradually rising and the external environment temperature is also high, it may be judged that the heat dissipation of the server room is facing greater pressure. At this time, the alarm level and alarm conditions can be dynamically adjusted according to the multi-level alarm strategy, for example, the threshold of the temperature alarm can be lowered, or emergency measures after the alarm can be added to obtain the target alarm strategy. In this way, when the temperature of the server room rises slightly, the alarm can be triggered in time, and corresponding measures can be taken in time to prevent safety problems such as overheating in the server room.
[0035] Step S104: performing alarm processing operations on the server room according to the target alarm strategy.
[0036] In the above embodiment, the alarm processing operation refers to a series of emergency response measures executed when the monitoring data of the server room triggers the alarm conditions in the target alarm strategy. The emergency response measures may include sending alarm information to operation and maintenance personnel, starting backup equipment, adjusting environmental control parameters, etc., so as to restore the normal operation of the server room as soon as possible or prevent the problem from further deteriorating.
[0037] In the above embodiment, the execution time and scenario of step S104 is usually during the daily operation and maintenance of the server room, when the monitoring data of the server room triggers the alarm conditions in the target alarm strategy. Specifically, when the monitoring device (corresponding to the above-mentioned first monitoring device and the above-mentioned second monitoring device) monitors in real time that the internal and external environmental parameters of the server room (for example, temperature, humidity, power supply, etc., not limited here) have changed, and these changes trigger the alarm conditions in the target alarm strategy, the alarm processing operation will be automatically executed. The alarm processing operation includes but is not limited to immediately notifying the operation and maintenance personnel of abnormal conditions in the server room through text messages, emails or sounds, automatically starting the backup power supply, adjusting the air conditioning temperature or turning on the smoke exhaust system according to the emergency measures in the alarm strategy, so as to restore the normal environment of the server room as soon as possible, record the alarm information and processing process, and provide a basis for subsequent analysis and improvement.
[0038] Through the above steps, a multi-level alarm strategy is set according to historical data and cluster performance parameters, which can provide a scientific early warning mechanism for the monitoring of the server room. By real-time monitoring of the internal and external environment of the server room, various factors that may affect the stable operation of the server room can be fully captured. The multi-level alarm strategy is dynamically adjusted according to these real-time monitoring information to ensure the timeliness and accuracy of the multi-level alarm strategy. Performing alarm processing operations according to the adjusted target alarm strategy can effectively improve the monitoring efficiency and response speed of the server room. This solves the technical problem of low monitoring accuracy of the server room in the related technology, and achieves the technical effect of improving the monitoring accuracy of the server room.
[0039] Among them, the executor of the above steps can be a control system with the ability to dynamically adjust the alarm strategy, or a control device with the ability to dynamically adjust the alarm strategy, or a controller or processor in a device or system, or a separate controller or processor, or other processing devices or processing units with similar processing functions, etc., but not limited to this.
[0040] In an optional embodiment, when historical monitoring information of the server room and equipment performance information of the server equipment cluster are obtained, a multi-level alarm strategy is set according to the historical monitoring information and cluster performance parameters, specifically including: determining the environmental parameter baseline fluctuation range and historical failure time series data of the server room according to the historical monitoring information; determining the temperature, humidity and pressure resistance parameter curve and redundant configuration status of the server equipment cluster according to the cluster performance parameters; setting a multi-level alarm strategy according to the environmental parameter baseline fluctuation range, historical failure time series data, temperature, humidity and pressure resistance parameter curve, and redundant configuration status.
[0041] In the above embodiment, it is assumed that a data center has multiple server rooms, and a large number of server equipment clusters are deployed in each server room to process various business applications. In order to ensure the stable operation of the data center, it is necessary to monitor the environmental parameters and equipment performance of the server room in real time, and set a multi-level alarm strategy based on this information. The specific implementation steps are: through the sensors and monitoring equipment deployed in the server room, collect environmental parameter data in the past period of time (for example, the past week, the past half month, the past month, etc., not limited here), including but not limited to temperature, humidity, voltage, etc. At the same time, the equipment performance data of the server equipment cluster is also obtained, such as CPU usage, memory occupancy, disk I / O, etc. The collected environmental parameter data is analyzed to calculate the baseline fluctuation range of each parameter (i.e., the environmental parameter baseline fluctuation range), that is, the parameter fluctuation range under normal conditions. Analyze historical fault data to identify the fault time series associated with specific environmental parameter fluctuations (i.e., historical fault time series data), that is, which parameter fluctuations are prone to cause faults. According to the equipment performance data of the server equipment cluster, a temperature and humidity resistance parameter curve is drawn, that is, the performance of the equipment under different temperature and humidity conditions. Check the redundant configuration status of the server equipment, including but not limited to the power redundancy status, network redundancy status, etc., to ensure that the backup equipment can be quickly switched when some equipment fails. Set a multi-level alarm strategy based on the environmental parameter benchmark fluctuation range, historical failure time series data, temperature and humidity resistance parameter curve and redundant configuration status. Through the above specific implementation steps, a reasonable multi-level alarm strategy can be set based on the historical monitoring information of the server room and the equipment performance information of the server equipment cluster to ensure the stable operation of the data center. In actual applications, the alarm strategy can also be adjusted and optimized according to the specific situation to improve the accuracy and timeliness of the alarm.
[0042] In an optional embodiment, a multi-level alarm strategy is set according to the environmental parameter benchmark fluctuation range, historical failure time series data, temperature, humidity and pressure resistance parameter curve, and redundant configuration status, specifically including: setting an early warning level strategy according to the environmental parameter benchmark fluctuation range and the temperature, humidity and pressure resistance parameter curve, wherein the early warning level strategy is to trigger fan speed regulation or enable the backup power module when at least one of the three parameters of temperature parameter, humidity parameter and voltage parameter reaches a first preset proportion range of the device tolerance threshold and deviates from the environmental parameter benchmark fluctuation range; determining the performance degradation data of the server device cluster according to the historical failure time series data, and determining the device load rate of the server device cluster according to the cluster performance parameters; determining the performance degradation data and the device load rate of the server device cluster according to ... series data and the redundant configuration status. An alarm level strategy is set for the standby load rate, wherein the alarm level strategy is that when at least one of the temperature parameter, humidity parameter, and voltage parameter exceeds the equipment tolerance threshold and the equipment load rate is greater than the first preset load threshold, a standby server equipment switching operation or a non-core business shutdown operation is triggered; the power supply stability data of the server equipment cluster is determined according to the cluster performance parameters; an emergency level strategy is set according to the historical fault time series data and the power supply stability data, wherein the emergency level strategy is that when the temperature parameter, humidity parameter, and voltage parameter exceed the preset deviation range of the historical equipment tolerance peak value and the power supply fluctuation amplitude exceeds the safe fluctuation range, an equipment power-off protection operation or a data emergency migration operation is triggered.
[0043] In the above embodiment, it is assumed that the data center of an Internet company has multiple server rooms, and a server equipment cluster is deployed in each server room to support the company's various online businesses. In order to ensure the stable operation of the data center, a multi-level alarm strategy is set according to factors such as environmental parameters, equipment performance, and power supply stability. The specific implementation steps are: through the temperature and humidity sensors and voltage monitoring equipment in the server room, the environmental parameter data such as temperature, humidity, and voltage are collected in real time. Determine the benchmark fluctuation range of temperature, humidity, and voltage. For example, the benchmark fluctuation range is 20-25°C for temperature, 40%-60% for humidity, and 220±5V for voltage. Draw a temperature, humidity, and pressure resistance parameter curve to clarify the performance threshold of the server equipment under different temperature and humidity conditions. For example, the performance of the server equipment may be affected when the temperature exceeds 32°C or the humidity exceeds 75%. When any parameter among temperature, humidity and voltage reaches the first preset proportion range (for example, 90%, of course it can also be 93%, 95%, 98%, etc., which are not limited here) of the equipment tolerance threshold (for example, temperature 35°C, humidity 80%, voltage 230V or 210V, etc.), that is, the temperature reaches 31.5°C, the humidity reaches 72%, and the voltage reaches 225V or 215V, and deviates from the benchmark fluctuation range, the early warning level strategy is triggered, that is, the speed of the fan in the computer room is automatically adjusted to enhance heat dissipation, or the backup power module is enabled to ensure the stability of power supply.
[0044] In the above embodiment, the historical fault time series data is analyzed to find the law that the performance of the server equipment gradually decreases after a long period of high-load operation. The equipment load rate of the server equipment is collected in real time, such as CPU usage, memory occupancy, etc. When any parameter of temperature, humidity, and voltage exceeds the equipment tolerance threshold (for example, temperature 35°C, humidity 80%, voltage 230V or 210V, etc.), and the equipment load rate is greater than the first preset load threshold (for example, CPU usage exceeds 75%, memory occupancy exceeds 65%, etc.), the alarm level strategy is triggered, that is, automatically switching to the backup server equipment to replace the equipment with performance degradation or failure, or shutting down some non-core businesses to reduce the server load.
[0045] In the above embodiment, the power supply stability data of the server equipment cluster is collected in real time, such as voltage fluctuation amplitude, frequency stability, etc. Combined with the historical fault time series data, the correlation between power supply fluctuation and serious equipment failure is analyzed. When any parameter of temperature, humidity, and voltage exceeds the preset deviation range of the peak value of the historical equipment (for example, the temperature exceeds 38°C, the humidity exceeds 85%, the voltage fluctuation exceeds ±10%, etc.), and the power supply fluctuation amplitude exceeds the safe fluctuation range (for example, the voltage fluctuation exceeds ±5%, etc.), the emergency level strategy is triggered, that is, the power supply of the affected server equipment is immediately disconnected to protect the server equipment from damage, and the data emergency migration operation is started at the same time, and the key data is migrated to other safe and reliable storage devices or data centers. Through the above specific implementation steps, the data center can effectively monitor and manage the environmental parameters, equipment performance and power supply stability in the server room. When an abnormal situation occurs, it can be discovered in time and corresponding measures can be taken to ensure the stable operation of the data center and the safety of the equipment. At the same time, the setting of the multi-level alarm strategy can also be flexibly adjusted and optimized according to the actual situation to adapt to the changes in different scenarios and needs.
[0046] In an optional embodiment, internal monitoring information obtained by real-time monitoring of the internal environment of the server room by a first monitoring device, and external monitoring information obtained by real-time monitoring of the external environment of the server room by a second monitoring device, specifically include: obtaining CPU utilization, memory occupancy, and network throughput data of the server device cluster collected in real time from the internal environment by the first monitoring device, wherein the internal monitoring information includes CPU utilization, memory occupancy, and network throughput data; obtaining instantaneous temperature fluctuation values, instantaneous humidity fluctuation values, and instantaneous power supply voltage fluctuation values collected in real time from the core area of the internal environment by the first monitoring device, wherein the internal The monitoring information includes instantaneous temperature fluctuation values, instantaneous humidity fluctuation values and instantaneous power supply voltage fluctuation values; the temperature change trend, air humidity index and lightning activity warning level collected in real time by the second monitoring device from the external environment are obtained, wherein the external monitoring information includes the temperature change trend, air humidity index and lightning activity warning level; the voltage stability coefficient and frequency offset amplitude collected in real time by the second monitoring device from the external power grid of the external environment are obtained, wherein the external monitoring information includes the voltage stability coefficient and the frequency offset amplitude, the voltage stability coefficient is a power supply quality evaluation index of the external power grid, and the frequency offset amplitude is the absolute value of the deviation between the actual operating frequency of the external power grid and the standard operating frequency.
[0047] In the above embodiment, the device type of the first monitoring device can be an integrated environmental monitoring sensor array, including but not limited to CPU utilization sensors, memory occupancy sensors, network throughput sensors, temperature and humidity sensors, and voltage sensors. It can be set to collect the CPU utilization, memory occupancy, and network throughput data of the server device cluster once every minute (of course, it can also be every 10 seconds, every 30 seconds, every 50 seconds, etc., which are not limited here), and collect the temperature instantaneous fluctuation value, humidity instantaneous fluctuation value, and power supply voltage instantaneous fluctuation value of the core area of the computer room every 5 minutes (of course, it can also be every 1 minute, every 3 minutes, every 4 minutes, etc., which are not limited here). The device type of the second monitoring device can be a combination of a meteorological station and a power grid monitoring station, including but not limited to temperature sensors, humidity sensors, lightning detectors, voltage monitoring modules, and frequency monitoring modules. It can be set to update the temperature change trend, air humidity index and lightning activity warning level of the external environment every 10 minutes (of course, it can also be every 3 minutes, every 5 minutes, every 7 minutes, etc., which are not limited here), and obtain the voltage stability coefficient and frequency deviation amplitude of the external power grid every hour (of course, it can also be every 15 minutes, every 30 minutes, every 40 minutes, etc., which are not limited here). All collected data are transmitted to the data processing center of the data center through wired or wireless networks for real-time analysis to identify abnormal trends or potential problems. When the CPU utilization or memory occupancy exceeds the preset threshold, the load balancing or resource scheduling strategy is automatically triggered to optimize server performance. When the instantaneous fluctuation value of temperature or humidity exceeds the normal range, the air conditioner or dehumidification equipment in the server room is automatically adjusted to maintain a suitable operating environment. When the instantaneous fluctuation value of the power supply voltage is too large, the backup power supply or uninterruptible power supply is started to ensure the stability of the power supply. When the temperature change trend indicates that high temperature weather is about to occur, the cooling system of the server room is turned on in advance to prevent overheating. When the air humidity index is too high, strengthen the dehumidification measures in the server room to prevent humidity from damaging the equipment. When receiving a warning of lightning activity, immediately check and reinforce the lightning protection facilities in the server room to ensure the safety of the equipment. When the voltage stability coefficient decreases or the frequency offset increases, coordinate with the power supplier to ensure the power supply quality of the external power grid and prepare an emergency power supply plan. The data of all monitoring equipment is integrated into a unified monitoring platform to achieve centralized management and visual display of data. The monitoring platform provides real-time data charts, historical data trend analysis, abnormal event alarms and other functions, which facilitates operation and maintenance personnel to quickly understand the internal and external environmental conditions of the computer room and make corresponding decisions. Through the above specific implementation steps: the data center can fully and real-time understand the operating environment of the computer room, promptly discover and respond to potential problems, and ensure the stable operation of the server equipment cluster.
[0048] In an optional embodiment, a dynamic adjustment operation is performed on the multi-level alarm strategy based on internal monitoring information and external monitoring information to obtain a target alarm strategy, specifically including: generating a workload intensity assessment index based on CPU utilization, memory occupancy and network throughput data, and generating an environmental pressure parameter set based on instantaneous temperature fluctuation values, instantaneous humidity fluctuation values and instantaneous power supply voltage fluctuation values; generating power supply quality assessment data based on voltage stability coefficient and frequency offset amplitude; dynamically correlating and analyzing the workload intensity assessment index, environmental pressure parameter set and power supply quality assessment data to generate a dynamic monitoring baseline; and dynamically adjusting the multi-level alarm strategy based on the dynamic monitoring baseline to obtain a target alarm strategy.
[0049] In the above embodiment, assuming that the cabinet monitoring of an industrial data center is taken as an example, the steps for generating the dynamic monitoring baseline are: the CPU utilization rate of the embedded industrial computer in the cabinet is collected once every 5 seconds, and the value is an integer value of 0-100%. The memory occupancy rate is recorded as the percentage of used capacity / total capacity, and is also collected every 5 seconds. The network throughput statistics are megabytes per second (MB / s), and the data is summarized every 5 seconds. A temperature and humidity sensor is deployed at the front and back ends of the cabinet. The instantaneous temperature fluctuation value is recorded with a period of 250ms, and the absolute value of the temperature difference between adjacent sampling points is taken. The instantaneous humidity fluctuation value is calculated as the relative humidity change rate, which is also recorded with a period of 250ms. The instantaneous fluctuation value of the power supply voltage is the peak-to-peak deviation of the measured AC voltage, which is recorded with a period of 250ms. Power monitoring is to continuously obtain data through smart meters, the voltage stability coefficient is calculated as the inverse of the voltage standard deviation within a 10-minute window, and the frequency offset amplitude is recorded as the difference in parts per million of the 50Hz benchmark value. The workload intensity assessment indicator is to set the CPU utilization rate > 80% and the memory occupancy rate > 75% as a high load state. When the network throughput exceeds 10MB / s for 30 seconds, the load intensity level is triggered to increase, which is divided into three levels: low, medium, and high. The environmental pressure parameter set is to generate an environmental abnormality mark when the temperature fluctuation exceeds ±2℃ / second for 5 consecutive times, or the humidity fluctuation is >±5%RH / second, or the voltage fluctuation is >±10% of the rated value. The power quality assessment data is that when the voltage stability coefficient is lower than 0.95, it is judged as an unstable power supply state, and the frequency deviation exceeds ±0.5Hz, it is marked as power abnormality.
[0050] As shown in Table 1, the comprehensive weights of load intensity, environmental conditions, and power quality are set: Load Strength Environmental status Power quality Comprehensive weight Low normal excellent 0.3 middle 1 abnormality Slight fluctuation 0.6 high ≥ 2 abnormalities Severe deterioration 0.9 Table 1 Three-dimensional association weight table According to the three-dimensional association weight table, the dynamic score is calculated: Score = load level factor × 40% + number of environmental abnormalities × 30% + power degradation degree × 30% The load level coefficient is determined according to the load intensity level (e.g., low = 1, medium = 2, high = 3, etc.). The number of environmental abnormal items is determined according to the number of abnormal items in the environmental pressure parameter set. The degree of power degradation is determined according to the power quality assessment data (e.g., excellent = 0, slight fluctuation = 1, severe degradation = 2, etc.).
[0051] Dynamic monitoring baseline generation: When the score is ≥ 0.7 for three consecutive calculation cycles, a dynamic monitoring baseline is generated, the temperature fluctuation threshold is tightened to ±1.5℃ / second, and the load overload judgment time window is shortened to 15 seconds.
[0052] The initial setting of multi-level alarm strategy is early warning strategy, alarm strategy, emergency strategy, etc. The alarm threshold and alarm level in the multi-level alarm strategy can be adjusted according to the dynamic monitoring baseline. When the dynamic monitoring baseline changes, the multi-level alarm strategy is adjusted according to the new dynamic monitoring baseline. For example, after the temperature fluctuation threshold is tightened, if the temperature fluctuation exceeds the new threshold, a higher level alarm is triggered. After the load overload judgment time window is shortened, if the network throughput increases sharply in a short period of time, the alarm is triggered more quickly.
[0053] Through the above specific implementation steps, the multi-level alarm strategy can be dynamically adjusted according to the actual operating status and environmental conditions of the industrial data center cabinets to more accurately reflect the operating status of the cabinets and discover potential problems in a timely manner.
[0054] In an optional embodiment, a dynamic adjustment operation is performed on a multi-level alarm strategy according to a dynamic monitoring baseline to obtain a target alarm strategy, specifically including: when it is determined according to the dynamic monitoring baseline that the voltage stability coefficient is lower than a preset voltage stability threshold, the first preset proportion range of the voltage parameter is reduced to a second preset proportion range, and the first startup priority of the backup voltage module is increased to a second startup priority, wherein the second startup priority is higher than the first startup priority; when it is determined according to the dynamic monitoring baseline that the first correlation between the workload intensity index and the environmental pressure parameter set is greater than the first preset correlation threshold, the first preset load threshold is reduced to the second preset load threshold; when it is determined according to the dynamic monitoring baseline that the lightning activity warning level is greater than or equal to the preset level threshold and the frequency offset amplitude is greater than the preset amplitude threshold, the first trigger time of the data emergency migration operation is adjusted to the second trigger time, wherein the first trigger time is later than the second trigger time; or, when it is determined according to the dynamic monitoring baseline that the second correlation between the workload intensity index and the environmental pressure parameter set is less than the second preset correlation threshold, the third trigger time of the data emergency migration operation is adjusted to the fourth trigger time, wherein the third trigger time is earlier than the fourth trigger time; when it is determined according to the dynamic monitoring baseline that the voltage stability coefficient is higher than the preset voltage stability threshold, the target alarm strategy is reset.
[0055] In the above embodiment, it is assumed that in a server room of a large data center, in order to ensure the stable operation of the data center and the security of the data, the multi-level alarm strategy is dynamically adjusted according to the baseline. The specific implementation steps are: setting key monitoring indicators such as voltage stability coefficient, workload intensity index, environmental pressure parameter set and lightning activity warning level. Set the preset threshold and correlation threshold of each indicator. Continuously monitor the voltage stability coefficient, when the voltage stability coefficient is lower than the preset voltage stability threshold (for example, 0.95, 0.97, 0.98, etc., not limited here). Reduce the first preset proportion range of the voltage parameter (for example, ±5%, etc.) to the second preset proportion range (for example, ±1%, ±2%, ±3%, etc., not limited here). Raise the first startup priority of the backup voltage module to the second startup priority (for example, from "backup" to "emergency"). Continuously monitor the correlation between the workload intensity index and the environmental pressure parameter set. When the first correlation is greater than a first preset correlation threshold (for example, 0.8, 0.85, 0.9, etc., not limited here), reduce the first preset load threshold (for example, CPU utilization 80%, etc.) to a second preset load threshold (for example, CPU utilization 70%, etc.).
[0056] In the above embodiment, the lightning activity warning level and frequency deviation amplitude are continuously monitored. When the lightning activity warning level is greater than or equal to the preset level threshold (e.g., severe) and the frequency deviation amplitude is greater than the preset amplitude threshold (e.g., ±0.5Hz), the first trigger time (e.g., 30 minutes) of the data emergency migration operation is adjusted to the second trigger time (e.g., 15 minutes). When the second correlation between the workload intensity index and the environmental pressure parameter set is less than the second preset correlation threshold (e.g., 0.2) (indicating that the load and environmental pressure are loosely related, which may mean that there is a large buffer space), the third trigger time (e.g., 10 minutes) of the data emergency migration operation is adjusted to the fourth trigger time (e.g., 20 minutes). The voltage stability coefficient is continuously monitored. When the voltage stability coefficient is higher than the preset voltage stability threshold, the target alarm strategy is reset to the initial state or reset according to the new baseline. Through the above specific implementation steps, the multi-level alarm strategy is dynamically adjusted according to the dynamic monitoring baseline, which realizes the refined management and optimization of the data center. By real-time monitoring of key indicators and adjusting the alarm strategy according to preset conditions, it is possible to more effectively respond to changes and abnormal situations in the server room, improve the stability of the server room and the security of the data.
[0057] In an optional embodiment, an alarm processing operation is performed on the server room according to the target alarm strategy, specifically including: when it is determined that the target alarm strategy is an early warning level strategy, sending a voltage fluctuation early warning signal and a backup power supply startup countdown prompt information; dynamically adjusting the air conditioning cooling power gradient and fan speed level of the server room according to a second preset ratio range; starting the backup voltage module according to a second startup priority to complete seamless switching of the power supply line; or, when it is determined that the target alarm strategy is an alarm level strategy, real-time monitoring of the load balancing status of the server device cluster according to a second preset load threshold; when it is determined that the load rate of a single-node device exceeds the second preset load threshold, triggering a non-core business shutdown operation and generating a resource dynamic allocation strategy; when it is determined that the cluster device load rate continues to exceed the second preset load threshold within a preset time period, triggering a backup server device switching operation and generating a device performance degradation analysis report; storing the resource dynamic allocation strategy and the equipment performance degradation analysis report in the server room database; completing the data emergency migration operation within the second trigger time when it is determined that the target alarm strategy is an emergency level strategy, the first correlation is greater than the first preset correlation threshold, the lightning activity warning level is greater than or equal to the preset level threshold, and the frequency offset amplitude is greater than the preset amplitude threshold; after determining that the data emergency migration operation is completed, performing the following equipment power-off protection operations on the server room: cutting off the power supply to non-critical equipment and releasing the redundant capacitor of the uninterruptible power supply, wherein the server room includes non-critical equipment; enabling surge protection for the storage array of the server room; triggering the emergency tripping protection of the room-level circuit breaker; or, when it is determined that the target alarm strategy is an emergency level strategy and the second correlation is less than the second preset correlation threshold, completing the data emergency migration operation within the fourth trigger time.
[0058] In the above embodiment, it is assumed that in a server room of a large data center, in order to ensure the stable operation of the server room and the security of the data, it is necessary to perform corresponding alarm processing operations according to the target alarm strategy. The specific implementation steps are: when the voltage fluctuation is detected to be close to the warning threshold, the target alarm strategy is determined to be a warning level strategy. A voltage fluctuation warning signal is sent to the room manager to prompt the impending voltage instability, and at the same time, a backup power supply start countdown prompt message is sent to inform that the backup power supply will automatically start after the countdown ends. According to the second preset ratio range, the air conditioning cooling power gradient of the server room is dynamically adjusted to adapt to possible temperature changes, and the fan speed level is adjusted to ensure air circulation and heat dissipation in the room. According to the second startup priority, the backup voltage module is started to achieve seamless switching of the power supply line to ensure continuous power supply to the server equipment.
[0059] In the above embodiment, it is monitored that the load balancing state of the server device cluster is abnormal, and the target alarm strategy is determined to be an alarm level strategy. According to the second preset load threshold, the load balancing state of the server device cluster is monitored in real time. After determining that the load rate of a single-node device exceeds the second preset load threshold, a non-core business shutdown operation is triggered to release resources, generate a resource dynamic allocation strategy, optimize resource allocation, and ensure the normal operation of key businesses. After determining that the cluster device load rate continues to exceed the second preset load threshold for a preset period of time, a standby server device switching operation is triggered, and an equipment performance degradation analysis report is generated to analyze the reasons for the decline in equipment performance, providing a basis for subsequent maintenance and upgrades. The resource dynamic allocation strategy and the equipment performance degradation analysis report are stored in the server room database for subsequent query and analysis.
[0060] In the above embodiment, emergency level strategy processing (case one): it is monitored that the first correlation is greater than the first preset correlation threshold, the lightning activity warning level is greater than or equal to the preset level threshold, and the frequency offset amplitude is greater than the preset amplitude threshold. Determine the target alarm strategy as an emergency level strategy. Within the second trigger time, complete the data emergency migration operation and migrate the data to a safe and reliable storage location. Execute equipment power-off protection, that is, after determining that the data emergency migration operation is completed, cut off the power supply of non-critical equipment, release the redundant capacitor of the uninterruptible power supply, enable the anti-surge physical isolation protection for the storage array of the server room, trigger the emergency trip protection of the room-level circuit breaker, and ensure the safety of the server equipment cluster. Emergency level strategy processing (case two): it is monitored that the second correlation is less than the second preset correlation threshold, and determine the target alarm strategy as an emergency level strategy. Within the fourth trigger time, complete the data emergency migration operation to ensure the security of the data. Through the above specific implementation steps, the corresponding alarm processing operation is performed on the server room according to the target alarm strategy, and the refined management and optimization of the server equipment cluster are realized. By monitoring key indicators in real time and executing corresponding operations according to preset conditions, it is possible to more effectively respond to changes and abnormal situations in the server room, improve the stability of the server room and the security of data. At the same time, by generating dynamic resource allocation strategies and equipment performance degradation analysis reports, it provides strong support for subsequent maintenance and upgrades.
[0061] Through the embodiments of the present application, dynamic adjustment operations are performed on the pre-set multi-level alarm strategy based on the internal monitoring information and external monitoring information obtained in real time. This means that the threshold of the alarm strategy is no longer fixed, but can be adjusted in real time according to environmental changes to more accurately reflect the actual operating conditions of the computer room. This dynamic threshold adjustment mechanism can capture subtle environmental changes, whether it is a small internal temperature fluctuation or a short-term external power instability, which can be detected in time, thereby improving the timeliness and accuracy of the early warning.
[0062] The electronic device in the embodiment of the present invention is described below from the perspective of hardware processing. Figure 2 , Figure 2 It is a schematic diagram of a physical device structure of an electronic device in an embodiment of the present application.
[0063] It should be noted that Figure 2 The structure of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0064] like Figure 2 As shown, the electronic device includes a central processing unit (CPU) 201, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 202 or the program loaded from the storage part 208 to the random access memory (RAM) 203, such as executing the method described in the above embodiment. In the RAM 203, There are various programs and data required for system operation. The CPU 201 , the ROM 202 , and the RAM 203 are connected to each other via a bus 204 . An input / output (I / O) interface 205 is also connected to the bus 204 .
[0065] The following components are connected to the I / O interface 205: an input section 206 including an audio input device, a button switch, etc.; an output section 207 including a liquid crystal display (LCD) and an audio output device, an indicator light, etc.; a storage section 208 including a hard disk, etc.; and a communication section 209 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 209 performs communication processing via a network such as the Internet. A drive 210 is also connected to the I / O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 210 as needed so that a computer program read therefrom is installed into the storage section 208 as needed.
[0066] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 209, and / or installed from the removable medium 211. When the computer program is executed by the central processing unit (CPU) 201, various functions defined in the present invention are performed.
[0067] It should be noted that specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0068] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. Each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings.
[0069] Specifically, the electronic device of this embodiment includes a processor and a memory. The memory stores a computer program. When the computer program is executed by the processor, the dynamic monitoring method of the server room provided in the above embodiment is implemented.
[0070] As another aspect, the present invention further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above storage medium carries one or more computer programs, and when the above one or more computer programs are executed by a processor of the electronic device, the electronic device implements the dynamic monitoring method of the server room provided in the above embodiment.
[0071] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0072] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Claims
1. A dynamic monitoring method for a server room, characterized in that: include: In the case of acquiring historical monitoring information of a server room and cluster performance parameters of a server device cluster, setting a multi-level alarm strategy according to the historical monitoring information and the cluster performance parameters, wherein the server room includes the server device cluster; Acquire internal monitoring information obtained by real-time monitoring of the internal environment of the server room by a first monitoring device, and acquire external monitoring information obtained by real-time monitoring of the external environment of the server room by a second monitoring device; Performing a dynamic adjustment operation on the multi-level alarm strategy according to the internal monitoring information and the external monitoring information to obtain a target alarm strategy; An alarm processing operation is performed on the server room according to the target alarm strategy.
2. The method according to claim 1, characterized in that When the historical monitoring information of the server room and the equipment performance information of the server equipment cluster are obtained, a multi-level alarm strategy is set according to the historical monitoring information and the cluster performance parameters, specifically including: Determine the baseline fluctuation range of the environmental parameters of the server room and the historical failure time series data according to the historical monitoring information; Determining a temperature, humidity and pressure resistance parameter curve and a redundant configuration state of the server device cluster according to the cluster performance parameters; The multi-level alarm strategy is set according to the environmental parameter benchmark fluctuation range, the historical fault time series data, the temperature, humidity and pressure resistance parameter curve, and the redundant configuration status.
3. The method according to claim 2, characterized in that The multi-level alarm strategy is set according to the environmental parameter reference fluctuation range, the historical fault time series data, the temperature, humidity and pressure resistance parameter curve, and the redundant configuration state, specifically including: An early warning level strategy is set according to the environmental parameter benchmark fluctuation range and the temperature, humidity and pressure resistance parameter curve, wherein the early warning level strategy is to trigger fan speed regulation or enable the backup power supply module when at least one of the temperature parameter, humidity parameter and voltage parameter reaches a first preset proportion range of the device tolerance threshold and deviates from the environmental parameter benchmark fluctuation range; Determining performance degradation data of the server device cluster according to the historical failure time series data, and determining a device load rate of the server device cluster according to the cluster performance parameter; An alarm level strategy is set according to the performance degradation data and the device load rate, wherein the alarm level strategy is to trigger a standby server device switching operation or a non-core business shutdown operation when at least one of the temperature parameter, the humidity parameter, and the voltage parameter exceeds the device tolerance threshold and the device load rate is greater than a first preset load threshold; Determining power supply stability data of the server device cluster according to the cluster performance parameters; An emergency level strategy is set according to the historical fault time series data and the power supply stability data, wherein the emergency level strategy is to trigger a device power-off protection operation or a data emergency migration operation when the temperature parameter, humidity parameter, and voltage parameter exceed a preset deviation range of the historical device-bearing peak value, and the power supply fluctuation amplitude exceeds a safe fluctuation range.
4. The method according to claim 1, characterized in that: The obtaining of internal monitoring information obtained by real-time monitoring of the internal environment of the server room by the first monitoring device, and the obtaining of external monitoring information obtained by real-time monitoring of the external environment of the server room by the second monitoring device, specifically include: Acquire the CPU utilization, memory occupancy, and network throughput data of the server device cluster collected in real time by the first monitoring device from the internal environment, wherein the internal monitoring information includes the CPU utilization, the memory occupancy, and the network throughput data; Acquire instantaneous temperature fluctuation values, instantaneous humidity fluctuation values, and instantaneous power supply voltage fluctuation values collected in real time by the first monitoring device from the core area of the internal environment, wherein the internal monitoring information includes the instantaneous temperature fluctuation values, the instantaneous humidity fluctuation values, and the instantaneous power supply voltage fluctuation values; Acquire the temperature change trend, air humidity index and lightning activity warning level collected in real time by the second monitoring device from the external environment, wherein the external monitoring information includes the temperature change trend, the air humidity index and the lightning activity warning level; Obtain the voltage stability coefficient and frequency offset amplitude collected in real time by the second monitoring device from the external power grid of the external environment, wherein the external monitoring information includes the voltage stability coefficient and the frequency offset amplitude, the voltage stability coefficient is a power supply quality assessment indicator of the external power grid, and the frequency offset amplitude is the absolute value of the deviation between the actual operating frequency of the external power grid and the standard operating frequency.
5. The method according to claim 4, characterized in that The dynamically adjusting operation of the multi-level alarm strategy according to the internal monitoring information and the external monitoring information to obtain a target alarm strategy specifically includes: Generate a workload intensity evaluation index according to the CPU utilization, the memory occupancy and the network throughput data, and generate an environmental pressure parameter set according to the instantaneous temperature fluctuation value, the instantaneous humidity fluctuation value and the instantaneous power supply voltage fluctuation value; generating power supply quality assessment data according to the voltage stability coefficient and the frequency deviation amplitude; Dynamically correlate and analyze the workload intensity assessment index, the environmental pressure parameter set, and the power supply quality assessment data to generate a dynamic monitoring baseline; The dynamic adjustment operation is performed on the multi-level alarm strategy according to the dynamic monitoring baseline to obtain the target alarm strategy.
6. The method according to any one of claims 1 to 5, characterized in that: Performing the dynamic adjustment operation on the multi-level alarm strategy according to the dynamic monitoring baseline to obtain the target alarm strategy specifically includes: When it is determined according to the dynamic monitoring baseline that the voltage stability coefficient is lower than the preset voltage stability threshold, the first preset ratio range of the voltage parameter is reduced to the second preset ratio range, and the first startup priority of the backup voltage module is increased to the second startup priority, wherein the second startup priority is higher than the first startup priority; When it is determined according to the dynamic monitoring baseline that the first correlation between the workload intensity index and the environmental pressure parameter set is greater than the first preset correlation threshold, the first preset load threshold is reduced to the second preset load threshold; when it is determined according to the dynamic monitoring baseline that the lightning activity warning level is greater than or equal to the preset level threshold and the frequency offset amplitude is greater than the preset amplitude threshold, the first trigger time of the data emergency migration operation is adjusted to the second trigger time, wherein the first trigger time is later than the second trigger time; or When it is determined according to the dynamic monitoring baseline that the second correlation between the workload intensity indicator and the environmental pressure parameter set is less than a second preset correlation threshold, adjusting the third trigger time of the data emergency migration operation to a fourth trigger time, wherein the third trigger time is earlier than the fourth trigger time; When it is determined according to the dynamic monitoring baseline that the voltage stability coefficient is higher than the preset voltage stability threshold, the target alarm strategy is reset.
7. The method according to claim 6, characterized in that The performing of the alarm processing operation on the server room according to the target alarm strategy specifically includes: When it is determined that the target alarm strategy is a warning-level strategy, a voltage fluctuation warning signal and a backup power supply startup countdown prompt are sent; the air conditioning cooling power gradient and fan speed level of the server room are dynamically adjusted according to the second preset ratio range; the backup voltage module is started according to the second startup priority to complete seamless switching of the power supply line; or, In the case where it is determined that the target alarm strategy is an alarm-level strategy, the load balancing state of the server device cluster is monitored in real time according to the second preset load threshold; in the case where it is determined that the load rate of a single-node device exceeds the second preset load threshold, a non-core business shutdown operation is triggered, and a resource dynamic allocation strategy is generated; in the case where it is determined that the cluster device load rate continues to exceed the second preset load threshold within a preset time period, a standby server device switching operation is triggered, and a device performance degradation analysis report is generated; the resource dynamic allocation strategy and the device performance degradation analysis report are stored in a server room database; When it is determined that the target alarm strategy is an emergency level strategy, the first correlation is greater than the first preset correlation threshold, the lightning activity warning level is greater than or equal to the preset level threshold, and the frequency offset amplitude is greater than the preset amplitude threshold, the data emergency migration operation is completed within the second trigger time; after determining that the data emergency migration operation is completed, the following equipment power-off protection operations are performed on the server room: cutting off the power supply of non-critical equipment and releasing the redundant capacitor of the uninterruptible power supply, wherein the server room includes the non-critical equipment; enabling surge protection physical isolation for the storage array of the server room; triggering the emergency trip protection of the room-level circuit breaker; or, When it is determined that the target alarm policy is an emergency-level policy and the second correlation is less than the second preset correlation threshold, the data emergency migration operation is completed within the fourth trigger time.
8. An electronic device, characterized in that: The electronic device comprises: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the method as described in any one of claims 1-7.
9. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 7.
10. A computer program product, characterized in that When the computer program product is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Alarm management method and device, server and storage medium
CN110971444A
Resource monitoring and dynamic scheduling method and device based on k8s cluster and medium
CN117785382A
Real-time monitoring system for cloud computing server room
CN118509248A
New energy state monitoring method based on Internet of Things
CN119223359A
Real-time fault early warning method and device based on environment monitoring, terminal and storage medium
CN119274296A
Cited By
Alarm system for server equipment
CN120179516A
Telecommunication room monitoring method, system, equipment and medium
CN121098691A
A method, system, device and medium for monitoring a telecom room
CN121098691B
Data acquisition method, chip, circuit, electronic device, storage medium and computer program product
CN122507589A