A server state monitoring control system and method based on management port networking
By combining an independent management network with software functional units, the problems of untimely information updates and time-consuming fault location in server rack management have been solved, achieving efficient and accurate server status monitoring and rapid fault location, thus improving operation and maintenance efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 国网陕西省电力有限公司
- Filing Date
- 2026-06-03
- Publication Date
- 2026-07-07
AI Technical Summary
In existing technologies, server rack management is inefficient, information updates are not timely, server height cannot be automatically identified leading to capacity statistics errors, alarm information lacks physical location guidance, and fault location is time-consuming.
A server status monitoring and control system based on management port networking is adopted. An independent management network is built through U-position management device, server out-of-band management port and management network switch to realize hardware status data acquisition and mapping table maintenance. Combined with software functional units, data processing and control command generation are performed to ensure the reliability and security of hardware status monitoring.
It improves the timeliness and accuracy of server status monitoring, reduces capacity statistics errors, enhances the reliability of fault location and operational efficiency, and ensures the accuracy of alarm information and the efficiency of operation and maintenance.
Smart Images

Figure CN122348907A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of server room management technology, specifically relating to a server status monitoring and control system and method based on management port networking. Background Technology
[0002] With the development of informatization and networking, computer networks are playing an increasingly important role in people's lives. Servers are the most crucial devices in computer networks, providing shared information resources and services to users. Due to the ever-increasing demand for highly reliable services, server management is a critical task that cannot be ignored.
[0003] The purpose of server racks is to standardize the size and shape of equipment and facilitate quick assembly, replacement, and maintenance. Their advantages include providing secure enclosure protection and ease of expansion. Initially used for industrial control equipment, they have recently seen widespread adoption in network communication devices due to the development of networks. Server racks consist of a frame and a cover, typically with a rectangular shape and are floor-mounted. They provide a suitable environment and secure protection for the normal operation of electronic equipment.
[0004] Currently, when servers are mounted, removed, or relocated from server racks, changes to the corresponding rack unit (U-position, a standardized vertical unit used for equipment installation in a rack, 1U = 44.45mm) information generally require manual intervention. This results in problems such as untimely information updates, low data center management efficiency, susceptibility to errors, and high labor intensity. It also significantly affects the timeliness and accuracy of updating large volumes of server-related data; the inability to automatically identify server height leads to capacity statistics errors; and alarm information lacks physical location guidance, making fault location time-consuming. Summary of the Invention
[0005] This invention provides a server status monitoring and control system and method based on management port networking. The purpose is to solve the problems in the current management of server racks, such as insufficient timeliness and accuracy of large-scale data updates related to servers; inability to automatically identify server height, leading to capacity statistics errors; and lack of physical location guidance for alarm information, resulting in relatively time-consuming fault location.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: This invention provides a server status monitoring and control system based on management port networking, comprising a hardware component layer and a software function layer for server rack operation and maintenance; wherein: The hardware component layer includes the U-position management device, server, and management network switch; The U-position management device is installed inside the server rack and has multiple physical ports and a main control module; the servers are installed in the U-positions of the server rack, and each server has an out-of-band management port for out-of-band management; the management network switch is used to build an independent management network. The software functional layer includes a first functional unit running on the main control module, a second functional unit running on the data center infrastructure management platform, and a third functional unit running on the operation and maintenance terminal; The physical ports of the U-position management device are connected to the out-of-band management ports of the servers and the management network switch respectively, thereby networking all the out-of-band management ports of the servers in the server rack to form an independent management network physically isolated from the business network; The first functional unit of the U-position management device is used to maintain a mapping table that associates the rack number, U-position number, its own physical port number and the MAC address of the server's out-of-band management port, and collects hardware status data from the server's out-of-band management port through an independent management network. The second functional unit communicates with the U-position management device to receive and process mapping tables and hardware status data, and generate out-of-band management and control commands. The third functional unit is used to receive information from the data center infrastructure management platform and send operation requests to it.
[0007] In some implementations, the U-position management device further includes a switching chip, a sensor module, and a light strip driver module, which are controlled by a main control module. The switching chip provides physical ports and implements VLAN (Virtual Local Area Network) isolation. The sensor module reads the DIP switch height information set on the server rail in the server rack. The light strip driver module is connected to the tri-color indicator light strip set in the U-position of the server rack.
[0008] Furthermore, the U-position management device reads the DIP switch height bar information through the sensor module. The DIP switch height bar status represents the U-position height occupied by the server in the server rack. The main control module converts the DIP switch status into a height value and reports it to the data center infrastructure management platform. When the data center infrastructure management platform detects an abnormal server hardware status, it sends a command to the U-position management device, and the light strip driver module drives the tri-color indicator light strip of the U-position where the abnormal server is located to issue an alarm signal.
[0009] In some implementations, the independent management network consists of three cascaded components: a U-position management device within the server rack, an aggregation switch at the top of the server rack, and a core switch within the server rack. The independent management network is isolated from the service network at the data link layer via VLANs and its communication with the service network is restricted at the network layer via a firewall.
[0010] In some implementations, the first functional unit maintains the mapping table by automatically learning and recording the MAC address of the out-of-band management port of the server connected to each physical port when the system starts up, and binding it with the preset rack number and U-position number; when a change in the connection status of a physical port is detected, the mapping table is automatically updated.
[0011] In some implementations, the first functional unit collects hardware status data by periodically querying the server's out-of-band management controller for power, temperature, fan speed, power status, and system event log information via SNMP (Simple Network Management Protocol).
[0012] In some implementations, the out-of-band management control commands provided by the second functional unit include power on, power off, restart, and virtual media mounting. These commands are sent to the out-of-band management controller of the target server via the Redfish API (Redfish is a management protocol used for data center device management; API stands for Application Programming Interface) standard interface. The second functional unit uses the server serial number and MAC address as the primary key to associate the out-of-band management data with the data collected within the business network.
[0013] In some implementations, the data center infrastructure management platform generates migration work orders and updates the migration work order status by scanning the QR code on the U-position of the server rack, and simultaneously updates the mapping table in the U-position management device.
[0014] In some implementations, when the first functional unit detects a network connection interruption with the data center infrastructure management platform, it enables an offline working mode, caches alarm data, and controls the three-color indicator light bar to indicate network abnormality. The cached data is synchronized after the network is restored.
[0015] This invention also provides a server status monitoring and control method based on management port networking, which is based on the above-mentioned server status monitoring and control system based on management port networking, and includes the following steps: S1. The U-position management device establishes and maintains a mapping table for associating rack number, U-position number, physical port number and server out-of-band management port MAC address; S2. The U-position management device periodically collects hardware status data from the out-of-band management port of each server through the out-of-band management network, and reports the hardware status data and mapping table to the data center infrastructure management platform. S3, the data center infrastructure management platform analyzes and monitors the received hardware status data and mapping table. When an abnormal server status is detected, it generates an alarm containing physical location information and pushes it to the operation and maintenance terminal. At the same time, it sends a physical location instruction to the U-position management device. S4. The operation and maintenance terminal initiates a control request to the data center infrastructure management platform. The data center infrastructure management platform sends the physical location indication instruction to the out-of-band management port of the target server through the out-of-band management network to perform out-of-band management operations.
[0016] Compared with the prior art, the server status monitoring and control system and method based on management port networking of the present invention has the following beneficial effects: This invention discloses a server status monitoring and control system based on management port networking. By employing a combination of hardware component layers and software function layers, it can cover different hardware selections and software architectures. In the hardware component layer, the core physical entities—the U-position management device, the server, and the management network switch—construct the physical system skeleton. The server's out-of-band management port clearly distinguishes the network into independent management and service networks, ensuring the reliability and security of out-of-band management from a physical perspective and improving the management of the impact of service network failures. The software function layer and hardware component layer of this invention form a precise mapping, dividing the software functions into three functional units running on the main control module, the DCIM (Data Center Infrastructure Management) platform, and the operation and maintenance terminal. The first functional unit maintains the mapping table and collects data; the second functional unit processes data and generates instructions; and the third functional unit receives information and sends requests. This precisely defines the data flow and control flow paths from collection to processing to interaction. The system exhibits good timeliness and accuracy in data updates. Through precise system monitoring and control, the reliability of fault location is improved, alarm information is accurate, and operation and maintenance efficiency is enhanced. Attached Figure Description
[0017] The accompanying drawings are provided to further understand the invention and constitute a part of this invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0018] Figure 1 This is a schematic diagram of the overall architecture of a server status monitoring and control system based on management port networking according to the present invention. Figure 2This is a flowchart illustrating a server status monitoring and control method based on management port networking according to the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0021] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0022] It should be noted that the apparatus and methods disclosed in the embodiments herein can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments herein. In this regard, each block in a flowchart or block diagram may represent a module, program, or part of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system to perform the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions.
[0023] In addition, the functional modules in the various embodiments of this article can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0024] like Figure 1 and Figure 2 As shown, this invention provides a server status monitoring and control system based on a management port network. This includes a hardware component layer and a software function layer for server rack maintenance; among which: The hardware component layer includes the U-position management device, server, and management network switch; The U-position management device is installed inside the server rack and has multiple physical ports and a main control module; the servers are installed in the U-positions of the server rack, and each server has an out-of-band management port for out-of-band management; the management network switch is used to build an independent management network. The software functional layer includes a first functional unit running on the main control module, a second functional unit running on the data center infrastructure management platform, and a third functional unit running on the operation and maintenance terminal; The physical ports of the U-position management device are connected to the out-of-band management ports of the servers and the management network switch respectively, thereby networking all the out-of-band management ports of the servers in the server rack to form an independent management network physically isolated from the business network; The first functional unit of the U-position management device is used to maintain a mapping table. The mapping table associates the rack number, U-position number, its own physical port number, and the server's out-of-band management port MAC address (Media Access Control Address, also known as hardware address. Each device in the network has a unique network identifier, which is called the MAC address or network card address and is written into the hardware by the network equipment manufacturer during production). It also collects hardware status data from the server's out-of-band management port through an independent management network. The second functional unit communicates with the U-position management device to receive and process mapping tables and hardware status data, and generate out-of-band management and control commands. The third functional unit is used to receive information from the data center infrastructure management platform and send operation requests to it.
[0025] Specifically, the out-of-band management port networking of the present invention deploys a U-position management device in the rack, cascading the BMC / iDRAC / iLO management ports of multiple servers through internal switching chips to form a management network independent of the service network; the management network is completely isolated from the service network at the physical layer and is used only for out-of-band management traffic, ensuring that any service network failure will not affect the monitoring and remote operation of the server hardware status.
[0026] Among them, BMC, Baseboard Management Controller, is a dedicated controller for monitoring and managing servers; iDRAC, Integrated Dell Remote Access Controller, is designed for secure local and remote server management, helping IT administrators deploy, update, and monitor Dell servers anytime, anywhere; iLO, Integrated Lights Out, is a remote management chipset for servers designed to provide hardware-level remote control capabilities.
[0027] The U-position management device assigns a fixed VLAN ID (VLAN Identifier, a numerical value used to uniquely identify a specific VLAN) and port number to each server's out-of-band management port, and establishes a four-tuple mapping table of rack number, its own U-position number, and the MAC address of the server's out-of-band management port. The four-tuple mapping table is stored in the device's storage and is loaded when the device starts up, ensuring that the physical location of the server's out-of-band management port corresponds one-to-one with the physical location of the server rack, avoiding errors caused by manual recording.
[0028] This invention prioritizes reading out-of-band information such as power, temperature, fan speed, power status, and SEL (System Event Log) from the server's out-of-band management port via SNMP (Simple Network Management Protocol) / WBEM (Web-Based Enterprise Management, a set of standards and technologies for unified management of distributed computing environments) / Redfish. The business network serves as a supplementary channel for collecting hostname, IP address (Internet Protocol), and OS (Operating System) version network attributes. When the out-of-band channel is unreachable, the system automatically switches to the business network for supplementary data collection, ensuring continuous monitoring. When the server is mounted, a DIP switch height bar is installed on the server rail side of the server rack. The U-position management device reads the height bar information via photoelectric or Hall effect sensors, automatically calculates the actual occupied height of the server, and reports it in 1U units. The height bar information is written to a four-tuple mapping table in real time for direct access by the DCIM platform during asset inventory.
[0029] When a hardware anomaly is detected, the U-position management device immediately drives the corresponding U-position's three-color indicator light bar to alert the user in a red-flashing-beeping manner, and pushes a readable alarm to the DCIM / alarm platform containing the rack number, U-position number, fault type, and suggested operation. The alarm content follows the JSON (JavaScript Object Notation) format, with fixed fields, making it easy for third-party systems to parse.
[0030] The present invention enables maintenance personnel to remotely perform power-on, power-off, restart, and virtual media mounting operations through the out-of-band management port of the server, achieving fault recovery without entering the server room; all remote operations are transmitted through the VLAN (Virtual Local Area Network) isolated management network, and operation logs are recorded locally on the U-position management device, including the operator, time, operation type, and result.
[0031] In the system of this invention, when the server is installed, a DIP switch height bar is installed on the server rail side of the server rack. The U-position management device reads the DIP switch value through photoelectric or Hall sensor, automatically calculates the actual occupied height of the server and reports it in 1U units. Combined with the SNMP protocol, the system reads the port status of the U-position device, calculates the server height through the DIP switch design, and uses a three-color indicator light bar to guide the device location. At the data acquisition level, the server's out-of-band management port prioritizes the acquisition of hardware information such as power, system health status, and power supply status. The business network supplements the acquisition with network attributes such as hostname and IP address. Data association is achieved through serial number / MAC address. When hardware malfunctions, the system immediately alarms and guides maintenance personnel to quickly locate the faulty device.
[0032] In some embodiments, the U-position management device of the present invention includes: The switching chip supports 10 / 100 / 1000M auto-sensing and port-based VLAN isolation; MCU (Microcontroller Unit) / ARM (Advanced RISC Machines, a microprocessor architecture based on a reduced instruction set) main controller is used for DIP switch reading, SNMP agent, light bar control, and MQTT (Message Queuing Telemetry Transport, a lightweight publish / subscribe messaging protocol suitable for IoT and low-bandwidth environments) uploading. The tri-color indicator light bar allows for independent control of each server rack's U-position, supporting 256 levels of brightness and flashing frequency.
[0033] Furthermore, the U-position management device of the present invention is installed inside the cabinet, providing server out-of-band management port switching, DIP switch reading, light strip control, and southbound SNMP / WBEM / Redfish agent functions; the management network is independent of the service network, adopts VLAN isolation and cascades all server out-of-band management ports; the DCIM platform is used to aggregate, analyze, and display server out-of-band and in-band data, and provides alarm management; the operation and maintenance terminal is used to receive alarms, locate faulty U-positions, and remotely execute out-of-band control.
[0034] This invention also provides a server status monitoring and control method based on management port networking, which is based on the above-mentioned server status monitoring and control system based on management port networking, and includes the following steps: S1. The U-position management device establishes and maintains a mapping table for associating rack number, U-position number, physical port number and server out-of-band management port MAC address; S2. The U-position management device periodically collects hardware status data from the out-of-band management port of each server through the out-of-band management network, and reports the hardware status data and mapping table to the data center infrastructure management platform. S3, the data center infrastructure management platform analyzes and monitors the received hardware status data and mapping table. When an abnormal server status is detected, it generates an alarm containing physical location information and pushes it to the operation and maintenance terminal. At the same time, it sends a physical location instruction to the U-position management device. S4. The operation and maintenance terminal initiates a control request to the data center infrastructure management platform. The data center infrastructure management platform sends the physical location indication instruction to the out-of-band management port of the target server through the out-of-band management network to perform out-of-band management operations.
[0035] The following detailed description of a server status monitoring and control system and method based on management port networking according to the present invention will be provided through specific embodiments.
[0036] Example In this invention, the management port networking is fixed at the top or back of the server rack. The U-position management device integrates a switching chip. All ports of the switching chip have VLAN functionality disabled by default. After the MCU / ARM master controller issues configuration, VLANs are enabled one by one for each port and the VLAN ID is written. The physical connection between the switching chip and the server's out-of-band management port uses Cat5e or Cat6 twisted-pair cable, with wiring conforming to the T568B standard. The length of a single cable does not exceed 5m to ensure signal integrity.
[0037] The uplink ports of the switching chip connect to the aggregation switch at the top of the server rack, while the downlink ports connect one-to-one to the out-of-band management ports of the servers. The aggregation switch then establishes a gigabit fiber optic link with the data center-level management core switch. The entire management network and service network are completely isolated at Layer 2, and Layer 3 uses firewall policies to block mutual access, only opening necessary service ports such as NTP (Network Time Protocol), SNMP Trap (Simple Network Management Protocol Trap), and Syslog (System Logging Protocol). To improve reliability, the aggregation switch adopts a dual-power, dual-fan redundant design and enables Link Aggregation Control Protocol (LACP) to form a 2×1Gbps logical link with the core switch. Even if one physical link fails, the management network can still remain operational.
[0038] The MCU / ARM main controller of the U-position management device of this invention has a built-in SQLite (Structured Query Languageite, a lightweight, self-contained, serverless, zero-configuration, transactional SQL database engine) lightweight database for persistently storing the four-tuple mapping table. In specific operating conditions, the four-tuple mapping table structure is as follows: The MCU / ARM main controller of the U-position management device of this invention has a built-in lightweight SQLite database for persistent storage of a four-tuple mapping table. In specific application scenarios, the four-tuple mapping table in the database contains the following field structure: rack number, defined as a fixed-length string type, this field cannot be empty; U-position number, defined as a tiny integer type, this field cannot be empty; physical port number, defined as a tiny integer type, this field cannot be empty; MAC address, defined as a fixed-length string type, this field cannot be empty and is defined as the primary key of the four-tuple mapping table.
[0039] In the system of this invention, after the U-position management device is powered on, the main control module first scans all ports of the switching chip and obtains the MAC address of the server's out-of-band management port through LLDP (Link Layer Discovery Protocol) or a custom broadcast packet. Then, it writes the four-tuple of rack number, U-position number, its own physical port number, and the server's out-of-band management port MAC address into the local database and reports it to the DCIM platform in JSON format via MQTT. When a server migration causes a change in the MAC address, the main control module detects the port link disconnection / recovery event within 30 seconds, automatically updates the database, and synchronizes it to DCIM, achieving U-position information maintenance with zero manual intervention. To prevent false alarms, the device enables a 5-second de-jitter delay when the port status fluctuates; an update operation is only triggered if the LINKUP persists for more than 5 seconds.
[0040] This invention combines the SNMP protocol to read the port status of a U-bit device, as detailed below: The U-position management device has a built-in SNMP agent process, implemented using the Net-SNMP (Networking Simple Network Management Protocol) open-source library. It supports SNMPv2c (Simple Network Management Protocol version 2 community) and v3 (version 3). Upon startup, the agent process loads a private MIB (Management Information Base) file, with the private OID (Object Identifier) root node being 1.3.6.1.4.1.51315.1. The agent polls the server BMC via the IPMI-over-LAN (Intelligent Platform Management Interface over Local Area Network) protocol, collecting power, temperature, fan speed, power status, and SEL (System Event Log) data every 30 seconds.
[0041] For power values, the ID0x0C (Identifier of Processor Power Sensor) of the IPMI (Intelligent Platform Management Interface) sensor is read, and the unit is returned in watts; for temperature, the 0x01~0x07 sensors are read, and the unit is returned in degrees Celsius; fan speed is read through the 0x30 series sensors, and the unit is returned in RPM (Revolutions Per Minute); power status is read from the 0x08 sensor, where 0x00 indicates normal and 0x01 indicates fault.
[0042] SEL logs are retrieved one by one using the `Get SEL Entry` command, with a maximum of 16 entries at a time. Logs are automatically overwritten when full. The business network supplementary channel is accessed by the DCIM platform via SSH (Secure Shell) / SNMP, collecting hostnames, IP addresses, and OS versions every 15 minutes. The DCIM platform uses the server serial number and MAC address as a composite primary key to associate out-of-band and in-band data, forming a unified asset view.
[0043] In this invention, the DIP switch design calculates the server height as follows: Before the server is racked, a DIP switch height bar is installed on the left or right side of the server rail. The height bar uses an 8-bit DIP switch, with each bit corresponding to 1U. When the DIP switch is turned ON, the corresponding U is occupied. The photoelectric or Hall effect sensor array of the U-position management device corresponds one-to-one with the DIP switch. The sensor outputs a TTL (Transistor-Transistor Logic) level signal to the MCU's GPIO (General Purpose Input / Output). The MCU scans the GPIO every 1 second, converting the 8-bit binary number into a decimal height value, and then reports it to DCIM via MQTT. For example, if DIP switches 1, 2, and 3 are ON, and the rest are OFF, the binary value is 00000111, and the decimal value is 7, indicating that the server occupies 7U. If a change in the DIP switch is detected, the MCU immediately pushes an incremental message, and the DCIM platform updates the rack capacity view in real time. To prevent accidental touches to the DIP switches, a transparent protective cover is added to the height bar. The cover is secured with two tamper-proof screws, the screw heads of which are painted with red warning paint.
[0044] In this invention, a three-color indicator light bar provides device location guidance, as detailed below: The tri-color indicator light strip consists of 42 groups of full-color LEDs (Light Emitting Diodes), each group corresponding to 1U. The tri-color indicator light strip is connected to the MCU via a single bus. The MCU internally runs Free RTOS (Free Real-Time Operating System) and creates the following three tasks: 1) Alarm monitoring task, highest priority, checks the DCIM platform alarm interface every 1 second; 2) Lighting effect rendering task, medium priority, refresh LED colors based on Task1 results; 3) Buzz-driven task, lowest priority, outputs 2kHz square wave only in red flashing mode.
[0045] When a hardware anomaly is detected, Task 1 encapsulates the rack number, unit number, and fault type into JSON and writes it to the message queue. Task 2 parses the queue and drives the corresponding unit's LED in a "red-flash-beep" mode, with a flashing frequency of 2Hz and a duty cycle of 50%. Task 3 simultaneously drives the buzzer, with a volume of 75dB@1m, which automatically mutes after 60 seconds. If the fault is remotely resolved within 60 seconds, the MCU immediately stops beeping and restores the LED to a solid green to indicate to maintenance personnel that the fault has been resolved.
[0046] The out-of-band management system of this invention is as follows: The out-of-band management system employs a web technology stack. The front-end is based on Vue3 (a progressive JavaScript framework for building user interfaces) and Element Plus (a desktop component library based on Vue 3). The back-end is based on Spring Boot (an open-source Java framework based on the Spring framework that simplifies the initial setup and development of new Spring applications) + MyBatis Plus (an enhanced toolkit that extends the MyBatis framework). The database uses MySQL 8.0 (an open-source relational database management system version 8.0). The system provides a unified login portal and supports single sign-on for Active Directory (AD) / LDAP (Lightweight Directory Access Protocol). After maintenance personnel click the "Remote Control" button on the alarm details page, the system uses WebSocket (a network protocol for full-duplex communication over a single TCP connection) to call the back-end Redfish API for virtual media mounting. All operations are logged, with log fields including the user, time, target server, operation type, and execution result. Logs are automatically archived to cold storage after 180 days. The system interface displays the Task status returned by Redfish in real time. If no completion notification is received within 30 seconds, it will automatically retry once. If the retry still fails, it will prompt the operation and maintenance personnel to intervene manually.
[0047] In the system of this invention, data association and conflict resolution are specifically as follows: The DCIM platform uses a dual primary key system of serial numbers and MAC addresses to associate data. When a serial number conflict occurs, the platform first compares the MAC address; if the MAC address also conflicts, a manual review process is triggered: the platform prompts maintenance personnel via a pop-up window, who then confirm the server asset tag by scanning a QR code on-site and manually correct the database. To prevent accidental deletion of historical data, all deletion operations are soft deletions, and the deletion time and the user performing the operation are recorded.
[0048] The server migration process in the system of this invention is as follows: When a server needs to be migrated from rack A to rack B, the operations and maintenance personnel initiate a migration work order on the DCIM platform. The work order status includes "Pending Removal," "In Transit," "Pending Installation," and "Migration Complete." Status transitions are achieved through barcode scanning: the operations and maintenance personnel scan the QR code at the U-position of rack A with their terminal; the system automatically sets the status to "Pending Removal" and turns off the three-color indicator light. After the server is removed from the rack, the "In Transit" QR code is scanned, and the status is updated. Upon arrival at rack B, the target U-position QR code is scanned; the system verifies whether the height matches. If they match, a new VLAN ID is automatically issued, the four-tuple mapping table is updated, and the status is set to "Migration Complete." If the height does not match, the system indicates this by flashing yellow on the three-color indicator light and pushes the work order to the duty manager for approval.
[0049] The anomaly recovery and self-healing mechanism in the system of this invention is as follows: If the MCU detects a disconnection from the DCIM platform for more than 5 minutes, it automatically switches to offline mode: alarm records from the last 4 hours are cached locally; the three-color indicator light bar flashes yellow slowly to indicate network abnormality; and the buzzer is muted to avoid false alarms. Once the network is restored, the MCU uploads all alarms from the offline period in batches, and the DCIM platform deduplicates them based on timestamps. If the MCU detects a serious hardware failure (such as power failure or temperature >85℃) during offline operation, it immediately activates a fast red flashing light and a buzzer, regardless of network status, ensuring that on-site personnel can detect the problem immediately.
[0050] In the system of this invention, system monitoring and maintenance are specifically as follows: The DCIM platform monitors the U-position management device itself, with monitoring metrics including: CPU utilization (threshold 80%), memory utilization (threshold 85%), and network latency (threshold 50ms). If any metric exceeds the threshold, the platform automatically generates a device health alarm and pushes a message to the maintenance terminal. Firmware upgrades employ a dual-partition design, with the MCU having a built-in Boot Loader and an Application partition. During upgrades, the new firmware is first written to the backup partition. After a successful CRC check, the boot partition is switched. Automatic rollback occurs if the upgrade fails, ensuring 24 / 7 uninterrupted operation.
[0051] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Anyone skilled in the art can readily implement the present invention according to the description and above. Any modifications, alterations, or equivalent variations made using the technical content disclosed above are equivalent embodiments of the present invention. Furthermore, any modifications, alterations, or variations made to the above embodiments based on the essential technology of the present invention are still within the protection scope of the present invention.
Claims
1. A server status monitoring and control system based on a management port network, characterized in that, This includes a hardware component layer and a software function layer for server rack maintenance; among which: The hardware component layer includes the U-position management device, server, and management network switch; The U-position management device is installed inside the server rack and has multiple physical ports and a main control module; the servers are installed in the U-positions of the server rack, and each server has an out-of-band management port for out-of-band management; the management network switch is used to build an independent management network. The software functional layer includes a first functional unit running on the main control module, a second functional unit running on the data center infrastructure management platform, and a third functional unit running on the operation and maintenance terminal; The physical ports of the U-position management device are connected to the out-of-band management ports of the servers and the management network switch respectively, thereby networking all the out-of-band management ports of the servers in the server rack to form an independent management network physically isolated from the business network; The first functional unit of the U-position management device is used to maintain a mapping table that associates the rack number, U-position number, its own physical port number and the MAC address of the server's out-of-band management port, and collects hardware status data from the server's out-of-band management port through an independent management network. The second functional unit communicates with the U-position management device to receive and process mapping tables and hardware status data, and generate out-of-band management and control commands. The third functional unit is used to receive information from the data center infrastructure management platform and send operation requests to it.
2. The server status monitoring and control system based on management port networking according to claim 1, characterized in that, The U-position management device also includes a switching chip, a sensor module, and an LED strip driver module, which are controlled by the main control module. The switching chip provides physical ports and enables VLAN isolation. The sensor module reads the height information of the DIP switch bar on the server rail in the server rack. The LED strip driver module connects to the tri-color indicator light bar in the U-position of the server rack.
3. The server status monitoring and control system based on management port networking according to claim 2, characterized in that, The U-position management device reads the DIP switch height bar information through the sensor module. The DIP switch height bar status represents the U-position height occupied by the server in the server rack. The main control module converts the DIP switch status into a height value and reports it to the data center infrastructure management platform. When the data center infrastructure management platform detects an abnormal server hardware status, it sends a command to the U-position management device, and the light strip driver module drives the tri-color indicator light strip of the U-position where the abnormal server is located to issue an alarm signal.
4. The server status monitoring and control system based on management port networking according to claim 1, characterized in that, The independent management network consists of three cascaded components: the U-position management device inside the server rack, the aggregation switch at the top of the server rack, and the core switch of the server rack. The independent management network is isolated from the business network at the data link layer through VLANs and its communication with the business network is restricted at the network layer through a firewall.
5. The server status monitoring and control system based on management port networking according to claim 1, characterized in that, The first functional unit maintains the mapping table by automatically learning and recording the MAC address of the out-of-band management port of the server connected to each physical port when the system starts up, and binding it with the preset rack number and U-position number; when a change in the connection status of a physical port is detected, the mapping table is automatically updated.
6. The server status monitoring and control system based on management port networking according to claim 1, characterized in that, The first functional unit collects hardware status data by periodically querying the server's out-of-band management controller for power, temperature, fan speed, power status, and system event log information via the SNMP protocol.
7. The server status monitoring and control system based on management port networking according to claim 1, characterized in that, The out-of-band management control commands provided by the second functional unit include power on, power off, restart, and virtual media mounting. These commands are sent to the out-of-band management controller of the target server for execution by calling the Redfish API standard interface. The second functional unit uses the server serial number and MAC address as the primary key to associate out-of-band management data with data collected within the business network.
8. The server status monitoring and control system based on management port networking according to claim 1, characterized in that, The data center infrastructure management platform generates migration work orders and updates the migration work order status by scanning the QR code on the U-position of the server rack, and simultaneously updates the mapping table in the U-position management device.
9. The server status monitoring and control system based on management port networking according to claim 1, characterized in that, When the first functional unit detects a network connection interruption with the data center infrastructure management platform, it activates an offline working mode, caches alarm data, and controls the three-color indicator light bar to indicate network abnormality. Once the network is restored, the cached data is synchronized.
10. A server status monitoring and control method based on management port networking, characterized in that, The server status monitoring and control system based on management port networking as described in any one of claims 1-9 includes the following steps: S1. The U-position management device establishes and maintains a mapping table for associating rack number, U-position number, physical port number and server out-of-band management port MAC address; S2. The U-position management device periodically collects hardware status data from the out-of-band management port of each server through the out-of-band management network, and reports the hardware status data and mapping table to the data center infrastructure management platform. S3, the data center infrastructure management platform analyzes and monitors the received hardware status data and mapping table. When an abnormal server status is detected, it generates an alarm containing physical location information and pushes it to the operation and maintenance terminal. At the same time, it sends a physical location instruction to the U-position management device. S4. The operation and maintenance terminal initiates a control request to the data center infrastructure management platform. The data center infrastructure management platform sends the physical location indication instruction to the out-of-band management port of the target server through the out-of-band management network to perform out-of-band management operations.