CN109039770A - A kind of method for refreshing, device and the relevant device of server CMC - Google Patents
A kind of method for refreshing, device and the relevant device of server CMC Download PDFInfo
- Publication number
- CN109039770A CN109039770A CN201811022464.7A CN201811022464A CN109039770A CN 109039770 A CN109039770 A CN 109039770A CN 201811022464 A CN201811022464 A CN 201811022464A CN 109039770 A CN109039770 A CN 109039770A
- Authority
- CN
- China
- Prior art keywords
- cmc
- information
- node
- refreshing
- destination node
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses the method for refreshing of server CMC a kind of, the visit order sent including receiving any sending node;The nodal information that identification obtains the sending node is carried out to the visit order;Judge whether the sending node is destination node according to the nodal information;If so, issuing CMC information to the destination node, so that the destination node refreshes CMC according to the CMC information according to the visit order;The method for refreshing of server CMC can realization rapidly and efficiently the CMC of node server is refreshed, and efficiently avoid due to multiple node visit CMC further having ensured the normal operation of server the problem of lead to system crash;Disclosed herein as well is refreshing apparatus, server and the computer readable storage mediums of a kind of server CMC, it may have above-mentioned beneficial effect.
Description
Technical field
This application involves server technology field, in particular to a kind of method for refreshing of server CMC further relates to a kind of clothes
Refreshing apparatus, server and the computer readable storage medium of business device CMC.
Background technique
With the fast development of Internet era, the demand to mass data processing ability is also increased, thus to clothes
Being engaged in, more stringent requirements are proposed for device, higher and higher for the index of required availability, reliability, serviceability.Working as
Requirement in the batch production of the products such as preceding PC/ server, to the test automation of product, testing efficiency and test coverage
It is particularly evident, wherein to be related to the brush to CMC (Chassis Management Controller, Shelf Management Controller)
Newly.
For the CMC of general server, refresh process is relatively simple, on the server after electricity, can automated to respond to brush
The refreshing of new command completion CMC.And with the development of science and technology, to meet the needs of mass data processing ability, node server
It comes into being.Node server is made of the administrative unit of multiple nodes and managing device entirety, if by the brush of above-mentioned CMC
New method is applied to node server, then when multiple nodes of node server power on simultaneously, each node meeting for powering on
Refreshing instruction is responded simultaneously, and CMC is refreshed based on refreshing instruction, at this point, multiple nodes will simultaneously visit CMC
It asks, the collapse of node server will be will cause as a result, and node server is caused to be unable to operate normally.Therefore, general server
The method for refreshing of CMC is difficult to meet the needs of node server.
CMC refreshing for the normal operation for guaranteeing node server, existing node server is only capable of through technical staff people
Work sends refreshing instruction, such as IPMI order or the BMC page carry out manual refreshing, which not only causes manpower wave
Take, increases certain human cost, and efficiency is extremely low;Meanwhile this kind of method is more demanding to the professional ability of technical staff,
Therefore error rate is higher.
Therefore, how realization rapidly and efficiently refreshes the CMC of node server, and effectively avoids visiting due to multiple nodes
It asks the problem of CMC leads to system crash, further ensures that the normal operation of server is that those skilled in the art are urgently to be resolved
Problem.
Summary of the invention
The purpose of the application is to provide the method for refreshing of server CMC a kind of, which can realization rapidly and efficiently
The CMC of node server is refreshed, and efficiently avoid due to multiple node visit CMC and the problem of lead to system crash,
The normal operation of server is further ensured;The another object of the application is to provide the refreshing apparatus of server CMC a kind of, clothes
Business device and computer readable storage medium, it may have above-mentioned beneficial effect.
In order to solve the above technical problems, this application provides the method for refreshing of server CMC a kind of, the method for refreshing packet
It includes:
Receive the visit order that any sending node is sent;
The nodal information that identification obtains the sending node is carried out to the visit order;
Judge whether the sending node is destination node according to the nodal information;
If so, issue CMC information to the destination node according to the visit order so that the destination node according to
The CMC information refreshes CMC.
Preferably, the visit order for receiving any sending node and sending, comprising:
Pass through each visit order of IPMI interface.
It is preferably, described to judge whether the sending node is destination node according to the nodal information, comprising:
Obtain the Target IP information of pre-stored destination node;
The IP information of the sending node is obtained according to the nodal information;
Judge whether the Target IP information and the IP information are identical;
If they are the same, it is determined that the sending node is the destination node.
It is preferably, described that CMC information is issued to the destination node according to the visit order, comprising:
The CMC information is transferred in the CMC according to the visit order;
The CMC information is issued to the destination node.
It is preferably, described to transfer the CMC information in the CMC according to the visit order, comprising:
The visit order is parsed, the IP address of the CMC is obtained;
The CMC information is transferred in the CMC according to the IP address.
Preferably, the destination node refreshes CMC according to the CMC information, comprising:
According to the CMC acquisition of information CMC current version;
Judge whether the CMC current version and CMC expectation version are identical;
If it is different, CMC expectation version is then replaced the CMC current version.
Preferably, the method for refreshing of the server CMC further include:
Receive the CMC refreshing information that the destination node returns;
The CMC refreshing information is saved to journal file.
In order to solve the above technical problems, this application provides the refreshing apparatus of server CMC a kind of, the collection device packet
It includes:
Visit order receiving module, the visit order sent for receiving any sending node;
Nodal information identification module, for carrying out the node letter that identification obtains the sending node to the visit order
Breath;
Nodal information judgment module, for judging whether the sending node is destination node according to the nodal information;
Refresh command issues module, if being destination node for the sending node, is issued according to the visit order
CMC information is to the destination node, so that the destination node refreshes CMC according to the CMC information.
In order to solve the above technical problems, this application provides a kind of server, the server includes:
Predetermined quantity sending node, for sending visit order to controller;Wherein, the predetermined quantity sends section
Point includes destination node, and the CMC information for being issued according to the controller refreshes CMC;
Controller, for receiving the visit order;Identification is carried out to the visit order and obtains the sending node
Nodal information;Judge whether the sending node is destination node according to the nodal information;If so, being ordered according to the access
Order issues the CMC information to the destination node.
In order to solve the above technical problems, this application provides a kind of computer readable storage medium, it is described computer-readable
Computer program is stored on storage medium, the computer program realizes any one of the above server when being executed by processor
The step of method for refreshing of CMC.
The method for refreshing of server CMC provided herein a kind of, the access sent including receiving any sending node
Order;The nodal information that identification obtains the sending node is carried out to the visit order;Institute is judged according to the nodal information
State whether sending node is destination node;If so, CMC information is issued to the destination node according to the visit order, with
Refresh the destination node to CMC according to the CMC information.
As it can be seen that the method for refreshing of server CMC provided herein, allows to access the specific of CMC by presetting
Node only allows some specific node in node server to access CMC, effectively prevents multiple nodes upper
The problem of accessing CMC simultaneously after electricity and cause server crash is further determined in each node by nodal information
Specific node is stated, and realize CMC automatically updates process, has ensured the normal operation of server.As a result, in node server
The entire refresh process of CMC is participated in without artificial, convenient and efficient, effectively increases the refreshing efficiency of CMC;Meanwhile CMC's is automatic
Change to refresh and product quality has also been effectively ensured, improves test automation level.
Refreshing apparatus, server and the computer readable storage medium of a kind of server CMC provided herein,
With above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of the method for refreshing of server CMC provided herein;
Fig. 2 is a kind of flow diagram of the determination method of destination node provided herein;
Fig. 3 is the flow diagram of the method for refreshing of another server CMC provided herein;
Fig. 4 is a kind of structural schematic diagram of the refreshing apparatus of server CMC provided herein;
Fig. 5 is the structural schematic diagram of the refreshing apparatus of another server CMC provided herein;
Fig. 6 is a kind of structural schematic diagram of server provided herein.
Specific embodiment
The core of the application is to provide the method for refreshing of server CMC a kind of, which can realization rapidly and efficiently
The CMC of node server is refreshed, and efficiently avoid due to multiple node visit CMC and the problem of lead to system crash,
The normal operation of server is further ensured;Another core of the application is to provide the refreshing apparatus of server CMC a kind of, clothes
Business device and computer readable storage medium, it may have above-mentioned beneficial effect.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Refresh generally, for the CMC of common server, on the server after electricity, refreshing instruction realization can be responded
The automatic refreshing of CMC, then can take above-mentioned refreshing mode applied to node for the automatic refreshing for realizing node server CMC
It is engaged in the CMC refreshing of device.However, the normal operation of node server is usually multiple nodes while operation, that is to say, that section
The unlatching of point server is in response to after multiple nodes power on, if above-mentioned refreshing mode is directly applied to node serve
Device, then each upper electrical nodes will respond refreshing instruction simultaneously, and access to CMC after each node powers on, by
This, it will cause the collapse of node server.It therefore, is the generation for avoiding above situation, this application provides one kind to be applied to
The CMC method for refreshing of node server.
Referring to FIG. 1, Fig. 1 is a kind of flow diagram of the method for refreshing of server CMC provided herein, the brush
New method may include:
S101: the visit order that any sending node is sent is received;
Specifically, can exist in advance to avoid the problem that multiple upper electrical nodes while accessing CMC and leading to server crash
One specific node namely following destination nodes are set in the controller of server, and the specific node is only allowed to carry out CMC
Refresh, without allowing other nodes in addition to the specific node to access CMC.Wherein, which is in node
It selected in numerous nodes of server, is no different with other joint behaviors, type etc., only to ensure what CMC refreshed
Uniqueness and set, therefore, the selection for above-mentioned specific node, the application is not specifically limited.
Further, after each node powers on, it will make an immediate response refreshing instruction, and according to the refreshing instruction to controller
Visit order is sent, which is the visit order towards CMC.Wherein, can have for the transmission of above-mentioned visit order
Body is real by the BMC (Baseboard Management Controller, baseboard management controller) in corresponding sending node
It is existing.
In addition, above-mentioned any sending node is all upper electrical nodes in node server, and not all node, it is specific and
Speech, although the normal operation of node server is usually multiple nodes while running, not necessarily all same lucks of node
Row, for example, each node is provided with its corresponding power supply, i.e., 100 if including 100 nodes in a node server
A power supply, then may only open wherein 80 power supplys when needing node server to run, i.e., only 80 nodes power on, this
When, this 80 upper electrical nodes are above-mentioned sending node, and will send visit order simultaneously to controller, and other 20 sections
Point may be not in power-up state due to breakdown maintenance, not send visit order to controller.
Wherein, for above-mentioned each sending node to controller send visit order mode, can by corresponding interface,
Data line etc. realizes that, referring in particular to prior art, the application does not limit this.
Preferably, the visit order that any sending node of above-mentioned reception is sent, may include by IPMI interface
(Intelligent Platform Management Interface, Intelligent Platform Management Interface) receives each visit order.
Specifically, the application provides a kind of transmission mode of more specific visit order, i.e., will be visited by IPMI interface
Ask that order is transmitted to controller, for example, controller can be specifically based on order: ipmitool raw0x3c 0x2e 0x00, which is realized, to be visited
Ask the acquisition of order.IPMI is the hardware management interface specification of open standard, and hardware management can be made to have " intelligence ", user
The situation that can use IPMI actively monitoring component monitors the physical features of server.
S102: the nodal information that identification obtains sending node is carried out to visit order;
Specifically, controller can identify it after obtaining visit order, to obtain the hair for sending visit order
Send the nodal information of node, that is to say, that sending node into the visit order that controller is sent, is including the phase of its own
Close information.
It wherein, such as can be the IP address of sending node not uniquely for the type of above-mentioned nodal information, it can also be with
For the unique identifier etc. for being in advance each node setting, the application is not limited this.In addition, for above-mentioned nodal information
Recognition methods does not influence the implementation of the technical program referring to any one identification method in prior art.
S103: judge whether sending node is destination node according to nodal information;
Specifically, can judge that the node is believed according to the nodal information after the nodal information that identification obtains sending node
Cease whether corresponding sending node is destination node, i.e., above-mentioned specific node.It, can be in advance by target section to realize the deterministic process
The nodal information of point is set in controller or the memory being connected with controller, by the comparison of nodal information, to determine hair
Send whether node is destination node.For example, for four node servers, can preselect second node is destination node, by the
The nodal information of two nodes is pre-set in controller, after four nodes in four node servers power on simultaneously, four
Node will send visit order to controller simultaneously as sending node;At this point, controller is identified according to each visit order
After obtaining corresponding nodal information, the nodal information of itself and itself pre-stored destination node can be compared one by one,
To determine destination node in four sending nodes.
As a kind of preferred embodiment, referring to FIG. 2, Fig. 2 is a kind of determination side of destination node provided herein
The flow diagram of method, it is above-mentioned to judge whether sending node is destination node according to nodal information, may include:
S301: the Target IP information of pre-stored destination node is obtained;
S302: the IP information of sending node is obtained according to nodal information;
S303: judge whether Target IP information is identical as IP information;
S304: if Target IP information is identical as IP information, it is determined that sending node is destination node;
S305: if Target IP information and IP information is not identical, it is determined that sending node is not destination node.
Specifically, IP information realization can be passed through when whether judge a certain sending node is destination node.Firstly, control
Device can first obtain the IP information being stored in advance with the destination node of itself, and obtained and corresponded to according to the nodal information that identification obtains
IP information;Further, judge whether Target IP information is identical as IP both information, if they are the same, that is, can determine that sending node is
Destination node;If the two is not identical, illustrate that the corresponding sending node of IP information is not above-mentioned destination node.Wherein, right
In the acquisition sequence of above-mentioned IP information and Target IP information, not uniquely, it in no particular order, can successively carry out, can also carry out simultaneously,
The application does not limit this.
S104: if sending node is destination node, CMC information is issued to destination node, so that mesh according to visit order
Mark node refreshes CMC according to CMC information.
Specifically, after determining that some sending node is destination node CMC information can be issued according to visit order extremely
The destination node, so that the destination node completes the refreshing to CMC according to above-mentioned CMC information.Wherein, for above-mentioned CMC information
Issue mode, equally can based on IPMI interface realize;For the specific refresh process of CMC, referring to prior art.
It is above-mentioned that CMC information is issued to destination node according to visit order as a kind of preferred embodiment, it may include: root
CMC information is transferred in CMC according to visit order;CMC information is issued to destination node.
Specifically, issuing process for above-mentioned CMC information, need first to get CMC information, therefore, can first basis connect
The visit order received transfers corresponding CMC information in CMC, is further issued to destination node.Certainly, above-mentioned CMC
The acquisition modes of information are only a kind of specific embodiment provided herein, not uniquely, can also be in advance by CMC information
It is stored in the corresponding memory of controller, is called directly from memory, acquisition modes have no effect on this technology side
The implementation of case.
Preferably, above-mentioned to transfer CMC information in CMC according to visit order, it may include: to be solved to visit order
Analysis, obtains the IP address of CMC;CMC information is transferred in CMC according to IP address.
Specifically, can be realized based on the IP address of CMC when CMC transfers CMC information, for example, can be in advance by the IP of CMC
Address is set in the BMC of each sending node, when sending node sends visit order to controller by BMC, can be transferred
Above-mentioned IP address is built in visit order, retransmits to controller;Further, controller is after receiving visit order
It is parsed, obtains the IP address of CMC, and CMC is logged in based on the IP address and obtains CMC information.
As a kind of preferred embodiment, above-mentioned destination node refreshes CMC according to CMC information, may include: basis
CMC acquisition of information CMC current version;Judge whether CMC current version and CMC expectation version are identical;If it is different, then by the CMC phase
Version is hoped to replace CMC current version.
Specifically, when being refreshed based on CMC information to CMC, can the root CMC acquisition of information CMC current version, i.e.,
CMC compares in the currently practical running version of operation, and by it with CMC expectation version, judges whether the two is identical, if phase
Together, then illustrate that CMC current version meets the service condition of present node server, without refreshing to CMC;If not identical,
CMC expectation version is then replaced into CMC current version, the refreshing to CMC can be realized.Wherein, CMC it is expected that version is technical staff
Based on actual demand preset configuration in the BMC of destination node, i.e., technical staff can be based on the various functions of node server
Different CMC expectation versions is arranged in demand, and therefore, above-mentioned CMC it is expected the not necessarily newest CMC version of version.
The method for refreshing of server CMC provided herein, by presetting the specific node for allowing to access CMC,
Only some specific node in node server is allowed to access CMC, effectively prevents multiple nodes after the power-up
The problem of accessing CMC simultaneously and cause server crash further determines above-mentioned spy by nodal information in each node
Determine node, and realize CMC automatically updates process, has ensured the normal operation of server.CMC in node server as a result,
Entire refresh process participated in without artificial, it is convenient and efficient, effectively increase the refreshing efficiency of CMC;Meanwhile the automation of CMC
Product quality has also been effectively ensured in refreshing, improves test automation level.
On the basis of above-mentioned each embodiment, referring to FIG. 3, Fig. 3 is another server CMC provided herein
Method for refreshing flow diagram.
As a kind of preferred embodiment, the method for refreshing of server CMC can also include:
S105: the CMC refreshing information that destination node returns is received;
S106: CMC refreshing information is saved to journal file.
Specifically, can also further collect all kinds of brushes in its refresh process after sending node is completed to the refreshing of CMC
New information, and be uploaded to journal file and saved, form log recording.Wherein, on above-mentioned refreshing information may include
CMC current version and CMC expectation version etc. are stated, for example, can be saved in table form, table content can be divided into
" version before CMC updates " and " version after CMC updates ", in order to which technical staff checks the entire refresh process of CMC.Certainly,
The selection of above-mentioned refreshing information is not unique, can also include other content, and the application does not limit this.
For the other methods part of the present embodiment, referring to a upper specific embodiment, details are not described herein by the application.
To solve the above problems, referring to FIG. 4, Fig. 4 is the refreshing apparatus of server CMC provided herein a kind of
Structural schematic diagram, the refreshing apparatus can include:
Visit order receiving module 10, the visit order sent for receiving any sending node;
Nodal information identification module 20, for carrying out the nodal information that identification obtains sending node to visit order;
Nodal information judgment module 30, for judging whether sending node is destination node according to nodal information;
Refresh command issues module 40, if being destination node for sending node, issues CMC information according to visit order
To destination node, so that destination node refreshes CMC according to CMC information.
On the basis of the above embodiments, referring to FIG. 5, Fig. 5 is the brush of another server CMC provided herein
The structural schematic diagram of new equipment.
As a kind of preferred embodiment, above-mentioned visit order receiving module 10 is specifically used for each by IPMI interface
Visit order.
As a kind of preferred embodiment, above-mentioned nodal information judgment module 30 may include:
First IP acquisition of information submodule 31, for obtaining the Target IP information of pre-stored destination node;
2nd IP acquisition of information submodule 32, for obtaining the IP information of sending node according to nodal information;
IP information judging submodule 33, for judging whether Target IP information is identical as IP information;
Information determines submodule 34, if identical as IP information for Target IP information, it is determined that sending node is target section
Point.
As a kind of preferred embodiment, above-mentioned refresh command issues module 40 and may include:
Information transfers submodule 41, for transferring CMC information in CMC according to visit order;
Information issues submodule 42, for CMC information to be issued to destination node.
As a kind of preferred embodiment, above- mentioned information transfer submodule 41 and are specifically used for parsing visit order, obtain
Obtain the IP address of CMC;CMC information is transferred in CMC according to IP address.
As a kind of preferred embodiment, the refreshing apparatus of server CMC can also include;
Refreshing information preserving module 50, for receiving the CMC refreshing information of destination node return;Save CMC refreshing information
To journal file.
Above method embodiment is please referred to for the introduction of device provided by the present application, this will not be repeated here by the application.
To solve the above problems, referring to FIG. 6, Fig. 6 be a kind of server provided herein structural schematic diagram, should
Server can include:
Predetermined quantity sending node 1, for sending visit order to controller 2;Wherein, predetermined quantity sending node
1 includes destination node, and the CMC information for being issued according to controller 2 refreshes CMC;
Controller 2 is used for received access command;The nodal information that identification obtains sending node 1 is carried out to visit order;Root
Judge whether sending node is destination node according to nodal information;If so, issuing CMC information to destination node according to visit order
1。
Above method embodiment is please referred to for the introduction of equipment provided by the present application, this will not be repeated here by the application.
To solve the above problems, present invention also provides a kind of computer readable storage medium, the computer-readable storage
It is stored with computer program on medium, can be realized when computer program is executed by processor following rapid:
Receive the visit order that any sending node is sent;The node letter that identification obtains sending node is carried out to visit order
Breath;Judge whether sending node is destination node according to nodal information;If so, issuing CMC information to mesh according to visit order
Node is marked, so that destination node refreshes CMC according to CMC information.
The computer readable storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only
Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit
Store up the medium of program code.
Above method embodiment is please referred to for the introduction of computer readable storage medium provided by the present application, the application exists
This is not repeated them here.
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
?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
Above to the method for refreshing of server CMC provided herein, device, server and computer-readable storage
Medium is described in detail.Specific examples are used herein to illustrate the principle and implementation manner of the present application, with
The explanation of upper embodiment is merely used to help understand the present processes and its core concept.It should be pointed out that being led for this technology
For the those of ordinary skill in domain, under the premise of not departing from the application principle, can also to the application carry out it is several improvement and
Modification, these improvement and modification also fall into the protection scope element of the claim of this application.
Claims (10)
1. a kind of method for refreshing of server CMC characterized by comprising
Receive the visit order that any sending node is sent;
The nodal information that identification obtains the sending node is carried out to the visit order;
Judge whether the sending node is destination node according to the nodal information;
If so, issuing CMC information to the destination node, so that the destination node is according to according to the visit order
CMC information refreshes CMC.
2. method for refreshing as described in claim 1, which is characterized in that the access life for receiving any sending node and sending
It enables, comprising:
Pass through each visit order of IPMI interface.
3. method for refreshing as claimed in claim 2, which is characterized in that described to judge that the transmission saves according to the nodal information
Whether point is destination node, comprising:
Obtain the Target IP information of pre-stored destination node;
The IP information of the sending node is obtained according to the nodal information;
Judge whether the Target IP information and the IP information are identical;
If they are the same, it is determined that the sending node is the destination node.
4. method for refreshing as described in claim 1, which is characterized in that described to issue CMC information extremely according to the visit order
The destination node, comprising:
The CMC information is transferred in the CMC according to the visit order;
The CMC information is issued to the destination node.
5. method for refreshing as claimed in claim 4, which is characterized in that described to be adjusted in the CMC according to the visit order
Take the CMC information, comprising:
The visit order is parsed, the IP address of the CMC is obtained;
The CMC information is transferred in the CMC according to the IP address.
6. method for refreshing as claimed in claim 5, which is characterized in that the destination node according to the CMC information to CMC into
Row refreshes, comprising:
According to the CMC acquisition of information CMC current version;
Judge whether the CMC current version and CMC expectation version are identical;
If it is different, CMC expectation version is then replaced the CMC current version.
7. the method for refreshing as described in claim 1 to 6 any one, which is characterized in that further include:
Receive the CMC refreshing information that the destination node returns;
The CMC refreshing information is saved to journal file.
8. a kind of refreshing apparatus of server CMC characterized by comprising
Visit order receiving module, the visit order sent for receiving any sending node;
Nodal information identification module, for carrying out the nodal information that identification obtains the sending node to the visit order;
Nodal information judgment module, for judging whether the sending node is destination node according to the nodal information;
Refresh command issues module, if being destination node for the sending node, issues CMC letter according to the visit order
Breath is to the destination node, so that the destination node refreshes CMC according to the CMC information.
9. a kind of server characterized by comprising
Predetermined quantity sending node, for sending visit order to controller;Wherein, the predetermined quantity sending node packet
Destination node is included, the CMC information for issuing according to the controller refreshes CMC;
Controller, for receiving the visit order;The node that identification obtains the sending node is carried out to the visit order
Information;Judge whether the sending node is destination node according to the nodal information;If so, according under the visit order
Send out CMC information described to the destination node.
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 server CMC's as claimed in any one of claims 1 to 7 when being executed by processor
The step of method for refreshing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811022464.7A CN109039770B (en) | 2018-09-03 | 2018-09-03 | Server CMC refreshing method and device and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811022464.7A CN109039770B (en) | 2018-09-03 | 2018-09-03 | Server CMC refreshing method and device and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109039770A true CN109039770A (en) | 2018-12-18 |
CN109039770B CN109039770B (en) | 2021-06-29 |
Family
ID=64623008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811022464.7A Active CN109039770B (en) | 2018-09-03 | 2018-09-03 | Server CMC refreshing method and device and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109039770B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110417590A (en) * | 2019-07-23 | 2019-11-05 | 浪潮电子信息产业股份有限公司 | Server configuration method, device, whole machine cabinet server and readable storage medium storing program for executing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486723A (en) * | 2010-12-01 | 2012-06-06 | 研祥智能科技股份有限公司 | Method for realizing ChMC (Chassis Management Controller) and VMC (VPX Manager Controller) on VPX (Versatile Protocol Switch) platform veneer and VPX platform |
US20130205008A1 (en) * | 2012-02-08 | 2013-08-08 | Sage Software, Inc. | Selectively triggering execution of services in a computing environment |
CN105867975A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC in batches based on LINUX platform |
CN107589955A (en) * | 2017-09-19 | 2018-01-16 | 郑州云海信息技术有限公司 | A kind of upgrade method and system of double CMC firmware versions |
-
2018
- 2018-09-03 CN CN201811022464.7A patent/CN109039770B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486723A (en) * | 2010-12-01 | 2012-06-06 | 研祥智能科技股份有限公司 | Method for realizing ChMC (Chassis Management Controller) and VMC (VPX Manager Controller) on VPX (Versatile Protocol Switch) platform veneer and VPX platform |
US20130205008A1 (en) * | 2012-02-08 | 2013-08-08 | Sage Software, Inc. | Selectively triggering execution of services in a computing environment |
CN105867975A (en) * | 2016-04-01 | 2016-08-17 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC in batches based on LINUX platform |
CN107589955A (en) * | 2017-09-19 | 2018-01-16 | 郑州云海信息技术有限公司 | A kind of upgrade method and system of double CMC firmware versions |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110417590A (en) * | 2019-07-23 | 2019-11-05 | 浪潮电子信息产业股份有限公司 | Server configuration method, device, whole machine cabinet server and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN109039770B (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110879712B (en) | Cloud data center physical host installation method and related device | |
CN104753697B (en) | A kind of method, equipment and system controlling the automatic beginning of the network equipment | |
CN108431836A (en) | Infrastructure management system for hardware fault reparation | |
US20050262233A1 (en) | Methods and systems for history analysis for access paths in networks | |
CN105577420A (en) | Method and system for automatic generation of server network topology | |
US10868581B2 (en) | Data center management using device identification over power-line | |
CN104077199B (en) | Based on partition method and the system of the high-availability cluster of shared disk | |
US9588542B2 (en) | Rack server system and method for automatically managing rack configuration information | |
CN102571441A (en) | Method, system and device for intelligently managing whole machine cabinet | |
TW201250455A (en) | System and method for controlling power devices in data center | |
US20140201356A1 (en) | Monitoring system of managing cloud-based hosts and monitoring method using for the same | |
CN110535692A (en) | Fault handling method, device, computer equipment, storage medium and storage system | |
CN105718785A (en) | Authentication-Free Configuration For Service Controllers | |
US8819200B2 (en) | Automated cluster node configuration | |
US7499987B2 (en) | Deterministically electing an active node | |
TW201828658A (en) | Method for detecting internet protocol address and media access control address | |
CN106547645A (en) | Automatically the method and server system of image shelves are repaired | |
CN110839089A (en) | Server positioning method, system, electronic equipment and storage medium | |
WO2020151447A1 (en) | Offline configuration method and apparatus for smart device | |
CN113885794B (en) | Data access method and device based on multi-cloud storage, computer equipment and medium | |
CN110740609A (en) | Server information processing method and device for internet data center and controller | |
CN108089934A (en) | Cluster management method and cluster server | |
CN109600436A (en) | A kind of distribution iscsi service implementing method, system and relevant apparatus | |
CN109039770A (en) | A kind of method for refreshing, device and the relevant device of server CMC | |
CN105827496A (en) | Method and apparatus for managing PE device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |