CN111008110A - Machine position resource management method, device, equipment and computer readable storage medium - Google Patents

Machine position resource management method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111008110A
CN111008110A CN201911249015.0A CN201911249015A CN111008110A CN 111008110 A CN111008110 A CN 111008110A CN 201911249015 A CN201911249015 A CN 201911249015A CN 111008110 A CN111008110 A CN 111008110A
Authority
CN
China
Prior art keywords
power
rack
machine
equipment
machine position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911249015.0A
Other languages
Chinese (zh)
Inventor
冯期明
卢道和
曾可
黄耿冬
鲁东东
郭江涛
邵海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201911249015.0A priority Critical patent/CN111008110A/en
Publication of CN111008110A publication Critical patent/CN111008110A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Power Sources (AREA)

Abstract

The invention relates to the technical field of financial science and technology, and discloses a method, a device and equipment for managing machine resources and a computer readable storage medium. The machine position resource management method comprises the following steps: when an equipment racking request is received, rack information and newly-added machine position equipment information are obtained according to the equipment racking request; acquiring the safe operating power and the actual operating power of a target rack according to the rack information, and calculating the power of newly added equipment according to the information of the newly added machine position equipment; judging whether the power of the rack exceeds the standard or not according to the safe operation power, the actual operation power and the power of the newly added equipment; and if so, generating corresponding prompt information and returning to a request end corresponding to the equipment racking request. The invention can realize the intelligent management of the machine position resources and improve the management efficiency.

Description

Machine position resource management method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of financial technology (Fintech) technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for machine resource management.
Background
With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually changing to financial technology (Fintech), but higher requirements are also put forward on the technologies due to the requirements of the financial industry on safety and real-time performance.
Along with the popularization of a distributed architecture, more and more bank production and disaster recovery data centers are provided, most of the data centers are mainly leased, the use of machine positions of the data centers is generally limited by the power supply capacity of the racks, and how to fully utilize the power resources of the racks to maximize the availability of the machine positions brings a great challenge to data center managers.
At present, machine positions of a data center are fixed at the initial stage of construction, in the racking process of the machine position equipment, the machine position equipment capable of being hoisted is usually determined according to a theoretical value, but because the power consumption of servers placed in the machine positions is different and limited to the power supply of the machine frames, the situation that part of the machine frame power exceeds the standard in practice although the situation is feasible in theory may exist, at the moment, operation and maintenance personnel are required to check the current use electric quantity and the use condition of the machine positions of each machine frame of a machine room, and then the state of the machine positions is manually adjusted and updated, so that the management efficiency of machine position resources is low.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for managing a machine position resource and a computer readable storage medium, aiming at realizing the intelligent management of the machine position resource and improving the management efficiency.
In order to achieve the above object, the present invention provides a machine position resource management method, including:
when an equipment racking request is received, rack information and newly-added machine position equipment information are obtained according to the equipment racking request;
acquiring the safe operating power and the actual operating power of a target rack according to the rack information, and calculating the power of newly added machine position equipment according to the information of the newly added machine position equipment;
judging whether the power of the rack exceeds the standard or not according to the safe operation power, the actual operation power and the power of the newly added machine position equipment;
and if so, generating corresponding prompt information and sending the prompt information to a request end corresponding to the equipment racking request.
Optionally, the step of obtaining the safe operating power and the actual operating power of the target rack according to the rack information includes:
acquiring a first limited operation peak power of the target rack, rack operation data in a preset time period and the number of pre-occupied machine position equipment on the target rack according to the rack information;
calculating to obtain the safe operation power of the target rack according to the first limited operation peak power and a preset proportion;
determining the actual operation peak power of the target rack according to the rack operation data in the preset time period, and calculating to obtain the total power of the pre-occupied machine position equipment according to the number of the pre-occupied machine position equipment and the preset operation power of a single server;
and adding the actual operation peak power and the total power of the pre-occupied machine position equipment to obtain the actual operation power of the target rack.
Optionally, the rack operation data includes rack status information and historical operation power, and the step of determining the actual operation peak power of the target rack according to the rack operation data in the preset time period includes:
judging whether the machine position state change condition exists according to the machine position state information in the preset time period;
if the target operation power is the actual operation peak power of the target rack, acquiring a machine position state change time point, screening target operation power from historical operation power in the preset time period according to the machine position state change time point, and determining the maximum value in the target operation power as the actual operation peak power of the target rack;
and if the maximum value does not exist, determining that the maximum value in the historical operating power within the preset time period is the actual operating peak power of the target rack.
Optionally, after the step of determining whether the rack power exceeds the standard according to the safe operating power, the actual operating power, and the power of the newly added machine location device, the method further includes:
and if not, responding to the equipment racking request and updating the machine position state of the target rack.
Optionally, the step of updating the machine position state of the target rack includes:
updating the actual operating power of the target rack according to the equipment racking request, and calculating to obtain the estimated number of idle machine positions according to the updated actual operating power and the safe operating power;
acquiring the actual number of idle machine positions of a target rack, and judging whether the actual number of idle machine positions is greater than the estimated number of idle machine positions;
and if the number of the actual idle machine positions is larger than the number of the estimated idle machine positions, calculating to obtain the target number according to the number of the actual idle machine positions and the estimated idle machine positions, and updating the states of the idle machine positions of the target number into the super-power forbidden state.
Optionally, the machine level resource management method further includes:
acquiring first electric power operation data of each rack at preset intervals, wherein the first electric power operation data comprise current actual operation power, current safe operation power and second limited operation peak power;
determining the operation state of each rack according to the current actual operation power, the current safe operation power and the second limited operation peak power;
and displaying in a corresponding display mode according to the running state of each rack, and/or executing corresponding prompt operation.
Optionally, the machine level resource management method further includes:
second electric power operation data and machine position state data of the racks of each data center are acquired regularly;
and respectively counting the second power operation data and the machine position state data, generating a corresponding statistical report according to a statistical result, and sending the statistical report to a preset management terminal.
In addition, to achieve the above object, the present invention further provides a machine level resource management device, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring rack information and newly-added machine position equipment information according to an equipment racking request when the equipment racking request is received;
the calculation module is used for acquiring the safe operation power and the actual operation power of the target rack according to the rack information and calculating the power of the newly added machine position equipment according to the information of the newly added machine position equipment;
the judging module is used for judging whether the rack electric power exceeds the standard or not according to the safe operation power, the actual operation power and the newly added machine position equipment power;
and the sending module is used for generating corresponding prompt information and sending the prompt information to a request end corresponding to the equipment racking request if the equipment racking request is positive.
In addition, to achieve the above object, the present invention further provides a machine resource management device, including: the computer-readable medium comprises a memory, a processor and a machine resource management program stored on the memory and capable of running on the processor, wherein the machine resource management program realizes the steps of the machine resource management method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, on which a machine-place resource management program is stored, and the machine-place resource management program, when executed by a processor, implements the steps of the machine-place resource management method as described above.
The invention provides a method, a device, equipment and a computer readable storage medium for managing machine position resources, which are used for acquiring machine frame information and newly added machine position equipment information when receiving an equipment racking request; then, acquiring the safe operation power and the actual operation power of the target rack according to the rack information, and calculating the power of the newly added machine position equipment according to the information of the newly added machine position equipment; judging whether the power of the rack exceeds the standard or not according to the safe operation power, the actual operation power and the power of the newly-added machine position equipment; and if the rack power exceeds the standard, generating corresponding prompt information and sending the prompt information to a request end corresponding to the equipment racking request. By the mode, before equipment is put on shelf, whether the situation that the power of the rack exceeds the standard can be caused or not is intelligently judged according to the equipment putting on shelf request, corresponding prompt is carried out, and operation and maintenance personnel do not need to check the current use electric quantity and the machine position use situation of each rack of a machine room in person and manually adjust and update the machine position state when the power exceeds the standard in the equipment putting on shelf process.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a machine resource management method according to a first embodiment of the present invention;
fig. 3 is a functional block diagram of a machine resource management device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The equipment resource management device of the embodiment of the invention can be a Personal Computer (PC), and can also be terminal equipment such as a tablet Computer, a portable Computer, a server and the like.
As shown in fig. 1, the machine level resource management device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the slot resource management device shown in fig. 1 does not constitute a limitation of the slot resource management device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a machine-level resource management program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client and performing data communication with the client; and the processor 1001 may be configured to invoke a machine resource management program stored in the memory 1005 and perform the steps of the following machine resource management method.
Based on the hardware structure, the invention provides various embodiments of the machine position resource management method.
The invention provides a machine resource management method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a machine resource management method according to a first embodiment of the present invention.
In this embodiment, the method for machine level resource management includes:
step S10, when receiving an equipment racking request, acquiring rack information and newly added machine position equipment information according to the equipment racking request;
the method for managing the machine resources in this embodiment is implemented by a machine resource management device, which takes a server as an example for description. In this embodiment, when the device racking request is received, rack information and newly added machine location device information may be obtained according to the device racking request. The rack information may be a rack name, a rack number, or a rack identifier, and is used to determine the target rack. The information of the new machine position equipment may only include the number of the new machine position equipment or only include the power information of each new machine position equipment.
Step S20, acquiring the safe operation power and the actual operation power of the target rack according to the rack information, and calculating the power of the newly added machine position equipment according to the information of the newly added machine position equipment;
and then, acquiring the safe operating power and the actual operating power of the target rack according to the rack information, calculating the power of the newly added machine position equipment according to the information of the newly added machine position equipment, and calculating the power of the newly added machine position equipment according to the information of the newly added machine position equipment. The calculation process of the power of the newly added machine position equipment can be as follows: if the information of the newly added machine position equipment only comprises the number of the newly added machine position equipment, multiplying the number of the newly added machine position equipment and the preset running power of a single server to obtain the power of the newly added machine position equipment; if the information of the newly added machine position equipment only comprises the power information of each newly added machine position equipment, the power of each newly added machine position equipment can be added to obtain the power of the newly added machine position equipment.
The step of obtaining the safe operation power and the actual operation power of the target rack according to the rack information comprises the following steps:
a1, acquiring a first limited operation peak power of a target rack, rack operation data in a preset time period and the number of the pre-occupied machine position equipment on the target rack according to the rack information;
for the acquisition of the safe operating power and the actual operating power of the target rack, the first limited operating peak power of the target rack, the rack operating data in the preset time period and the number of the pre-occupied machine position devices on the target rack may be acquired according to the rack information. Wherein the first defined operating peak power is a rack electrical peak power for a target rack designed for rack construction or contractually constrained with a data center provider; the preset time period may be set within half a year from the current year, and may also be specifically set according to actual needs, which is not specifically limited herein; the rack operation data comprises machine position state information and historical operation power, wherein the machine position state information is the type and the number of the states of each machine position device in the target rack; the number of the pre-occupied machine position equipment is the number of the machine position equipment in the state of pre-occupied.
Step a2, calculating to obtain the safe operation power of the target rack according to the first limited operation peak power and a preset proportion;
then, the safe operation power of the target rack is calculated according to the first limited operation peak power and a preset proportion, wherein the preset proportion can be preset by a system or set individually by a worker based on the condition of each rack, the preset proportion can be dynamically changed, for example, the operation power of the early-stage equipment is greatly floated and can be set as 80%, and after the operation condition of the later-stage equipment is stable, the percentage can be properly increased and can be set as 90%. When calculating the safe operation power of the target rack, the first limited operation peak power may be multiplied by a preset ratio.
Step a3, determining the actual operation peak power of the target rack according to the rack operation data in the preset time period, and calculating to obtain the total power of the pre-occupied rack equipment according to the number of the pre-occupied rack equipment and the preset operation power of a single server;
for the calculation of the actual operating power of the target rack, the actual operating peak power of the target rack can be determined according to the rack operating data in the preset time period, and the total power of the pre-occupied machine position equipment is calculated according to the number of the pre-occupied machine position equipment and the preset operating power of a single server. The preset operating power of the single server may be preset by a worker, or may be obtained by statistical calculation according to the actual operating power of the servers in the target rack, for example, the average operating power of the servers with a larger usage amount in the target rack may be selected as the preset operating power of the single server. The total power of the pre-occupied machine position equipment is the product of the number of the pre-occupied machine position equipment and the preset running power of a single server.
Wherein the rack operation data includes rack status information and historical operating power, and the step of determining the actual operating peak power of the target rack according to the rack operation data in the preset time period comprises:
step a31, judging whether the change situation of the machine position state exists according to the machine position state information in the preset time period;
a32, if yes, acquiring a machine position state change time point, screening target operating power from historical operating power in the preset time period according to the machine position state change time point, and determining the maximum value in the target operating power as the actual operating peak power of a target rack;
step a33, if not, determining the maximum value in the historical operating power within the preset time period as the actual operating peak power of the target rack.
Specifically, the rack operation data includes rack state information and historical operation power, the rack state information is the type and number of the states of each rack device in the target rack, and the determination process of the actual operation peak power of the target rack is as follows: firstly, judging whether a machine position state change condition exists according to machine position state information in a preset time period, namely judging whether the type and the number of states of each machine position device in the preset time period change. If the target running power is the historical running power in the time period from the machine position state change time point to the current time, acquiring a machine position state change time point, and screening out the target running power from the historical running power in a preset time period according to the machine position state change time point; the maximum of the target operating powers is then determined to be the actual operating peak power of the target rack. And if not, determining the maximum value in the historical operating power within the preset time period as the actual operating peak power of the target rack. It should be noted that, when the machine position state changes, the actual operation peak power is determined from the historical operation power in the time period from the time point of the machine position state change to the current time, so that the determined actual operation peak power is more accurate and representative.
Step a4, adding the actual operation peak power and the total power of the pre-occupied machine position equipment to obtain the actual operation power of the target rack.
After the actual operation peak power of the target rack is determined and obtained, and the total power of the pre-occupied machine position equipment is calculated, the actual operation peak power and the total power of the pre-occupied machine position equipment are added to obtain the actual operation power of the target rack, namely the actual operation power is the actual operation peak power plus the total power of the pre-occupied machine position equipment.
Step S30, judging whether the rack power exceeds the standard or not according to the safe operation power, the actual operation power and the newly added machine position equipment power;
then, whether the rack power exceeds the standard is judged according to the obtained safe operation power, the actual operation power and the newly added machine position equipment power, and specifically, whether the rack power exceeds the standard is judged by detecting whether the sum of the actual operation power and the newly added machine position equipment power is less than or equal to the safe operation power.
If yes, step S40 is executed to generate corresponding prompt information, and the prompt information is sent to the request end corresponding to the equipment racking request.
If the sum of the actual operating power and the newly-added machine position equipment power is greater than the safe operating power, the situation that the rack power exceeds the standard exists, at the moment, corresponding prompt information can be generated and sent to a request end corresponding to the equipment racking request to inform workers requesting equipment to rack, and if equipment racking is carried out according to the equipment racking request, the rack power exceeds the standard, and the equipment racking quantity needs to be reduced.
The embodiment of the invention provides a machine position resource management method, which comprises the steps of obtaining machine frame information and newly-added machine position equipment information when an equipment racking request is received; then, acquiring the safe operation power and the actual operation power of the target rack according to the rack information, and calculating the power of the newly added machine position equipment according to the information of the newly added machine position equipment; judging whether the power of the rack exceeds the standard or not according to the safe operation power, the actual operation power and the power of the newly-added machine position equipment; and if the rack power exceeds the standard, generating corresponding prompt information and sending the prompt information to a request end corresponding to the equipment racking request. By the mode, before equipment is put on shelf, whether the situation that the power of the rack exceeds the standard can be caused or not is intelligently judged according to the equipment putting on shelf request, corresponding prompt is carried out, and operation and maintenance personnel do not need to check the current use electric quantity and the machine position use situation of each rack of a machine room in person and manually adjust and update the machine position state when the power exceeds the standard in the equipment putting on shelf process.
Further, based on the first embodiment shown in fig. 2, a second embodiment of the machine position resource management method of the present invention is provided.
In this embodiment, after step S20, the method for managing machine resources further includes:
if not, executing the step A: and responding to the equipment shelf loading request, and updating the machine position state of the target machine frame.
In this embodiment, if the sum of the actual operating power and the power of the newly added machine position device is less than or equal to the safe operating power, the situation that the rack power exceeds the standard does not exist, at this time, the device racking request is responded, the machine position state of the target rack is updated, and of course, a prompt message allowing racking can be sent to the request end to inform a worker requesting racking of the device, and if the device racking request is performed, the rack power does not exceed the standard.
Specifically, the step of "updating the machine position state of the target rack" includes:
step A1, updating the actual operating power of the target rack according to the equipment racking request, and calculating to obtain the estimated idle machine position number according to the updated actual operating power and the safe operating power;
step A2, acquiring the actual number of idle machine positions of the target rack, and judging whether the actual number of idle machine positions is larger than the estimated number of idle machine positions;
in the process of updating the machine position state of the target rack, the actual operating power of the target rack may be updated according to the equipment rack-mounting request, the updated actual operating power of the target rack is the sum of the actual operating peak power, the total power of the pre-occupied machine position equipment, and the power of the newly added machine position equipment, and then the estimated idle machine position number is obtained by calculation according to the updated actual operating power and the safe operating power, wherein the estimated idle machine position number (the estimated idle machine position number is (safe operating power-updated actual operating power)/the preset operating power of the single server, and is recorded as s 1. And further acquiring the actual number of idle machine positions of the target rack, recording the actual number as s2, and judging whether the actual number of idle machine positions is greater than the estimated number of idle machine positions, namely judging whether s2 is greater than s 1.
Step A3, if the number of the actual idle machine positions is larger than the number of the estimated idle machine positions, calculating to obtain the target number according to the actual number of the idle machine positions and the estimated number of the idle machine positions, and updating the states of the idle machine positions of the target number to be in the super-power forbidden state.
And if the number of the actual idle machine bits is larger than the estimated number of the idle machine bits, namely s2 is larger than s1, calculating to obtain a target number according to the actual number of the idle machine bits and the estimated number of the idle machine bits, wherein the target number is s2-s1, and updating the states of the idle machine bits of the target number into the super-power forbidden state. The "overload disabled" state refers to a state in which the machine is not available due to overload, and is used for distinguishing from a state in which the machine is "not available" due to other reasons.
Through the mode, when equipment is put on the shelf according to the equipment putting-on request, the machine position state in the target rack is updated in real time when the condition that the rack electric power exceeds the standard is not caused, so that the working personnel can know the machine position state condition in each rack in time, subsequent equipment putting-on items are conveniently and reasonably arranged, and the condition of business faults is prevented from occurring under the condition that the rack electric power exceeds the standard.
Further, based on the first embodiment shown in fig. 2, a third embodiment of the machine position resource management method of the present invention is provided.
In this embodiment, after step S30, the method for managing machine resources further includes:
step B, acquiring first electric power operation data of each rack at preset time intervals, wherein the first electric power operation data comprise current actual operation power, current safe operation power and second limited operation peak power;
in this embodiment, first electrical operating data of each rack may be acquired at preset intervals, where the first electrical operating data includes a current actual operating power, a current safe operating power, and a second limited operating peak power, and the second limited operating peak power is a rack electrical peak power of each rack designed for rack construction or contractually constrained with a data center provider. It can be understood that the preset time can be set to be shorter time, such as half a day and a day, so that the real-time monitoring of the electric power of each rack is realized, the working personnel can know the running state of each rack in real time conveniently, and the alarm can be given in time when the running state of the rack is unsafe to remind the working personnel to process.
Step C, determining the operation state of each rack according to the current actual operation power, the current safe operation power and the second limited operation peak power;
and then, determining the operation state of each rack according to the current actual operation power, the current safe operation power and the second limited operation peak power. Specifically, for convenience of explanation, the current actual operating power, the current safe operating power, and the second limited operating peak power are respectively denoted as P1, P2, and P3, where P2 < P3, and the operating state of each rack can be determined by detecting the magnitude relationship among P1, P2, and P3. If the current actual operating power of a certain rack is less than or equal to the current safe operating power, namely P1 is less than or equal to P2, determining that the operating state of the rack is a state that the electric power does not exceed the standard, namely a safe state; if the current actual operating power of a certain rack is greater than the current safe operating power and less than the second limited operating peak power, namely P2 < P1 < P3, determining that the operating state of the rack is a state that the electric power does not exceed the standard but exceeds the safe range, namely a warning state is required; if the current actual operating power of a certain rack is greater than or equal to the current safe operating power, namely P1 is greater than or equal to P3, the operating state of the rack is determined to be a power exceeding state, namely a processing-required state.
And D, displaying in a corresponding display mode according to the running state of each rack, and/or executing corresponding prompt operation.
And after the running state of each rack is determined, displaying in a corresponding display mode according to the running state of each rack, and/or executing corresponding prompt operation. The display mode can be that the running state of this frame is expressed according to predetermineeing the colour to the operating condition of staff's audio-visual understanding frame, the suggestion operation is according to the running state of frame promptly and sends corresponding prompt message to corresponding staff, can in time report an emergency and ask for help or increased vigilance when the running state of frame is unsafe, reminds the staff to handle.
For example, when the operating state of the rack is a state in which the electric power does not exceed the standard (i.e., a safe state), the operating state of the rack may be displayed in a first preset color (e.g., green), and the corresponding worker may be prompted in a first preset prompting manner (e.g., a single email prompt) (of course, in this case, the prompting operation may not be performed in a specific embodiment); when the operation state of the rack is a state (namely a state needing alarming) that the electric power does not exceed the standard but exceeds the safety range, displaying the operation state of the rack by adopting a second preset color (such as orange), and prompting corresponding workers according to a second preset prompting mode (such as mail and telephone single prompting) so as to remind the workers to pay attention to the use condition of the electric power of the rack; when the running state of the rack is the state that the electric power exceeds the standard (namely, the state needing to be processed), the running state of the rack can be displayed by adopting a third preset color (such as red), and corresponding workers are prompted according to a third preset prompting mode (such as telephone multiple prompting) so as to prompt the workers to follow up processing and solving in time.
Of course, it is understood that, in the specific embodiment, the specific display manner and the prompting manner are not limited to the above examples, and may be specifically set according to the habit of the user and the actual situation. In addition, besides the two modes of displaying in the corresponding display mode and executing the corresponding prompt operation, other operations, such as updating the machine position state in the rack, can be executed according to the running state of each rack. For example, when the operation state of a certain rack is a state that the power is not exceeded but the safety range is exceeded (i.e., a warning-needed state), all the machine bits of the remaining "idle" state of the rack can be set as "power-over-disabled".
In this embodiment, the first power operation data of each rack is acquired at preset intervals to determine the operation state of each rack, and then the operation state of each rack is displayed in a corresponding display mode and/or corresponding prompt operation is executed, so that a worker can visually know the operation state of each rack, and can give an alarm in time when the operation state of each rack is unsafe, so as to remind the worker to handle the alarm, and prevent the alarm from being untimely, thereby causing a service fault to be affected.
Further, based on the first embodiment shown in fig. 2, a fourth embodiment of the machine position resource management method of the present invention is provided.
In this embodiment, after step S30, the method for managing machine resources further includes:
step E, periodically acquiring second electric power operation data and machine position state data of the racks of each data center;
in this embodiment, the second electrical operation data and the machine location state data of the racks of each data center are acquired periodically, wherein the periodic time limit may be set to a longer time, for example, every other week, half month, or a month, so that the administrator can know the machine location state and the machine location operation condition of each data center in the corresponding period. The second electrical operation data may include the operation state of each rack in each data center in the corresponding period, and the operation state of each rack may be derived from the real-time monitoring data of the third embodiment, for example, when the first electrical operation data of each rack is acquired every other day, the operation state of each rack per day may be determined, and in this case, if the period is every other month, the operation state data of each rack per day in each data center in one month may be directly acquired. The machine position state data comprises machine position states of machine positions on the machine frames of the current data centers, and the machine position states can comprise idle, used, pre-occupied, unavailable and over-power disabled.
And F, respectively counting the second power operation data and the machine position state data, generating a corresponding statistical report according to a statistical result, and sending the statistical report to a preset management terminal.
And then, respectively counting the second power operation data and the machine position state data, generating a corresponding statistical report according to a statistical result, and sending the statistical report to a preset management end. When the rack operation conditions of each data center are counted, the number of racks which are always in a safe state, the number of racks which have a state needing to be warned and the number of racks which have a state needing to be processed in each data center can be counted. When the rack operation conditions of each data center are counted, the number of the machine position equipment in different machine position states can be counted. Of course, it is understood that the actual statistics are not limited to the above.
In this embodiment, the second power operation data and the machine position state data of the racks of each data center are regularly counted and summarized, and a corresponding statistical report is generated, so that a manager can know the machine position operation condition and the machine position state condition of each data center, and more accurate and efficient machine position resource management is performed.
Further, after the construction and delivery of the rack are completed, the machine position state information in the rack can be initialized according to the machine position condition in the rack and the limited operation peak power thereof, wherein the machine position state information comprises information such as port information, a U bit, the limited operation peak power, safe operation power and actual operation power.
The invention also provides a machine position resource management device.
Referring to fig. 3, fig. 3 is a functional block diagram of a machine position resource management device according to a first embodiment of the present invention.
As shown in fig. 3, the machine level resource management device includes:
the first obtaining module 10 is configured to obtain rack information and newly added machine location device information according to a device racking request when the device racking request is received;
the calculation module 20 is configured to obtain the safe operating power and the actual operating power of the target rack according to the rack information, and calculate the power of the newly added machine position device according to the information of the newly added machine position device;
the judging module 30 is configured to judge whether the rack power exceeds the standard or not according to the safe operating power, the actual operating power, and the power of the newly added rack device;
and the sending module 40 is configured to generate corresponding prompt information if the rack power exceeds the standard, and send the prompt information to a request end corresponding to the equipment racking request.
Further, the calculation module 20 includes:
the first acquisition unit is used for acquiring a first limited operation peak power of the target rack, rack operation data in a preset time period and the number of the pre-occupied machine position devices on the target rack according to the rack information;
the first calculation unit is used for calculating and obtaining the safe operation power of the target rack according to the first limited operation peak power and a preset proportion;
the second computing unit is used for determining the actual operation peak power of the target rack according to the rack operation data in the preset time period, and computing to obtain the total power of the pre-occupied machine position equipment according to the number of the pre-occupied machine position equipment and the preset operation power of a single server;
and the third calculating unit is used for adding the actual operation peak power and the total power of the pre-occupied machine position equipment to obtain the actual operation power of the target rack.
Further, the rack operation data includes rack status information and historical operating power, and the second computing unit is specifically configured to:
judging whether the machine position state change condition exists according to the machine position state information in the preset time period;
if the target operation power is the actual operation peak power of the target rack, acquiring a machine position state change time point, screening target operation power from historical operation power in the preset time period according to the machine position state change time point, and determining the maximum value in the target operation power as the actual operation peak power of the target rack;
and if the maximum value does not exist, determining that the maximum value in the historical operating power within the preset time period is the actual operating peak power of the target rack.
Further, the machine position resource management device further comprises:
and the updating module is used for responding to the equipment racking request and updating the machine position state of the target rack if the rack electric power does not exceed the standard.
Further, the update module is specifically configured to:
updating the actual operating power of the target rack according to the equipment racking request, and calculating to obtain the estimated number of idle machine positions according to the updated actual operating power and the safe operating power;
acquiring the actual number of idle machine positions of a target rack, and judging whether the actual number of idle machine positions is greater than the estimated number of idle machine positions;
and if the number of the actual idle machine positions is larger than the number of the estimated idle machine positions, calculating to obtain the target number according to the number of the actual idle machine positions and the estimated idle machine positions, and updating the states of the idle machine positions of the target number into the super-power forbidden state.
Further, the machine position resource management device further comprises:
the second acquisition module is used for acquiring first electric power operation data of each rack at preset time intervals, wherein the first electric power operation data comprise current actual operation power, current safe operation power and second limited operation peak power;
the determining module is used for determining the operation state of each rack according to the current actual operation power, the current safe operation power and the second limited operation peak power;
and the execution module is used for displaying in a corresponding display mode according to the running state of each rack and/or executing corresponding prompt operation.
Further, the machine position resource management device further comprises:
the third acquisition module is used for periodically acquiring second electric power operation data and machine position state data of the racks of each data center;
and the statistical module is used for respectively carrying out statistics on the second electric power operation data and the machine position state data, generating a corresponding statistical report according to a statistical result and sending the statistical report to a preset management terminal.
The function implementation of each module in the machine position resource management device corresponds to each step in the machine position resource management method embodiment, and the function and implementation process are not described in detail here.
The present invention also provides a computer readable storage medium, having a machine resource management program stored thereon, where the machine resource management program, when executed by a processor, implements the steps of the machine resource management method according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the machine resource management method described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A machine position resource management method is characterized by comprising the following steps:
when an equipment racking request is received, rack information and newly-added machine position equipment information are obtained according to the equipment racking request;
acquiring the safe operating power and the actual operating power of a target rack according to the rack information, and calculating the power of newly added machine position equipment according to the information of the newly added machine position equipment;
judging whether the power of the rack exceeds the standard or not according to the safe operation power, the actual operation power and the power of the newly added machine position equipment;
and if so, generating corresponding prompt information and sending the prompt information to a request end corresponding to the equipment racking request.
2. The method for managing rack resources according to claim 1, wherein the step of obtaining the safe operating power and the actual operating power of the target rack according to the rack information comprises:
acquiring a first limited operation peak power of the target rack, rack operation data in a preset time period and the number of pre-occupied machine position equipment on the target rack according to the rack information;
calculating to obtain the safe operation power of the target rack according to the first limited operation peak power and a preset proportion;
determining the actual operation peak power of the target rack according to the rack operation data in the preset time period, and calculating to obtain the total power of the pre-occupied machine position equipment according to the number of the pre-occupied machine position equipment and the preset operation power of a single server;
and adding the actual operation peak power and the total power of the pre-occupied machine position equipment to obtain the actual operation power of the target rack.
3. The method of claim 2, wherein the rack operational data includes rack status information and historical operating power, and wherein determining the actual peak operating power of the target rack based on the rack operational data over the predetermined time period comprises:
judging whether the machine position state change condition exists according to the machine position state information in the preset time period;
if the target operation power is the actual operation peak power of the target rack, acquiring a machine position state change time point, screening target operation power from historical operation power in the preset time period according to the machine position state change time point, and determining the maximum value in the target operation power as the actual operation peak power of the target rack;
and if the maximum value does not exist, determining that the maximum value in the historical operating power within the preset time period is the actual operating peak power of the target rack.
4. The method according to any one of claims 1 to 3, wherein after the step of determining whether there is a rack power exceeding the standard according to the safe operating power, the actual operating power and the newly added machine level device power, the method further comprises:
and if not, responding to the equipment racking request and updating the machine position state of the target rack.
5. The machine location resource management method of claim 4 wherein the step of updating the machine location status of the target rack comprises:
updating the actual operating power of the target rack according to the equipment racking request, and calculating to obtain the estimated number of idle machine positions according to the updated actual operating power and the safe operating power;
acquiring the actual number of idle machine positions of a target rack, and judging whether the actual number of idle machine positions is greater than the estimated number of idle machine positions;
and if the number of the actual idle machine positions is larger than the number of the estimated idle machine positions, calculating to obtain the target number according to the number of the actual idle machine positions and the estimated idle machine positions, and updating the states of the idle machine positions of the target number into the super-power forbidden state.
6. The machine seat resource management method according to any one of claims 1 to 3, further comprising:
acquiring first electric power operation data of each rack at preset intervals, wherein the first electric power operation data comprise current actual operation power, current safe operation power and second limited operation peak power;
determining the operation state of each rack according to the current actual operation power, the current safe operation power and the second limited operation peak power;
and displaying in a corresponding display mode according to the running state of each rack, and/or executing corresponding prompt operation.
7. The machine seat resource management method according to any one of claims 1 to 3, further comprising:
second electric power operation data and machine position state data of the racks of each data center are acquired regularly;
and respectively counting the second power operation data and the machine position state data, generating a corresponding statistical report according to a statistical result, and sending the statistical report to a preset management terminal.
8. An equipment resource management device, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring rack information and newly-added machine position equipment information according to an equipment racking request when the equipment racking request is received;
the calculation module is used for acquiring the safe operation power and the actual operation power of the target rack according to the rack information and calculating the power of the newly added machine position equipment according to the information of the newly added machine position equipment;
the judging module is used for judging whether the rack electric power exceeds the standard or not according to the safe operation power, the actual operation power and the newly added machine position equipment power;
and the sending module is used for generating corresponding prompt information and sending the prompt information to a request end corresponding to the equipment racking request if the equipment racking request is positive.
9. A machine resource management device, characterized in that the machine resource management device comprises: a memory, a processor and a machine resource manager stored on the memory and executable on the processor, the machine resource manager when executed by the processor implementing the steps of the machine resource management method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a machine resource management program which, when executed by a processor, performs the steps of the machine resource management method of any one of claims 1 to 7.
CN201911249015.0A 2019-12-05 2019-12-05 Machine position resource management method, device, equipment and computer readable storage medium Pending CN111008110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911249015.0A CN111008110A (en) 2019-12-05 2019-12-05 Machine position resource management method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911249015.0A CN111008110A (en) 2019-12-05 2019-12-05 Machine position resource management method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111008110A true CN111008110A (en) 2020-04-14

Family

ID=70114290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911249015.0A Pending CN111008110A (en) 2019-12-05 2019-12-05 Machine position resource management method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111008110A (en)

Similar Documents

Publication Publication Date Title
CN106027328B (en) Cluster monitoring method and system based on application container deployment
CN106557407B (en) Method and device for monitoring equipment load
CN107832200A (en) Alert processing method, device, computer equipment and storage medium
CN109669835B (en) MySQL database monitoring method, device, equipment and readable storage medium
US8305911B2 (en) System and method for identifying and managing service disruptions using network and systems data
CN113824768B (en) Health check method and device in load balancing system and flow forwarding method
CN110046070B (en) Monitoring method and device of server cluster system, electronic equipment and storage medium
CN108415811B (en) Method and device for monitoring business logic
CN103259684A (en) Internet service monitoring method and system
CN112346931A (en) Raspberry pie-based private network service cluster monitoring alarm system, method and medium
CN110347694B (en) Equipment monitoring method, device and system based on Internet of things
CN102694671A (en) Method for realizing fault warning and device thereof
CN113742066A (en) Load balancing system and method for server cluster
CN103959252A (en) Host computing device control component status display
CN106452966A (en) Multi-gateway management realization method for OpenStack cloud desktop
CN109582531A (en) Monitoring method, device and the electronic equipment of power distribution unit
CN114448989B (en) Method, device, electronic equipment, storage medium and product for adjusting message distribution
CN109639490B (en) Downtime notification method and device
CN114978860A (en) Fault monitoring method and device, electronic equipment and storage medium
CN111008110A (en) Machine position resource management method, device, equipment and computer readable storage medium
CN112468573A (en) Data pushing method, device, equipment and storage medium
CN112565391A (en) Method, apparatus, device and medium for adjusting instances in an industrial internet platform
CN107547643A (en) A kind of load sharing method and device
CN116594843A (en) Service monitoring method, device and system and electronic equipment
CN109981338A (en) Alarm method, device and the storage medium that code pulls

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination