A Web-based server startup progress display system and method

By installing the BMC server on the server and setting up multiple monitors, obtaining the startup status code, and providing a web interface to display startup progress in real time, it solves the problem that the server startup progress in the existing technology cannot be dynamically displayed, and improves the efficiency of troubleshooting.

CN118689746BActive Publication Date: 2024-12-17BEIJING HUAKUN ZHENYU INTELLIGENT TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411148885.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-12-17
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

The existing technology lacks dynamic display of server startup progress, which makes it impossible for users to obtain startup progress in time, increasing the difficulty of troubleshooting errors.

Method used

By installing the BMC server on the server, setting up multiple monitors (such as BIOS load monitor, MBR read monitor, kernel load monitor, etc.) to obtain the startup status code, and provide real-time startup progress display through the web server. Users can View startup progress through the web interface.

Benefits of technology

This enables users to obtain server startup progress in a timely manner, facilitates and quickly locates errors, and improves the efficiency of troubleshooting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689746B_ABST
    Figure CN118689746B_ABST
Patent Text Reader

Abstract

The present invention provides a server startup progress display system and method based on Web, and relates to the technical field of server management. The present invention installs a BMC server on each server, and the BMC server sets a corresponding monitor for different server startup processes, and obtains the startup status code corresponding to the startup process through the monitor, and then performs thread monitoring on the startup status code collected by the BMC server through a separate acquisition server, and then provides a Web progress display service to the user according to the startup status code through the Web server, so that the user only needs to log in to the BMC Web interface to view the current server startup process progress in time; it is convenient for the user to obtain the server startup progress in time, and when the server cannot start normally, the user can also obtain the error link in time on the Web interface, and the positioning is more convenient and quick.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of server management, and in particular to a Web-based server startup progress display system and method. Background Art

[0002] With the development of server technology, servers have more and more functions, and server information monitoring is becoming more and more important. At present, server information monitoring is generally implemented by a baseboard management controller (Baseboard Manager Controller, referred to as BMC). After each server leaves the factory, it comes with a management system BMC. This system exists independently of the server operation and manages and monitors its hardware parts, such as power supply, fan, storage, CPU, etc., to ensure that the server is in a healthy state.

[0003] When the server is started, the server's web page does not report the current startup process progress information in real time, and the user cannot obtain the current startup progress in time. When there is a problem in the startup process, such as failure to start normally, the user cannot obtain the current startup progress in time, which increases the difficulty of troubleshooting the wrong link. If the web page displays the current startup progress, it can help users quickly troubleshoot the wrong link; however, the existing technology lacks a dynamic display of the server startup progress.

[0004] Therefore, it is necessary to provide a Web-based server startup progress display system and method to solve the above technical problems. Summary of the invention

[0005] To solve one of the above technical problems, the present invention provides a Web-based server startup progress display system, in which a BMC server is installed on each server, the BMC server sets corresponding monitors for different server startup processes, and obtains the startup status code corresponding to the startup process through the monitor, and then performs thread monitoring on the startup status code collected by the BMC server through a separate acquisition server, and then provides a Web progress display service to the user according to the startup status code through the Web server; wherein the Web server is provided with a client login module, a client request sending module and a client display module, and the BMC server is provided with a server response module.

[0006] As a further solution, the monitors include: BIOS loading monitor, MBR reading monitor, Boot loading monitor, kernel loading monitor, user layer configuration monitor, process execution monitor, kernel startup monitor, script program monitor, boot loading file detector and login status monitor:

[0007] Among them, the BIOS loading monitor is used to monitor the BIOS loading process, the MBR reading monitor is used to monitor the MBR reading process, the Boot loading monitor is used to monitor the Boot Loader process, the kernel loading monitor is used to monitor the kernel loading process, the user layer configuration monitor is used to monitor the user layer init's running level setting process based on the inittab file, the process execution monitor is used to monitor the init process execution rc.sysinit process, the kernel startup monitor is used to monitor the kernel startup process, the script program monitor is used to monitor the script program execution process at different running levels, the boot loading file detector is used to monitor the / etc / rc.d / rc.local execution process, and the login status monitor is used to monitor the login status of the / bin / login program.

[0008] As a further solution, the client display module is used to provide a Web login interface, a BMC Web management interface and a Web progress display interface; the Web login interface is connected to the client login module, the BMC Web management interface is connected to the client request sending module, the client request sending module is connected to the server response module, and the Web progress display interface is used to display the progress of server startup.

[0009] A method for displaying the progress of a server startup based on a Web is applied to a system for displaying the progress of a server startup based on a Web as described in any one of the above items, and the server startup progress display is realized by the following steps:

[0010] Step S1: Enter the user name and password through the Web login interface, and log in to the BMC Web management interface after successful authentication;

[0011] Step S2: Select the server startup progress option through the BMC Web management and enable the real-time refresh function, and send a request to obtain the current server startup status code to the BMC server;

[0012] Step S3: The BMC server receives and parses the request for obtaining the current startup status code of the server, and updates the current status code according to the request;

[0013] Step S4: The BMC server performs thread monitoring on the current startup status code by acquiring the server separately, and lights up the progress bar of the corresponding startup process stage according to the current status code;

[0014] Step S5: the Web server sends a request to obtain the current status code of the server to the BMC server at a preset time, and lights up the progress bar of the startup process stage corresponding to the status code, and completes the server startup progress on the Web progress display interface;

[0015] Step S6: When the user turns off the real-time refresh function, the startup progress before the shutdown is displayed, and the Web server refresh triggers the acquisition of the server's current startup status code request to the BMC server, refreshes the Web progress display interface once, and ends the server startup progress display.

[0016] Compared with the related art, the Web-based server startup progress display system and method provided by the present invention has the following beneficial effects:

[0017] The present invention installs a BMC server on each server, and the BMC server sets a corresponding monitor for different startup processes of the server, obtains the startup status code corresponding to the startup process through the monitor, and then performs thread monitoring on the startup status code collected by the BMC server through a separate acquisition server, and then provides a Web progress display service to the user according to the startup status code through a Web server, so that the user only needs to log in to the BMC Web interface to view the current startup process progress of the server in time; it is convenient for the user to obtain the server startup progress in time, and when the server cannot be started normally, the user can also obtain the error link in time on the Web interface, and the positioning is more convenient and quick. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a Web-based server startup progress display system provided by the present invention;

[0019] Figure 2 A schematic diagram of a Web-based server startup progress display method provided by the present invention. DETAILED DESCRIPTION

[0020] The present invention will be further described below in conjunction with the accompanying drawings and implementation modes.

[0021] like Figure 1 As shown, a Web-based server startup progress display system is installed on each server. The BMC server sets corresponding monitors for different server startup processes, and obtains the startup status code corresponding to the startup process through the monitor, and then performs thread monitoring on the startup status code collected by the BMC server through a separate acquisition server, and then provides Web progress display service to users according to the startup status code through the Web server; wherein the Web server is provided with a client login module, a client request sending module and a client display module, and the BMC server is provided with a server response module.

[0022] It should be noted that the existing BMC Web interface is an independent management system interface display system for the server. It does not have server startup progress information, so users cannot obtain the server startup progress in time, and the management of the server is a bit lacking.

[0023] To this end, this embodiment installs a BMC server on each server, and the BMC server sets corresponding monitors for different startup processes of the server, obtains the startup status code corresponding to the startup process through the monitor, and then performs thread monitoring on the startup status code collected by the BMC server through a separate acquisition server, and then provides a Web progress display service to the user according to the startup status code through the Web server, so that the user only needs to log in to the BMC Web interface to view the current startup process progress of the server in time; it is convenient for the user to obtain the server startup progress in time, and when the server cannot start normally, the user can also obtain the error link in time on the Web interface, and the positioning is more convenient and quick.

[0024] As a further solution, the monitors include: BIOS loading monitor, MBR reading monitor, Boot loading monitor, kernel loading monitor, user layer configuration monitor, process execution monitor, kernel startup monitor, script program monitor, boot loading file detector and login status monitor:

[0025] Among them, the BIOS loading monitor is used to monitor the BIOS loading process, the MBR reading monitor is used to monitor the MBR reading process, the Boot loading monitor is used to monitor the Boot Loader process, the kernel loading monitor is used to monitor the kernel loading process, the user layer configuration monitor is used to monitor the user layer init's running level setting process based on the inittab file, the process execution monitor is used to monitor the init process execution rc.sysinit process, the kernel startup monitor is used to monitor the kernel startup process, the script program monitor is used to monitor the script program execution process at different running levels, the boot loading file detector is used to monitor the / etc / rc.d / rc.local execution process, and the login status monitor is used to monitor the login status of the / bin / login program.

[0026] It should be noted that the 10 stages of the boot process include: loading BIOS -> reading MBR -> BootLoader -> loading kernel -> user layer init sets the run level according to the inittab file -> init process executes rc.sysinit -> starts the kernel module -> executes scripts of different run levels -> executes / etc / rc.d / rc.local -> executes / bin / login program to enter the login state. A boot status code is defined when entering a boot stage, with a total of 10 boot status codes. Each status code corresponds to a boot stage, and different boot status codes represent different boot stages. When you click "Real-time Refresh" to turn on the real-time refresh function (default closed state), the thread for obtaining the current boot status of the server will update the current status code every 2 seconds, and light up the progress bar of the boot process stage corresponding to the status code in time, and complete the display of the server boot progress on the Web interface. When you click "Real-time Refresh" to turn off the real-time refresh function, refreshing the Web interface will also trigger the thread for obtaining the current boot status of the server, and report the current status code, completing the display of the progress bar of the boot process stage corresponding to the status code on the Web interface. Refresh once and update once.

[0027] As a further solution, the client display module is used to provide a Web login interface, a BMC Web management interface and a Web progress display interface; the Web login interface is connected to the client login module, the BMC Web management interface is connected to the client request sending module, the client request sending module is connected to the server response module, and the Web progress display interface is used to display the progress of server startup.

[0028] It should be noted that: this embodiment is based on a C / S architecture, in which the client is a Web browser, which mainly performs user login and turns on "real-time refresh" to trigger the acquisition of the server's current startup status thread; the server is a BMC system deployed with a Web server, which mainly receives and parses client request data, triggers the display of the progress bar information of the corresponding startup process stage according to the status code obtained in real time, and returns the response result to the client to realize the display of the Web browser.

[0029] like Figure 2 As shown, a Web-based server startup progress display method is applied to a Web-based server startup progress display system as described in any of the above items, and the server startup progress display is realized through the following steps:

[0030] Step S1: Enter the user name and password through the Web login interface, and log in to the BMC Web management interface after successful authentication;

[0031] Step S2: Select the server startup progress option through the BMC Web management and enable the real-time refresh function, and send a request to obtain the current server startup status code to the BMC server;

[0032] Step S3: The BMC server receives and parses the request for obtaining the current startup status code of the server, and updates the current status code according to the request;

[0033] Step S4: The BMC server performs thread monitoring on the current startup status code by acquiring the server separately, and lights up the progress bar of the corresponding startup process stage according to the current status code;

[0034] Step S5: the Web server sends a request to obtain the current status code of the server to the BMC server at a preset time, and lights up the progress bar of the startup process stage corresponding to the status code, and completes the server startup progress on the Web progress display interface;

[0035] Step S6: When the user turns off the real-time refresh function, the startup progress before the shutdown is displayed, and the Web server refresh triggers the acquisition of the server's current startup status code request to the BMC server, refreshes the Web progress display interface once, and ends the server startup progress display.

[0036] The above are only embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A Web-based server startup progress display system, characterized in that: A BMC server is installed on each server. The BMC server sets corresponding monitors for different startup processes of the server, obtains the startup status code corresponding to the startup process through the monitor, and then performs thread monitoring on the startup status code collected by the BMC server through a separate acquisition server. Then, a Web progress display service is provided to the user according to the startup status code through the Web server. The Web server is provided with a client login module, a client request sending module and a client display module, and the BMC server is provided with a server response module. The monitors include: BIOS loading monitor, MBR reading monitor, Boot loading monitor, kernel loading monitor, user layer configuration monitor, process execution monitor, kernel startup monitor, script program monitor, startup loading file detector and login status monitor: Among them, the BIOS loading monitor is used to monitor the BIOS loading process, the MBR reading monitor is used to monitor the MBR reading process, the Boot loading monitor is used to monitor the Boot Loader process, the kernel loading monitor is used to monitor the kernel loading process, the user layer configuration monitor is used to monitor the user layer init's running level setting process according to the inittab file, the process execution monitor is used to monitor the init process execution rc.sysinit process, the kernel startup monitor is used to monitor the kernel startup process, the script program monitor is used to monitor the script program execution process of different running levels, the boot loader file detector is used to monitor the / etc / rc.d / rc.local execution process, and the login status monitor is used to monitor the login status of the / bin / login program; The client display module is used to provide a Web login interface, a BMC Web management interface and a Web progress display interface; the Web login interface is connected to the client login module, the BMC Web management interface is connected to the client request sending module, the client request sending module is connected to the server response module, and the Web progress display interface is used to display the server startup progress; The 10 stages of the startup process of the monitor include: loading BIOS -> reading MBR -> BootLoader -> loading kernel -> user layer init sets the running level according to the inittab file -> init process executes rc.sysinit -> starts the kernel module -> executes script programs of different running levels -> executes / etc / rc.d / rc.local -> executes / bin / login program to enter the login state; a startup status code is defined when entering a startup stage, with a total of 10 startup status codes, each status code corresponds to a startup stage, and different startup status codes represent different startup stages; when clicking "Real-time Refresh" to turn on the real-time refresh function, the thread for obtaining the current startup status of the server will update the current status code every 2 seconds, and light up the progress bar of the startup process stage corresponding to the status code in time, and complete the display of the server startup progress on the Web interface; when clicking "Real-time Refresh" to turn off the real-time refresh function, if the Web interface is refreshed, the thread for obtaining the current startup status of the server will also be triggered, and the current status code will be reported, and the Web interface display of the progress bar of the startup process stage corresponding to the status code will be completed; refresh once and update once.

2. A Web-based server startup progress display method, characterized in that: The method is applied to a Web-based server startup progress display system as claimed in claim 1, and the server startup progress display is realized by the following steps: Step S1: Enter the user name and password through the Web login interface, and log in to the BMC Web management interface after successful authentication; Step S2: Select the server startup progress option through the BMC Web management and enable the real-time refresh function, and send a request to obtain the current server startup status code to the BMC server; Step S3: The BMC server receives and parses the request for obtaining the current startup status code of the server, and updates the current status code according to the request; Step S4: The BMC server performs thread monitoring on the current startup status code by acquiring the server separately, and lights up the progress bar of the corresponding startup process stage according to the current status code; Step S5: the Web server sends a request to obtain the current status code of the server to the BMC server at a preset time, and lights up the progress bar of the startup process stage corresponding to the status code, and completes the server startup progress on the Web progress display interface; Step S6: When the user turns off the real-time refresh function, the startup progress before the shutdown is displayed, and the Web server refresh triggers the acquisition of the server's current startup status code request to the BMC server, refreshes the Web progress display interface once, and ends the server startup progress display.

Citation Information

Patent Citations

  • Web-based BMC configuration import and export method and system

    CN114047966A

  • Server starting method, system, equipment and medium

    CN114816958A