CN108762786A - A kind of firmware update of server cabinet, server cabinet and host - Google Patents
A kind of firmware update of server cabinet, server cabinet and host Download PDFInfo
- Publication number
- CN108762786A CN108762786A CN201810532432.5A CN201810532432A CN108762786A CN 108762786 A CN108762786 A CN 108762786A CN 201810532432 A CN201810532432 A CN 201810532432A CN 108762786 A CN108762786 A CN 108762786A
- Authority
- CN
- China
- Prior art keywords
- update
- firmware version
- firmware
- node
- time interval
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The embodiment of the present invention provides a kind of firmware update of server cabinet, server cabinet and host, after the more newer command sent by receiving host, obtains the reference firmware version of each node, wherein the more newer command carries target firmware version;When reference firmware version and target firmware version are inconsistent, update queue is added in the corresponding node of the reference firmware version;According to the update queue, the firmware of respective nodes is updated successively according to first time interval.Host issues more newer command to each server cabinet, and rack server controls the node in server cabinet according to more newer command and realizes firmware update, can realize batch operation control, improve firmware update efficiency.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of firmware update of server cabinet, service
Device cabinet and host.
Background technology
Server cabinet generally includes multiple nodes, has complicated structure.In order to facilitate management, each node is usually set
It is equipped with BMC (Chinese:Baseboard management controller, English:Baseboard Management Controller), it is monitored by BMC
The normal work of hardware in each node;Moreover, being also normally provided with RMC (Chinese in server cabinet:Rack management controls
Device, English:Rack Management Controller), RMC can be carried out with the BMC of each node in server cabinet
Communication, to be managed to each node.
During the use of server cabinet, BIOS (Chinese is carried out to each node:Basic input output system, English
Text:Basic Input Output System) firmware update be usually require implement operation, to ensure its normal operation.Mesh
Before, the update to BIOS/firmware or is updated by special refresh tool on node by BMC Web pages,
However inventors discovered through research that, the above method leads to mainly for single node, but in research and development, test and O&M
The BIOS/firmware update status of multimachine cabinet multinode can be often faced, if then another cabinet update BIOS is solid for a cabinet
Part can waste plenty of time and manpower, inefficiency.
Therefore, how to improve the firmware update efficiency of server cabinet is the skill of those skilled in the art's urgent need to resolve
Art problem.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of firmwares of server cabinet more
New method, server cabinet and host, for solving the problems, such as that the firmware update efficiency of server cabinet in the prior art is low.
In order to achieve the above objects and other related objects, according to the first aspect of the invention, the embodiment of the present invention provides one
The firmware update of kind server cabinet, this approach includes the following steps:
After the more newer command that receiving host is sent, the reference firmware version of each node is obtained, wherein the more newer command is taken
With target firmware version;
When reference firmware version and target firmware version are inconsistent, the corresponding node of the reference firmware version is added
Update queue;
According to the update queue, the firmware of respective nodes is updated successively according to first time interval.
Optionally, when reference firmware version and target firmware version are inconsistent, the reference firmware version is corresponding
Update queue is added in node, including:
When reference firmware version and target firmware version are inconsistent, the task of the corresponding node of reference firmware version is obtained
Amount;
According to the update queue of task amount being ranked sequentially from low to high.
Optionally, the firmware for updating corresponding node successively according to first time interval, including:
Obtain network bandwidth occupancy;
When the network bandwidth occupancy is more than first threshold, increase the first time interval;
When the network bandwidth occupancy is less than second threshold, the first time interval is reduced;
Wherein, the first threshold is more than the second threshold.
Optionally, this method further includes:
After the second time interval, the more new state of all nodes in the update queue is obtained, wherein when described second
Between interval according to update queue number of nodes and first time interval be calculated;
The node that removal update is completed from update queue, obtains new update queue, exists when in new update queue
When node, according to new update queue and first time interval, the second time interval is updated;
When update in queue be not present node when, to the host send described in more new state.
According to the second aspect of the invention, the embodiment of the present invention also provides a kind of firmware update of server cabinet,
Applied to host, this approach includes the following steps:
Determine the priority of each server cabinet;
More newer command preferentially is sent to the Shelf Management Controller of the server cabinet of high priority, so that rack management control
Device processed obtains the reference firmware version of each node, wherein the more newer command carries target firmware version;When reference firmware version
When this is inconsistent with target firmware version, update queue is added in the corresponding node of the reference firmware version;According to it is described more
New queue updates the firmware of corresponding node according to first time interval successively.
According to the third aspect of the invention we, the embodiment of the present invention also provides a kind of server cabinet, the server cabinet packet
Including rack Management Controller, and,
With the memory of Shelf Management Controller communication connection;Wherein,
The memory is stored with the instruction that can be executed by the Shelf Management Controller, and described instruction is by the rack pipe
It manages controller to execute, so that the Shelf Management Controller can:
After the more newer command that receiving host is sent, the reference firmware version of each node is obtained, wherein the more newer command is taken
With target firmware version;
When reference firmware version and target firmware version are inconsistent, the corresponding node of the reference firmware version is added
Update queue;
According to the update queue, the firmware of respective nodes is updated successively according to first time interval.
Optionally, update queue is added in the corresponding node of the reference firmware version, including:
Obtain the task amount of the corresponding node of reference firmware version;
According to the update queue of task amount being ranked sequentially from low to high.
Optionally, the firmware for updating corresponding node successively according to first time interval, including:
Obtain network bandwidth occupancy;
When the network bandwidth occupancy is higher than first threshold, increase the first time interval;
When the network bandwidth occupancy is less than second threshold, the first time interval is reduced;
Wherein, the first threshold is more than the second threshold.
Optionally, the Shelf Management Controller is additionally operable to,
According to the number of nodes and first time interval of update queue, the second time interval is calculated;
After updating queue and starting firmware update, the second time interval, all nodes are obtained in the update queue more
New state, and to the host send described in more new state.
According to the fourth aspect of the invention, the embodiment of the present invention also provides a kind of host, and the host includes at least one
Processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be executed by one processor, and described instruction is by least one place
It manages device to execute, so that at least one processor can:
Determine the priority of each server cabinet;
More newer command preferentially is sent to the Shelf Management Controller of the server cabinet of high priority, so that rack management control
Device processed obtains the reference firmware version of each node, wherein the more newer command carries target firmware version;When reference firmware version
When this is inconsistent with target firmware version, update queue is added in the corresponding node of the reference firmware version;According to it is described more
New queue updates the firmware of corresponding node according to first time interval successively.
As described above, update method, server cabinet and the host of a kind of server cabinet provided in an embodiment of the present invention,
It has the advantages that:After the more newer command sent by receiving host, the reference firmware version of each node is obtained, wherein
The more newer command carries target firmware version;When reference firmware version and target firmware version are inconsistent, by the ginseng
It examines the corresponding node of firmware version and update queue is added;According to the update queue, according to first time interval successively more cenotype
Answer the firmware of node.Host issues more newer command to each server cabinet, and rack server is controlled according to more newer command and serviced
Node in device cabinet realizes firmware update, can realize batch operation control, improve firmware update efficiency.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention
Example, and be used to explain the principle of the present invention together with specification.
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 technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without having to pay creative labor, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of firmware update of Shelf Management Controller side server cabinet provided in an embodiment of the present invention
Flow diagram;
Fig. 2 is a kind of flow chart of update queue method for building up provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of firmware update control method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of state updating method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow signal of the firmware update of host computer side server cabinet provided in an embodiment of the present invention
Figure;
Fig. 6 is a kind of structural schematic diagram of server cabinet provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of host provided in an embodiment of the present invention.
Specific implementation mode
In order to make those skilled in the art more fully understand the technical solution in 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
The every other embodiment that technical staff is obtained without making creative work, should all belong to protection of the present invention
Range.
In embodiments of the present invention, Shelf Management Controller and multiple nodes, the rack are configured in server cabinet
Management control can be communicated with the multiple node, realize that the management to node controls;Host can in server cabinet
Rack management control communication sends more newer command and update firmware, moreover, the embodiment of the present invention can be wrapped to server cabinet
Multiple server cabinets are included, controlling multiple server cabinets simultaneously by the communication of host and each Shelf Management Controller realizes
Firmware update.In one exemplary embodiment, host and each server cabinet can be configured in same LAN, this
Sample, host can be realized logical with the Shelf Management Controller in each server cabinet according to the IP address of server cabinet
Letter.Moreover, before implementing firmware update, it can be stored in host in advance and need newer target firmware, in renewal process
In, target firmware can be issued to each server cabinet by host.The embodiment of the present invention will be with above-mentioned host and multiple services
For the framework of device cabinet, the firmware update of detailed description server cabinet.
It please refers to Fig.1 to Fig. 7.It should be noted that the diagram provided in the present embodiment only illustrates this in a schematic way
The basic conception of invention, package count when only display is with related component in the present invention rather than according to actual implementation in illustrating then
Mesh, shape and size are drawn, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its
Assembly layout kenel may also be increasingly complex.
It is a kind of firmware update of Shelf Management Controller side server cabinet provided in an embodiment of the present invention referring to Fig. 1
The flow diagram of method, as shown in Figure 1, the embodiment of the present invention shows Shelf Management Controller service implementation device cabinet firmware
Newer process:
Step S101:After the more newer command that receiving host is sent, the reference firmware version of each node is obtained, wherein described
More newer command carries target firmware version.
It is commonly configured with multiple nodes in server cabinet, there are many firmwares for storage in node, hard with control node bottom
Part.Wherein, most common firmware is BIOS (English:Basic Input Output System, Chinese:Basic input and output system
System) firmware, it is one group and is cured in computer a ROM (English on mainboard:Read Only Memory, Chinese:It is read-only to deposit
Reservoir) program on chip, self-check program and be after the program of its in store most important basic input and output of computer, booting
System self-triggered program, it can be from CMOS (English:Comp lementary Metal Oxide Semiconductor, Chinese:Mutually
Mend metal-oxide semiconductor (MOS)) in read-write system be arranged specifying information.In embodiments of the present invention, it services for a clear description
The firmware update of device cabinet will be specifically described by taking BIOS/firmware as an example.
In the specific implementation, host can send more newer command, the update to the Shelf Management Controller in server cabinet
Target firmware version is carried in order, is used to indicate the version for the firmware for needing to update.Meanwhile host can also be by target
Firmware is issued to Shelf Management Controller, Shelf Management Controller by target firmware storage to storage wherein in case subsequent step more
It is new to use.After Shelf Management Controller receives the more newer command of host transmission, further, each section in server cabinet is obtained
The reference firmware version of point, wherein the reference firmware version is the current firmware version of node.In an exemplary embodiment
In, it can be " 7.1 ", Shelf Management Controller control that Shelf Management Controller parses target firmware version from more newer command
Server cabinet include first node, second node and third node, Shelf Management Controller is further able to pass through
IPMI tools etc. obtain the reference firmware version " 7.1 " of first node, the reference firmware version " 6.8 " of second node, Yi Ji
The reference firmware version " 7.0 " of three nodes.
Step S102:When reference firmware version and target firmware version are inconsistent, the reference firmware version is corresponded to
Node be added update queue.
The reference firmware version got according to step S101, when reference firmware version and target firmware version are inconsistent
When, indicate that the corresponding node of reference firmware version needs to implement firmware update.In one exemplary embodiment, due to second node
Reference firmware version and third node reference firmware version it is inconsistent with target firmware version, thus may determine that
Second node and third node need to carry out firmware update, then second node and third node are increased to update queue.Having
When body is implemented, the unique mark or IP address of second node and third node can be increased to the update queue, with side
Just subsequent step executes firmware update according to the update queue and does not limit in embodiments of the present invention.
In order to improve firmware update efficiency, update queue is optimized in the embodiment of the present invention.It is this hair referring to Fig. 2
The flow chart for a kind of update queue method for building up that bright embodiment provides, as shown in Fig. 2, the embodiment of the present invention shows rack pipe
Manage the process that controller establishes update queue:
Step S1021:When reference firmware version and target firmware version are inconsistent, it is corresponding to obtain reference firmware version
The task amount of node.
In one exemplary embodiment, the reference firmware version of second node and third node differs with target firmware version
It causes, then further obtains the task amount of second node and the task amount of third node, which indicates concurrent on node
Or the quantity of pending task.
Step S1022:According to the update queue of task amount being ranked sequentially from low to high.
When the task amount of second node is more than the task amount of third node, then in updating queue, third node comes
Before second node, to ensure first to be updated third node.
In this way, by monitor node task amount, according to task amount from low to high arranged nodes update sequence implement more
Newly, it can ensure that more idle node implements firmware update first, improve update efficiency, and reduce since firmware update is to section
Point provides the influence of external service.
Step S103:According to the update queue, the firmware of respective nodes is updated successively according to first time interval.
The first time interval can be preset time interval, or complete target firmware by testing to obtain in advance
Update the time needed.In one exemplary embodiment, according to the description of above-mentioned steps, update queue includes second node and the
Three nodes, and second node starts timing when second node starts update, reaches first time interval prior to third node updates
Afterwards, start to execute third node updates, pass through the first time interval successively in this way, successively more according to the sequence in update queue
New each node.By the way that the first time interval is arranged, when a upper node is completed close to update, starts new node and implement more
Newly, less node can be controlled while being updated, network congestion is prevented.
In addition, at no point in the update process, network congestion may be caused since multiple nodes are carried out at the same time firmware update, in order to anti-
Only the generation of such case takes into account update efficiency simultaneously, is a kind of firmware update control provided in an embodiment of the present invention referring to Fig. 3
The flow diagram of method, as shown in figure 3, the embodiment of the present invention is shown, Shelf Management Controller implements firmware update dynamic
The process of state adjustment:
Step S1031:Obtain network bandwidth occupancy.
Network bandwidth occupancy on Shelf Management Controller controlling bus.
Step S1032:When the network bandwidth occupancy is more than first threshold, increase the first time interval.
Step S1033:When the network bandwidth occupancy is less than second threshold, the first time interval is reduced,
In, the first threshold is more than the second threshold.
In embodiments of the present invention, the network bandwidth that Shelf Management Controller can be in real time in detection service device cabinet occupies
Rate, when network bandwidth occupancy is more, corresponding renewal time, which may extend, to cause, if multiple nodes are implemented more simultaneously
Newly, the external service of update efficiency and server cabinet may be seriously affected, therefore increases the first time interval, it can
Control reduces newer number of nodes simultaneously;Equally, when network bandwidth occupancy is less, indicate that current server cabinet is network-like
Condition can support more nodes concurrently to implement to update, therefore by reducing the first time interval, can increase while newer
Number of nodes improves update efficiency.
For the ease of counting the more new state of each node, more system money can be expended by the way of periodic polling
Source is a kind of state updating method provided in an embodiment of the present invention to improve statistical efficiency, save system resource referring to Fig. 4
Flow diagram, as shown in figure 4, the embodiment of the present invention show request more new state process:
Step S104:After the second time interval, the more new state of all nodes in the update queue, wherein institute are obtained
The second time interval is stated to be calculated according to the number of nodes and first time interval of update queue.
In one exemplary embodiment, it when the number of nodes in server cabinet is N, and first time interval is T1, then counts
It can be N × T1 to calculate the second time interval T2, and second time interval T2 can be understood as the update queue estimated and complete update
Time.
Step S105:The node that removal update is completed from update queue, obtains new update queue, when new update team
There are when node in row, according to new update queue and first time interval, the second time interval is updated.
Summarize in an exemplary embodiment, update queue may include first node, second node, third node.It is passing through
After crossing the second time interval, it is to complete to obtain first node more new state, and the more new state of second node and third node is not
It completes, then removes first node from update queue, it includes second node and third node to obtain new update queue, then may be used
According to new update queue and first time interval, to update the second time interval, again return to step S104, followed
Ring.
Step S106:When update in queue be not present node when, to the host send described in more new state.
When update node is not present in queue when, such as according to the judgement of step S105, update and node be not present in queue
It indicates that update queue has been updated over completion, then the more new state of each node can be sent back host.
By the description of above-described embodiment as it can be seen that a kind of firmware update side of server cabinet provided in an embodiment of the present invention
Method obtains the reference firmware version of each node, wherein the more newer command is taken after the more newer command sent by receiving host
With target firmware version;When reference firmware version and target firmware version are inconsistent, the reference firmware version is corresponded to
Node be added update queue;According to the update queue, the firmware of respective nodes is updated successively according to first time interval.It is main
Machine issues more newer command to each server cabinet, and rack server controls the node reality in server cabinet according to more newer command
Existing firmware update, can realize batch operation control, improve firmware update efficiency.
It is a kind of flow of the firmware update of host computer side server cabinet provided in an embodiment of the present invention referring to Fig. 5
Schematic diagram, as shown in figure 5, the embodiment of the present invention shows the process of the firmware update of host execute server cabinet:
Step S201:Determine the priority of each server cabinet.
In embodiments of the present invention, host can be communicated with multiple server cabinets, to control server cabinet
Firmware update, in order to improve update efficiency, the embodiment of the present invention implements two priority classes to multiple server cabinets.
Under the first performance, host can be communicated with each Shelf Management Controller, obtain each service
The number of tasks of device cabinet determines the priority orders of each server cabinet according to the sequence of the number of tasks from low to high, with
The server cabinet low for preferentially updating number of tasks.
Under second of performance, host can be with reference firmware version in calculation server cabinet and target firmware version
This difference, according to the sequence of the difference from high to low, for the low server cabinet of preferentially more new version.
Under the third performance, host also according to server cabinet cluster network topology, according to network layer
The sequence of grade from high to low, for preferentially updating the server cabinet positioned at network topology top layer.
Step S202:More newer command preferentially is sent to the Shelf Management Controller of the server cabinet of high priority, so that
Shelf Management Controller obtains the reference firmware version of each node, wherein the more newer command carries target firmware version;When
When reference firmware version is inconsistent with target firmware version, update queue is added in the corresponding node of the reference firmware version;
According to the update queue, the firmware of corresponding node is updated successively according to first time interval.
Place same as the previously described embodiments of the embodiment of the present invention, reference can be made to the description of above-described embodiment, details are not described herein.
By the description of above embodiment of the method, it is apparent to those skilled in the art that the present invention can
Realized by the mode of software plus required general hardware platform, naturally it is also possible to by hardware, but in many cases the former
It is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially makes tribute to the prior art in other words
The part offered can be expressed in the form of software products, which is stored in a storage medium, packet
Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes
All or part of the steps of the method according to each embodiment of the present invention.And storage medium above-mentioned includes:Read-only memory
(ROM), the various media that can store program code such as random access memory (RAM), magnetic disc or CD.
Corresponding with the firmware update embodiment of server cabinet provided by the invention, the present invention also provides one kind
Server cabinet.
It is a kind of structural schematic diagram of server cabinet provided in an embodiment of the present invention, as shown in fig. 6, the clothes referring to Fig. 6
Business device cabinet includes one or more Shelf Management Controllers 610 and memory 620, is controlled with a rack management in Fig. 6
For device 610.
Shelf Management Controller 610 can be connected with memory 620 by bus or other modes, to pass through in Fig. 6
For bus connection.
Memory 620 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, such as the corresponding program of firmware update in the embodiment of the present invention
Instruction/module.Shelf Management Controller 610 by operation be stored in non-volatile software program in memory 620, instruction with
And module, the various function application to execute server and data processing, that is, realize above method embodiment firmware update
Method.
Memory 620 may include storing program area and storage data field, wherein storing program area can store operation system
System, the required application program of at least one function;Storage data field can be stored uses institute according to Shelf Management Controller 610
The data etc. of establishment.In addition, memory 620 may include high-speed random access memory, can also include non-volatile memories
Device, for example, at least a disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments
In, it includes the memory remotely located relative to Shelf Management Controller 610 that memory 620 is optional, these remote memories can
To pass through network connection to Shelf Management Controller 610.The example of above-mentioned network includes but not limited to internet, enterprises
Net, LAN, mobile radio communication and combinations thereof.
One or more of modules are stored in the memory 620, when by one or more of rack pipes
When managing the execution of controller 610, the firmware update in above-mentioned any means embodiment is executed.
It is a kind of structural schematic diagram of host provided in an embodiment of the present invention referring to Fig. 7, as shown in fig. 7, the host packet
It includes:
One or more processors 710 and memory 720, in Fig. 7 by taking a processor 710 as an example.
Executing the host of firmware update can also include:Input unit 730 and output device 740.
Processor 710, memory 720, input unit 730 and output device 740 can pass through bus or other modes
It connects, in Fig. 7 for being connected by bus.
Memory 720 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, such as the corresponding program of firmware update in the embodiment of the present invention
Instruction/module.Processor 710 is stored in non-volatile software program, instruction and module in memory 720 by operation,
Above method embodiment firmware update is realized in various function application to execute server and data processing.
Memory 720 may include storing program area and storage data field, wherein storing program area can store operation system
System, the required application program of at least one function;Storage data field can be stored to be created according to using for firmware update module
Data etc..In addition, memory 720 may include high-speed random access memory, can also include nonvolatile memory, example
Such as at least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, it deposits
It includes the memory remotely located relative to processor 710 that reservoir 720 is optional, these remote memories can pass through network connection
To processor 710.The example of above-mentioned network include but not limited to internet, intranet, LAN, mobile radio communication and its
Combination.
Input unit 730 can receive the number or character information of input, and generates and set with the user of firmware update module
It sets and the related key signals of function control inputs.Output device 740 may include that display screen etc. shows equipment.
One or more of modules are stored in the memory 720, when by one or more of processors
When 710 execution, the firmware update in above-mentioned any means embodiment is executed.
The said goods can perform the method that the embodiment of the present invention is provided, and has the corresponding function module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present invention is provided.
The host of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind of equipment belongs to the scope of personal computer, there is calculating and processing work(
Can, generally also have mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind of equipment can show and play multimedia content.Such equipment includes:Audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server include that processor, hard disk, memory, system are total
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can
It is physically separated with being or may not be, the component shown as unit may or may not be physics list
Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of module achieve the purpose of the solution of this embodiment
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device or
For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein the conduct
The unit that separating component illustrates may or may not be physically separated, the component shown as unit can be or
Person may not be physical unit, you can be located at a place, or may be distributed over multiple network units.It can root
According to actual need that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill
Personnel are without creative efforts, you can to understand and implement.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to one
A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to
Cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or setting
Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in the process, method, article or apparatus that includes the element.
The above is only the specific implementation mode of the present invention, is made skilled artisans appreciate that or realizing this hair
It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest range caused.
Claims (10)
1. a kind of firmware update of server cabinet is applied to Shelf Management Controller, which is characterized in that including following step
Suddenly:
After the more newer command that receiving host is sent, the reference firmware version of each node is obtained, wherein the more newer command carries
Target firmware version;
When reference firmware version and target firmware version are inconsistent, update is added in the corresponding node of the reference firmware version
Queue;
According to the update queue, the firmware of respective nodes is updated successively according to first time interval.
2. the firmware update of server cabinet according to claim 1, which is characterized in that when reference firmware version with
When target firmware version is inconsistent, update queue is added in the corresponding node of the reference firmware version, including:
When reference firmware version and target firmware version are inconsistent, the task amount of the corresponding node of reference firmware version is obtained;
According to the update queue of task amount being ranked sequentially from low to high.
3. the firmware update of server cabinet according to claim 1, which is characterized in that described according at the first time
Interval updates the firmware of corresponding node successively, including:
Obtain network bandwidth occupancy;
When the network bandwidth occupancy is more than first threshold, increase the first time interval;
When the network bandwidth occupancy is less than second threshold, the first time interval is reduced;
Wherein, the first threshold is more than the second threshold.
4. the firmware update of server cabinet according to claim 1, which is characterized in that further include:
After the second time interval, the more new state of all nodes in the update queue is obtained, wherein between second time
It is calculated every according to the number of nodes and first time interval of update queue;
The node that removal update is completed from update queue, obtains new update queue, when there are nodes in new update queue
When, according to new update queue and first time interval, update the second time interval;
When update in queue be not present node when, to the host send described in more new state.
5. a kind of firmware update of server cabinet is applied to host, which is characterized in that include the following steps:
Determine the priority of each server cabinet;
More newer command preferentially is sent to the Shelf Management Controller of the server cabinet of high priority, so that Shelf Management Controller
Obtain the reference firmware version of each node, wherein the more newer command carries target firmware version;When reference firmware version with
When target firmware version is inconsistent, update queue is added in the corresponding node of the reference firmware version;According to the update team
Row, the firmware of corresponding node is updated according to first time interval successively.
6. a kind of server cabinet, which is characterized in that including Shelf Management Controller, and,
With the memory of Shelf Management Controller communication connection;Wherein,
The memory is stored with the instruction that can be executed by the Shelf Management Controller, and described instruction is by the rack management control
Device processed executes, so that the Shelf Management Controller can:
After the more newer command that receiving host is sent, the reference firmware version of each node is obtained, wherein the more newer command carries
Target firmware version;
When reference firmware version and target firmware version are inconsistent, update is added in the corresponding node of the reference firmware version
Queue;
According to the update queue, the firmware of respective nodes is updated successively according to first time interval.
7. server cabinet according to claim 6, which is characterized in that the corresponding node of the reference firmware version is added
Queue is updated, including:
Obtain the task amount of the corresponding node of reference firmware version;
According to the update queue of task amount being ranked sequentially from low to high.
8. server cabinet according to claim 6, which is characterized in that described according to first time interval successively more cenotype
The firmware for the node answered, including:
Obtain network bandwidth occupancy;
When the network bandwidth occupancy is higher than first threshold, increase the first time interval;
When the network bandwidth occupancy is less than second threshold, the first time interval is reduced;
Wherein, the first threshold is more than the second threshold.
9. server cabinet according to claim 6, which is characterized in that the Shelf Management Controller is additionally operable to,
According to the number of nodes and first time interval of update queue, the second time interval is calculated;
After update queue starts firmware update, the second time interval, the update shape of all nodes in the update queue is obtained
State, and to the host send described in more new state.
10. a kind of host, which is characterized in that the host includes at least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be executed by one processor, and described instruction is by least one processor
It executes, so that at least one processor can:
Determine the priority of each server cabinet;
More newer command preferentially is sent to the Shelf Management Controller of the server cabinet of high priority, so that Shelf Management Controller
Obtain the reference firmware version of each node, wherein the more newer command carries target firmware version;When reference firmware version with
When target firmware version is inconsistent, update queue is added in the corresponding node of the reference firmware version;According to the update team
Row, the firmware of corresponding node is updated according to first time interval successively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810532432.5A CN108762786A (en) | 2018-05-29 | 2018-05-29 | A kind of firmware update of server cabinet, server cabinet and host |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810532432.5A CN108762786A (en) | 2018-05-29 | 2018-05-29 | A kind of firmware update of server cabinet, server cabinet and host |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108762786A true CN108762786A (en) | 2018-11-06 |
Family
ID=64003646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810532432.5A Pending CN108762786A (en) | 2018-05-29 | 2018-05-29 | A kind of firmware update of server cabinet, server cabinet and host |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762786A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109901997A (en) * | 2019-01-29 | 2019-06-18 | 平安科技(深圳)有限公司 | Financial system upgrade method and device, electronic equipment, storage medium |
CN112558999A (en) * | 2019-09-25 | 2021-03-26 | 无锡江南计算技术研究所 | Mass node firmware version management and network loading method based on BMC (baseboard management controller) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833463A (en) * | 2010-04-06 | 2010-09-15 | 中兴通讯股份有限公司 | Method and system for updating data card firmware |
US20140047430A1 (en) * | 2012-06-04 | 2014-02-13 | Canon Kabushiki Kaisha | Firmware update system increased in possibility of execution of automatic firmware update processing |
CN103793238A (en) * | 2012-10-31 | 2014-05-14 | 英业达科技有限公司 | Rack and method for simultaneously updating multiple basic input output systems thereof |
CN104679530A (en) * | 2013-11-26 | 2015-06-03 | 英业达科技有限公司 | Server system and firmware updating method |
CN106407054A (en) * | 2016-08-30 | 2017-02-15 | 浪潮(北京)电子信息产业有限公司 | BMC automatic testing system and method |
US20170075676A1 (en) * | 2015-09-14 | 2017-03-16 | Quanta Computer Inc. | Rack server device firmware update using network switch |
CN106775877A (en) * | 2016-12-22 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of firmware method for refreshing and a kind of server |
CN107479937A (en) * | 2017-09-25 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of multi-node cluster intersects the method for upgrading |
CN107526602A (en) * | 2017-09-05 | 2017-12-29 | 郑州云海信息技术有限公司 | A kind of cmc method for updating edition and device |
-
2018
- 2018-05-29 CN CN201810532432.5A patent/CN108762786A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833463A (en) * | 2010-04-06 | 2010-09-15 | 中兴通讯股份有限公司 | Method and system for updating data card firmware |
US20140047430A1 (en) * | 2012-06-04 | 2014-02-13 | Canon Kabushiki Kaisha | Firmware update system increased in possibility of execution of automatic firmware update processing |
CN103793238A (en) * | 2012-10-31 | 2014-05-14 | 英业达科技有限公司 | Rack and method for simultaneously updating multiple basic input output systems thereof |
CN104679530A (en) * | 2013-11-26 | 2015-06-03 | 英业达科技有限公司 | Server system and firmware updating method |
US20170075676A1 (en) * | 2015-09-14 | 2017-03-16 | Quanta Computer Inc. | Rack server device firmware update using network switch |
CN106407054A (en) * | 2016-08-30 | 2017-02-15 | 浪潮(北京)电子信息产业有限公司 | BMC automatic testing system and method |
CN106775877A (en) * | 2016-12-22 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of firmware method for refreshing and a kind of server |
CN107526602A (en) * | 2017-09-05 | 2017-12-29 | 郑州云海信息技术有限公司 | A kind of cmc method for updating edition and device |
CN107479937A (en) * | 2017-09-25 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of multi-node cluster intersects the method for upgrading |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109901997A (en) * | 2019-01-29 | 2019-06-18 | 平安科技(深圳)有限公司 | Financial system upgrade method and device, electronic equipment, storage medium |
CN109901997B (en) * | 2019-01-29 | 2023-08-11 | 平安科技(深圳)有限公司 | Financial system upgrading method and device, electronic equipment and storage medium |
CN112558999A (en) * | 2019-09-25 | 2021-03-26 | 无锡江南计算技术研究所 | Mass node firmware version management and network loading method based on BMC (baseboard management controller) |
CN112558999B (en) * | 2019-09-25 | 2022-10-04 | 无锡江南计算技术研究所 | Mass node firmware version management and network loading method based on BMC (baseboard management controller) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111694646B (en) | Resource scheduling method, device, electronic equipment and computer readable storage medium | |
CN110753131A (en) | Microservice distributed current limiting method and device, storage medium and electronic equipment | |
US20120167108A1 (en) | Model for Hosting and Invoking Applications on Virtual Machines in a Distributed Computing Environment | |
CN103970520A (en) | Resource management method and device in MapReduce framework and framework system with device | |
CN107943534B (en) | Background application program closing method and device, storage medium and electronic equipment | |
CN107977254B (en) | Method for responding to request in cloud data system and computer-readable storage medium | |
CN111800462A (en) | Micro-service instance processing method and device, computer equipment and storage medium | |
CN107944000A (en) | Flight freight rate update method, device, electronic equipment, storage medium | |
CN106406494B (en) | A kind of method and terminal of processor scheduling | |
CN108737499A (en) | server configuration method and device | |
CN110708369B (en) | File deployment method and device for equipment nodes, scheduling server and storage medium | |
CN110096258A (en) | A method of the OpenStack infrastructure architecture management based on Terraform | |
CN108762786A (en) | A kind of firmware update of server cabinet, server cabinet and host | |
CN109857550A (en) | Resource allocation method, device, equipment and storage medium based on machine learning | |
CN111813517A (en) | Task queue allocation method and device, computer equipment and medium | |
CN103870762A (en) | Partition accessing method and electronic equipment | |
CN109658934A (en) | Pass through the method and device of voice control multimedia app | |
CN109582439A (en) | DCN dispositions method, device, equipment and computer readable storage medium | |
US11334436B2 (en) | GPU-based advanced memory diagnostics over dynamic memory regions for faster and efficient diagnostics | |
CN112448833B (en) | Multi-management-domain communication method and device | |
CN109753353A (en) | Resources of virtual machine distribution method, device and electronic equipment | |
CN109412970B (en) | Data transfer system, data transfer method, electronic device, and storage medium | |
CN109164987A (en) | A kind of control method of magnetic disc array card, device and electronic equipment | |
CN111158595A (en) | Enterprise-level heterogeneous storage resource scheduling method and system | |
CN109840182A (en) | A kind of resource monitoring method, device and electronic equipment |
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: 20181106 |
|
RJ01 | Rejection of invention patent application after publication |