CN109557992A - A kind of BMC repositioning method, device, terminal and storage medium - Google Patents
A kind of BMC repositioning method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109557992A CN109557992A CN201811443511.5A CN201811443511A CN109557992A CN 109557992 A CN109557992 A CN 109557992A CN 201811443511 A CN201811443511 A CN 201811443511A CN 109557992 A CN109557992 A CN 109557992A
- Authority
- CN
- China
- Prior art keywords
- bmc
- lamp
- node
- reset
- cpld
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
Abstract
The present invention provides a kind of BMC repositioning method, device, terminal and storage medium, which comprises the key-press status of detection node positioning lamp starts timer if node locating lamp is pressed;Setting time threshold value T resets BMC if the down state of node locating lamp is held time more than T, while control node positioning lamp flashes;Whether confirmation BMC reset is completed, if then control node positioning lamp stops flashing;The present invention resets node BMC by monitoring the down state of node locating lamp and holding time, avoid the risk that BMC reset key causes BMC to reset by false triggering, BMC reset state is indicated by node locating lamp flashing state simultaneously, when start when to complete to reset and can obtain by the node locating lamp state of panel, the movement of external reset BMC is made to become more intuitive.
Description
Technical field
The invention belongs to server admin technical fields, and in particular to a kind of BMC repositioning method, device, terminal and storage
Medium.
Background technique
With the development of the new techniques such as cloud computing, big data, the demand of cabinet type server is more and more, and client is for clothes
The set meal customization of business device node is also more and more.Server integrated node is more and more intensive, node type (calculate node, storage
Node, GPUBOX node etc.) it is more and more, user is also higher and higher to the requirement of node maintainability, wherein just including to base
Board management controller (BMC) resets the requirement of operation.
BMC operation is resetted in the prior art for reset key (Reset key) to be placed on front panel, when needing to carry out
When BMC external reset, individual BMC Reset key is easy to be used to confirm without intuitively variation after accidentally being touched and be triggered
BMC is reset defect.
Therefore, a kind of BMC repositioning method, device, terminal and storage medium are needed, is not only avoided that BMC reset key is accidentally touched,
And it can be realized whether intuitive embodiment BMC reset is completed.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of BMC repositioning method, device, terminal and storage medium, passes through
The operation mode different to node locating lamp (node UID lamp) realizes BMC reset function.
In a first aspect, the embodiment of the present application provides a kind of BMC repositioning method, which comprises
The key-press status of detection node positioning lamp starts timer if node locating lamp is pressed;
Setting time threshold value T resets BMC if the down state of node locating lamp is held time more than T, together
When control node locating lamp flashing;
Whether confirmation BMC reset is completed, if then control node positioning lamp stops flashing.
With reference to first aspect, in the first embodiment of first aspect, the monitoring node positioning lamp presses key-like
State starts timer if node locating lamp is pressed, comprising:
The key-press status of CPLD detection node positioning lamp;
Start timer after CPLD detects that node locating lamp is pressed.
With reference to first aspect, in second of embodiment of first aspect, the setting time threshold value T, if node is fixed
The down state of position lamp is held time more than T, then is resetted to BMC, while control node positioning lamp flashes, comprising:
Setting time threshold value T=5s judges that whether the down state of node locating lamp holds time more than 5s;
Node BMC is resetted if so, CPLD resets GPIO by operation BMC chip, while control node positions
Lamp carries out blinking action;
If it is not, then lighting or extinguishing node locating lamp.
With reference to first aspect, in the third embodiment of first aspect, whether the confirmation BMC reset is completed, if
It is that then control node positioning lamp stops flashing, comprising:
Detect whether GPIO level is low level;
It is completed if so, BMC resets, CPLD control node positioning lamp stops flashing;
If it is not, then CPLD control node positioning lamp flashes.
Second aspect, the embodiment of the present application provide a kind of BMC resetting apparatus, and described device includes:
Detection unit, the detection unit is used for the key-press status of detection node positioning lamp, if node locating lamp is pressed
Then start timer;
Reset unit, the reset unit is used for setting time threshold value T, if the down state of node locating lamp is held time
More than T, then BMC is resetted, while control node positioning lamp flashes;
Confirmation unit, the confirmation unit is for confirming whether BMC reset is completed, if then control node positioning lamp stops
Flashing.
In conjunction with second aspect, in the first embodiment of second aspect, the detection unit is specifically used for:
The key-press status of CPLD detection node positioning lamp;
Start timer after CPLD detects that node locating lamp is pressed.
In conjunction with second aspect, in second of embodiment of second aspect, the reset unit is specifically used for:
Setting time threshold value T=5s judges that whether the down state of node locating lamp holds time more than 5s;
If so, CPLD resets node BMC to GPIO is resetted by operation BMC chip, while control node is fixed
Position lamp carries out blinking action;
If it is not, then lighting or extinguishing node locating lamp.
In conjunction with second aspect, in the third embodiment of second aspect, the confirmation unit is specifically used for:
Detect whether GPIO level is low level;
It is completed if so, BMC resets, CPLD control node positioning lamp stops flashing;
If it is not, then CPLD control node positioning lamp flashes.
The third aspect provides a kind of terminal, comprising:
Processor, memory, wherein
The memory is used to store computer program,
The processor from memory for calling and running the computer program, so that terminal executes above-mentioned terminal
Method.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer readable storage medium,
When run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes method described in above-mentioned various aspects.
The beneficial effects of the present invention are,
BMC repositioning method, device, terminal and storage medium provided by the invention pass through pressing for monitoring node locating lamp
State maintenance time resets node BMC, avoids the risk that BMC reset key causes BMC to reset by false triggering, leads to simultaneously
Node locating lamp flashing state instruction BMC reset state is crossed, when starting when to complete to reset can be by the node of panel
Positioning lamp state obtains, and the movement of external reset BMC is made to become more intuitive.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the schematic flow chart of the method for the application another embodiment.
Fig. 3 is the schematic block diagram of the device of the application one embodiment.
Fig. 4 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
The Key Term occurred in the application is explained below.
BMC: baseboard management controller;
Reset key: reset key;
Node UID lamp: node locating lamp.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.Wherein, Fig. 1 executing subject can be one kind
BMC resetting apparatus.
As shown in Figure 1, this method 100 includes:
Step 110, the key-press status of detection node positioning lamp starts timer if node locating lamp is pressed;
Step 120, setting time threshold value T carries out BMC if the down state of node locating lamp is held time more than T
It resets, while control node positioning lamp flashes;
Step 130, whether confirmation BMC reset is completed, if then control node positioning lamp stops flashing.
Optionally, as the application one embodiment, the key-press status of the monitoring node positioning lamp, if node locating lamp
It is pressed, starts timer, comprising:
The key-press status of CPLD detection node positioning lamp;
Start timer after CPLD detects that node locating lamp is pressed.
Optionally, as the application one embodiment, the setting time threshold value T, if the down state of node locating lamp
It holds time more than T, then BMC is resetted, while control node positioning lamp flashes, comprising:
Setting time threshold value T=5s judges that whether the down state of node locating lamp holds time more than 5s;
If so, CPLD resets node BMC to GPIO is resetted by operation BMC chip, while control node is fixed
Position lamp carries out blinking action;
If it is not, then lighting or extinguishing node locating lamp.
Optionally, as the application one embodiment, whether the confirmation BMC reset is completed, if then control node is fixed
Position lamp stops flashing, comprising:
Detect whether GPIO level is low level;
It is completed if so, BMC resets, CPLD control node positioning lamp stops flashing;
If it is not, then CPLD control node positioning lamp flashes.
In order to facilitate the understanding of the present invention, the principle resetted below with BMC of the present invention, in conjunction with the embodiments in it is multiple to BMC
The process of position, is further described BMC repositioning method provided by the invention.
Specifically, as shown in Fig. 2, the BMC repositioning method includes:
Whether the key-press status of S1, CPLD detection UID lamp is pressed;
If S2, then starting timer, judge that whether the down state of UID lamp holds time more than 5s;
If S3, then CPLD reset GPIO by operation BMC chip and reset to node BMC, while control node is fixed
Position lamp carries out blinking action, if otherwise lighting or extinguishing node locating lamp;
If S4, resetting to node BMC, detect whether GPIO level is that low level judges whether BMC reset is completed;
It is completed if S5, then BMC reset, CPLD closes the flashing of UID lamp, if otherwise CPLD controls the flashing of UID lamp.
The application resets node BMC by monitoring the down state of node locating lamp and holding time, and avoids BMC
The risk that reset key causes BMC to reset by false triggering, while BMC reset state is indicated by node locating lamp flashing state, what
When start when to complete to reset and can be obtained by the node locating lamp state of panel, become the movement of external reset BMC
It obtains more intuitive.
If Fig. 3 shows, which includes:
Detection unit 310, the detection unit 310 is used for the key-press status of detection node positioning lamp, if node locating lamp
It is pressed, starts timer;
Reset unit 320, the reset unit 320 is used for setting time threshold value T, if the down state of node locating lamp is tieed up
Holding the time is more than T, then resets to BMC, while control node positioning lamp flashes;
Confirmation unit 330, the confirmation unit 330 is for confirming whether BMC reset is completed, if then control node positions
Lamp stops flashing.
Optionally, as the application one embodiment, the detection unit is specifically used for:
The key-press status of CPLD detection node positioning lamp;
Start timer after CPLD detects that node locating lamp is pressed.
Optionally, as the application one embodiment, the reset unit is specifically used for:
Setting time threshold value T=5s judges that whether the down state of node locating lamp holds time more than 5s;
If so, CPLD resets node BMC to GPIO is resetted by operation BMC chip, while control node is fixed
Position lamp carries out blinking action;
If it is not, then lighting or extinguishing node locating lamp.
Optionally, as the application one embodiment, the confirmation unit is specifically used for:
Detect whether GPIO level is low level;
It is completed if so, BMC resets, CPLD control node positioning lamp stops flashing;
If it is not, then CPLD control node positioning lamp flashes.
Fig. 4 is a kind of structural schematic diagram of terminal installation 400 provided in an embodiment of the present invention, which can be with
The method resetted for executing BMC provided by the embodiments of the present application.
Wherein, which may include: processor 410, memory 420 and communication unit 430.These components
It is communicated by one or more bus, it will be understood by those skilled in the art that the structure of server shown in figure is not
The restriction to the application is constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include more than illustrating
Or less component, perhaps combine certain components or different component layouts.
Wherein, which can be used for executing instruction for storage processor 410, and memory 420 can be by any class
The volatibility or non-volatile memories terminal or their combination of type are realized, such as static random access memory (SRAM), electricity
Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.When executing instruction in memory 420
When being executed by processor 410, so that terminal 400 some or all of is able to carry out in following above method embodiment step.
Processor 410 is the control centre for storing terminal, utilizes each of various interfaces and the entire electric terminal of connection
A part by running or execute the software program and/or module that are stored in memory 420, and calls and is stored in storage
Data in device, to execute the various functions and/or processing data of electric terminal.The processor can be by integrated circuit
(Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor 410 can only include central processing unit
(Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also
To include multioperation core.
Communication unit 430, for establishing communication channel, so that the storage terminal be allow to be led to other terminals
Letter.It receives the user data of other terminals transmission or sends user data to other terminals.
The application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with program, the journey
Sequence may include step some or all of in each embodiment provided by the present application when executing.The storage medium can for magnetic disk,
CD, read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English:
Random access memory, referred to as: RAM) etc..
Therefore, the application passes through creation record alert database and stores common warning information and described in record alert database
The corresponding fault message of warning information and respective handling method, can search the failure of CMC warning information from record alert database
Information and respective handling method.The present invention can be supplied directly to user in whole machine cabinet cabinet exception and fast and efficiently handle
Means improve server failure treatment effeciency, enhance the service performance of complete machine server, the attainable skill of the present embodiment institute
Art effect may refer to described above, and details are not described herein again.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which is stored in
Such as USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory in one storage medium
The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk, including it is several
Instruction is used so that a terminal (can be personal computer, server or second terminal, the network terminal etc.) is held
Row all or part of the steps of the method according to each embodiment of the present invention.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal
For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method
Explanation.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint
What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer
It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims
It is quasi-.
Claims (10)
1. a kind of BMC repositioning method, which is characterized in that the described method includes:
The key-press status of detection node positioning lamp starts timer if node locating lamp is pressed;
Setting time threshold value T resets BMC if the down state of node locating lamp is held time more than T, same to time control
Node locating lamp flashing processed;
Whether confirmation BMC reset is completed, if then control node positioning lamp stops flashing.
2. the method according to claim 1, wherein the key-press status of the monitoring node positioning lamp, if node
Positioning lamp is pressed, and starts timer, comprising:
The key-press status of CPLD detection node positioning lamp;
Start timer after CPLD detects that node locating lamp is pressed.
3. the method according to claim 1, wherein the setting time threshold value T, if node locating lamp is pressed
State maintenance time is more than T, then resets to BMC, while control node positioning lamp flashes, comprising:
Setting time threshold value T=5s judges that whether the down state of node locating lamp holds time more than 5s;
If so, CPLD by operation BMC chip reset GPIO node BMC is resetted, while control node positioning lamp into
Row blinking action;
If it is not, then lighting or extinguishing node locating lamp.
4. the method according to claim 1, wherein whether confirmation BMC reset is completed, if then controlling section
Point location lamp stops flashing, comprising:
Detect whether GPIO level is low level;
It is completed if so, BMC resets, CPLD control node positioning lamp stops flashing;
If it is not, then CPLD control node positioning lamp flashes.
5. a kind of BMC resetting apparatus, which is characterized in that described device includes:
Detection unit, the detection unit are used for the key-press status of detection node positioning lamp, open if node locating lamp is pressed
Dynamic timer;
Reset unit, the reset unit are used for setting time threshold value T, are more than if the down state of node locating lamp is held time
T then resets BMC, while control node positioning lamp flashes;
Confirmation unit, the confirmation unit is for confirming whether BMC reset is completed, if then control node positioning lamp stops dodging
It is bright.
6. device according to claim 5, which is characterized in that the detection unit is specifically used for:
The key-press status of CPLD detection node positioning lamp;
Start timer after CPLD detects that node locating lamp is pressed.
7. device according to claim 5, which is characterized in that the reset unit is specifically used for:
Setting time threshold value T=5s judges that whether the down state of node locating lamp holds time more than 5s;
If so, CPLD resets node BMC to GPIO is resetted by operation BMC chip, while control node positioning lamp
Carry out blinking action;
If it is not, then lighting or extinguishing node locating lamp.
8. device according to claim 5, which is characterized in that the confirmation unit is specifically used for:
Detect whether GPIO level is low level;
It is completed if so, BMC resets, CPLD control node positioning lamp stops flashing;
If it is not, then CPLD control node positioning lamp flashes.
9. a kind of terminal characterized by comprising
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to perform claim requires the described in any item methods of 1-4.
10. a kind of computer readable storage medium for being stored with computer program, which is characterized in that the program is executed by processor
Shi Shixian method for example of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811443511.5A CN109557992A (en) | 2018-11-29 | 2018-11-29 | A kind of BMC repositioning method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811443511.5A CN109557992A (en) | 2018-11-29 | 2018-11-29 | A kind of BMC repositioning method, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109557992A true CN109557992A (en) | 2019-04-02 |
Family
ID=65867943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811443511.5A Pending CN109557992A (en) | 2018-11-29 | 2018-11-29 | A kind of BMC repositioning method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109557992A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340236A (en) * | 2011-07-18 | 2012-02-01 | 中国电力科学研究院 | Continuous trigger circuit of protection thyristor under low voltage |
CN207337386U (en) * | 2017-08-18 | 2018-05-08 | 郑州云海信息技术有限公司 | A kind of server master board test device |
CN108304056A (en) * | 2018-01-29 | 2018-07-20 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium of button multiplexing |
CN108829450A (en) * | 2018-06-22 | 2018-11-16 | 郑州云海信息技术有限公司 | Multiplexing method, device, equipment and the storage medium of UID key |
-
2018
- 2018-11-29 CN CN201811443511.5A patent/CN109557992A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340236A (en) * | 2011-07-18 | 2012-02-01 | 中国电力科学研究院 | Continuous trigger circuit of protection thyristor under low voltage |
CN207337386U (en) * | 2017-08-18 | 2018-05-08 | 郑州云海信息技术有限公司 | A kind of server master board test device |
CN108304056A (en) * | 2018-01-29 | 2018-07-20 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium of button multiplexing |
CN108829450A (en) * | 2018-06-22 | 2018-11-16 | 郑州云海信息技术有限公司 | Multiplexing method, device, equipment and the storage medium of UID key |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106445292B (en) | Method and system for managing application programs in different body modes | |
CN109032888A (en) | A kind of server start-up course fault detection method, device and controlled terminal | |
CN109189627A (en) | A kind of hard disk failure monitor and detection method, apparatus, terminal and storage medium | |
CN109257249A (en) | A kind of network interface card stability test method, apparatus, terminal and storage medium | |
CN109976926A (en) | Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding | |
CN109542525A (en) | A kind of method, apparatus, terminal and storage medium by BMC switching system memory configurations | |
CN109240865A (en) | A kind of AC test method, device, terminal and the storage medium of AEP memory | |
CN109299064A (en) | Database monitoring method and terminal device | |
CN109240847A (en) | EMS memory error report method, device, terminal and storage medium during a kind of POST | |
CN109117335A (en) | A kind of hard disk simulation hot plug test method, device, terminal and storage medium | |
CN108376110A (en) | A kind of automatic testing method, system and terminal device | |
CN109815076A (en) | A kind of network interface card boot option detection method, system, terminal and storage medium | |
CN109254780A (en) | A kind of method, apparatus and controlled terminal of batch refresh server node firmware | |
CN109660388A (en) | A kind of alarm management method and device based on cloud platform | |
CN109189638A (en) | A kind of GPU driving detection method, device, terminal and storage medium | |
CN109557992A (en) | A kind of BMC repositioning method, device, terminal and storage medium | |
CN111813613A (en) | Test management method, test management device, electronic equipment and storage medium | |
CN109558300A (en) | A kind of whole machine cabinet alert processing method, device, terminal and storage medium | |
CN106161108A (en) | The parameter processing method of a kind of smart machine, device and smart machine | |
CN110096409A (en) | Abnormal alarm method, apparatus, monitoring device and computer readable storage medium | |
CN109361543A (en) | A kind of whole machine cabinet monitoring method, device, terminal and storage medium | |
CN109684138A (en) | A kind of visualization hard disk automatic test approach, device, terminal and storage medium | |
CN108279906A (en) | The method and apparatus of application deployment service on the server | |
CN204302961U (en) | Embedded device and the diagnostic card for embedded device | |
CN109324531B (en) | Guest room control method, Guest room controller and Guest room control system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190402 |
|
RJ01 | Rejection of invention patent application after publication |