Method and device for synchronizing BMC and OS time, terminal and storage medium

A time and time difference technology, applied in the server field, can solve the problems of inability to synchronize BMC time in real time, inconvenient operation, etc., and achieve the effect of improving reference, accuracy, and ease of use.

Inactive Publication Date: 2019-03-08
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, none of these methods can achieve real-time synchronization between BMC time and OS time. Either the BMC needs to be restarted, or the server needs to be restarted, or the NTP needs to be synchronized every hour, which is inconvenient to operate.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for synchronizing BMC and OS time, terminal and storage medium
  • Method and device for synchronizing BMC and OS time, terminal and storage medium
  • Method and device for synchronizing BMC and OS time, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention. In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The emb...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a method and device for synchronizing BMC time and OS time, a terminal and a storage medium. The method comprises the steps of reading the BMC time and the OStime respectively; subtracting the BMC time from the OS time, and calculating a time difference; presetting a time difference fault-tolerant range; judging whether the time difference is within a timedifference fault-tolerant range or not, and if yes, repeating the above steps; and if not, setting the BMC time as the OS time, recording a synchronization log, and then repeatedly executing the above steps. According to the invention, the real-time synchronization of BMC time and OS time is truly realized. The BMC time accuracy is greatly improved, the referenceability of BMC logs in the serveroperation and maintenance or test process is improved, the method is suitable for all mainstream servers or storage with BMC modules, the program operation is simple, the method has high usability, and the method does not depend on a network and an NTP Server.

Description

technical field [0001] The invention belongs to the technical field of servers, and in particular relates to a method, device, terminal and storage medium for synchronizing BMC and OS time. Background technique [0002] With the development of the Internet, the number of servers and storage purchased by customers is increasing day by day. Faced with a computer room with tens of thousands or even hundreds of thousands of devices, it poses a huge challenge to the operation and maintenance work. As the "brain" of server and storage platform management, BMC plays a vital role in the customer's operation and maintenance environment. "Monitoring alarm" is one of the most important functions of BMC, and a key information in the alarm record is the trigger time of the fault, that is, the time of BMC at that time, and its accuracy directly affects the analysis and location of faults by O&M or customer service. [0003] In order to ensure that the time of the BMC is accurate, the BMC...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F1/12G06F9/52
CPCG06F1/12G06F9/52
Inventor 伯绍文
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products