CN118689746B - Web-based server starting progress display system and method - Google Patents
Web-based server starting progress display system and method Download PDFInfo
- Publication number
- CN118689746B CN118689746B CN202411148885.XA CN202411148885A CN118689746B CN 118689746 B CN118689746 B CN 118689746B CN 202411148885 A CN202411148885 A CN 202411148885A CN 118689746 B CN118689746 B CN 118689746B
- Authority
- CN
- China
- Prior art keywords
- server
- starting
- web
- monitor
- bmc
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/323—Visualisation of programs or trace data
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/327—Alarm or error message display
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/328—Computer systems status display
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Data Mining & Analysis (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a Web-based server starting progress display system and a Web-based server starting progress display method, and relates to the technical field of server management. According to the method, the BMC server is installed on each server, the corresponding monitors are arranged on the BMC server according to different starting processes of the servers, the starting state codes corresponding to the starting processes are acquired through the monitors, the starting state codes collected by the BMC server are subjected to thread monitoring through the independent acquisition servers, and then Web progress display services are provided for users according to the starting state codes through the Web servers, so that the users can check the current starting process progress of the servers in time only by logging in the BMC Web interface, the users can acquire the starting progress of the servers in time conveniently, and when the servers cannot be started normally, the users can acquire error links in the Web interface in time, and the positioning is more convenient and quick.
Description
Technical Field
The invention relates to the technical field of server management, in particular to a Web-based server starting progress display system and a Web-based server starting progress display method.
Background
With the development of server technology, the functions of the server are more and more, and the information monitoring of the server is more and more important. Currently, information monitoring of a server is generally implemented by a baseboard management controller (Baseboard Manager Controller, abbreviated as BMC). After each server leaves the factory, a set of management system BMC is provided, and the system exists independently relative to the operation of the server, and manages and monitors hardware parts such as a power supply, a fan, a storage, a CPU and the like so as to ensure that the server is in a healthy state.
When the server is started, the Web page of the server does not report the current starting flow progress information in real time, and a user cannot acquire the current starting progress in time. When a problem occurs in the starting process, if the starting process cannot be started normally, a user cannot acquire the current starting progress condition in time, and difficulty is increased in finding out an error link. If the Web page displays the current starting progress, the user can conveniently and quickly check out wrong links, but the prior art lacks dynamic display of the starting progress of the server.
Accordingly, there is a need to provide a Web-based server-initiated progress display system and method to solve the above-mentioned technical problems.
Disclosure of Invention
In order to solve the technical problems, the invention provides a Web-based server starting progress display system, which is characterized in that a BMC server is installed on each server, the BMC server is provided with corresponding monitors for different starting processes of the servers, the starting state codes corresponding to the starting processes are acquired through the monitors, the starting state codes collected by the BMC server are monitored by threads through the independent acquisition servers, and Web progress display service is provided for users through the Web servers according to the starting state codes, wherein the Web servers are 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.
As a further solution, the monitor includes a BIOS loading monitor, an MBR reading monitor, a Boot loading monitor, a kernel loading monitor, a user layer configuration monitor, a process execution monitor, a kernel starting monitor, a script program monitor, a starting loading file detector and a login state monitor:
The system comprises a BIOS loading monitor, a MBR reading monitor, a Boot loading monitor, a kernel loading monitor, a user layer configuration monitor, a process execution monitor, a kernel starting monitor, a script program monitor, a startup loading file detector, a login state monitor and a login state monitor, wherein the BIOS loading monitor is used for monitoring and loading BIOS flows, the MBR reading monitor is used for monitoring and reading MBR flows, the Boot loading monitor is used for monitoring Boot Loader flows, the kernel loading monitor is used for monitoring kernel loading flows, the user layer configuration monitor is used for monitoring the operation level setting flow of user layer init according to inittab files, the process execution monitor is used for monitoring init process execution rc.sysinit flows, the kernel starting monitor is used for monitoring kernel starting flows, the script program monitors are used for monitoring script program execution flows of different operation levels, and the startup loading file detector is used for monitoring the login state of a/bin/logic program.
The server comprises a client side display module, a client side request sending module, a server side response module and a Web progress display interface, wherein the client side display module is used for providing a Web login interface, a BMC Web management interface and a Web progress display interface, the Web login interface is connected with the client side login module, the BMC Web management interface is connected with the client side request sending module, the client side request sending module is connected with the server side response module, and the Web progress display interface is used for starting progress display for the server.
The method for displaying the starting progress of the server based on the Web is applied to the system for displaying the starting progress of the server based on the Web, and realizes the starting progress display of the server by the following steps:
Step S1, inputting a user name and a password through a Web login interface, and logging in a BMC Web management interface after authentication is successful;
step S2, selecting a server starting progress option and starting a real-time refreshing function through BMC Web management, and sending a request for acquiring a current starting state code of the server to a BMC server;
Step S3, the BMC server receives and analyzes the request for acquiring the current starting state code of the server, and updates the current state code according to the request;
Step S4, the BMC server monitors the current starting state code by independently acquiring a server, and lights a progress bar corresponding to the starting process stage according to the current state code;
Step S5, the Web server sends a request for acquiring the current state code of the server to the BMC server at intervals of preset time, and lights up a progress bar of the state code corresponding to the starting process stage, so that the starting progress of the server is completed on a Web progress display interface;
And step S6, when the user closes the real-time refreshing function, displaying the starting progress before closing, triggering the acquisition of the current starting state code request of the server to the BMC server by the refreshing of the Web server, refreshing the Web progress display interface once, and ending the starting progress display of the server.
Compared with the related art, the system and the method for displaying the starting progress of the server based on the Web have the following beneficial effects:
According to the method, the BMC server is installed on each server, the corresponding monitors are arranged on the BMC server according to different starting processes of the servers, the starting state codes corresponding to the starting processes are acquired through the monitors, the starting state codes collected by the BMC server are subjected to thread monitoring through the independent acquisition servers, and then Web progress display services are provided for users according to the starting state codes through the Web servers, so that the users can check the current starting process progress of the servers in time only by logging in the BMC Web interface, the users can acquire the starting progress of the servers in time conveniently, and when the servers cannot be started normally, the users can acquire error links in the Web interface in time, and the positioning is more convenient and quick.
Drawings
FIG. 1 is a schematic diagram of a Web-based server start-up progress display system provided by the present invention;
Fig. 2 is a schematic diagram of a method for displaying the start progress of a Web-based server according to the present invention.
Detailed Description
The invention will be further described with reference to the drawings and embodiments.
As shown in FIG. 1, a Web-based server starting progress display system is provided, a BMC server is installed for each server, the BMC server sets corresponding monitors for different starting processes of the servers, the starting state codes corresponding to the starting processes are obtained through the monitors, then the starting state codes collected by the BMC server are monitored by threads through the independent obtaining servers, and Web progress display service is provided for users through the Web server according to the starting state codes, 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.
It should be noted that the existing BMC Web interface is used as an independent management system interface display system of the server, and no server starting progress information exists, so that the user cannot acquire the server starting progress in time, and management of the server is somewhat deficient.
Therefore, according to the embodiment, the BMC server is installed on each server, the BMC server is provided with the corresponding monitor aiming at different starting processes of the server, the starting state codes corresponding to the starting processes are acquired through the monitor, the starting state codes collected by the BMC server are subjected to thread monitoring through the independent acquisition server, and then Web progress display service is provided for a user through the Web server according to the starting state codes, so that the user can check the current starting process progress of the server in time by logging in the BMC Web interface, the user can acquire the starting progress of the server in time conveniently, and when the server cannot be started normally, the user can acquire an error link in the Web interface in time, and the positioning is more convenient and quick.
As a further solution, the monitor includes a BIOS loading monitor, an MBR reading monitor, a Boot loading monitor, a kernel loading monitor, a user layer configuration monitor, a process execution monitor, a kernel starting monitor, a script program monitor, a starting loading file detector and a login state monitor:
The system comprises a BIOS loading monitor, a MBR reading monitor, a Boot loading monitor, a kernel loading monitor, a user layer configuration monitor, a process execution monitor, a kernel starting monitor, a script program monitor, a startup loading file detector, a login state monitor and a login state monitor, wherein the BIOS loading monitor is used for monitoring and loading BIOS flows, the MBR reading monitor is used for monitoring and reading MBR flows, the Boot loading monitor is used for monitoring Boot Loader flows, the kernel loading monitor is used for monitoring kernel loading flows, the user layer configuration monitor is used for monitoring the operation level setting flow of user layer init according to inittab files, the process execution monitor is used for monitoring init process execution rc.sysinit flows, the kernel starting monitor is used for monitoring kernel starting flows, the script program monitors are used for monitoring script program execution flows of different operation levels, and the startup loading file detector is used for monitoring the login state of a/bin/logic program.
It should be noted that 10 stages of the Boot flow include loading BIOS- (reading MBR- (Boot Loader) -, loading kernel- (user layer init) to set operation level- (init process execution rc.sysinit- (Boot kernel module) -, executing script program of different operation levels- (execution/etc/rc.d/rc.local- > execution/bin/logic program according to inittab file), and entering login state. A start-up state code is defined when a start-up phase starts, for a total of 10 start-up state codes, each corresponding to a start-up phase, different start-up state codes representing different start-up phases. When the real-time refreshing function is clicked and opened (default closing state), the current state code of the current starting state thread of the server is updated every 2 seconds, and a progress bar of the state code corresponding to the starting flow stage is timely lightened, so that the starting progress of the server is displayed on the Web interface. When the real-time refreshing is clicked and the real-time refreshing function is closed, if the Web interface is refreshed, the current starting state thread of the server is triggered and acquired, the current state code is reported, and the Web interface display of the progress bar of the starting flow stage of the corresponding state code display is completed. Refreshing once and updating once.
The server comprises a client side display module, a client side request sending module, a server side response module and a Web progress display interface, wherein the client side display module is used for providing a Web login interface, a BMC Web management interface and a Web progress display interface, the Web login interface is connected with the client side login module, the BMC Web management interface is connected with the client side request sending module, the client side request sending module is connected with the server side response module, and the Web progress display interface is used for starting progress display for the server.
It should be noted that, in this embodiment, based on a C/S architecture, the client is a Web browser, and is mainly configured to log in by a user and start "real-time refresh" to trigger and obtain a current start state thread of the server, and the server is a BMC system with a Web server deployed, and is mainly configured to receive and parse request data of the client, trigger, according to a state code obtained in real time, display progress bar information of a corresponding start process stage, and return a response result to the client, so as to implement display of the Web browser.
As shown in fig. 2, a method for displaying progress of server start based on Web is applied to a system for displaying progress of server start based on Web as described in any one of the above, and the method for displaying progress of server start is implemented by:
Step S1, inputting a user name and a password through a Web login interface, and logging in a BMC Web management interface after authentication is successful;
step S2, selecting a server starting progress option and starting a real-time refreshing function through BMC Web management, and sending a request for acquiring a current starting state code of the server to a BMC server;
Step S3, the BMC server receives and analyzes the request for acquiring the current starting state code of the server, and updates the current state code according to the request;
Step S4, the BMC server monitors the current starting state code by independently acquiring a server, and lights a progress bar corresponding to the starting process stage according to the current state code;
Step S5, the Web server sends a request for acquiring the current state code of the server to the BMC server at intervals of preset time, and lights up a progress bar of the state code corresponding to the starting process stage, so that the starting progress of the server is completed on a Web progress display interface;
And step S6, when the user closes the real-time refreshing function, displaying the starting progress before closing, triggering the acquisition of the current starting state code request of the server to the BMC server by the refreshing of the Web server, refreshing the Web progress display interface once, and ending the starting progress display of the server.
The foregoing is only illustrative of the present invention and is not to be construed as limiting the scope of the invention, and all equivalent structures or equivalent flow modifications which may be made by the teachings of the present invention and the accompanying drawings or which may be directly or indirectly employed in other related art are within the scope of the invention.
Claims (2)
1. A Web-based server starting progress display system is characterized in that a BMC server is installed for each server, the BMC server sets corresponding monitors for different starting processes of the servers, obtains starting state codes corresponding to the starting processes through the monitors, carries out thread monitoring on the starting state codes collected by the BMC server through the independent obtaining servers, and provides Web progress display service for users through the Web servers according to the starting state codes, wherein the Web servers are 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 monitor comprises a BIOS loading monitor, an MBR reading monitor, a Boot loading monitor, a kernel loading monitor, a user layer configuration monitor, a process execution monitor, a kernel starting monitor, a script program monitor, a starting loading file detector and a login state monitor:
The system comprises a BIOS loading monitor, a MBR reading monitor, a Boot loading monitor, a kernel loading monitor, a user layer configuration monitor, a process execution monitor, a kernel starting monitor, a script program monitor, a startup loading file detector, a login state monitor and a login state monitor, wherein the BIOS loading monitor is used for monitoring and loading BIOS flows, the MBR reading monitor is used for monitoring and reading MBR flows, the Boot loading monitor is used for monitoring Boot Loader flows, the kernel loading monitor is used for monitoring kernel loading flows, the user layer configuration monitor is used for monitoring the operation level setting flow of a user layer init according to inittab files, the process execution monitor is used for monitoring init process execution rc.sysinit flows, the kernel starting monitor is used for monitoring kernel starting flows, the script program monitors are used for monitoring script program execution flows of different operation levels, and the startup loading file detector is used for monitoring the login state of a/bin/logic program;
The system comprises a client display module, a server response module, a server and a server, wherein the client display module is used for providing a Web login interface, a BMC Web management interface and a Web progress display interface;
The 10 stages of the monitor starting flow comprise loading BIOS- (reading MBR- (Boot Loader) -loading kernel- (user layer init) to set operation level- (init process execution rc.sysinit- (starting kernel module-) to execute script program of different operation levels according to inittab file, entering login state, defining a starting state code when starting to enter one starting stage, 10 starting state codes in total, each state code corresponding to one starting stage, acquiring current starting state code of a server every 2 seconds when clicking 'real-time refreshing', starting the real-time refreshing function, finishing the display of the server starting progress at the interface by the server every 2 seconds, triggering the refreshing function to acquire the current state code and display the current state code of the Web thread once when clicking 'real-time refreshing', and finishing the display of the Web thread corresponding to the Web thread updating the current state code when clicking 'real-time refreshing', and finishing the display of the Web thread updating the Web thread state once when clicking 'real-time refreshing' and updating the Web thread.
2. The Web-based server start progress display method is applied to the Web-based server start progress display system as set forth in claim 1, and the server start progress display is realized by the following steps:
Step S1, inputting a user name and a password through a Web login interface, and logging in a BMC Web management interface after authentication is successful;
step S2, selecting a server starting progress option and starting a real-time refreshing function through BMC Web management, and sending a request for acquiring a current starting state code of the server to a BMC server;
Step S3, the BMC server receives and analyzes the request for acquiring the current starting state code of the server, and updates the current state code according to the request;
Step S4, the BMC server monitors the current starting state code by independently acquiring a server, and lights a progress bar corresponding to the starting process stage according to the current state code;
Step S5, the Web server sends a request for acquiring the current state code of the server to the BMC server at intervals of preset time, and lights up a progress bar of the state code corresponding to the starting process stage, so that the starting progress of the server is completed on a Web progress display interface;
And step S6, when the user closes the real-time refreshing function, displaying the starting progress before closing, triggering the acquisition of the current starting state code request of the server to the BMC server by the refreshing of the Web server, refreshing the Web progress display interface once, and ending the starting progress display of the server.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411148885.XA CN118689746B (en) | 2024-08-21 | 2024-08-21 | Web-based server starting progress display system and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411148885.XA CN118689746B (en) | 2024-08-21 | 2024-08-21 | Web-based server starting progress display system and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118689746A CN118689746A (en) | 2024-09-24 |
| CN118689746B true CN118689746B (en) | 2024-12-17 |
Family
ID=92776946
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411148885.XA Active CN118689746B (en) | 2024-08-21 | 2024-08-21 | Web-based server starting progress display system and method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118689746B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120371447B (en) * | 2025-06-24 | 2025-09-09 | 苏州元脑智能科技有限公司 | Method and device for starting and displaying server |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114047966A (en) * | 2021-10-22 | 2022-02-15 | 济南浪潮数据技术有限公司 | Web-based BMC configuration import and export method and system |
| CN114816958A (en) * | 2022-04-30 | 2022-07-29 | 苏州浪潮智能科技有限公司 | A server startup method, system, device and medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4736140B2 (en) * | 2009-04-03 | 2011-07-27 | 日本電気株式会社 | Authentication device, server system, authentication method, authentication program |
| CN113626306B (en) * | 2021-06-25 | 2025-01-28 | 济南浪潮数据技术有限公司 | A BMC automated testing method and device based on Jenkins |
| CN114328103A (en) * | 2021-12-24 | 2022-04-12 | 浪潮商用机器有限公司 | Method, system and related equipment for OpenBMC monitoring and management of discrete sensor |
-
2024
- 2024-08-21 CN CN202411148885.XA patent/CN118689746B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114047966A (en) * | 2021-10-22 | 2022-02-15 | 济南浪潮数据技术有限公司 | Web-based BMC configuration import and export method and system |
| CN114816958A (en) * | 2022-04-30 | 2022-07-29 | 苏州浪潮智能科技有限公司 | A server startup method, system, device and medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118689746A (en) | 2024-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN118689746B (en) | Web-based server starting progress display system and method | |
| US8863085B1 (en) | Monitoring web applications | |
| US8127268B2 (en) | Server testing framework | |
| US8990382B2 (en) | Problem determination in distributed enterprise applications | |
| US20040153823A1 (en) | System and method for active diagnosis and self healing of software systems | |
| US6550021B1 (en) | Internet-implemented method supporting component repair services | |
| US20040148385A1 (en) | Method and apparatus for software and hardware event monitoring and repair | |
| US20040010716A1 (en) | Apparatus and method for monitoring the health of systems management software components in an enterprise | |
| US7996730B2 (en) | Customizable system for the automatic gathering of software service information | |
| US20090164201A1 (en) | Method, System and Computer Program For The Centralized System Management On EndPoints Of A Distributed Data Processing System | |
| US20150149412A1 (en) | Techniques for computer system recovery | |
| WO2011044319A1 (en) | Self-service configuration for data environment | |
| US20030103310A1 (en) | Apparatus and method for network-based testing of cluster user interface | |
| CN112948190A (en) | Hardware testing method, system and related device of server | |
| US20030084276A1 (en) | Method and system for obtaining computer shutdown information | |
| Cisco | Diagnosing Problems with the CiscoWorks2000 Server | |
| Cisco | Diagnosing Problems with the CiscoWorks2000 Server | |
| Cisco | Installing CD One | |
| Cisco | Diagnosing Problems with the CiscoWorks2000 Server | |
| Cisco | Installing CD One | |
| Cisco | Validating CiscoWorks Installation | |
| Cisco | Installing CD One | |
| Cisco | Release Notes for Cisco Transport Manager Release 2.1 | |
| Cisco | Using CiscoWorks Process Manager | |
| Cisco | Using CiscoWorks Process Manager |
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 |