CN109471646A - A kind of upgrade method, device and the storage medium of the BMC version of server - Google Patents
A kind of upgrade method, device and the storage medium of the BMC version of server Download PDFInfo
- Publication number
- CN109471646A CN109471646A CN201811295836.3A CN201811295836A CN109471646A CN 109471646 A CN109471646 A CN 109471646A CN 201811295836 A CN201811295836 A CN 201811295836A CN 109471646 A CN109471646 A CN 109471646A
- Authority
- CN
- China
- Prior art keywords
- server
- upgrade
- node
- configuration type
- bmc version
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses upgrade method, device and the storage mediums of a kind of BMC version of server, when receiving upgrade command, judge whether the Configuration Type of server is target Configuration Type.If current server is target Configuration Type, show that it does not dispose Linux system from node, therefore, it is impossible to which the upgrading mode according to host node upgrades, needs that the upgrade script write in advance is called to realize.The IP address of the slave node of server is obtained first, and logs in Web page, then downloads upgrade file corresponding with upgrade command, runs upgrade file finally to upgrade to from the BMC version of node.It can be seen that, this method can be in the case where the slave node of server dispose the scene of Linux system, the upgrading to the BMC version from node is realized by way of calling script, for the mode manually upgraded, this method can be realized automatically, cost of labor is significantly reduced, the efficiency of upgrading is improved.
Description
Technical field
The present invention relates to server technology fields, upgrade method, device more particularly to a kind of BMC version of server
And storage medium.
Background technique
Server refers to a management resource and provides the computer of service for user, is widely used in all trades and professions.According to
The classification method of the quantity of processor in server, current server can be divided into single 4 tunnels, double 4 tunnels, double 2 tunnels, single 8 tunnels, list
This five kinds of type configurations of 6 roads.Wherein single 4 tunnels, double 4 tunnels, double 2 tunnels can upgrade automatically BMC version under Linux system.But single 8
Road and both types of single 6 tunnels are divided into upper layer from node, and lower layer's host node depends on host node work from node.Therefore, for
For both types, only host node just has a Linux system, therefore host node can upgrade BMC version automatically, and from node due to
There is no Linux system therefore can not carry out upgrading BMC version automatically.
In the prior art, it in order to realize on single 8 roads and both types of single 6 tunnels from the upgrading of the BMC version of node, needs
It manually goes to upgrade.When the number of servers to be upgraded is huge, the process of upgrading is very cumbersome, is also easy to mistake occur,
Low efficiency, time-consuming.
It can be seen that when to there is no the server for loading Linux system to carry out the upgrading of BMC version from node, such as
The efficiency what improves upgrading is those skilled in the art's urgent problem to be solved.
Summary of the invention
The object of the present invention is to provide upgrade method, device and the storage mediums of a kind of BMC version of server, are used for
When to there is no the server for loading Linux system to carry out the upgrading of BMC version from node, the efficiency of upgrading is improved.
In order to solve the above technical problems, the present invention provides a kind of upgrade method of the BMC version of server, comprising:
When receiving upgrade command, judge whether the Configuration Type of server is target Configuration Type;
If so, calling the upgrade script write in advance to realize following steps:
The IP address of the slave node of the server is obtained, and Web page is logged in the IP address;
After successfully logging in the Web page, upgrade file corresponding with the upgrade command is downloaded;
The upgrade file is run to upgrade to described from the BMC version of node;
Wherein, the target Configuration Type is the server for not disposing Linux system from node.
It is preferably, described to call the step of realizing described in the upgrade script write in advance further include:
The upgrade file is verified with preset method of calibration;
Judge whether to verify successfully;
If it is, the step of into the operation upgrade file, otherwise output verification failure information, and return to institute
The step of stating the IP address for obtaining the slave node of the server.
Preferably, described the step of calling the upgrade script write in advance realized further include:
Whether judgement is described upgrades successfully from the BMC version of node;
If it is, output upgrades successfully information, otherwise output upgrades failure information, and returns to the acquisition service
The step of IP address of the slave node of device.
Preferably, before the upgrade script for calling and writing in advance, further includes:
The BMC version of the host node of the server is upgraded.
Preferably, the target Configuration Type is specially single 8 tunnels or single 6 tunnels.
Preferably, whether the Configuration Type for judging server is that target Configuration Type specifically includes:
Obtain the quantity and CPU quantity of the PCH card of the server;
Whether the quantity for judging the PCH card is 1 and whether the quantity of the CPU is 8 or 6;
If it is, the Configuration Type for determining the server is the target Configuration Type, otherwise, it determines the service
The Configuration Type of device is not the target Configuration Type.
Preferably, the quantity and CPU quantity of the PCH card for obtaining the server are obtained especially by MES.
In order to solve the above technical problems, the present invention also provides a kind of update devices of the BMC version of server, comprising:
Judgment module, for when receiving upgrade command, judging whether the Configuration Type of server is target configuration class
Type;
Calling module, for when the judgment result of the judgment module is yes, call the upgrade script write in advance with
Trigger following module:
Module, the IP address of the slave node for obtaining the server are obtained, and Web net is logged in the IP address
Page;
Download module, for after successfully logging in the Web page, downloading upgrading text corresponding with the upgrade command
Part;
Module is run, for running the upgrade file to upgrade to described from the BMC version of node;
Wherein, the target Configuration Type is the server for not disposing Linux system from node.
In order to solve the above technical problems, the present invention also provides a kind of update device of the BMC version of server, including storage
Device, for storing computer program;
Processor realizes the upgrade method of the BMC version of server as mentioned when for executing the computer program
The step of.
In order to solve the above technical problems, the present invention also provides a kind of computer readable storage medium, it is described computer-readable
Computer program is stored on storage medium, the computer program realizes server as mentioned when being executed by processor
The step of upgrade method of BMC version.
The upgrade method of the BMC version of server provided by the present invention judges server when receiving upgrade command
Configuration Type whether be target Configuration Type, wherein target Configuration Type is the service for not disposing Linux system from node
Device.If current server is target Configuration Type, show that it does not dispose Linux system from node, therefore, it is impossible to according to
The upgrading mode of host node upgrades, and needs that the upgrade script write in advance is called to realize.The script in the process of implementation, first
The IP address of the slave node of server is obtained, and Web page is logged in IP address, then after successfully logging in Web page, downloading
Upgrade file corresponding with upgrade command runs upgrade file finally to upgrade to from the BMC version of node.Thus may be used
See, this method can be realized pair in the case where the slave node of server does not dispose the scene of Linux system by way of calling script
From the upgrading of the BMC version of node, for the mode manually upgraded, this method be can be realized automatically, and is effectively reduced
Cost of labor, improves the efficiency of upgrading.
In addition, the update device and storage medium of the BMC version of server provided by the present invention, with the above method pair
It answers, effect is same as above.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below
It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people
For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the upgrade method of the BMC version of server provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the upgrade method of the BMC version of another server provided by the invention;
Fig. 3 is flow chart when a kind of upgrade script provided in an embodiment of the present invention is called;
Fig. 4 is the flow chart of the upgrade method of the BMC version of another server provided in an embodiment of the present invention;
Fig. 5 is a kind of structure chart of the update device of the BMC version of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other
Embodiment belongs to the scope of the present invention.
Core of the invention is to provide upgrade method, device and the storage medium of a kind of BMC version of server, is used for
When to there is no the server for loading Linux system to carry out the upgrading of BMC version from node, the efficiency of upgrading is improved.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Fig. 1 is a kind of flow chart of the upgrade method of the BMC version of server provided in an embodiment of the present invention.Such as Fig. 1 institute
Show, this method comprises:
S10: when receiving upgrade command, judging whether the Configuration Type of server is target Configuration Type, if so,
Into S10.
Heretofore described server can be the servers such as TS860G4, and concrete model is not construed as limiting.Wherein, target
Configuration Type is the server for not disposing Linux system from node.For example, in a specific embodiment, target configuration
Type is specially single 8 tunnels or single 6 tunnels.
There are many ways to Configuration Type of server is judged in this step, one of which are according to the ginseng for including in MES
Number is to judge, specific deterministic process will be described in hereinafter, and this embodiment is not repeated.It should be noted that except through MES
The parameter for including is outer to judge, can also use other methods.Such as each server is labeled in advance, pass through mark
What content and current server were included marks the Configuration Type to determine server, but on the one hand this method needs mark in advance
Note, the corresponding relationship of the content and Configuration Type of on the other hand also wanting additional records to mark, for this method,
The method that the Configuration Type of server is judged using the parameter that MES includes is more convenient, and the probability of error is relatively low.
S11: call the upgrade script write in advance to realize following steps.
It should be noted that upgrade script needs engineer to write in advance, then store, it is generally the case that be stored in
In system in local system server, in order to call script, this embodiment is not repeated for the specific procedure of upgrade script, this
Field technical staff can determine corresponding program by the step of being realized.It is each in script when calling the script
A order is successively performed, to realize corresponding function.
S12: the IP address of the slave node of server is obtained, and Web page is logged in IP address.
It include the order line obtained from the IP address of node in upgrade script, which is performed, can be automatic
Obtain the IP address of the slave node of server.Corresponding detailed process are as follows: upper layer is opened by name in lower layer's host node first
From the network interface access authority of node, upper layer is then got from node IP address by order again.
After obtaining the IP address from node, with the address registration Web page.It should be noted that Web page here
Type be not construed as limiting, corresponding upgrade file can be downloaded to by the Web page.
S13: after successfully logging in Web page, upgrade file corresponding with upgrade command is downloaded.
It should be noted that upgrade file downloads mistake in order to prevent, it can be in the corresponding Web page of each IP address
It only include unique upgrade file.Except of course that can also be outside this scene and be connected to multiple upgradings in Web page cochain
File, each upgrade file include specific distinguishing mark, to choose and suitable upgrade file in downloading.It can be with
Understand, the upgrade file in this step is exactly for upgrading the file from the BMC version of node in fact.Under normal conditions,
Upgrade file is all to need to decompress compressed package after downloading by compression processing, as this reality of the mode of compression
It applies example to be not construed as limiting, using existing compression method.In addition, the present embodiment is not yet for the position of upgrade file storage
It limits, can be and add one in script for upgrade file to be stored in the order line of a fixing address, remove certainly
Outside this mode, it is also possible to random storage.
In addition, the Web page for whether successfully logging in accessed IP can be checked in this step, order line can be passed through
Judge whether the return value of login result is 0, if it is 0, shows successfully to log in, otherwise, show not log in successfully.One
Kind specific embodiment needs to return to S12 if do not logged in successfully.
S14: operation upgrade file to from the BMC version of node to upgrade.
After upgrade file has been downloaded, the corresponding command row in script is performed, so that it may automatic running upgrading text
Part is to realize to the upgrading from node BMC version.
In order to allow those skilled in the art more to understand technical solution provided by the present invention, it is given below one specifically
Application scenarios.Fig. 2 is the flow chart of the upgrade method of the BMC version of another server provided by the invention.With mesh in Fig. 2
Illustrate for specially single 8 tunnels of mark Configuration Type or single 6 tunnels.
S20: whether the Configuration Type for determining server is single 4 tunnels, double 4 tunnels, double 2 tunnels, single 8 tunnels or single 6 tunnels, if it is list
8 tunnels or single 6 tunnels, then enter S11, and (as single 4 tunnels, double 4 tunnels or double 2 tunnels) then enters S22 if not.
S11: call the upgrade script write in advance to realize following steps (S12-S14).
S21: single 4 tunnels, double 4 tunnels, double 2 tunnels are upgraded by normal upgrade method.
Preferably, if target Configuration Type is specially single 8 tunnels or single 6 tunnels, judge server Configuration Type whether be
Target Configuration Type specifically includes:
Obtain the quantity and CPU quantity of the PCH card of server;
Whether the quantity for judging PCH card is 1 and whether the quantity of CPU is 8 or 6;
If it is, the Configuration Type for determining server is target Configuration Type, otherwise, it determines the Configuration Type of server
It is not target Configuration Type.
Preferably embodiment, the quantity and CPU quantity for obtaining the PCH card of server are obtained especially by MES.
MES (Manufacturing Execution System) i.e. manufacturing enterprise's production process executes system, is a set of
The production information management system of Manufacture Enterprise workshop execution level.MES can be provided for enterprise including Manufacturing Data Management,
Plan scheduled production management, Production scheduling management, stock control, quality management, human resource management, work centre/equipment management, work
Has tool management, purchasing management, cost management, project kanban system, production process control, bottom data integrated analysis, upper layer
The management modules such as data integration decomposition make a sturdy, reliable, comprehensive, feasible manufacture cooperating management platform for enterprise.
Factory can be in PN QN scanning record MES of the assembling end by various material components first, and it is clear that MES can generate material
It is single, it is stored in database.Database is presented in a manner of table, and first is classified as material component QN PN, and second is classified as material component
Title, third are classified as order number, and the 4th is classified as material quantity.Then CPU quantity, PCH card number are grabbed in database by order
Amount (by QN PN, the QN of each material QN be fixed).Deterministic process is as follows:
First determine whether PCH card quantity, if quantity is 1, CPU (quantity)=8, then target Configuration Type is single 8 tunnels, CPU
(quantity)=6, then target Configuration Type is single 6 tunnels, and CPU (quantity)=4, then target Configuration Type is single 4 tunnels.
If PCH card quantity=2, CPU (quantity)=8, then target Configuration Type is double 4 tunnels, CPU (quantity)=4, then mesh
Marking Configuration Type is double 2 tunnels.
The upgrade method of the BMC version of server provided in this embodiment judges server when receiving upgrade command
Configuration Type whether be target Configuration Type, wherein target Configuration Type is the service for not disposing Linux system from node
Device.If current server is target Configuration Type, show that it does not dispose Linux system from node, therefore, it is impossible to according to
The upgrading mode of host node upgrades, and needs that the upgrade script write in advance is called to realize.The script in the process of implementation, first
The IP address of the slave node of server is obtained, and Web page is logged in IP address, then after successfully logging in Web page, downloading
Upgrade file corresponding with upgrade command runs upgrade file finally to upgrade to from the BMC version of node.Thus may be used
See, this method can be realized pair in the case where the slave node of server does not dispose the scene of Linux system by way of calling script
From the upgrading of the BMC version of node, for the mode manually upgraded, this method be can be realized automatically, and is effectively reduced
Cost of labor, improves the efficiency of upgrading.
Fig. 3 is flow chart when a kind of upgrade script provided in an embodiment of the present invention is called.As shown in figure 3, the upgrading
Step performed by script is in addition to S12-S14, preferably embodiment, further includes:
S30: upgrade file is verified with preset method of calibration.
S30: judging whether to verify successfully, if it is, otherwise entering S32 into S14.
S32: output verification failure information, and return to S12.
Due to when downloading upgrade file, there is the problem of downloading mistake, leading to upgrade file is not currently from node
Therefore, in this method corresponding file joined the verification to upgrade file.It should be noted that there are many modes of verification
Method, such as each upgrade file have a MD5 check value, by being compared with preset check value, such as
Fruit is consistent, then verifies success, otherwise, verification failure.
By the way that the verification to upgrade file is added in the present embodiment, asking for upgrade file downloading mistake can be effectively prevent
Topic, improves the reliability of method.
The step of preferably embodiment, the upgrade script that calling is write in advance is realized further include:
S33: judging whether upgrade successfully from the BMC version of node, if so, into S34, otherwise, into S35.
S34: output upgrades successfully information.
S35: output upgrading failure information, and return to S12.
It in specific implementation, is then exactly upgrading text from the BMC version of node by preset time after running upgrade file
Part, but due in escalation process, in fact it could happen that the problems such as interruption causes upgrading to fail.Therefore, it joined in the present embodiment
Whether upgrading is successfully judged.Preferably, S33 can be is sentenced again in the preset time after operation upgrade file starts
It is disconnected.This preset time be not less than escalation process required for the time, can according to the actual situation depending on.
Fig. 4 is the flow chart of the upgrade method of the BMC version of another server provided in an embodiment of the present invention.Such as Fig. 4
It is shown, preferably embodiment, before calling the upgrade script write in advance, further includes:
S40: the BMC version of the host node of server is upgraded.
It should be noted that complete the upgrading to server, not only includes the upgrading to the BMC version of host node, also wrap
Include the upgrading to the BMC version from node.And generally be intended to depend on host node work from node, therefore, in the present embodiment,
To before the upgrading of the BMC version of node, first the BMC version of host node is upgraded.It is understood that host node
Escalation process can be found in the prior art, this embodiment is not repeated.
In the above-described embodiments, the upgrade method of the BMC version of server is described in detail, the present invention also mentions
For the corresponding embodiment of update device of the BMC version of server.It should be noted that the present invention is from two angles to device portion
The embodiment divided is described, and one is the angle based on functional module, another kind is hardware based angle.
Fig. 5 is a kind of structure chart of the update device of the BMC version of server provided in an embodiment of the present invention, such as Fig. 5 institute
Show, this method comprises:
Judgment module 10, for when receiving upgrade command, judging whether the Configuration Type of server is target configuration
Type;
Calling module 11 is when being, to call the upgrade script write in advance to touch for the judging result in judgment module
Send out following module:
Module 12, the IP address of the slave node for obtaining server are obtained, and Web page is logged in IP address;
Download module 13, for downloading upgrade file corresponding with upgrade command after successfully logging in Web page;
Module 14 is run, for running upgrade file to upgrade to from the BMC version of node;
Wherein, target Configuration Type is the server for not disposing Linux system from node.
Preferably embodiment, the update device of the BMC version of server further include:
Correction verification module, for verifying upgrade file with preset method of calibration;
First judging submodule verifies successfully for judging whether, if it is, triggering operation module, is otherwise triggered defeated
Module out.
First output module is used for output verification failure information, and triggers acquisition module.
Preferably embodiment, the update device of the BMC version of server further include:
Second judgment submodule, for judging whether the BMC version from node upgrades successfully, if it is, triggering second
Otherwise output module triggers third output module;
Second output module upgrades successfully information for exporting;
Third output module for exporting upgrading failure information, and triggers acquisition module.
Preferably embodiment, further includes:
Upgraded module, for being risen to the BMC version of the host node of server before calling module movement
Grade.
Since the embodiment of device part is corresponded to each other with the embodiment of method part, the embodiment of device part is asked
Referring to the description of the embodiment of method part, wouldn't repeat here.
The update device of the BMC version of server provided in this embodiment judges server when receiving upgrade command
Configuration Type whether be target Configuration Type, wherein target Configuration Type is the service for not disposing Linux system from node
Device.If current server is target Configuration Type, show that it does not dispose Linux system from node, therefore, it is impossible to according to
The upgrading mode of host node upgrades, and needs that the upgrade script write in advance is called to realize.The script in the process of implementation, first
The IP address of the slave node of server is obtained, and Web page is logged in IP address, then after successfully logging in Web page, downloading
Upgrade file corresponding with upgrade command runs upgrade file finally to upgrade to from the BMC version of node.Thus may be used
See, the present apparatus can be realized pair in the case where the slave node of server does not dispose the scene of Linux system by way of calling script
From the upgrading of the BMC version of node, for the mode manually upgraded, the present apparatus be can be realized automatically, and is effectively reduced
Cost of labor, improves the efficiency of upgrading.
The present invention also provides the update devices of the BMC version of another server, which includes memory, for storing
Computer program;
Processor realizes the BMC of the server as described in the above method section Example when for executing computer program
The step of upgrade method of version.
Since the embodiment of device part is corresponded to each other with the embodiment of method part, the embodiment of device part is asked
Referring to the description of the embodiment of method part, wouldn't repeat here.In some embodiments of the invention, processor and memory
It can be connected by bus or other means.
The update device of the BMC version of server provided in this embodiment, including memory and processor, processor are being held
When program on line storage, it can be realized following method: when receiving upgrade command, judging that the Configuration Type of server is
No is target Configuration Type, wherein target Configuration Type is the server for not disposing Linux system from node.If current
Server is target Configuration Type, then shows that it does not dispose Linux system from node, therefore, it is impossible to according to the liter of host node
Grade mode upgrades, and needs that the upgrade script write in advance is called to realize.The script in the process of implementation, obtains server first
Slave node IP address, and with IP address log in Web page, then successfully log in Web page after, downloading and upgrade command
Corresponding upgrade file runs upgrade file finally to upgrade to from the BMC version of node.It can be seen that this method energy
Enough in the case where the slave node of server does not dispose the scene of Linux system, realized by way of calling script to the BMC from node
The upgrading of version, for the mode manually upgraded, this method be can be realized automatically, and significantly reduce cost of labor,
Improve the efficiency of upgrading.
Finally, being stored with meter on computer readable storage medium the present invention also provides a kind of computer readable storage medium
Calculation machine program realizes the BMC version of server described in the above method section Example when computer program is executed by processor
Upgrade method the step of.
It is understood that if the method in above-described embodiment is realized in the form of SFU software functional unit and as independence
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, of the invention
Technical solution substantially all or part of the part that contributes to existing technology or the technical solution can be in other words
It is expressed in the form of software products, which is stored in a storage medium, and it is each to execute the present invention
The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk
Etc. the various media that can store program code.
Computer-readable recording medium storage provided in this embodiment has computer program, which is performed can be real
Existing following method: when receiving upgrade command, judge whether the Configuration Type of server is target Configuration Type, wherein mesh
Marking Configuration Type is the server for not disposing Linux system from node.If current server is target Configuration Type, table
Bright its does not dispose Linux system from node, therefore, it is impossible to which the upgrading mode according to host node upgrades, needs to call preparatory volume
The upgrade script write is realized.The script in the process of implementation, obtains the IP address of the slave node of server, and with IP first
Location logs in Web page, then after successfully logging in Web page, downloads upgrade file corresponding with upgrade command, finally operation rises
Grade file to from the BMC version of node to upgrade.It can be seen that this method can not be disposed in the slave node of server
Under the scene of Linux system, the upgrading to the BMC version from node is realized by way of calling script, is risen relative to artificial
For the mode of grade, this method be can be realized automatically, and significantly reduce cost of labor, improve the efficiency of upgrading.
Upgrade method, device and the storage medium of the BMC version of server provided by the present invention have been carried out in detail above
It is thin to introduce.Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, also
Can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the protection scope of the claims in the present invention
It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (10)
1. a kind of upgrade method of the BMC version of server characterized by comprising
When receiving upgrade command, judge whether the Configuration Type of server is target Configuration Type;
If so, calling the upgrade script write in advance to realize following steps:
The IP address of the slave node of the server is obtained, and Web page is logged in the IP address;
After successfully logging in the Web page, upgrade file corresponding with the upgrade command is downloaded;
The upgrade file is run to upgrade to described from the BMC version of node;
Wherein, the target Configuration Type is the server for not disposing Linux system from node.
2. the upgrade method of the BMC version of server according to claim 1, which is characterized in that the calling is compiled in advance
The step of being realized described in the upgrade script write further include:
The upgrade file is verified with preset method of calibration;
Judge whether to verify successfully;
If it is, the step of into the operation upgrade file, otherwise output verification failure information, and obtain described in returning
The step of taking the IP address of slave node of the server.
3. the upgrade method of the BMC version of server according to claim 2, which is characterized in that the calling is compiled in advance
The step of upgrade script write is realized further include:
Whether judgement is described upgrades successfully from the BMC version of node;
If it is, output upgrades successfully information, otherwise output upgrades failure information, and returns to the acquisition server
The step of from the IP address of node.
4. the upgrade method of the BMC version of server according to claim 1 to 3, which is characterized in that in institute
It states before calling the upgrade script write in advance, further includes:
The BMC version of the host node of the server is upgraded.
5. the upgrade method of the BMC version of server according to claim 1, which is characterized in that the target configures class
Type is specially single 8 tunnels or single 6 tunnels.
6. the upgrade method of the BMC version of server according to claim 5, which is characterized in that the judgement server
Configuration Type whether be that target Configuration Type specifically includes:
Obtain the quantity and CPU quantity of the PCH card of the server;
Whether the quantity for judging the PCH card is 1 and whether the quantity of the CPU is 8 or 6;
If it is, determine that the Configuration Type of the server is the target Configuration Type, otherwise, it determines the server
Configuration Type is not the target Configuration Type.
7. the upgrade method of the BMC version of server according to claim 6, which is characterized in that described to obtain the clothes
The quantity and CPU quantity of the PCH card of business device are obtained especially by MES.
8. a kind of update device of the BMC version of server characterized by comprising
Judgment module, for when receiving upgrade command, judging whether the Configuration Type of server is target Configuration Type;
Calling module, for when the judgment result of the judgment module is yes, calling the upgrade script write in advance to trigger
Following module:
Module, the IP address of the slave node for obtaining the server are obtained, and Web page is logged in the IP address;
Download module, for downloading upgrade file corresponding with the upgrade command after successfully logging in the Web page;
Module is run, for running the upgrade file to upgrade to described from the BMC version of node;
Wherein, the target Configuration Type is the server for not disposing Linux system from node.
9. a kind of update device of the BMC version of server, which is characterized in that including memory, for storing computer program;
Processor realizes the BMC of server as described in any one of claim 1 to 7 when for executing the computer program
The step of upgrade method of version.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program, the computer program realize the BMC version of server as described in any one of claim 1 to 7 when being executed by processor
The step of this upgrade method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811295836.3A CN109471646A (en) | 2018-11-01 | 2018-11-01 | A kind of upgrade method, device and the storage medium of the BMC version of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811295836.3A CN109471646A (en) | 2018-11-01 | 2018-11-01 | A kind of upgrade method, device and the storage medium of the BMC version of server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109471646A true CN109471646A (en) | 2019-03-15 |
Family
ID=65672550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811295836.3A Pending CN109471646A (en) | 2018-11-01 | 2018-11-01 | A kind of upgrade method, device and the storage medium of the BMC version of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109471646A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124463A (en) * | 2019-12-21 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Bulk upgrading method, system and equipment for BMC |
CN111475185A (en) * | 2020-03-11 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method and system for stably upgrading BMC (baseboard management controller) image across large versions |
CN113721957A (en) * | 2021-08-30 | 2021-11-30 | 四川虹美智能科技有限公司 | Automatic testing method, device and system for firmware deployment and upgrade of embedded equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571452A (en) * | 2012-02-20 | 2012-07-11 | 华为技术有限公司 | Multi-node management method and system |
CN105867975A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Method for batch refreshing of BMC based on LINUX platform |
CN105955742A (en) * | 2016-04-29 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | BIOS refreshing method, service system and BIOS refreshing system |
CN106445580A (en) * | 2016-08-27 | 2017-02-22 | 浪潮(北京)电子信息产业有限公司 | Method and device for BMC (Baseboard Management Controller) with external upgrading |
CN106815054A (en) * | 2017-01-25 | 2017-06-09 | 郑州云海信息技术有限公司 | A kind of method and device of refreshing BMC firmwares |
CN107153558A (en) * | 2017-05-17 | 2017-09-12 | 郑州云海信息技术有限公司 | A kind of principal and subordinate's BMC firmware upgrade methods based on SPI interface |
CN107171833A (en) * | 2017-05-03 | 2017-09-15 | 深圳市同泰怡信息技术有限公司 | One kind realizes server B MC and BIOS batch upgrading method by BMC |
CN107483569A (en) * | 2017-08-04 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of server with automatically upgrading firmware, system and upgrade method |
CN108279909A (en) * | 2018-01-02 | 2018-07-13 | 郑州云海信息技术有限公司 | A kind of method and system of the double subregion FW of 8 road server medium-long range update |
US20180210724A1 (en) * | 2017-01-20 | 2018-07-26 | Mitac Computing Technology Corporation | Method of updating baseboard management controller firmware for fan speed control |
-
2018
- 2018-11-01 CN CN201811295836.3A patent/CN109471646A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102571452A (en) * | 2012-02-20 | 2012-07-11 | 华为技术有限公司 | Multi-node management method and system |
CN105867975A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Method for batch refreshing of BMC based on LINUX platform |
CN105955742A (en) * | 2016-04-29 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | BIOS refreshing method, service system and BIOS refreshing system |
CN106445580A (en) * | 2016-08-27 | 2017-02-22 | 浪潮(北京)电子信息产业有限公司 | Method and device for BMC (Baseboard Management Controller) with external upgrading |
US20180210724A1 (en) * | 2017-01-20 | 2018-07-26 | Mitac Computing Technology Corporation | Method of updating baseboard management controller firmware for fan speed control |
CN106815054A (en) * | 2017-01-25 | 2017-06-09 | 郑州云海信息技术有限公司 | A kind of method and device of refreshing BMC firmwares |
CN107171833A (en) * | 2017-05-03 | 2017-09-15 | 深圳市同泰怡信息技术有限公司 | One kind realizes server B MC and BIOS batch upgrading method by BMC |
CN107153558A (en) * | 2017-05-17 | 2017-09-12 | 郑州云海信息技术有限公司 | A kind of principal and subordinate's BMC firmware upgrade methods based on SPI interface |
CN107483569A (en) * | 2017-08-04 | 2017-12-15 | 郑州云海信息技术有限公司 | A kind of server with automatically upgrading firmware, system and upgrade method |
CN108279909A (en) * | 2018-01-02 | 2018-07-13 | 郑州云海信息技术有限公司 | A kind of method and system of the double subregion FW of 8 road server medium-long range update |
Non-Patent Citations (1)
Title |
---|
郝玉洁等: "计算机软件安全性", 《信息安全概论》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124463A (en) * | 2019-12-21 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Bulk upgrading method, system and equipment for BMC |
CN111124463B (en) * | 2019-12-21 | 2023-08-08 | 苏州浪潮智能科技有限公司 | Batch upgrading method, system and equipment of BMC |
CN111475185A (en) * | 2020-03-11 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method and system for stably upgrading BMC (baseboard management controller) image across large versions |
CN113721957A (en) * | 2021-08-30 | 2021-11-30 | 四川虹美智能科技有限公司 | Automatic testing method, device and system for firmware deployment and upgrade of embedded equipment |
CN113721957B (en) * | 2021-08-30 | 2023-10-31 | 四川虹美智能科技有限公司 | Automatic test method, device and system for firmware deployment upgrade of embedded equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6755158B2 (en) | Computer system, how to update software by computer system, and programs for that | |
US9940225B2 (en) | Automated error checking system for a software application and method therefor | |
CN109165170B (en) | Method and system for automatic request test | |
CN105095059B (en) | A kind of method and apparatus of automatic test | |
CN109471646A (en) | A kind of upgrade method, device and the storage medium of the BMC version of server | |
CN109977670A (en) | Android application safety monitoring method, storage medium based on plug-in unit load | |
CN112241360A (en) | Test case generation method, device, equipment and storage medium | |
CN113032245A (en) | Error positioning identification test method and device, computer equipment and storage medium | |
WO2020091592A1 (en) | A self-learning method and system for automatically performing application packaging and deployment for a hosting environment | |
CN109739704A (en) | A kind of interface test method, server-side and computer readable storage medium | |
US8661305B2 (en) | Method and system for test vector generation | |
CN116257438A (en) | Updating method of interface test case and related equipment | |
CN107480050A (en) | A kind of method of testing of automatic test renewal bag | |
US9495367B2 (en) | System and method for performing a software comparison | |
CN112581201A (en) | Mobile open platform for industrial interconnection manufacturing and implementation method | |
CN110941559B (en) | Automatic test method and system | |
CN107203471B (en) | Joint debugging method, service platform and computer storage medium | |
CN116599881A (en) | Cloud platform tenant modeling test method, device, equipment and storage medium | |
CN103019927B (en) | A kind of performance test methods and system | |
CN110618943B (en) | Security service test method and device, electronic equipment and readable storage medium | |
US9575973B2 (en) | System and method for systematically removing customer personal information from an electronic device | |
CN112433946A (en) | Interface test management method, device, equipment and storage medium | |
CN1316358C (en) | Information platform test environment automatic construction method and system | |
CN111597101A (en) | SDK access state detection method, computer device and computer readable storage medium | |
CN114416106B (en) | Method, system, electronic device and storage medium for updating compiling count value |
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: 20190315 |
|
RJ01 | Rejection of invention patent application after publication |