CN109510682A - A kind of pond server system BMC clock synchronizing method, device, terminal and storage medium - Google Patents
A kind of pond server system BMC clock synchronizing method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109510682A CN109510682A CN201811603552.6A CN201811603552A CN109510682A CN 109510682 A CN109510682 A CN 109510682A CN 201811603552 A CN201811603552 A CN 201811603552A CN 109510682 A CN109510682 A CN 109510682A
- Authority
- CN
- China
- Prior art keywords
- server
- clock
- host server
- box
- level
- 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
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000001360 synchronised effect Effects 0.000 claims abstract description 30
- 230000005540 biological transmission Effects 0.000 claims abstract description 9
- 230000015654 memory Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007596 consolidation process Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000011176 pooling Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The present invention provides a kind of pond server system BMC clock synchronizing method, comprising: cascade level-one Box server receives the clock synchronization request of Host server transmission and starts timing under Host server;Setting calibration duration T, prover time error t, when timing duration is more than T, by level-one Box server and the progress system clock calibration of Host server;Error is greater than t between when calibrated, judges whether current Host server is clock source Host server;If current Host server is clock source Host server, then level-one Box server obtains the system clock of current Host server, the synchronous simultaneously timer of clock is carried out to reset, if current Host server is not clock source Host server, then current Host server obtains the system clock of level-one Box server, updates the own system time and timer is reset;The application can synchronize multiple Host servers and lower cascade Box server by determining the system clock of unique clock source Host server, guarantee the unification of entire pond server system time.
Description
Technical field
The present invention relates to server technology fields, and in particular to a kind of pond server system BMC clock synchronizing method, dress
It sets, terminal and storage medium.
Background technique
With the development of cloud computing technology and big data technology, server computing resource, storage resource cost input are continuous
Soaring, how to improve the effective rate of utilization of server node resource is data center's problem in the urgent need to address.Server system
The dynamic pond of system resource is designed to be a key factor of system high efficiency operation.The pond PCIE Switch server system
The Intelligent Dynamic distribution and combination for realizing calculating and storage resource are interconnected by PCI-E, can effectively improve computer storage money
The utilization rate in source.Its entire pond system is made of Host server and Box server, the calculating and storage money of Host server
Source passes through the resource utilization of scheduling and managerial promotion system to pooling technology by Box Server Consolidation Cheng Chi.
Host server B MC is from BIOS and ME acquisition time in the server system of pond, and Box server B MC is from mainboard RTC
Chip acquisition time, BMC time disunity in entire pond server system.
Therefore, a kind of pond server system BMC clock synchronizing method is needed, is realized in entire pond server system
The automatic synchronization of BMC time.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provide a kind of pond server system BMC clock synchronizing method, device,
Terminal and storage medium, to solve the above technical problems.
In a first aspect, the embodiment of the present application provides a kind of pond server system BMC clock synchronizing method, the method packet
It includes:
Cascade level-one Box server receives the clock synchronization request of Host server transmission and opens under Host server
Beginning timing;
Setting calibration duration T, prover time error t, when timing duration is more than T, by level-one Box server and Host service
Device carries out system clock calibration;
Error is greater than t between when calibrated, judges whether current Host server is clock source Host server;
If current Host server is clock source Host server, level-one Box server obtains current Host server
System clock, carry out that clock is synchronous and timer is reset, if current Host server is not clock source Host server, when
Preceding Host server obtains the system clock of level-one Box server, updates the own system time and timer is reset.
With reference to first aspect, in the first embodiment of first aspect, duration T, prover time are calibrated in the setting
Error t, when timing duration is more than T, by level-one Box server and the progress system clock calibration of Host server, comprising:
Setting calibration duration T=1h, prover time error t=1s;
When timing duration is more than 1 small, when level-one Box server obtains the system clock and own system of Host server
Clock is compared.
With reference to first aspect, in second of embodiment of first aspect, it is described when calibrated between error be greater than t, sentence
Whether the current Host server that breaks is clock source Host server, comprising:
If the system topology of pond server is the topological structure that separate unit Host connects more Box, it is determined that current
Host server is clock source Host server;
If the system topology of pond server is the topological structure of more Host connection separate unit Box, current chain is obtained
The Channel number on road, judges whether the level-one Box server system time has synchronized, and is then according to Channel number
It determines clock source Host server, otherwise determines that current Host server is clock source Host server.
With reference to first aspect, in the third embodiment of first aspect, if the current Host server is clock
Source Host server, then level-one Box server obtains the system clock of current Host server, carries out the synchronous simultaneously timer of clock
It resets, if current Host server is not clock source Host server, current Host server obtains level-one Box server
System clock, updates the own system time and timer is reset, comprising:
If current Host server is clock source Host server, level-one Box server B MC obtains current Host service
The system clock of device updates own system time and RTC chip time, and timer is reset;
If current Host server is not clock source Host server, current Host server B MC obtains level-one Box clothes
The system clock of business device updates the own system time, and timer is reset.
With reference to first aspect, in the 4th kind of embodiment of first aspect, the method also includes:
If second level Box server, second level are cascaded in the system topology of pond server in the presence of Host server
Box server obtains the system clock of level-one Box server, and it is synchronous to carry out clock, and level-one Box server B MC is by time synchronization
To second level Box server B MC.
Second aspect, the embodiment of the present application provide a kind of pond server system BMC clock synchronization apparatus, described device packet
It includes:
Receiving unit, the receiving unit are used for cascade level-one Box server under Host server and receive Host clothes
The clock synchronization request of business device transmission simultaneously starts timing;
Clock calibration unit, the clock calibration unit is for setting calibration duration T, prover time error t, when timing
Length carries out system clock calibration more than T, by level-one Box server and Host server;
Judging unit, the judging unit are greater than t for error between when calibrated, judge current Host server whether be
Clock source Host server;
Clock synchronization unit, if it is clock source Host server that the clock synchronization unit, which is used for current Host server,
Then level-one Box server obtains the system clock of current Host server, carries out the synchronous simultaneously timer of clock and resets, if currently
Host server is not clock source Host server, then current Host server obtains the system clock of level-one Box server, more
New own system time and timer clearing.
In conjunction with second aspect, in the first embodiment of second aspect, the clock calibration unit is specifically used for:
Setting calibration duration T=1h, prover time error t=1s;
When timing duration is more than 1 small, when level-one Box server obtains the system clock and own system of Host server
Clock is compared.
In conjunction with second aspect, in second of embodiment of second aspect, the judging unit is specifically included:
If the system topology of pond server is the topological structure that separate unit Host connects more Box, it is determined that current
Host server is clock source Host server;
If the system topology of pond server is the topological structure of more Host connection separate unit Box, current chain is obtained
The Channel number on road, judges whether the level-one Box server system time has synchronized, and is then according to Channel number
It determines clock source Host server, otherwise determines that current Host server is clock source Host server.
In conjunction with second aspect, in the third embodiment of second aspect, the clock synchronization unit is specifically used for:
If current Host server is clock source Host server, level-one Box server obtains current Host server
System clock, carry out that clock is synchronous and timer is reset,
If current Host server is not clock source Host server, current Host server obtains level-one Box service
The system clock of device, updates the own system time and timer is reset.
In conjunction with second aspect, in the 4th kind of embodiment of second aspect, the clock synchronization unit is also used to:
If second level Box server, second level are cascaded in the system topology of pond server in the presence of Host server
Box server obtains the system clock of level-one Box server, and it is synchronous to carry out clock, and level-one Box server B MC is by time synchronization
To second level Box server B MC.
The third aspect provides a kind of terminal, comprising:
Processor, memory, wherein
The memory is used to store computer program,
The processor from memory for calling and running the computer program, so that executing the above method in terminal.
Fourth aspect provides a kind of computer storage medium, instruction is stored in the computer readable storage medium,
When run on a computer, so that computer executes method described in above-mentioned various aspects.
5th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that
Computer executes method described in above-mentioned various aspects.
The beneficial effects of the present invention are:
Pond server system BMC clock synchronizing method, device, terminal and storage medium provided by the invention, Neng Goutong
It crosses and determines that the system clock of unique clock source Host server synchronizes multiple Host servers and lower cascade Box server, guarantee
The unification of entire pond server system time periodically carries out clock check and correction by setting prover time, improves Box clock essence
Degree simplifies pond server system complete machine BMC time synchronization process, increases the ease for use and flexibility of product, promotes O&M effect
Rate.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art
Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.
Fig. 2 is the topology diagram that separate unit Host connects more Box.
Fig. 3 is the topology diagram of more Host connection separate unit Box.
Fig. 4 is the schematic block diagram of the device of the application one embodiment.
Fig. 5 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real
The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation
Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common
Technical staff's every other embodiment obtained without making creative work, all should belong to protection of the present invention
Range.
Fig. 1 is the schematic flow chart of the method for the application one embodiment.Wherein, Fig. 1 executing subject can be one kind
Pond server system BMC clock synchronization apparatus.
As shown in Figure 1, this method 100 includes:
Step 110, the clock that cascade level-one Box server receives the transmission of Host server under Host server synchronizes
It requests and starts timing;
Step 120, setting calibration duration T, prover time error t, when timing duration is more than T, by level-one Box server and
Host server carries out system clock calibration;
Step 130, when calibrated between error be greater than t, judge whether current Host server is clock source Host server;
Step 140, if current Host server is clock source Host server, level-one Box server obtains current
The system clock of Host server carries out the synchronous simultaneously timer of clock and resets, if current Host server is not clock source Host
Server, then current Host server obtains the system clock of level-one Box server, updates the own system time and timer is clear
Zero.
Optionally, as the application one embodiment, duration T, prover time error t are calibrated in the setting, when timing
Length carries out system clock calibration more than T, by level-one Box server and Host server, comprising:
Setting calibration duration T=1h, prover time error t=1s;
When timing duration is more than 1 small, when level-one Box server obtains the system clock and own system of Host server
Clock is compared.
Optionally, as the application one embodiment, it is described when calibrated between error be greater than t, judge current Host service
Whether device is clock source Host server, comprising:
If the system topology of pond server is the topological structure that separate unit Host connects more Box, it is determined that current
Host server is clock source Host server;
If the system topology of pond server is the topological structure of more Host connection separate unit Box, current chain is obtained
The Channel number on road, judges whether the level-one Box server system time has synchronized, and is then according to Channel number
It determines clock source Host server, otherwise determines that current Host server is clock source Host server.
Optionally, as the application one embodiment, if the current Host server is clock source Host server,
Level-one Box server obtains the system clock of current Host server, carries out the synchronous simultaneously timer of clock and resets, if current Host
Server is not clock source Host server, then current Host server obtains the system clock of level-one Box server, is updated certainly
Body system time and timer clearing, comprising:
If current Host server is clock source Host server, level-one Box server B MC obtains current Host service
The system clock of device updates own system time and RTC chip time, and timer is reset;
If current Host server is not clock source Host server, current Host server B MC obtains level-one Box clothes
The system clock of business device updates the own system time, and timer is reset.
Optionally, as the application one embodiment, the method also includes:
If second level Box server, second level are cascaded in the system topology of pond server in the presence of Host server
Box server obtains the system clock of level-one Box server, and it is synchronous to carry out clock, and level-one Box server B MC is by time synchronization
To second level Box server B MC.
In order to facilitate the understanding of the present invention, the principle synchronized below with server system BMC clock in pond of the present invention, knot
Process synchronous to pond server system BMC clock in embodiment is closed, when to server system BMC in pond provided by the invention
Clock synchronous method is further described.
Specifically, pond server system BMC clock synchronizing method includes the following steps:
Cascade level-one Box server receives the clock synchronization request of Host server transmission under S1, Host server
And start timing;
S2, setting calibration duration T=1h, prover time error t=1s;When timing duration is more than 1 small, level-one Box clothes
The system clock that business device obtains Host server is compared with own system clock;
If S3, prover time error are more than 1 second, judge whether current Host server is clock source Host server, if
Prover time error is no more than 1 second, and timer resets reclocking;
If the system topology of S4, pond server connects the topological structure of more Box for separate unit Host (such as Fig. 2 institute
Show), it is determined that current Host server is clock source Host server, and level-one Box server B MC obtains current Host server
System clock, update own system time and RTC chip time, and timer is reset;
If the system topology of pond server is the topological structure (as shown in Figure 3) of more Host connection separate unit Box,
The Channel number for obtaining current ink, judges whether the level-one Box server system time has synchronized, if level-one Box takes
Business device system time, which has synchronized, then determines clock source Host server, current Host server B MC according to Channel number
The system clock of level-one Box server is obtained, updates the own system time, and timer is reset;
If the level-one Box server system time does not synchronize, it is determined that current Host server is clock source Host server,
Level-one Box server B MC obtains the system clock of current Host server, updates own system time and RTC chip time, and
Timer is reset;
If second level Box server is cascaded in the system topology of S5, pond server in the presence of Host server, two
Grade Box server obtains the system clock of level-one Box server, carries out clock and synchronizes, level-one Box server B MC is same by the time
It walks to second level Box server B MC.
Wherein, pond server system by PCIe Switch chip realize PCIe interconnection, the Host server with
Box server is connected by MiniSAS cable, and Host server B MC and Box server B MC pass through on MiniSAS cable
I2C signal communication.
If Fig. 4 shows, which includes:
Receiving unit 410, the receiving unit 410 are used for cascade level-one Box server under Host server and receive
The clock synchronization request of Host server transmission simultaneously starts timing;
Clock calibration unit 420, the clock calibration unit 420 calibrate duration T, prover time error t for setting, when
Timing duration is more than T, and level-one Box server and Host server are carried out system clock calibration;
Judging unit 430, error is greater than t between the judging unit 430 is used for when calibrated, judges current Host server
It whether is clock source Host server;
Clock synchronization unit 440, if the clock synchronization unit 440 is used for current Host server as clock source Host clothes
Business device, then level-one Box server obtains the system clock of current Host server, carries out the synchronous simultaneously timer of clock and resets, if
Current Host server is not clock source Host server, then when current Host server obtains the system of level-one Box server
Clock, updates the own system time and timer is reset.
Optionally, as the application one embodiment, the clock calibration unit 410 is specifically used for:
Setting calibration duration T, prover time error t, when timing duration is more than T, by level-one Box server and Host service
Device carries out system clock calibration.
Optionally, as the application one embodiment, the clock calibration unit 420 is specifically used for:
Setting calibration duration T=1h, prover time error t=1s;
When timing duration is more than 1 small, when level-one Box server obtains the system clock and own system of Host server
Clock is compared.
Optionally, as the application one embodiment, the judging unit 430 is specifically included:
If the system topology of pond server is the topological structure that separate unit Host connects more Box, it is determined that current
Host server is clock source Host server;
If the system topology of pond server is the topological structure of more Host connection separate unit Box, current chain is obtained
The Channel number on road, judges whether the level-one Box server system time has synchronized, and is then according to Channel number
It determines clock source Host server, otherwise determines that current Host server is clock source Host server.
Optionally, as the application one embodiment, the clock synchronization unit 440 is specifically used for:
If current Host server is clock source Host server, level-one Box server obtains current Host server
System clock, carry out that clock is synchronous and timer is reset,
If current Host server is not clock source Host server, current Host server obtains level-one Box service
The system clock of device, updates the own system time and timer is reset.
Optionally, as the application one embodiment, the clock synchronization unit 440 also particularly useful for:
If second level Box server, second level are cascaded in the system topology of pond server in the presence of Host server
Box server obtains the system clock of level-one Box server, and it is synchronous to carry out clock, and level-one Box server B MC is by time synchronization
To second level Box server B MC.
Fig. 5 is a kind of structural schematic diagram of terminal installation 500 provided in an embodiment of the present invention, which can be with
For executing a kind of synchronous method of pond server system BMC clock provided by the embodiments of the present application.
Wherein, which may include: processor 510, memory 520 and communication unit 530.These components
It is communicated by one or more bus, it will be understood by those skilled in the art that the structure of server shown in figure is not
The restriction to the application is constituted, it is also possible to hub-and-spoke configuration either busbar network, can also include more than illustrating
Or less component, perhaps combine certain components or different component layouts.
Wherein, which can be used for executing instruction for storage processor 510, and memory 520 can be by any class
The volatibility or non-volatile memories terminal or their combination of type are realized, such as static random access memory (SRAM), electricity
Erasable Programmable Read Only Memory EPROM (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory
(PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.When executing instruction in memory 520
When being executed by processor 510, so that terminal 500 some or all of is able to carry out in following above method embodiment step.
Processor 510 is the control centre for storing terminal, utilizes each of various interfaces and the entire electric terminal of connection
A part by running or execute the software program and/or module that are stored in memory 520, and calls and is stored in storage
Data in device, to execute the various functions and/or processing data of electric terminal.The processor can be by integrated circuit
(Integrated Circuit, abbreviation IC) composition, such as the IC that can be encapsulated by single are formed, can also be by more of connection
The encapsulation IC of identical function or different function and form.For example, processor 510 can only include central processing unit
(Central Processing Unit, abbreviation CPU).In the application embodiment, CPU can be single operation core, can also
To include multioperation core.
Communication unit 530, for establishing communication channel, so that the storage terminal be allow to be led to other terminals
Letter.It receives the user data of other terminals transmission or sends user data to other terminals.
The application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with program, the journey
Sequence may include step some or all of in each embodiment provided by the present application when executing.The storage medium can for magnetic disk,
CD, read-only memory (English: read-only memory, referred to as: ROM) or random access memory (English:
Random access memory, referred to as: RAM) etc..
Therefore, pond server system BMC clock synchronizing method, device, terminal and storage medium provided by the present application, energy
Enough system clocks by determining unique clock source Host server synchronize multiple Host servers and lower cascade Box server,
The unification for guaranteeing the entire pond server system time periodically carries out clock check and correction by setting prover time, improves Box clock
Precision simplifies pond server system complete machine BMC time synchronization process, increases the ease for use and flexibility of product, promotes O&M
Efficiency, the attainable technical effect of the present embodiment institute may refer to described above, and details are not described herein again.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present application substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which is stored in
Such as USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory in one storage medium
The various media that can store program code such as (RAM, Random Access Memory), magnetic or disk, including it is several
Instruction is used so that a terminal (can be personal computer, server or second terminal, the network terminal etc.) is held
Row all or part of the steps of the method according to each embodiment of the present invention.
Same and similar part may refer to each other between each embodiment in this specification.Implement especially for terminal
For example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring in embodiment of the method
Explanation.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
Although by reference to attached drawing and combining the mode of preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should in covering scope of the invention/appoint
What those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, answer
It is included within the scope of the present invention.Therefore, protection scope of the present invention is answered described is with scope of protection of the claims
It is quasi-.
Claims (10)
1. a kind of pond server system BMC clock synchronizing method, which is characterized in that the described method includes:
Cascade level-one Box server receives the clock synchronization request of Host server transmission and starts to count under Host server
When;
Setting calibration duration T, prover time error t, when timing duration is more than T, by level-one Box server and Host server into
The calibration of row system clock;
Error is greater than t between when calibrated, judges whether current Host server is clock source Host server;
If current Host server is clock source Host server, what level-one Box server obtained current Host server is
System clock carries out the synchronous simultaneously timer of clock and resets, if currently Host server is not clock source Host server, currently
Host server obtains the system clock of level-one Box server, updates the own system time and timer is reset.
2. server system BMC clock synchronizing method in pond as described in claim 1, which is characterized in that the setting calibration
Duration T, prover time error t, when timing duration is more than T, by level-one Box server and Host server progress system clock school
It is quasi-, comprising:
Setting calibration duration T=1h, prover time error t=1s;
When timing duration is more than 1 small, level-one Box server obtain Host server system clock and own system clock into
Row compares.
3. server system BMC clock synchronizing method in pond as described in claim 1, which is characterized in that it is described when calibrated
Between error be greater than t, judge whether current Host server is clock source Host server, comprising:
If the system topology of pond server is the topological structure that separate unit Host connects more Box, it is determined that current Host
Server is clock source Host server;
If the system topology of pond server is the topological structure of more Host connection separate unit Box, current ink is obtained
Channel number, judges whether the level-one Box server system time has synchronized, and is then to be determined according to Channel number
Otherwise clock source Host server determines that current Host server is clock source Host server.
4. server system BMC clock synchronizing method in pond as described in claim 1, which is characterized in that if described current
Host server is clock source Host server, then level-one Box server obtains the system clock of current Host server, is carried out
Clock is synchronous and timer is reset, if current Host server is not clock source Host server, current Host server is obtained
The system clock of level-one Box server is taken, the own system time is updated and timer is reset, comprising:
If current Host server is clock source Host server, level-one Box server B MC obtains current Host server
System clock updates own system time and RTC chip time, and timer is reset;
If current Host server is not clock source Host server, current Host server B MC obtains level-one Box server
System clock, update the own system time, and timer reset.
5. a kind of pond server system BMC clock synchronization apparatus, which is characterized in that described device includes:
Receiving unit, the receiving unit are used for cascade level-one Box server under Host server and receive Host server
The clock synchronization request of transmission simultaneously starts timing;
Clock calibration unit, the clock calibration unit is for setting calibration duration T, prover time error t, when timing duration is super
T is crossed, level-one Box server and Host server are subjected to system clock calibration;
Judging unit, error is greater than t between the judging unit is used for when calibrated, judges whether current Host server is clock
Source Host server;
Clock synchronization unit, if it is clock source Host server that the clock synchronization unit, which is used for current Host server, one
Grade Box server obtains the system clock of current Host server, carries out the synchronous simultaneously timer of clock and resets, if current Host clothes
Business device is not clock source Host server, then current Host server obtains the system clock of level-one Box server, updates itself
System time and timer clearing.
6. server system BMC clock synchronization apparatus in pond as claimed in claim 5, which is characterized in that the clock alignment
Unit is specifically used for:
Setting calibration duration T=1h, prover time error t=1s;
When timing duration is more than 1 small, level-one Box server obtain Host server system clock and own system clock into
Row compares.
7. server system BMC clock synchronization apparatus in pond as claimed in claim 5, which is characterized in that the judging unit
It specifically includes:
If the system topology of pond server is the topological structure that separate unit Host connects more Box, it is determined that current Host
Server is clock source Host server;
If the system topology of pond server is the topological structure of more Host connection separate unit Box, current ink is obtained
Channel number, judges whether the level-one Box server system time has synchronized, and is then to be determined according to Channel number
Otherwise clock source Host server determines that current Host server is clock source Host server.
8. server system BMC clock synchronization apparatus in pond as claimed in claim 5, which is characterized in that the clock is synchronous
Unit is specifically used for:
If current Host server is clock source Host server, what level-one Box server obtained current Host server is
System clock carries out the synchronous simultaneously timer of clock and resets,
If current Host server is not clock source Host server, current Host server obtains level-one Box server
System clock, updates the own system time and timer is reset.
9. a kind of terminal characterized by comprising
Processor;
The memory executed instruction for storage processor;
Wherein, the processor is configured to perform claim requires the described in any item methods of 1-4.
10. a kind of computer readable storage medium for being stored with computer program, which is characterized in that the program is executed by processor
Shi Shixian method for example of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603552.6A CN109510682B (en) | 2018-12-26 | 2018-12-26 | Method, device, terminal and storage medium for synchronizing BMC (baseboard management controller) clocks of pooling server system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811603552.6A CN109510682B (en) | 2018-12-26 | 2018-12-26 | Method, device, terminal and storage medium for synchronizing BMC (baseboard management controller) clocks of pooling server system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109510682A true CN109510682A (en) | 2019-03-22 |
CN109510682B CN109510682B (en) | 2020-07-03 |
Family
ID=65755454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811603552.6A Active CN109510682B (en) | 2018-12-26 | 2018-12-26 | Method, device, terminal and storage medium for synchronizing BMC (baseboard management controller) clocks of pooling server system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109510682B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114779883A (en) * | 2022-05-17 | 2022-07-22 | 西安易朴通讯技术有限公司 | System clock synchronization method, device, system and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170373A (en) * | 2007-11-27 | 2008-04-30 | 上海自动化仪表股份有限公司 | Clock synchronization realization method for loop network |
US20100177666A1 (en) * | 2007-09-25 | 2010-07-15 | Yong Cheng | Method and apparatus for tracking clock sources |
US20140328329A1 (en) * | 2013-05-01 | 2014-11-06 | Samsung Electronics Co., Ltd. | Methods and apparatus for device-to-device communications system |
CN105282840A (en) * | 2014-07-24 | 2016-01-27 | 北京信威通信技术股份有限公司 | Method for time synchronization between nodes in wireless Ad Hoc network |
CN105281884A (en) * | 2014-07-24 | 2016-01-27 | 北京信威通信技术股份有限公司 | Method for time synchronization between nodes in network without center |
CN107295627A (en) * | 2016-04-01 | 2017-10-24 | 中国移动通信有限公司研究院 | Method for synchronizing time, time synchronism apparatus and wireless communication protocol stack system |
CN108429642A (en) * | 2018-02-28 | 2018-08-21 | 郑州云海信息技术有限公司 | A kind of Topology identification method, system, equipment and computer storage media |
-
2018
- 2018-12-26 CN CN201811603552.6A patent/CN109510682B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100177666A1 (en) * | 2007-09-25 | 2010-07-15 | Yong Cheng | Method and apparatus for tracking clock sources |
CN101170373A (en) * | 2007-11-27 | 2008-04-30 | 上海自动化仪表股份有限公司 | Clock synchronization realization method for loop network |
US20140328329A1 (en) * | 2013-05-01 | 2014-11-06 | Samsung Electronics Co., Ltd. | Methods and apparatus for device-to-device communications system |
CN105282840A (en) * | 2014-07-24 | 2016-01-27 | 北京信威通信技术股份有限公司 | Method for time synchronization between nodes in wireless Ad Hoc network |
CN105281884A (en) * | 2014-07-24 | 2016-01-27 | 北京信威通信技术股份有限公司 | Method for time synchronization between nodes in network without center |
CN107295627A (en) * | 2016-04-01 | 2017-10-24 | 中国移动通信有限公司研究院 | Method for synchronizing time, time synchronism apparatus and wireless communication protocol stack system |
CN108429642A (en) * | 2018-02-28 | 2018-08-21 | 郑州云海信息技术有限公司 | A kind of Topology identification method, system, equipment and computer storage media |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114779883A (en) * | 2022-05-17 | 2022-07-22 | 西安易朴通讯技术有限公司 | System clock synchronization method, device, system and storage medium |
CN114779883B (en) * | 2022-05-17 | 2024-03-19 | 西安易朴通讯技术有限公司 | System clock synchronization method, device, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109510682B (en) | 2020-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11704144B2 (en) | Creating virtual machine groups based on request | |
CN103109271B (en) | The implementation method of migrate application and system between a kind of platform | |
ES2743469T3 (en) | Provision of cluster computers for processing a corresponding calculation task and procedure | |
CN111124277A (en) | Deep learning data set caching method, system, terminal and storage medium | |
CN109933376A (en) | PCIE silk-screen information updating method, device, controlled terminal and storage medium in a kind of BIOS setup | |
CN107846313B (en) | A kind of method and the network equipment of the generation of network service moulding plate | |
CN112236760B (en) | Graph data updating method, system, computer readable storage medium and equipment | |
CN110389843A (en) | A kind of business scheduling method, device, equipment and readable storage medium storing program for executing | |
CN107832141A (en) | Application program progress control method and equipment | |
CN109101611A (en) | File system directories maximize test method, device, terminal and storage medium | |
CN110166507A (en) | More resource regulating methods and device | |
CN109474467A (en) | Network automatically management method, device, storage medium and electronic equipment | |
CN109510682A (en) | A kind of pond server system BMC clock synchronizing method, device, terminal and storage medium | |
CN109213565B (en) | Management method of heterogeneous virtual computing resources, related equipment and storage medium | |
CN113727429A (en) | Cross-network-group clock synchronization method and device, storage medium and terminal | |
CN109254780A (en) | A kind of method, apparatus and controlled terminal of batch refresh server node firmware | |
CN109634353A (en) | Server host cascades BOX topological structure clock synchronizing method, device, terminal and storage medium | |
CN106447755A (en) | Animation rendering system | |
CN109683814A (en) | The shared storage creation method of one kind, device, terminal and storage medium | |
CN109614242A (en) | A kind of computing capability sharing method, device, equipment and medium | |
CN109657471B (en) | Cloud equipment management system and method | |
CN105138406A (en) | Task processing method, task processing device and task processing system | |
CN111767999A (en) | Data processing method and device and related products | |
CN104243563A (en) | Quick parallel system allocation method for AWS platform | |
CN109905478A (en) | A kind of instruction maintenance system method of data synchronization, device, controlled terminal and storage medium |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200611 Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd. Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601 Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |