CN117931067A - Remote control and disk array management system and method for server - Google Patents
Remote control and disk array management system and method for server Download PDFInfo
- Publication number
- CN117931067A CN117931067A CN202311817001.0A CN202311817001A CN117931067A CN 117931067 A CN117931067 A CN 117931067A CN 202311817001 A CN202311817001 A CN 202311817001A CN 117931067 A CN117931067 A CN 117931067A
- Authority
- CN
- China
- Prior art keywords
- module
- server
- management
- disk array
- information
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0653—Monitoring storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
-
- 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]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a server remote control and disk array management system and method, the system includes: a message interface module for providing a message transfer interface in the system, and transferring messages between the modules in the system; the Web module is used for providing a control page, wherein the control page is used for displaying server state information and disk array management information, and the control page is also used for receiving a user operation generation server control instruction and a disk array management instruction; the BMC management module is used for communicating with the BMC of the server to acquire server state information, sending the server state information to the Web module and sending a received server control instruction to the server; and the RAID management module is used for receiving the disk array management instruction sent by the Web module and carrying out RAID configuration based on the disk array management instruction. The invention can realize the integrated management of the remote control of the server BMC and the disk array and improve the management efficiency.
Description
Technical Field
The invention relates to the technical field of Internet information, in particular to a server remote control and disk array management system and method.
Background
BMC (baseboard management controller) is a key component of server hardware monitoring and management, allowing administrators to remotely manage and diagnose over a network without touching physical hardware. On the other hand, RAID (redundant array of independent disks) technology provides data redundancy, performance improvement, and fault tolerance, and reasonable RAID configuration and management are important to ensure data security and efficient storage access.
However, the existing server management tools often need to independently manage the BMC and the RAID, resulting in low management efficiency.
Disclosure of Invention
The invention provides a server remote control and disk array management system and method, which are used for solving the defect that independent management is required to be carried out on BMC and RAID in the prior art, realizing the integration of remote control of a server and disk array management of the server, and improving management efficiency.
The invention provides a server remote control and disk array management system, which comprises:
a message interface module for providing a message passing interface in the system in which messages between the modules are passed;
the Web module is used for providing a control page, wherein the control page is used for displaying server state information and disk array management information, and the control page is also used for receiving a user operation generation server control instruction and a disk array management instruction;
The BMC management module is used for communicating with the BMC of the server to acquire the server state information, sending the server state information to the Web module through the message interface module, and sending the server control instruction received from the Web module through the message interface module to the server;
And the RAID management module is used for receiving the disk array management instruction sent by the Web module through the message interface module and carrying out RAID configuration based on the disk array management instruction.
The invention provides a server remote control and disk array management system, which further comprises:
the sensor module comprises a plurality of sensors, wherein the sensors are used for collecting hardware information of the disk array and transmitting the hardware information of the disk array to the BMC of the server, so that the BMC of the server sends the hardware information of the disk array to the BMC management module.
According to the server remote control and disk array management system provided by the invention, the Web module comprises a login module, a system information module, a log management module and a RAID control module;
the login module is used for determining the legality of user login and the management authority of the user;
The system information module adopts a MySQL database to store basic information and event information of the server, maintains a device information table and a discovery device table, wherein the device information table is used for recording the basic information of the server, and the discovery device table is used for recording newly added server equipment;
the log management module is used for receiving and storing the event log of the system.
According to the server remote control and disk array management system provided by the invention, the basic information of the server and the event information are acquired by the agent of the equipment of the server polled by the BMC of the server.
The invention provides a server remote control and disk array management system, wherein a RAID control module comprises an array management sub-module, a volume management sub-module, a user management sub-module and a system management sub-module;
The array management submodule is used for receiving newly added disk information, generating an adjusting instruction for adjusting the level of the disk array based on the operation information of the disk array, and generating a disk fault processing instruction for isolating a fault disk and starting a fault recovery program for the fault disk when the disk is in fault;
The volume management submodule is used for generating configuration and optimization instructions of a disk logical storage layer;
The user management submodule is used for determining RAID control authority;
the system management submodule is used for generating a disk array management report based on the operation information of the disk array.
According to the server remote control and disk array management system provided by the invention, the RAID management module is specifically used for converting the disk array management instruction into an I/O request executable by a disk array and distributing the I/O request to a corresponding disk.
According to the server remote control and disk array management system provided by the invention, the message interface module is used for receiving the IPMI command to be transmitted sent by other modules, packaging the byte code and metadata of the IPMI command to be transmitted into a message with a preset format, and sending the message with the preset format to the receiving module corresponding to the IPMI command to be transmitted, wherein the metadata reflects the source, the destination and the priority of the IPMI command to be transmitted.
The invention also provides a server remote control and disk array management method, which comprises the following steps:
Providing a message passing interface in a system through a message interface module, and passing messages among the modules in the system;
Providing a control page through a Web module, wherein the control page is used for displaying server state information and disk array management information, and the control page is also used for receiving a user operation generation server control instruction and a disk array management instruction;
The BMC management module is communicated with the BMC of the server to acquire the server state information, the server state information is sent to the Web module through the message interface module, and the server control instruction received from the Web module through the message interface module is sent to the server;
and receiving the disk array management instruction sent by the Web module through a RAID management module, and performing RAID configuration based on the disk array management instruction.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes any one of the server remote control and disk array management methods when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a server remote control and disk array management method as described in any of the above.
The invention provides a server remote control and disk array management system and a method thereof, wherein a Web module, a BMC management module and a RAID management module are arranged in the system, a message interface module is arranged to provide a message transfer interface in the system, messages among all modules are transferred in the system, the Web module provides a control page which is used for displaying server state information and disk array management information, the control page is also used for receiving user operation to generate server control instructions and disk array management instructions, the BMC management module is communicated with the BMC of the server to obtain the server state information, the server state information is sent to the Web module, and the server control instructions received from the Web module are sent to the server, and the RAID management module receives the disk array management instructions sent by the Web module and is based on RAID configuration.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a server remote control and disk array management system provided by the present invention;
FIG. 2 is a schematic diagram of a server remote control and disk array management system according to the present invention;
FIG. 3 is a schematic diagram of a BMC management module in a server remote control and disk array management system according to the present invention;
FIG. 4 is a schematic diagram of a sensor module architecture in a server remote control and disk array management system according to the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The server remote control and disk array management system of the present invention is described below in conjunction with fig. 1-4, as shown in fig. 1, and includes:
A message interface module 110 for providing a message passing interface in a system in which messages between the respective modules are passed;
the Web module 120 is used for providing a control page, wherein the control page is used for displaying server state information and disk array management information, and the control page is also used for receiving a user operation generation server control instruction and a disk array management instruction;
the BMC management module 130 is used for communicating with the BMC of the server to acquire server state information, sending the server state information to the Web module through the message interface module, and sending a server control instruction received from the Web module through the message interface module to the server;
and the RAID management module 140 is used for receiving the disk array management instruction sent by the Web module through the message interface module and performing RAID configuration based on the disk array management instruction.
The Web module is responsible for a user interface of the system, provides a friendly operation platform for a user, and can remotely access and control the server through a control page (which can be a browser page or an application page and the like) provided by the Web module, and can view the state of the server, configure RAID, control the server and the like through the Web module. The BMC management module is a core module for remote management of the server and is responsible for communication with the BMC of the server, can acquire state information of the server, such as disk space, temperature, fan speed, power state and the like, and can also receive a server control instruction sent by the Web module to remotely control the server, such as controlling the starting, shutdown, restarting and the like of the server. The RAID management module is responsible for the configuration and management of the disk array of the server and supports the configuration of various RAID levels, such as RAID 0, RAID 1, RAID 5 and the like. The user can perform RAID configuration through the interface of the Web module, a disk array management instruction is generated and sent to the RAID management module, and the RAID management module is responsible for executing corresponding configuration operation. Message interface modules are bridges for communication between the various modules. A unified message transmission interface is provided, so that each module can send and receive messages mutually, for example, when the BMC management module detects the abnormal state of the server, the Web module can be notified through the message interface module, and then corresponding warning information is displayed on the user interface.
In general, the Web module provides an operating platform for users, supporting users to access and control servers remotely through Web browsers, viewing server states in real time, configuring RAIDs, and controlling server power. The BMC management module is the core of the system, and is in communication with the BMC of the server, and can acquire the hardware state of the server and support the remote control server. In order to ensure smooth communication between modules of the system, the message interface modules appear as a unified message delivery interface, ensuring efficient information exchange between modules. The RAID management module is responsible for the disk array configuration of the server, supports the configuration of various RAID levels, and allows a user to configure through a Web interface. The modules in the system provided by the invention work together to provide an integrated, efficient and easy-to-use server management solution for users.
As shown in fig. 2, in one possible implementation, the system provided by the present invention further includes a sensor module, which is responsible for collecting various sensor information of the server. The information about the disk and the storage device, such as temperature, voltage, fan speed, etc., can be acquired and fed back to the BMC through the sensor, and the module can inform the BMC management module and display the corresponding information on the user interface.
The following describes each module in the system provided by the present invention in detail.
The Web module is used for communicating with the BMC management module and the RAID management module, issuing corresponding instructions to the BMC management module and the RAID management module, and carrying out information interaction. The Web module comprises four functional modules including a login module, a system information module, a log management module and a RAID control module.
The login module is used for determining the legitimacy of user login and the management authority of the user, and particularly provides an interface for judging the authority of a server manager, and can manage the server in a limited way according to the management authority of the user. The rights of the general administrator are assigned by the super administrator. The user can input account names and passwords distributed by the super administrator in the login area based on an interface provided by the login module, the login module can search user information from the user data table and compare the user information, the legality of user login and corresponding management authority are judged, if the administrator is illegal, errors are prompted, and if a legal system can fill the user information into session, operation is provided for a subsequent program.
The system information module stores basic information and event information of the server by using a Mysql database. The system information module maintains a device information table and a discovery device table, performs data operation on the device information table and the discovery device table, and the device information table mainly records basic information such as an IP address, an administrator user name, a password and the like of a server. The discovery device table is used to record newly joined server devices. The system information module collects system information by polling agents in the managed devices for the management workstation, stores the system information and expresses the system information on a Web interface in the form of text information. Specifically, the BMC of the server polls the agent of the server device, while agents in the managed server device may report error conditions to the BMC of the server at any point in time, without waiting for the BMC to obtain such error information before reporting it. The interface commonly collected by all servers is I2C.
The log management module is mainly used for receiving and storing event logs of the system, the log management module judges event types based on a user alarm table, the type table of the log is used for storing the types of known events, the user alarm table is provided with alarm strategies, different alarm strategies are set for users with different levels, under the default condition, the default strategies are used, if necessary, the user alarm table is further set, and the log management module inquires the user alarm table to determine whether an alarm tag is added for the event logs. The log management module is responsible for recording all logs after the system is electrified, wherein the logs comprise normal logs and fault logs, the normal logs can be used for a server manager to check the normal running information of the server, and the fault logs provide a processing target for the server manager to maintain the server and are an indispensable part of the server management system. Through the log management module, the system can record various logs in the running process of the server, wherein the logs comprise information such as whether the PSU is normal, on-off, CPU temperature and the like.
The RAID control module is used as an external key interface of the whole RAID system and is responsible for comprehensively managing and monitoring all aspects of the disk array, and is a core component for the efficient, safe and stable operation of the RAID system. The module comprises four main sub-modules: an array management sub-module, a volume management sub-module, a user management sub-module, and a system management sub-module.
The array management sub-module is used for receiving newly added disk information, generating an adjusting instruction for adjusting the level of the disk array based on the truly accumulated operation information of the disk, and generating a disk fault processing instruction for isolating a fault disk and starting the fault recovery degree of the fault disk when the disk is in fault.
The array management sub-module is not only a command center for disk and RAID configuration in the current system, but also is responsible for initializing, optimizing and maintaining the disk array. It can identify newly added hard disk, make disk health check, and automatically and dynamically adjust RAID level to meet changing storage requirements. In addition, when the hard disk breaks down, the array management sub-module can automatically isolate the damaged hard disk and start a fault recovery program when the failure of the magnetic disk is received to disappear, so that the integrity and the usability of data are ensured, and manual intervention is not needed.
The volume management submodule is used for generating configuration and optimization instructions of the disk logic storage layer. In particular, the volume management sub-module is primarily responsible for configuration and optimization of the logical storage hierarchy, including creation, modification, and deletion of logical volumes. With refined data distribution and load balancing, the volume management sub-module ensures high performance and high availability. In addition, the volume management sub-module also supports data migration and storage capacity expansion, so that the system can flexibly adjust storage resources along with the change of service requirements.
The user management sub-module is used for determining RAID control authority. Specifically, the core task of the user management sub-module is to perform rights control and security management. The user management sub-module allows the system administrator to define multiple levels of access rights, thereby ensuring that only authorized users can access sensitive or critical data. The user management sub-module further enhances data security through integration with enterprise level authentication services such as LDAP or Active Directory. In addition, the user management sub-module also provides an audit trail function for recording all user activities and data accesses to meet compliance requirements.
The system management submodule is used for generating a disk array management report based on the operation information of the disk array. Specifically, the system management submodule is mainly responsible for monitoring and maintaining the overall system health, including hardware state monitoring, performance index analysis and detailed log recording. The system management sub-module can detect the system performance and the resource utilization rate in real time, and timely discover and solve potential problems. By generating rich reports and alert notifications, the system management submodule helps administrators respond quickly to various faults and security threats.
The BMC management module contains four firmware programs. As shown in fig. 3, the four firmware programs are respectively: the system comprises an embedded Linux system kernel, web Server GoAhead, a network card driver NCSI and an IPMI support module. Linux provides a stable operating system for the BMC of the server, and interacts with the BMC management module through a serial port. GoAhead is used as an embedded Web Server, and a browser mode is used for monitoring a Server for a Server manager. The NCSI as a network card driver ensures that a server administrator can access the server remotely in a network reachable environment. The IPMI support module is a series of core management modules and has the functions of data acquisition, remote access and the like. The server manager communicates with the BMC management module through the Web end, the BMC management module further transmits a response instruction to the server BMC, and the server BMC designates different modules to interact with hardware on a server mainboard according to different instructions to acquire information.
The RAID management module is used for using and configuring the disk array, specifically, the RAID module converts the disk array management instruction sent by the Web into an I/O request executable by the disk array by adopting a data dividing and mapping technology, and distributes the I/O request to each disk. RAID mainly provides higher data reliability, performance improvement, and storage capacity expansion than single disk drives. By combining multiple disks together, RAID enables data redundancy, parallel data processing, and easy storage expansion, thereby being more suitable for application scenarios requiring high availability and mass storage.
RAID management module is divided into three layers according to the function: web layer, application layer and system layer. And the Web layer manages RAID through a browser. The application layer converts the operation of the Web layer into a command which can be executed by the system, and feeds back the result of the command execution to the Web. The system layer realizes the configuration operation of the system and the resource of the user, and the module or the system call of the operating system is called to set the hardware resource in the whole storage system according to the configuration of the user and then provide the hardware resource for the user.
The message interface module user receives the IPMI command with transmission sent by other modules, packages the byte code and metadata of the IPMI command to be transmitted into a message with a preset format, sends the message with the preset format to a receiving module corresponding to the IPMI command to be transmitted, and the metadata reflects the source, the destination and the processing priority of the IPMI command to be transmitted. Specifically, the message interface module is mainly responsible for encapsulating the byte code of the IPMI command into a structured message. The packaging method not only ensures the integrity and the accuracy of the command, but also provides additional context information for the command, thereby enabling the subsequent processing to be more efficient and flexible. When a module in the system needs to issue an IPMI command, the command is first sent to the message interface module. Here, the command is converted into a standard message format, accompanied by associated metadata such as source, destination, and priority of the command. This message is then distributed to the corresponding processing module for further processing. During the program implementation phase, these messages are parsed to obtain the IPMI command bytecode therein. These bytecodes are then converted back to the original IPMI command and executed according to predetermined logic.
With the aid of the message interface module, the individual modules can easily receive, process and deliver these encapsulated messages. Such a design greatly increases the degree of modularity of the system so that individual modules can be developed, tested and deployed independently without affecting one another.
The sensor module comprises a plurality of sensors, wherein the sensors are used for collecting hardware information of the disk array and transmitting the hardware information of the disk array to the BMC of the server, so that the BMC of the server sends the hardware information of the disk array to the BMC management module.
Specifically, the sensor module is composed of a sensor, system management software and SDR. As shown in fig. 4, the communication between the sensor and the BMC is implemented through the I2C interface. The initialization of the sensor is accomplished by the system software based on the information recorded in the SDR at system power-up or reset. The internal information of SDR is edited by special SDR generator software to generate a file whose suffix is SDR, and then burned into Flash. The SDR is mainly used for storing information of the sensor and the management controller. The SDR editor is used for editing SDR files, wherein the SDR files are files containing sensor information, the SDR files are edited and then burnt into Flash, and then the information of the sensor can be called by using IPMI instructions.
The system provided by the invention is connected with the communication between the BMC and the RAID through the sensor module, and the server BMC collects information of the disk and the storage device through the sensor module, so that the control and monitoring of the disk array by the server side are realized, and the remote operation of monitoring and controlling the disk array is realized by connecting the Web module with the server side.
The server remote control and disk array management method provided by the invention is described below, and the server remote control and disk array management method described below and the server remote control and disk array management system described above can be referred to correspondingly. The method comprises the following steps:
Providing a message transfer interface in the system through a message interface module, and transferring messages among the modules in the system;
the control page is provided through the Web module and is used for displaying server state information and disk array management information, and the control page is also used for receiving a server control instruction and a disk array management instruction generated by user operation;
The BMC management module is communicated with the BMC of the server to acquire server state information, the server state information is sent to the Web module through the message interface module, and a server control instruction received from the Web module through the message interface module is sent to the server;
and receiving a disk array management instruction sent by the Web module through the RAID management module, and performing RAID configuration based on the disk array management instruction.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform server remote control and disk array management methods, including: providing a message transfer interface in the system through a message interface module, and transferring messages among the modules in the system; the control page is provided through the Web module and is used for displaying server state information and disk array management information, and the control page is also used for receiving a server control instruction and a disk array management instruction generated by user operation; the BMC management module is communicated with the BMC of the server to acquire server state information, the server state information is sent to the Web module through the message interface module, and a server control instruction received from the Web module through the message interface module is sent to the server; and receiving a disk array management instruction sent by the Web module through the RAID management module, and performing RAID configuration based on the disk array management instruction.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional modules and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the server remote control and disk array management methods provided by the above methods, the method comprising: providing a message transfer interface in the system through a message interface module, and transferring messages among the modules in the system; the control page is provided through the Web module and is used for displaying server state information and disk array management information, and the control page is also used for receiving a server control instruction and a disk array management instruction generated by user operation; the BMC management module is communicated with the BMC of the server to acquire server state information, the server state information is sent to the Web module through the message interface module, and a server control instruction received from the Web module through the message interface module is sent to the server; and receiving a disk array management instruction sent by the Web module through the RAID management module, and performing RAID configuration based on the disk array management instruction.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the server remote control and disk array management methods provided by the above methods, the method comprising: providing a message transfer interface in the system through a message interface module, and transferring messages among the modules in the system; the control page is provided through the Web module and is used for displaying server state information and disk array management information, and the control page is also used for receiving a server control instruction and a disk array management instruction generated by user operation; the BMC management module is communicated with the BMC of the server to acquire server state information, the server state information is sent to the Web module through the message interface module, and a server control instruction received from the Web module through the message interface module is sent to the server; and receiving a disk array management instruction sent by the Web module through the RAID management module, and performing RAID configuration based on the disk array management instruction.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A server remote control and disk array management system, the system comprising:
a message interface module for providing a message passing interface in the system in which messages between the modules are passed;
the Web module is used for providing a control page, wherein the control page is used for displaying server state information and disk array management information, and the control page is also used for receiving a user operation generation server control instruction and a disk array management instruction;
The BMC management module is used for communicating with the BMC of the server to acquire the server state information, sending the server state information to the Web module through the message interface module, and sending the server control instruction received from the Web module through the message interface module to the server;
And the RAID management module is used for receiving the disk array management instruction sent by the Web module through the message interface module and carrying out RAID configuration based on the disk array management instruction.
2. The server remote control and disk array management system of claim 1, further comprising:
the sensor module comprises a plurality of sensors, wherein the sensors are used for collecting hardware information of the disk array and transmitting the hardware information of the disk array to the BMC of the server, so that the BMC of the server sends the hardware information of the disk array to the BMC management module.
3. The server remote control and disk array management system of claim 1, wherein the Web module comprises a login module, a system information module, a log management module, and a RAID control module;
the login module is used for determining the legality of user login and the management authority of the user;
The system information module adopts a MySQL database to store basic information and event information of the server, maintains a device information table and a discovery device table, wherein the device information table is used for recording the basic information of the server, and the discovery device table is used for recording newly added server equipment;
the log management module is used for receiving and storing the event log of the system.
4. The server remote control and disk array management system of claim 3, wherein the basic information of the server and the event information are collected by a proxy of a BMC of the server polling a device of the server.
5. The server remote control and disk array management system of claim 3, wherein the RAID control module comprises an array management sub-module, a volume management sub-module, a user management sub-module, and a system management sub-module;
The array management submodule is used for receiving newly added disk information, generating an adjusting instruction for adjusting the level of the disk array based on the operation information of the disk array, and generating a disk fault processing instruction for isolating a fault disk and starting a fault recovery program for the fault disk when the disk is in fault;
The volume management submodule is used for generating configuration and optimization instructions of a disk logical storage layer;
The user management submodule is used for determining RAID control authority;
the system management submodule is used for generating a disk array management report based on the operation information of the disk array.
6. The server remote control and disk array management system of claim 1, wherein the RAID management module is specifically configured to translate the disk array management instructions into disk array executable I/O requests, and distribute the I/O requests to corresponding disks.
7. The remote control and disk array management system according to claim 1, wherein the message interface module is configured to receive an IPMI command to be transmitted sent by another module, encapsulate a byte code and metadata of the IPMI command to be transmitted into a message with a preset format, and send the message with the preset format to a receiving module corresponding to the IPMI command to be transmitted, where the metadata reflects a source, a destination and a priority of the IPMI command to be transmitted.
8. A server remote control and disk array management method, comprising:
Providing a message passing interface in a system through a message interface module, and passing messages among the modules in the system;
Providing a control page through a Web module, wherein the control page is used for displaying server state information and disk array management information, and the control page is also used for receiving a user operation generation server control instruction and a disk array management instruction;
The BMC management module is communicated with the BMC of the server to acquire the server state information, the server state information is sent to the Web module through the message interface module, and the server control instruction received from the Web module through the message interface module is sent to the server;
and receiving the disk array management instruction sent by the Web module through a RAID management module, and performing RAID configuration based on the disk array management instruction.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the server remote control and disk array management method of claim 8 when the program is executed by the processor.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the server remote control and disk array management method of claim 8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311817001.0A CN117931067A (en) | 2023-12-26 | 2023-12-26 | Remote control and disk array management system and method for server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311817001.0A CN117931067A (en) | 2023-12-26 | 2023-12-26 | Remote control and disk array management system and method for server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117931067A true CN117931067A (en) | 2024-04-26 |
Family
ID=90752945
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311817001.0A Pending CN117931067A (en) | 2023-12-26 | 2023-12-26 | Remote control and disk array management system and method for server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117931067A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118972368A (en) * | 2024-07-15 | 2024-11-15 | 北京鲲鹏凌昊智能技术有限公司 | A method, device, equipment and medium for managing IP addresses of multiple servers |
-
2023
- 2023-12-26 CN CN202311817001.0A patent/CN117931067A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118972368A (en) * | 2024-07-15 | 2024-11-15 | 北京鲲鹏凌昊智能技术有限公司 | A method, device, equipment and medium for managing IP addresses of multiple servers |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4473153B2 (en) | Method, system and program for network configuration checking and repair | |
| US8782472B2 (en) | Troubleshooting system using device snapshots | |
| US11157373B2 (en) | Prioritized transfer of failure event log data | |
| US8447782B1 (en) | Data access layer having a mapping module for transformation of data into common information model compliant objects | |
| CN107741852B (en) | A service deployment method based on cluster software | |
| US7937481B1 (en) | System and methods for enterprise path management | |
| US20090300760A1 (en) | Grid Security Intrusion Detection Configuration Mechanism | |
| US20040139194A1 (en) | System and method of measuring and monitoring network services availablility | |
| US20170060961A1 (en) | System and method for cloud-storage support | |
| JP2008517358A (en) | Apparatus, system, and method for facilitating storage management | |
| US12204766B2 (en) | Cloud based interface for protecting and managing data stored in networked storage systems | |
| US20180082066A1 (en) | Secure data erasure in hyperscale computing systems | |
| CN100421382C (en) | Maintaining unit structure of high extending internet superserver and its method | |
| CN114338687B (en) | Middleware management method and server | |
| TWI709865B (en) | Operation and maintenance data reading device and reading method thereof | |
| JP4722944B2 (en) | System, method and software for distributed loading of databases | |
| CN106406980B (en) | A kind of dispositions method and device of virtual machine | |
| US10862887B2 (en) | Multiple domain authentication using data management and storage node | |
| CN117931067A (en) | Remote control and disk array management system and method for server | |
| WO2013171865A1 (en) | Management method and management system | |
| US7328303B1 (en) | Method and system for remote execution of code on a distributed data storage system | |
| US11880266B2 (en) | Malfunction monitor for computing devices | |
| US20230289203A1 (en) | Server maintenance control device, server maintenance system, server maintenance control method, and program | |
| US7444355B1 (en) | System and method for assigning management responsibility for manageable entities | |
| US12443707B2 (en) | Trust-based workspace instantiation |
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 |