CN107659621B - RAID control card configuration method and device - Google Patents
RAID control card configuration method and device Download PDFInfo
- Publication number
- CN107659621B CN107659621B CN201710786652.6A CN201710786652A CN107659621B CN 107659621 B CN107659621 B CN 107659621B CN 201710786652 A CN201710786652 A CN 201710786652A CN 107659621 B CN107659621 B CN 107659621B
- Authority
- CN
- China
- Prior art keywords
- control card
- address
- network
- raid control
- server management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- 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/14—Session management
- H04L67/141—Setup of application sessions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Small-Scale Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The application provides a RAID control card configuration method and a device, wherein the method is applied to server management equipment and can comprise the following steps: sending a validation instruction to each network device through a first network connection established with a plurality of network devices including RAID control cards, wherein the validation instruction is used for each network device to start an integrated rapid intelligent extensible toolset (IF) included in each network device; when the IP address of the IF is obtained, establishing a second network connection with the IF according to the IP address of the IF; and sending RAID control card configuration information to the IF through the second network connection, wherein the RAID control card configuration information is used for configuring the RAID control card by the IF. The method provided by the application can realize the configuration of the RAID control card of a plurality of remote network devices. Therefore, the efficiency of RAID control card configuration is greatly improved, and the labor cost is greatly reduced.
Description
Technical Field
The application relates to the field of computer communication, in particular to a RAID control card configuration technology.
Background
With the development of information technology and the continuous improvement of requirements on data security and stability, most modern devices adopt RAID (Redundant array of Independent Disks) control cards to manage the reading and writing of hard Disks, so as to achieve effective utilization of Disks and protection of data.
However, when the RAID control cards of a batch of devices need to be configured, the RAID control cards of each device need to be configured manually, which greatly reduces the configuration efficiency of the RAID control cards; moreover, because the RAID control card is configured manually, the error rate of configuration of the RAID control card is increased.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for configuring a RAID control card, so as to improve the configuration efficiency of the RAID control card, reduce the configuration error rate of the RAID control card, and implement batch configuration of the RAID control card.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the present application, there is provided a RAID control card configuration method, the method being applied to a server management device, the method including:
sending a validation instruction to each network device through a first network connection established with a plurality of network devices including RAID control cards, wherein the validation instruction is used for each network device to start an integrated rapid intelligent extensible toolset (IF) included in each network device;
when the IP address of the IF is obtained, establishing a second network connection with the IF according to the IP address of the IF;
and sending RAID control card configuration information to the IF through the second network connection, wherein the RAID control card configuration information is used for configuring the RAID control card by the IF.
Optionally, the obtaining the IP address of the IF includes:
sending a request instruction to the network equipment; the request instruction is used for requesting an IP address of the IF in the network equipment;
and receiving the IP address of the IF returned by the network equipment.
Optionally, before establishing the second network connection with the specified port in the IF, the method further includes:
acquiring port information of a designated port in the IF;
the establishing a second network connection with the IF according to the IP address of the IF specifically includes:
establishing a second network connection with the designated port in the IF according to the IP address of the IF and the port information of the designated port in the IF;
the sending, to the IF, RAID control card configuration information through the second network connection specifically includes:
and sending RAID control card configuration information to a specified port in the IF through the second network connection.
Optionally, the obtaining port information of the specified port in the IF specifically includes:
acquiring port information of a specified port in the preset IF from the server management equipment; or receiving port information of a designated port in the IF sent by the network device.
According to a second aspect of the present application, there is provided a RAID control card configuration method, which is applied to a network device including a RAID control card, the method including:
when receiving a validation instruction sent by a server management device through a first network connection established with the server management device, starting an integrated rapid intelligent extensible tool set (IF) included in the network device;
determining an IP address of the IF;
the IP address of the IF is used for the server management equipment to establish a second network connection with a specified port in the IF according to the IP address of the IF; and receiving RAID control card configuration information sent by the server management device through the second network connection by utilizing the IF to configure the RAID control card.
Optionally, after determining the IP address of the IF, the method further includes:
receiving a request instruction aiming at the IP address of the IF and sent by the server management equipment;
and sending the IP address of the IF to the server management equipment according to the request instruction.
Optionally, the method further includes:
sending port information of a specified port in the IF to the server management equipment, wherein the port information is used for the server management equipment to establish second network connection with the specified port in the IF according to the IP address of the IF and the port information;
the receiving, by using the IF, RAID control card configuration information sent by the server management device through the second network connection specifically includes:
and receiving RAID control card configuration information sent by the server management equipment through the second network connection from a specified port in the IF by using the IF.
According to a third aspect of the present application, there is provided a RAID control card configuration apparatus, the apparatus being applied to a server management device, the apparatus including:
a first sending unit, configured to send a validation instruction to each network device through a first network connection established with a plurality of network devices including a RAID control card, where the validation instruction is used for each network device to start an integrated fast intelligent extensible toolset IF included in each network device;
the establishing unit is used for establishing a second network connection with the IF according to the IP address of the IF when the IP address of the IF is obtained;
and the second sending unit is used for sending RAID control card configuration information to the IF through the second network connection, wherein the RAID control card configuration information is used for configuring the RAID control card by the IF.
Optionally, the establishing unit is specifically configured to send a request instruction to the network device when the establishing unit obtains the IP address of the IF; the request instruction is used for requesting an IP address of the IF in the network equipment; and receiving the IP address of the IF returned by the network equipment.
Optionally, the apparatus further comprises:
an obtaining unit, configured to obtain port information of a specified port in the IF;
the establishing unit is specifically configured to establish a second network connection with the specified port in the IF according to the IP address of the IF and the port information of the specified port in the IF;
the second sending unit is specifically configured to send RAID control card configuration information to a specified port in the IF through the second network connection.
Optionally, the obtaining unit is specifically configured to obtain, from the server management device, port information of a specified port in the IF configured in advance; or receiving port information of a designated port in the IF sent by the network device.
According to a fourth aspect of the present application, there is provided a RAID control card configuration apparatus, which is applied to a network device including a RAID control card, the apparatus including:
the system comprises a starting unit, a processing unit and a processing unit, wherein the starting unit is used for starting an integrated rapid intelligent extensible tool set (IF) included in network equipment when receiving a validation instruction sent by server management equipment through a first network connection established with the server management equipment;
a determining unit for determining an IP address of the IF; the IP address of the IF is used for the server management equipment to establish a second network connection with a specified port in the IF according to the IP address of the IF;
a using unit configured to receive, by using the IF, RAID control card configuration information sent by the server management device through the second network connection to configure the RAID control card.
Optionally, the apparatus further comprises:
a receiving unit, configured to receive a request instruction for the IP address of the IF sent by the server management device;
and the first sending unit is used for sending the IP address of the IF to the server management equipment according to the request instruction.
Optionally, the apparatus further comprises:
a second sending unit, configured to send, to the server management device, port information of a specified port in the IF, where the port information is used for the server management device to establish, according to an IP address of the IF and the port information, a second network connection with the specified port in the IF;
the using unit, when receiving, by using the IF, RAID control card configuration information sent by the server management device through the second network connection, is specifically configured to receive, by using the IF, RAID control card configuration information sent by the server management device through the second network connection from a specified port in the IF.
According to the configuration method and device for the RAID control card, the server management device can be connected with a first network established by a plurality of network devices comprising the RAID control card, and sends a validation instruction to each network device. Wherein the validation instruction is for each network device to start an IF (integrated rapid intelligent scalable toolset) included therein. And when the server management equipment acquires the IP address of the IF, the server management equipment establishes a second network connection with the IF according to the IP address of the IF. The server management device may send RAID control card configuration information to the IF over the second network connection, such that the IF configures the RAID control card based on the RAID control card configuration information.
Since the server management device can send validation instructions to a plurality of network devices including the RAID control card through the first network connection, the IF on each network device is started. After the IP address of the IF is obtained, the server management equipment can establish second network connection with the IF on each network equipment and send the configuration information of the preset RAID control card to the IF of each network equipment so that each IF configures the RAID control card of the network equipment based on the configuration information, and remote configuration of the RAID control cards of a plurality of network equipment is realized, so that the configuration efficiency of the RAID control cards is greatly improved, and the labor cost is greatly reduced; and the configuration information is uniformly issued by the server management equipment, so that the configuration error rate of the RAID control card is reduced.
Drawings
Fig. 1 is a schematic diagram of a networking architecture of a RAID control card configuration method according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a RAID control card configuration method according to an exemplary embodiment of the present application;
FIG. 3 is a block diagram of a RAID control card configuration apparatus according to an exemplary embodiment of the present application;
fig. 4 is a hardware configuration diagram of a server management device where a RAID control card configuration apparatus is located according to an exemplary embodiment of the present application;
FIG. 5 is a block diagram of another RAID control card configuration apparatus shown in an exemplary embodiment of the present application;
fig. 6 is a hardware structure diagram of a network device where a RAID control card configuration apparatus is located according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The RAID control card is a disk array card. With the development of information technology and the requirement for data security and stability, most modern devices adopt RAID control cards to manage the reading and writing of hard disks, so as to achieve effective utilization of disks and protection of data.
However, when configuring the RAID control cards of the servers, it is generally necessary to manually configure the RAID control cards of each server.
For example, in one related RAID control card configuration technique, a developer may use maxView storage domain software to implement RAID control card configuration, and the specific operations may be as follows.
The developer can install an operating system on the server and install maxviewstoremanager software on the operating system, and then the developer can import the pre-derived configuration information of the RAID control card into the maxviewstorge MANAGER software. The maxView STORAGE MANAGER software can configure the RAID control card using the configuration information of the imported RAID control card.
However, with the configuration method of the RAID control card, on one hand, an operating system needs to be installed on the server, which greatly increases the complexity of the configuration of the RAID control card; on the other hand, the configuration method can only realize the configuration of the RAID control card on the local machine, but cannot realize the remote configuration of the RAID control cards of a plurality of servers. In the third aspect, in the RAID control card configuration method, the configuration information of the RAID control card can only be derived from other servers, and cannot be created manually.
In another related technology for configuring a RAID control card, the RAID control card may be configured in a BIOS (Basic Input output system).
For example, when the system of the server is started, the developer may enter a setup interface by pressing a delete key, and then enter a RAID control card configuration interface by following an Advanced (Advanced) - > maxView Storage management- > Controller Settings path, and the developer manually configures the RAID control card of the server on the RAID control card configuration interface.
However, with the configuration method of the RAID control card, on one hand, developers cannot import configuration files of the RAID control card, and need to manually configure the RAID control card one by one; on the other hand, the configuration method can only realize the configuration of the RAID control card on the local machine, but cannot realize the remote configuration of the RAID control cards of a plurality of servers.
Therefore, in summary, the related configuration method for the RAID control cards is difficult to implement remote configuration of the RAID control cards of multiple servers, and each RAID control card needs to be manually configured, so that the configuration efficiency of the RAID control cards is greatly reduced, and the labor cost and the complexity of configuration of the RAID control cards are improved.
In view of the above, the present application provides a method for configuring a RAID control card, where a server management device may connect to a plurality of network devices including the RAID control card through a first network, and send a validation instruction to each network device. Wherein the validation instruction is for each network device to start the IF included therein. And when the server management equipment acquires the IP address of the IF, the server management equipment establishes a second network connection with the IF according to the IP address of the IF. The server management device may send RAID control card configuration information to the IF over the second network connection, such that the IF of the network device configures the RAID control card based on the RAID control card configuration information.
Since the server management device can send validation instructions to a plurality of network devices including the RAID control card through the first network connection, the IF on each network device is started. After the IP address of the IF is obtained, the server management equipment can establish second network connection with the IF on each network equipment and send the configuration information of the preset RAID control card to the IF of each network equipment so that each IF configures the RAID control card of the network equipment based on the configuration information, and remote configuration of the RAID control cards of a plurality of network equipment is realized, so that the configuration efficiency of the RAID control cards is greatly improved, and the labor cost is greatly reduced; and the configuration information is uniformly issued by the server management equipment, so that the configuration error rate of the RAID control card is reduced.
Referring to fig. 1, fig. 1 is a schematic diagram of a networking architecture of a RAID control card configuration method according to an exemplary embodiment of the present application.
The networking may include a server management device and a network device.
The server management device may be configured to manage one or more network devices. For example, issuing a configuration instruction/information to a network device, detecting an operating state of the network device, and the like. The server management device may be a designated one of the server management devices in the server management device cluster.
The network device may comprise a network device including a RAID control card. For example, the network device may be a server or the like that includes a RAID control card.
It should be noted that the network device described below refers to a network device including RAID control, and is not described herein again.
In the networking architecture, the server management device may send a validation instruction to each network device through a first network connection with the plurality of network devices, so that each network device starts an IF included in itself. After the server management device obtains the IP address of the IF of each network device, the server management device may establish a second network connection with the IF of each network device. The server management equipment can send the configuration information of the RAID control card to the IF of each network equipment through the second network connection, so that the IF of each network equipment uses the configuration information of the RAID control card to configure the RAID control card on the equipment, thereby realizing the remote configuration of the RAID control cards on a plurality of network equipment and improving the configuration efficiency of the RAID control card.
Referring to fig. 2, fig. 2 is a flowchart illustrating a RAID control card configuration method according to an exemplary embodiment of the present application.
Step 201: the server management device sends a validation instruction to each network device through a first network connection established with a plurality of network devices including RAID control cards, wherein the validation instruction is used for each network device to start an integrated rapid intelligent extensible tool set (IF) included in each network device.
In the embodiment of the present application, the IF may be pre-installed on the network device. IF is a common operating system that can encapsulate agents and RAID control card configuration tools, etc.
The IF may be pre-installed in a storage medium of the network device, such as an SD card, a hard disk, or the like.
When the device is installed, the IF may be installed in a manner of mounting an image on the optical disc drive or in a manner of pre-booting an execution environment (PXE).
For example, when the optical disc drive is mounted in a mirror image manner, the mounting package of the IF may be stored in the optical disc in advance, and the developer may mount the IF on the network device by using the mounting package of the IF in the optical disc through the optical boot configuration.
As another example, PXE functionality may be enabled on a network device when installed in PXE mode. The network device may acquire an address of a TFTP (trivial file Transfer Protocol) server from a DHCP (Dynamic Host Configuration Protocol) server, then download an IF installation package from the TFTP server, and then install the IF in a storage medium of the network device.
Of course, the IF may be installed in other manners, and the installation manner of the IF is described above only by way of example and is not particularly limited.
In addition, before configuring the RAID control card, a developer may import configuration information of the RAID control card into the server management device, create configuration information of the RAID control card on the server management device, and the like.
In this embodiment of the application, after receiving the RAID control card configuration instruction on the server management device, the server management device may send a validation instruction to each network device through the first network connection established with the plurality of network devices. Each network device may initiate the IF on the device in response to the validation instruction.
In an optional implementation manner, the first network connection may be a network connection established based on an IPMI (intelligent platform Management Interface) technology, and further, the first network connection may include a network connection between the server Management device and a BMC (baseboard Management Controller) on each network device.
The IPMI defines how to remotely monitor the hardware information of the server, grasp the health condition of the server in real time, call an event log of the system, and remotely control the server.
In the IPMI standard, each network device may be installed with a BMC. The BMC is an independent controller based on the IPMI protocol and can form a server management platform with other IPMI hardware. The server management platform can realize the detection and control of the network equipment and can help a system administrator to master the health condition of the network equipment all the time. The functions of IPMI detection control and the like are realized by sending IPMI commands to the BMC of the network equipment.
In this embodiment, the server management device may be a background server in the server management platform, and the IP address of the BMC on each network device is stored in the server management device in advance. The server management device may establish a first network connection with the BMCs of the network devices based on the IP addresses of the BMCs of the network devices, and send an effective instruction to the BMCs through the established first network connection.
The BMC of each network device may start the IF after receiving the validation instruction.
Taking the SD card with the IF installed on the network device as an example, after the BMC of the network device receives the validation instruction, the BMC may restart the BIOS (Basic Input Output System) of the network device, and then start the IF from the SD card.
Of course, the server management device may also send an effective instruction to the network device through the first network connection established in another manner, so as to start the IF in the network device. The manner in which the IF in the network device is started is only exemplarily described herein, and is not particularly limited.
Step 202: the network device determines the IP address of the IF after startup.
In an embodiment of the present application, after the IF is started, the network device may determine an IP address of the started IF. The IF may then send the IP address of the IF to the BMC through the internal channel of the network device, and after the BMC receives the request message sent by the server management device, the IP address of the IF may be sent to the server management device, so as to establish the second network connection in step 203.
In determining the IP address of the IF, in an alternative implementation, the network device may obtain the IP address of the IF from the DHCP server via the IF.
For example, the IF is installed with a DHCP client, the DHCP client may send a DHCP-DISCOVER message in a broadcast manner, and after receiving the DHCP-DISCOVER message, the DHCP server may allocate an IP address to the DHCP client according to a preset IP address allocation policy, and send the allocated IP address to the DHCP client on the IF through a DHCP-OFFER message. The IP address is the IP address of the IF.
After the IF determines its own IP address, the IF may send the IP address of the IF to the BMC through an internal channel on the network device, for example, the IF may send the IP address of the IF to the BMC through a USB channel.
In addition, in the embodiment of the present application, an Agent (Agent) is further configured in the IF, and a start item of the Agent in the IF may be preset to be automatically started. After the IF is started, the Agent is also automatically started.
The Agent also pre-configures a designated port, such as designated port 12580. The designated port is used to establish a second network connection with the server management device and to receive a configuration file.
After the Agent of the IF is started, the network device can bind the Agent of the IF with a specified port configured in advance by the Agent. For example, an Agent in the IF may initiate a Server Socket process corresponding to the IP address to listen to the designated port.
Step 203: the server management device obtains the IP address of the IF, and can establish a second network connection with the IF according to the IP address of the IF.
In this embodiment, the server management device may establish the second network connection with a designated port in the IF of each network device. For example, the server management device may establish the second network connection with a designated port bound by the Agent in the IF of each network device. Of course, this is merely an exemplary illustration of the server management device establishing the second network connection with the designated port of the IF of each network device,
the following describes the above process of establishing the second network connection in detail, taking the example that the server management device establishes the second network connection with the designated port bound by the Agent in the IF of each network device.
In an alternative implementation manner, the BMC of the network device may send the IP address of the IF and the specific port information bound by the Agent of the IF to the server management device through the first network connection, so that the server management device establishes the second network connection with the IF of the network device.
When the method is implemented, before the second network connection is established, the server management device may send a request instruction to the BMC of the network device through the first network connection. The request instruction is used to obtain the IP address of the IF of the network device.
After receiving the request instruction, the BMC of the network device may send the IP address of the IF to the server management device through the first network connection. Meanwhile, the network device can also send the specified port information bound by the Agent in the IF to the server management device through the first network connection.
Here, the network device may transmit the designated port information bound by the Agent in the IF to the server management device at the same time as transmitting the IP address of the IF, or may transmit the designated port information bound by the Agent in the IF after transmitting the IP address of the IF. Here, the timing at which the network device transmits the designated port information bound by the Agent in the IF to the server management device is not particularly limited. After receiving the IP address of the IF and the information about the designated port bound by the Agent in the IF, the server management device may establish a second network connection with the network device based on the IP address of the IF and the designated port bound by the Agent in the IF.
In another alternative implementation manner, the server management device is preconfigured with a port for communicating with the Agent of the IF on the network device as a specified port bound by the Agent of the IF. For example, assuming that the port bound by the Agent of the IF is a 12580 port, the port on the server management device that can be configured in advance to communicate with the Agent of the IF on the configuration device is the 12580 port. The BMC of the network device may transmit the IP address of the IF to the server management device, and the server management device may establish a second network connection with the IF of the network device using the IP address of the IF and the designated port information previously configured on the server management device.
Before establishing the second network connection, the server management device may send a request instruction to the BMC of the network device through the first network connection. The request instruction is used to obtain the IP address of the IF of the network device.
After receiving the request instruction, the BMC of the network device may send the IP address of the IF to the server management device through the first network connection.
After receiving the IP address of the IF, the server management device may establish a second network connection with the network device based on the IP address of the IF and the specified port bound by the Agent of the IF configured in advance locally.
Step 204: and the server management equipment sends RAID control card configuration information to the IF through the second network connection.
Step 205: and the network equipment receives RAID control card configuration information sent by the server management equipment through the second network connection by using the IF to configure the RAID control card.
In this embodiment, after the second network connection is established, the server management device may send the configuration information of the RAID control card to the network device through the second network connection according to a specific data protocol format (for example, a TCP data protocol format). The network device can analyze the configuration information through the Agent of the IF and then configure the RAID control card on the device.
In an alternative implementation, the IF pre-encapsulates the RAID control card configuration tool. The Agent in the IF can call the RAID control card configuration tool and use the configuration information of the analyzed RAID control card to configure the RAID control card on the equipment.
After configuration is complete, the Agent of network device IF may send a configuration complete message to the server management device. The server management device may send a restart instruction to the network device (e.g., may send a restart instruction to a BMC of the network device) to exit the IF after receiving the configuration complete message.
According to the configuration method of the RAID control card, the server management device can be connected with a first network established by a plurality of network devices comprising the RAID control card, and sends a validation instruction to each network device. Wherein the validation instruction is for each network device to start the IF included therein. And when the server management equipment acquires the IP address of the IF, establishing a second network connection with the IF according to the IP address of the IF. The server management device may send RAID control card configuration information to the IF over the second network connection, such that the IF of the network device configures the RAID control card based on the RAID control card configuration information.
Since the server management device can send validation instructions to a plurality of network devices including the RAID control card through the first network connection, the IF on each network device is started. After the IP address of the IF is obtained, the server management equipment can establish second network connection with the IF on each network equipment and send the configuration information of the preset RAID control card to the IF of each network equipment so that each IF configures the RAID control card of the network equipment based on the configuration information, and remote configuration of the RAID control cards of a plurality of network equipment is realized, so that the configuration efficiency of the RAID control cards is greatly improved, and the labor cost is greatly reduced; and the configuration information is uniformly issued by the server management equipment, so that the configuration error rate of the RAID control card is reduced.
The method provided by the present application is described below by way of example based on the above description.
As shown in fig. 1, three network devices, denoted as device 1, device 2, and device 3, are assumed. Each network device comprises a BMC, and the storage hardware of each network device, such as an SD card, is pre-installed with an IF. Agents and RAID control card configuration tools are packaged in the IF, and the start item of the Agent in the IF is pre-configured to be automatically started.
Before RAID control configuration is performed, a developer may import configuration information of a RAID control card into the server management device, create configuration information of the RAID control card on the server management device, and the like.
After receiving the RAID control card configuration instruction on the server management device, the server management device may respectively send an effective instruction to the BMCs of the device 1, the device 2, and the device 3 through the first network connection with the BMCs of the device 1, the device 2, and the device 3.
The following description will be given taking the apparatus 1 as an example. When the BMC of the device 1 receives the validation instruction, the BIOS system may be restarted, the SD card is entered, and the IF is started.
Since the Agent in the IF is preconfigured to auto-start, the Agent can auto-start after the IF starts. The Agent of the IF is configured with a designated port in advance, and after the Agent is started, the Agent of the IF can be bound with the designated port which is configured for the Agent of the IF in advance.
The IF has a DHCP client installed thereon. After the IF of the device 1 is started, the IP address of the IF can be acquired to the DHCP server.
The server management device can establish a second network connection with the network device through the IP address of the IF on the network device and the information of the specified port bound by the Agent of the IF.
In an alternative implementation, the IF may send the IP address of the IF and the specific port information bound by the Agent of the IF to the BMC over the first network connection.
After receiving a request instruction for acquiring the IP address of the IF from the server management device, the BMC of the device 1 may send the IP address of the IF to the server management device. Further, the device 1 may also transmit the designated port information bound by the Agent of the IF to the server management device.
It should be noted that the BMC of the device 1 may send the IP address to the server management device and send the designated port information bound by the Agent of the IF to the server management device, and the BMC of the device 1 may send the designated port information bound by the Agent of the IF to the server management device after sending the IP address to the server management device. The timing of the specific port information bound by the Agent which transmits the IF is not specifically limited herein.
The server management device can establish a second network connection with the network device through the IP address of the IF and the specified port information bound by the Agent of the IF.
In another alternative implementation manner, the server management device pre-configures a port for communicating with an Agent of the IF on the network device as a specified port bound by the Agent of the IF.
The IF may send the IP address of the IF to the BMC of device 1 via an internal channel of device 1, such as a USB channel.
After receiving a request instruction for acquiring the IP address of the IF from the server management device through the first network connection, the BMC of the device 1 may send the IP address of the IF to the server management device through the first network connection.
The server management device can establish a second network connection with the network device through the IP address of the IF and the pre-configured specified port information bound by the Agent of the IF.
After the second network connection is established, the server management device may send the configuration information of the RAID control card to the Agent of the IF of the device 1 through the established second network connection according to the specific data protocol format. After receiving the configuration information of the RAID control card, the Agent of the IF may analyze the control information, then call a RAID control card configuration tool, and configure the RAID control card on the device 1 using the analyzed RAID control card configuration information.
The device 2 and the device 3 may also configure the RAID control card on the device by using the above-described manner for configuring the RAID control card by using the device 1, which is not described herein again.
After the configuration is completed, the device 1, the device 2, and the device 3 may transmit a configuration completion message to the server management device. Upon receiving the configuration complete message, the server management device may send a restart instruction to the BMCs of device 1, device 2, and device 3 to exit the IF on device 1, device 2, and device 3.
Corresponding to the embodiment of the RAID control card configuration method, the present application also provides an embodiment of a RAID control card configuration apparatus.
Referring to fig. 3, fig. 3 is a block diagram of a RAID control card configuration apparatus according to an exemplary embodiment of the present application. The apparatus may be applied to a server management device, and may include: a first sending unit 301, a establishing unit 302 and a second sending unit 303.
The first sending unit 301 is configured to send a validation instruction to each network device through a first network connection established with a plurality of network devices including a RAID control card, where the validation instruction is used for each network device to start an integrated fast intelligent extensible toolset IF included in each network device;
an establishing unit 302, configured to, when the IP address of the IF is obtained, establish a second network connection with the IF according to the IP address of the IF;
a second sending unit 303, configured to send, to the IF, RAID control card configuration information through the second network connection, where the RAID control card configuration information is used by the IF to configure the RAID control card.
Optionally, the establishing unit 302 is specifically configured to send a request instruction to the network device when the IP address of the IF is obtained; the request instruction is used for requesting an IP address of the IF in the network equipment; and receiving the IP address of the IF returned by the network equipment.
Optionally, the apparatus further comprises:
an obtaining unit 304, configured to obtain port information of a specified port in the IF;
the establishing unit 302 is specifically configured to establish a second network connection with a specified port in the IF according to the IP address of the IF and the port information of the specified port in the IF;
the second sending unit 303 is specifically configured to send RAID control card configuration information to a specified port in the IF through the second network connection.
Optionally, the obtaining unit 304 is specifically configured to obtain, from the server management device, port information of a specified port in the IF configured in advance; or receiving port information of a designated port in the IF sent by the network device.
As shown in fig. 4, in the embodiment of the present application, there is also provided a server management device, which may include a processor 401 and a machine-readable storage medium 402.
The machine-readable storage medium 402 stores machine-executable instructions corresponding to the RAID control card configuration method. The processor 401 of the server management device can read and execute the machine executable instructions in the machine readable storage medium 302 to execute the RAID control card configuration method.
In an embodiment of the present application, there is also provided a machine-readable storage medium comprising machine-executable instructions, such as machine-readable storage medium 402 as shown in fig. 4. The machine executable instructions may be executed by the processor 301 in the server management device to implement the functions of the server management device in the RAID control card configuration method described above.
The machine-readable storage medium 402 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
Referring to fig. 5, fig. 5 is a block diagram of another RAID control card configuration apparatus according to an exemplary embodiment of the present application. The apparatus may be applied to a network device, and the apparatus may include: an activation unit 501, a determination unit 502 and a use unit 503.
The starting unit 501 is configured to start an integrated rapid intelligent extensible tool set IF included in the network device when receiving a validation instruction sent by a server management device through a first network connection established with the server management device;
a determining unit 502, configured to determine an IP address of the IF; the IP address of the IF is used for the server management equipment to establish a second network connection with the IF according to the IP address of the IF;
a using unit 503, configured to receive, by using the IF, RAID control card configuration information sent by the server management device through the second network connection to configure the RAID control card.
Optionally, the apparatus further comprises:
a receiving unit 504, configured to receive a request instruction for the IP address of the IF sent by the server management device;
a first sending unit 505, configured to send the IP address of the IF to the server management device according to the request instruction.
Optionally, the apparatus further comprises:
a second sending unit 506, configured to send, to the server management device, port information of a specified port in the IF, where the port information is used for the server management device to establish a second network connection with the specified port in the IF according to the IP address of the IF and the port information;
the using unit 503, when receiving, by using the IF, RAID control card configuration information sent by the server management device through the second network connection, is specifically configured to receive, by using the IF, RAID control card configuration information sent by the server management device through the second network connection from a specified port in the IF.
As shown in fig. 6, in the embodiment of the present application, a network device is further provided, and the network device may include a processor 601 and a machine-readable storage medium 602.
The machine-readable storage medium 602 stores therein machine-executable instructions corresponding to the RAID control card configuration method. The processor 601 of the network device may read and execute the machine executable instructions in the machine readable storage medium 502 to perform the RAID control card configuration method described above.
In an embodiment of the present application, there is also provided a machine-readable storage medium comprising machine-executable instructions, such as machine-readable storage medium 602 shown in fig. 6. The machine executable instructions may be executed by the processor 601 in the network device to implement the functions of the network device in the RAID control card configuration method described above.
The machine-readable storage medium 602 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.
Claims (10)
1. A configuration method for a Redundant Array of Independent Disks (RAID) control card is applied to a server management device and comprises the following steps:
sending a validation instruction to each network device through a first network connection established with a plurality of network devices including RAID control cards, wherein the validation instruction is used for each network device to start an integrated rapid intelligent extensible toolset (IF) included in each network device;
when the IP address of the network protocol of the IF is obtained, establishing a second network connection with the IF according to the IP address of the IF;
sending RAID control card configuration information to the IF through the second network connection, the RAID control card configuration information being used by the IF to configure the RAID control card;
the obtaining the IP address of the IF includes:
sending a request instruction to the network equipment; the request instruction is used for requesting an IP address of the IF in the network equipment;
and receiving the IP address of the IF returned by the network equipment.
2. The method of claim 1, wherein prior to establishing the second network connection with the designated port in the IF, further comprising:
acquiring port information of a designated port in the IF;
the establishing a second network connection with the IF according to the IP address of the IF specifically includes:
establishing a second network connection with the designated port in the IF according to the IP address of the IF and the port information of the designated port in the IF;
the sending, to the IF, RAID control card configuration information through the second network connection specifically includes:
and sending RAID control card configuration information to a specified port in the IF through the second network connection.
3. The method of claim 2, wherein the obtaining port information of the specified port in the IF comprises:
acquiring port information of a specified port in the preset IF from the server management equipment; or receiving port information of a designated port in the IF sent by the network device.
4. A configuration method for a Redundant Array of Independent Disks (RAID) control card is applied to network equipment comprising the RAID control card, and the method comprises the following steps:
when receiving a validation instruction sent by a server management device through a first network connection established with the server management device, starting an integrated rapid intelligent extensible tool set (IF) included in the network device;
determining a network protocol, IP, address of the IF; the IP address of the IF is used for the server management equipment to establish a second network connection with the IF according to the IP address of the IF;
receiving, by the IF, RAID control card configuration information sent by the server management device over the second network connection to configure the RAID control card;
after determining the IP address of the IF, the method further includes:
receiving a request instruction aiming at the IP address of the IF and sent by the server management equipment;
and sending the IP address of the IF to the server management equipment according to the request instruction.
5. The method of claim 4, wherein after determining the IP address of the IF, further comprising:
sending port information of a specified port in the IF to the server management equipment, wherein the port information is used for the server management equipment to establish second network connection with the specified port in the IF according to the IP address of the IF and the port information;
the receiving, by using the IF, RAID control card configuration information sent by the server management device through the second network connection specifically includes:
and receiving RAID control card configuration information sent by the server management equipment through the second network connection from a specified port in the IF by using the IF.
6. A RAID control card configuration device is characterized in that the device is applied to a server management device and comprises:
a first sending unit, configured to send a validation instruction to each network device through a first network connection established with a plurality of network devices including a RAID control card, where the validation instruction is used for each network device to start an integrated fast intelligent extensible toolset IF included in each network device;
the establishing unit is used for establishing a second network connection with the IF according to the IP address of the network protocol of the IF when the IP address of the IF is obtained; the establishing unit is specifically configured to send a request instruction to the network device when the establishing unit acquires the IP address of the IF; the request instruction is used for requesting an IP address of the IF in the network equipment; receiving an IP address of the IF returned by the network equipment;
and the second sending unit is used for sending RAID control card configuration information to the IF through the second network connection, wherein the RAID control card configuration information is used for configuring the RAID control card by the IF.
7. The apparatus of claim 6, further comprising:
an obtaining unit, configured to obtain port information of a specified port in the IF;
the establishing unit is specifically configured to establish a second network connection with the specified port in the IF according to the IP address of the IF and the port information of the specified port in the IF;
the second sending unit is specifically configured to send RAID control card configuration information to a specified port in the IF through the second network connection.
8. The apparatus according to claim 7, wherein the obtaining unit is specifically configured to obtain, from the server management device, port information of a specified port in the IF configured in advance; or receiving port information of a designated port in the IF sent by the network device.
9. An apparatus for configuring a Redundant Array of Independent Disks (RAID) control card, the apparatus being applied to a network device including a RAID control card, the apparatus comprising:
the system comprises a starting unit, a processing unit and a processing unit, wherein the starting unit is used for starting an integrated rapid intelligent extensible tool set (IF) included in network equipment when receiving a validation instruction sent by server management equipment through a first network connection established with the server management equipment;
a determining unit, configured to determine a network protocol IP address of the IF; the IP address of the IF is used for the server management equipment to establish a second network connection with the IF according to the IP address of the IF;
a using unit configured to receive, by using the IF, RAID control card configuration information sent by the server management device through the second network connection to configure the RAID control card;
the device further comprises:
a receiving unit, configured to receive a request instruction for the IP address of the IF sent by the server management device;
and the first sending unit is used for sending the IP address of the IF to the server management equipment according to the request instruction.
10. The apparatus of claim 9, further comprising:
a second sending unit, configured to send, to the server management device, port information of a specified port in the IF, where the port information is used for the server management device to establish, according to an IP address of the IF and the port information, a second network connection with the specified port in the IF;
the using unit, when receiving, by using the IF, RAID control card configuration information sent by the server management device through the second network connection, is specifically configured to receive, by using the IF, RAID control card configuration information sent by the server management device through the second network connection from a specified port in the IF.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710786652.6A CN107659621B (en) | 2017-09-04 | 2017-09-04 | RAID control card configuration method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710786652.6A CN107659621B (en) | 2017-09-04 | 2017-09-04 | RAID control card configuration method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107659621A CN107659621A (en) | 2018-02-02 |
CN107659621B true CN107659621B (en) | 2020-10-02 |
Family
ID=61129457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710786652.6A Active CN107659621B (en) | 2017-09-04 | 2017-09-04 | RAID control card configuration method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107659621B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109522044B (en) * | 2018-10-31 | 2022-04-19 | 深圳市汇川技术股份有限公司 | Motion control card configuration file generation method and device and computer readable memory |
CN111988810B (en) * | 2020-08-13 | 2022-12-09 | 苏州浪潮智能科技有限公司 | Wireless server supervision method based on MIWI and mesh networking device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219099A (en) * | 2014-09-25 | 2014-12-17 | 浪潮(北京)电子信息产业有限公司 | Automatic server cluster deploying method and device |
CN104360883A (en) * | 2014-11-12 | 2015-02-18 | 浪潮(北京)电子信息产业有限公司 | Method and system for configuring Raid (Redundant array of independent disks) |
CN105242875A (en) * | 2015-09-17 | 2016-01-13 | 浪潮集团有限公司 | Server raid batch configuration method |
CN107688434A (en) * | 2016-08-04 | 2018-02-13 | 紫光华山信息技术有限公司 | Disk array RAID collocation methods and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5353030B2 (en) * | 2008-03-10 | 2013-11-27 | 日本電気株式会社 | Disk array system |
-
2017
- 2017-09-04 CN CN201710786652.6A patent/CN107659621B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219099A (en) * | 2014-09-25 | 2014-12-17 | 浪潮(北京)电子信息产业有限公司 | Automatic server cluster deploying method and device |
CN104360883A (en) * | 2014-11-12 | 2015-02-18 | 浪潮(北京)电子信息产业有限公司 | Method and system for configuring Raid (Redundant array of independent disks) |
CN105242875A (en) * | 2015-09-17 | 2016-01-13 | 浪潮集团有限公司 | Server raid batch configuration method |
CN107688434A (en) * | 2016-08-04 | 2018-02-13 | 紫光华山信息技术有限公司 | Disk array RAID collocation methods and device |
Also Published As
Publication number | Publication date |
---|---|
CN107659621A (en) | 2018-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8997090B2 (en) | Installing an operating system in a host system | |
US10353728B2 (en) | Method, system and device for managing virtual machine software in cloud environment | |
WO2019100605A1 (en) | Platform-as-a-service paas container platform construction method, server, system, and storage medium | |
CN104360883B (en) | A kind of configuration Raid method and system | |
US10917291B2 (en) | RAID configuration | |
CN110879712B (en) | Cloud data center physical host installation method and related device | |
CN109067877B (en) | Control method for cloud computing platform deployment, server and storage medium | |
US8590025B2 (en) | Techniques for accessing a backup system | |
US20140129819A1 (en) | Cloud cluster system and boot deployment method for the same | |
EP3618352B1 (en) | Virtual machine management | |
CN101166116A (en) | System and method for operating system installation on a diskless computing platform | |
US9001364B2 (en) | Management system, image forming apparatus, management system control method, and image forming apparatus control method for migration of setting values of an application that operates in the image forimng apparatus | |
CN108667639B (en) | Resource management method and management server in private cloud environment | |
KR101587994B1 (en) | Cloud computing service system with virtual hard disk | |
US20100235461A1 (en) | Network device and method of sharing external storage device | |
CN105450759A (en) | System mirror image management method and device | |
CN107800580B (en) | Method, server and system for monitoring installation state of large-batch operating systems | |
CN110795158A (en) | Bare computer server management method, system, electronic equipment and storage medium | |
US20060155838A1 (en) | Program installation system and method using the same | |
TW201222411A (en) | A method, a system and a computer program product for remote OS installation with monitoring | |
CN114995888A (en) | Intelligent network card deployment method, device and medium | |
WO2017177892A1 (en) | Installation of operating system | |
CN107659621B (en) | RAID control card configuration method and device | |
CN108234174B (en) | Management method and device of virtual network function | |
CN113766041A (en) | Method and device for acquiring Media Access Control (MAC) address of first server |
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 | ||
CB02 | Change of applicant information |
Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Xinhua Sanxin Information Technology Co., Ltd. Address before: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant before: Huashan Information Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |