CN111399771B - Protocol configuration method, device and equipment of MCS storage system - Google Patents
Protocol configuration method, device and equipment of MCS storage system Download PDFInfo
- Publication number
- CN111399771B CN111399771B CN202010130147.8A CN202010130147A CN111399771B CN 111399771 B CN111399771 B CN 111399771B CN 202010130147 A CN202010130147 A CN 202010130147A CN 111399771 B CN111399771 B CN 111399771B
- Authority
- CN
- China
- Prior art keywords
- nvmof
- source code
- storage system
- protocol
- mcs
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012545 processing Methods 0.000 claims abstract description 55
- 238000004891 communication Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 9
- 230000004048 modification Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 abstract description 16
- 239000007787 solid Substances 0.000 abstract description 9
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000007726 management method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 102100020760 Ferritin heavy chain Human genes 0.000 description 8
- 101001002987 Homo sapiens Ferritin heavy chain Proteins 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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; CALCULATING OR 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/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a protocol configuration method of an MCS storage system, which comprises the steps of acquiring a source code of the MCS storage system to be configured, modifying a driving program of a host bus adapter in the source code into a state that each physical port is a multi-core drive, adding a preset NVMoF protocol processing code in an IO interface module in the source code, adding a preset NVMoF protocol processing module in a storage management system in the source code to obtain the configured source code, and finally generating a mirror image file according to the configured source code to be deployed to the MCS storage system to be configured, so that the MCS storage system can support storage transmission of the NVMoF protocol, support highly parallelized IO, enable a solid state disk to execute more IO threads, and improve the storage transmission rate of the MCS storage system. The invention also discloses a protocol configuration device, equipment and a computer readable storage medium of the MCS storage system, which have the beneficial effects.
Description
Technical Field
The present invention relates to the field of storage technologies, and in particular, to a protocol configuration method, apparatus, device, and computer readable storage medium for an MCS storage system.
Background
In the current big data era, mass data storage occupies a large amount of storage space. Meanwhile, the solid state disk with higher read-write speed is also developed rapidly. How to ensure that the host can quickly read and write data from the solid state disk becomes an important problem.
The MCS storage system is a set of operating system provided by IBM and is suitable for storage service. PCIe solid state disk deployment of the existing MCS storage System still uses a relatively slow conventional SCSI (Small Computer System Interface) protocol, and the SCSI protocol cannot exert the advantages of a solid state disk, so that the existing MCS storage System cannot meet the requirement of a user for increasing storage read-write rate.
Disclosure of Invention
The invention aims to provide a protocol configuration method, a device, equipment and a computer readable storage medium of an MCS storage system, which are used for improving the storage transmission rate of the MCS storage system.
In order to solve the above technical problem, the present invention provides a protocol configuration method for an MCS storage system, comprising:
acquiring a source code of an MCS storage system to be configured;
modifying a driver of the host bus adapter in the source code into that each physical port is a multi-core driver, adding a preset NVMoF protocol processing code in an IO interface module in the source code, and adding a preset NVMoF protocol processing module in a storage management system in the source code to obtain a configured source code;
and generating an image file according to the configured source code, and deploying the image file to the MCS storage system to be configured.
Optionally, the modifying the driver of the host bus adapter in the source code to be that each physical port is a multi-core driver specifically includes:
and modifying the driving program to enable each physical port to occupy all CPU cores distributed to the host bus adapter.
Optionally, the preset NVMoF protocol processing code is additionally set in the IO interface module in the source code, which specifically includes:
and adding a target field for storing a rule for processing communication information based on the NVMoF protocol in the IO interface module.
Optionally, a preset NVMoF protocol processing module is additionally installed in the storage management system in the source code, and specifically:
adding an NVM subsystem creation program and an NVMoF controller creation program in the storage management system;
the items to be created of the NVM subsystem comprise an NVM subsystem type, a host NQN, an NVMoF protocol version number, a firmware version number, host information allowing access, a maximum namespace number, an associated namespace ID array and NVMoF controller information.
Optionally, the NVMoF controller creation program is specifically:
and establishing an NVMoF controller for the host of the MCS storage system to be configured in advance, so as to associate a fixed namespace for the host of the MCS storage system to be configured.
Optionally, the NVMoF controller creation program is specifically:
and when a connection request of the host of the MCS storage system to be configured is received, establishing an NVMoF controller to associate a random namespace with the host of the MCS storage system to be configured.
Optionally, the host bus adapter is specifically an FC card or an RDMA card.
In order to solve the above technical problem, the present invention further provides a protocol configuration apparatus of an MCS storage system, including:
the device comprises an acquisition unit, a storage unit and a control unit, wherein the acquisition unit is used for acquiring a source code of the MCS storage system to be configured;
a configuration unit, configured to modify a driver of the host bus adapter in the source code to a state where each physical port is a multi-core driver, add a preset NVMoF protocol processing code to an IO interface module in the source code, and add a preset NVMoF protocol processing module to a storage management system in the source code, to obtain a configured source code;
and the deployment unit is used for generating an image file according to the configured source code and deploying the image file to the MCS storage system to be configured.
In order to solve the above technical problem, the present invention further provides a protocol configuration device of an MCS storage system, including:
a memory for storing instructions, the instructions comprising the steps of any one of the above protocol configuration methods of the MCS storage system;
a processor to execute the instructions.
To solve the above technical problem, the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the protocol configuration method of the MCS storage system according to any one of the above items.
The protocol configuration method of the MCS storage system provided by the invention comprises the steps of obtaining a source code of the MCS storage system to be configured, modifying a driving program of a host bus adapter in the source code into a state that each physical port is a multi-core drive, adding a preset NVMoF protocol processing code in an IO interface module in the source code, adding a preset NVMoF protocol processing module in a storage management system in the source code to obtain the configured source code, and finally generating a mirror image file according to the configured source code to be deployed to the MCS storage system to be configured, so that the MCS storage system can support storage transmission of the NVMoF protocol and highly parallelized IO, a solid state disk can execute more IO threads, and the storage transmission rate of the MCS storage system is improved. The invention also provides a protocol configuration device, equipment and a computer readable storage medium of the MCS storage system, which have the beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a protocol configuration method of an MCS storage system according to an embodiment of the present invention;
fig. 2 is an IO control schematic diagram of an MCS storage system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a transmission architecture of an MCS storage system according to an embodiment of the present invention;
fig. 4 is a schematic system architecture diagram of an MCS storage system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a protocol configuration apparatus of an MCS storage system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a protocol configuration device of an MCS storage system according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a protocol configuration method, a device, equipment and a computer readable storage medium of an MCS storage system, which are used for improving the storage transmission rate of the MCS storage system.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
For ease of understanding, a system architecture to which the present invention is applicable will first be described.
The specific implementation mode provided by the embodiment of the invention is suitable for an MCS storage system, the MCS storage system mainly comprises a host and storage equipment, and a host bus adapter is arranged between the host and the storage equipment and is used for transmitting data.
At present, the following protocols are mainly used in the industry to support solid state disk data reading and writing: SCSI protocol, NVMe (Non-Volatile Memory express/NVM express) protocol, NVMoF (NVM over Fabrics) protocol. Among them, the SCSI protocol was originally used for data transmission between a host and a mechanical hard disk, but has a problem of slow transmission in the existing application. The NVMe protocol supports highly parallelized IO, thus surpassing any previous protocol, enabling the solid state disk to execute more IO threads. The NVMoF protocol takes the NVMe protocol as a foundation stone and is adapted to the Fabrics scene.
In order to improve the storage transmission rate of the MCS storage system, the embodiment of the invention installs the NVMoF protocol in the MCS storage system. However, the configuration of the existing MCS storage system does not support the NVMoF protocol, i.e., the existing NVMoF protocol cannot be directly installed in the MCS storage system. To this end, the following scheme is provided in the embodiment of the present invention to install the NVMoF protocol in the MCS storage system.
Fig. 1 is a flowchart of a protocol configuration method of an MCS storage system according to an embodiment of the present invention; fig. 2 is an IO control schematic diagram of an MCS storage system according to an embodiment of the present invention; fig. 3 is a schematic diagram of a transmission architecture of an MCS storage system according to an embodiment of the present invention; fig. 4 is a schematic system architecture diagram of an MCS storage system according to an embodiment of the present invention.
As shown in fig. 1, a protocol configuration method of an MCS storage system according to an embodiment of the present invention includes:
s101: and acquiring a source code of the MCS storage system to be configured.
S102: modifying a driver of a host bus adapter in a source code into that each physical port is a multi-core driver, adding a preset NVMoF protocol processing code in an IO interface module in the source code, and adding a preset NVMoF protocol processing module in a storage management system in the source code to obtain the configured source code.
S103: and generating an image file according to the configured source code, and deploying the image file to the MCS storage system to be configured.
The protocol configuration method of the MCS storage system provided by the embodiment of the invention can be manually executed, and can also be automatically executed by writing a script in advance.
In specific implementation, a source code of the MCS storage system to be configured is obtained, the source code of the MCS storage system to be configured is manually changed or a preset script is called for changing according to the scheme provided in step S102, the configured source code is generated into an image file, the image file is deployed to the MCS storage system to be configured, and the installation of the NVMoF protocol in the MCS storage system to be configured is completed.
In a driver of a host bus adapter (HBA card) of an existing MCS storage system, each physical port occupies a CPU core allocated to the host bus adapter, and when the number of the physical ports is greater than the number of the CPU cores, the CPU cores are cyclically multiplexed, that is, each physical port is driven by a single core. In order to increase the transmission rate, the NVMoF protocol requires a multi-core driver, and therefore, a driver of the host bus adapter needs to be modified to be the multi-core driver for each physical port. In actual use, the host bus adapter may be specifically an FC card or an RDMA card, and corresponding to different drivers, corresponding modification modes may be performed on the FC card or the RDMA card. Optionally, the driver of the host bus adapter in the source code is modified to be a multi-core driver for each physical port, specifically:
the driver is modified so that each physical port occupies all of the CPU cores allocated to the host bus adapter. Namely, each RQ/CQ + WQ/CQ group occupies one core, and all CPU cores are multiplexed among the physical ports. Wherein, RQ/CQ is Read queue completion queue, namely a Read command queue and a feedback queue thereof; WQ/CQ is the Write queue completion queue, i.e., the Write command queue and its feedback queue.
Meanwhile, in an IO interface control portion of the MCS storage system host, the source code only includes an SCSI protocol processing code, and in order to enable the MCS storage system to support the NVMoF protocol, a preset NVMoF protocol processing code needs to be added to an IO interface module in the source code, and the writing can be specifically performed with reference to an NVMoF protocol specification in advance.
As shown in fig. 2, an IO control unit of the MCS storage system includes a PLIF driver abstraction layer on an IO interface and an HL module on a host, where the HL module is configured to register an event processing and command receiving function with the PLIF module, and the PLIF module is configured to notify the HL module to process an event and receive a command. After the driver of the host bus adapter and the IO interface control part of the host are configured, development of the NVMoF protocol part needs to be carried out on an HL module of the host. After the configuration of the transmission portion between the host and the storage device is completed, the structure of the transmission portion between the host and the storage device in the MCS storage system is as shown in fig. 3, taking a host bus adapter as an example, the FC card is connected with the storage device, the FC card uploads an SCSI protocol processing code and an NVMoF protocol processing code, information transmitted to the host through the FC card is transmitted to the host through an IO interface (PLIF driving abstraction layer), different protocols can be selected in the PLIF driving abstraction layer according to different protocols for packaging processing, and then the information is input to the host through an HL module (also including the SCSI protocol processing code and the NVMoF protocol processing code).
Besides the host bus adapter between the host and the storage device and the IO interface control part of the host, the storage device also comprises a part related to communication protocol processing for improvement. For this reason, a preset NVMoF protocol processing module needs to be added to the storage management system in the source code, and finally, the configured source code is obtained. The NVMoF protocol processing module may include a creation command of the NVM subsystem and a creation command of the NVMoF controller, and is configured to associate a Namespace (Namespace) in the management storage device and a creation rule of the NVMoF controller established by setting communication between the host and the Namespace, and may be specifically written with reference to the NVMoF protocol specification in advance.
It should be noted that the above 3 actions for changing the source code may be performed simultaneously or in a non-execution order.
After generating an image file according to the configured source code and installing the image file back to the MCS storage system to be configured, the architecture of the configured MCS storage system is as shown in fig. 4, and corresponding transceiving queues (ASQ/ACQ, SQ/CQ) are set on the host for different physical interfaces; and the data is transmitted to an NVMoF controller in the storage equipment through the FC card, and enters a distributed namespace to execute read-write tasks under the management of the NVM subsystem and the control of the NVMoF controller.
After the NVMoF protocol is installed in the MCS storage system, the MCS storage system not only supports the SCSI protocol and the NVMoF protocol, but also can be compatible with the NVMe protocol.
The protocol configuration method of the MCS storage system provided by the embodiment of the invention comprises the steps of obtaining a source code of the MCS storage system to be configured, modifying a driving program of a host bus adapter in the source code into a state that each physical port is a multi-core drive, adding a preset NVMoF protocol processing code in an IO interface module in the source code, adding a preset NVMoF protocol processing module in a storage management system in the source code to obtain the configured source code, and finally generating a mirror image file according to the configured source code to be deployed to the MCS storage system to be configured, so that the MCS storage system can support storage transmission of the NVMoF protocol, support highly parallelized IO, enable a solid state disk to execute more IO threads, and improve the storage transmission rate of the MCS storage system.
On the basis of the foregoing embodiment, in order to facilitate differential processing on the original SCSI protocol and the added NVMoF protocol of the MCS storage system and avoid mutual influence, the preset NVMoF protocol processing code is added to the IO interface module in the source code in step S102 in fig. 1, which may specifically be:
and adding a target field for storing a rule for processing communication information based on the NVMoF protocol in the IO interface module.
In the concrete implementation, in order to support the coexistence of the targets of the two new protocols of the SCSI protocol and the NVMoF protocol, a new field similar to PLIF _ target _ s is added in the PLIF instance structure of the PLIF drive abstraction layer, so that the influence on the original code can be reduced, and the extension and the modification are facilitated if the content needing to be registered is different from the SCSI processing.
In the above embodiment, it is mentioned that the NVMoF protocol processing module may include a creation command of the NVM subsystem and a creation command of the NVMoF controller, and then a preset NVMoF protocol processing module is additionally set in the storage management system in the source code in step S102 in fig. 1, specifically:
an NVM subsystem creation program and an NVMoF controller creation program are added in the storage management system.
The items to be created of the NVM subsystem comprise the NVM subsystem type, a host NQN, an NVMoF protocol version number, a firmware version number, host information allowed to be accessed, the maximum namespace number, an associated namespace ID array and NVMoF controller information.
Through the NVM subsystem creation program, the NVM subsystem can be directly created when the MCS storage system with the NVMoF protocol installed is initialized, and the NVM subsystem comprises information such as NVM subsystem type, host NQN, NVMoF protocol version number, firmware version number, host information allowed to access, maximum namespace number, associated namespace ID array, NVMoF controller information and the like. The access-allowed host information specifically includes whether all hosts are allowed to access and a list of hosts allowed to access.
The name space in the storage device is associated for the NVM subsystem at the time of creation of the NVM subsystem by creating an associated name space ID array in the program for the NVM subsystem. Namespace ID (NSID) is unique within the NVM Subsystem scope, even if the above functionality is not supported, when using shared Namespace, the NSID of shared Namespace needs to be unique within the NVM Subsystem scope, i.e., all NVMoF controllers need to associate this shared Namespace using the same NSID value.
The NVMoF controller is created in the storage device through an NVMoF controller creating program, the NVMoF controller is a virtual controller, and information of the NVMoF controller is stored in the NVM subsystem and used for executing control tasks of a host access namespace process.
The NVMoF controller may select either the dynamic mode or the static mode, as described in the NVMoF specification. The dynamic mode is that when a host initiates connection, the NVMoF controller ID (controller ID) is filled in 0xFFFF, and when a target end of the storage system receives a request, an NVMoF controller is automatically created to be associated with the host. The static mode is that the target end manually creates the NVMoF controller, and the NVMoF controller ID is specified when the host initiates connection.
Optionally, the NVMoF controller is set to the dynamic mode, and the NVMoF controller creation program specifically includes:
and when a connection request of the host of the MCS storage system to be configured is received, establishing the NVMoF controller to associate a random namespace for the host of the MCS storage system to be configured.
In order to improve the security, avoid causing the target terminal to crash when a plurality of hosts frequently initiate connection, and facilitate restart recovery, so that the information of the NVMoF controller can be retained after the server disconnects the target terminal, and the NVMoF controller preferably adopts a static mode, and then the NVMoF controller creation program is specifically:
the method comprises the steps of establishing an NVMoF controller for a host to be configured with the MCS storage system in advance, and associating a fixed name space for the host to be configured with the MCS storage system.
On the basis of the detailed description of the embodiments corresponding to the protocol configuration method of the MCS storage system, the invention also discloses a protocol configuration device, equipment and a computer readable storage medium of the MCS storage system corresponding to the method.
Fig. 5 is a schematic structural diagram of a protocol configuration apparatus of an MCS storage system according to an embodiment of the present invention.
As shown in fig. 5, a protocol configuration apparatus of an MCS storage system according to an embodiment of the present invention includes:
an obtaining unit 501, configured to obtain a source code of an MCS storage system to be configured;
a configuration unit 502, configured to modify a driver of the host bus adapter in the source code to a state where each physical port is a multi-core driver, add a preset NVMoF protocol processing code to an IO interface module in the source code, and add a preset NVMoF protocol processing module to a storage management system in the source code, to obtain a configured source code;
and a deployment unit 503, configured to generate an image file according to the configured source code, and deploy the image file to the MCS storage system to be configured.
Since the embodiment of the apparatus portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the apparatus portion, and details are not repeated here.
Fig. 6 is a schematic structural diagram of a protocol configuration device of an MCS storage system according to an embodiment of the present invention.
As shown in fig. 6, a protocol configuration device of an MCS storage system according to an embodiment of the present invention includes:
a memory 610, configured to store instructions, the instructions including the steps of the protocol configuration method of the MCS storage system according to any one of the above embodiments;
a processor 620 for executing the instructions.
Processor 620 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and so forth. The processor 620 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 620 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 620 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 620 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 610 may include one or more computer-readable storage media, which may be non-transitory. Memory 610 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 610 is at least used for storing the following computer program 611, wherein after the computer program 611 is loaded and executed by the processor 620, the relevant steps in the protocol configuration method of the MCS storage system disclosed in any one of the foregoing embodiments can be implemented. In addition, the resources stored by the memory 610 may also include an operating system 612, data 613, and the like, and the storage manner may be a transient storage or a permanent storage. The operating system 612 may be Windows, among others. The data 613 may include, but is not limited to, data related to the above-described methods.
In some embodiments, the protocol configuration equipment of the MCS storage system may further include a display 630, a power supply 640, a communication interface 650, an input output interface 660, sensors 670, and a communication bus 680.
Those skilled in the art will appreciate that the architecture shown in fig. 6 does not constitute a limitation of the protocol configuration device of the MCS storage system and may include more or fewer components than those shown.
The protocol configuration device of the MCS storage system provided by the embodiment of the application includes a memory and a processor, and when the processor executes a program stored in the memory, the protocol configuration method of the MCS storage system can be implemented by the processor, and the effect is the same as that of the protocol configuration device.
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one type of division of logical functions, and there may be other ways of dividing the modules or components in actual implementation, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on 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 the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution.
To this end, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the protocol configuration method of the MCS storage system.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The computer program contained in the computer-readable storage medium provided in this embodiment can implement the steps of the protocol configuration method of the MCS storage system described above when executed by the processor, and the effect is the same as above.
The protocol configuration method, the protocol configuration device and the computer readable storage medium of the MCS storage system provided by the present invention are introduced in detail above. The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Claims (7)
1. A protocol configuration method of an MCS storage system is characterized by comprising the following steps:
acquiring a source code of an MCS storage system to be configured;
modifying a driver of the host bus adapter in the source code into that each physical port is a multi-core driver, adding a preset NVMoF protocol processing code in an IO interface module in the source code, and adding a preset NVMoF protocol processing module in a storage management system in the source code to obtain a configured source code;
generating an image file according to the configured source code, and deploying the image file to the MCS storage system to be configured;
wherein, the modification of the driver of the host bus adapter in the source code to the fact that each physical port is a multi-core driver specifically includes: modifying the driver program so that each physical port occupies all CPU cores allocated to the host bus adapter;
the method for processing the source code comprises the following steps of adding a preset NVMoF protocol processing code in an IO interface module in the source code, specifically: additionally arranging a target field for storing a rule for processing communication information based on an NVMoF protocol in the IO interface module;
the method for processing the storage management system in the source code comprises the following steps of adding a preset NVMoF protocol processing module in the storage management system in the source code, specifically: adding an NVM subsystem creation program and an NVMoF controller creation program in the storage management system;
the items to be created of the NVM subsystem comprise an NVM subsystem type, a host NQN, an NVMoF protocol version number, a firmware version number, host information allowing access, a maximum namespace number, an associated namespace ID array and NVMoF controller information.
2. The protocol configuration method according to claim 1, wherein the NVMoF controller creation program is specifically:
and establishing an NVMoF controller for the host of the MCS storage system to be configured in advance, so as to associate a fixed namespace for the host of the MCS storage system to be configured.
3. The protocol configuration method according to claim 1, wherein the NVMoF controller creation program is specifically:
and when a connection request of the host of the MCS storage system to be configured is received, establishing an NVMoF controller to associate a random namespace with the host of the MCS storage system to be configured.
4. The protocol configuration method according to claim 1, wherein the host bus adapter is embodied as an FC card or an RDMA card.
5. A protocol configuration apparatus of an MCS storage system, comprising:
the device comprises an acquisition unit, a configuration unit and a control unit, wherein the acquisition unit is used for acquiring a source code of the MCS storage system to be configured;
the configuration unit is used for modifying a driver of the host bus adapter in the source code into a multi-core driver of each physical port, adding a preset NVMoF protocol processing code into an IO interface module in the source code, and adding a preset NVMoF protocol processing module into a storage management system in the source code to obtain a configured source code;
the deployment unit is used for generating an image file according to the configured source code and deploying the image file to the MCS storage system to be configured;
wherein, the modifying the driver of the host bus adapter in the source code to that each physical port is a multi-core driver specifically includes: modifying the driver program so that each physical port occupies all CPU cores allocated to the host bus adapter;
the method comprises the following steps of additionally arranging a preset NVMoF protocol processing code in an IO interface module in the source code, specifically: adding a target field for storing a rule for processing communication information based on an NVMoF protocol in the IO interface module;
the method for processing the storage management system in the source code comprises the following steps of adding a preset NVMoF protocol processing module in the storage management system in the source code, specifically: adding an NVM subsystem creation program and an NVMoF controller creation program in the storage management system;
the items to be created of the NVM subsystem comprise an NVM subsystem type, a host NQN, an NVMoF protocol version number, a firmware version number, host information allowing access, a maximum namespace number, an associated namespace ID array and NVMoF controller information.
6. A protocol configuration device of an MCS storage system, comprising:
a memory for storing instructions, the instructions comprising the steps of the protocol configuration method of the MCS storage system of any one of claims 1 to 4;
a processor to execute the instructions.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the protocol configuration method of the MCS storage system according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010130147.8A CN111399771B (en) | 2020-02-28 | 2020-02-28 | Protocol configuration method, device and equipment of MCS storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010130147.8A CN111399771B (en) | 2020-02-28 | 2020-02-28 | Protocol configuration method, device and equipment of MCS storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111399771A CN111399771A (en) | 2020-07-10 |
CN111399771B true CN111399771B (en) | 2023-01-10 |
Family
ID=71435943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010130147.8A Active CN111399771B (en) | 2020-02-28 | 2020-02-28 | Protocol configuration method, device and equipment of MCS storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111399771B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112685341B (en) * | 2020-12-25 | 2024-02-23 | 北京浪潮数据技术有限公司 | Configuration method, device and equipment of storage system adapter and storage medium |
CN114610329B (en) * | 2022-05-10 | 2022-09-06 | 深圳佰维存储科技股份有限公司 | Solid state disk deployment method and device, readable storage medium and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1688982A (en) * | 2002-08-09 | 2005-10-26 | 网络装置公司 | Multi-protocol storage appliance that provides integrated support for file and block access protocols |
CN101808123A (en) * | 2010-03-09 | 2010-08-18 | 浪潮(北京)电子信息产业有限公司 | Method and device for accessing storage resources in storage system |
CN106104500A (en) * | 2013-11-26 | 2016-11-09 | 英特尔公司 | The method and apparatus of storage data |
CN106469198A (en) * | 2016-08-31 | 2017-03-01 | 华为技术有限公司 | Key assignments storage method, apparatus and system |
CN108628685A (en) * | 2017-03-15 | 2018-10-09 | 三星电子株式会社 | Distribute the system, apparatus and method of shared resource in NVMe in structure with local BMC |
CN108683659A (en) * | 2018-05-11 | 2018-10-19 | 新华三技术有限公司成都分公司 | Multi-protocol data communication means and device |
CN108702374A (en) * | 2015-09-02 | 2018-10-23 | 科内克斯实验室公司 | The NVM Express controllers of the remote access of memory and I/O on ethernet type network |
CN110275757A (en) * | 2018-03-16 | 2019-09-24 | 北京忆恒创源科技有限公司 | Multi-protocol storage is provided using system abstraction layer |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7366808B2 (en) * | 2005-11-23 | 2008-04-29 | Hitachi, Ltd. | System, method and apparatus for multiple-protocol-accessible OSD storage subsystem |
-
2020
- 2020-02-28 CN CN202010130147.8A patent/CN111399771B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1688982A (en) * | 2002-08-09 | 2005-10-26 | 网络装置公司 | Multi-protocol storage appliance that provides integrated support for file and block access protocols |
CN101808123A (en) * | 2010-03-09 | 2010-08-18 | 浪潮(北京)电子信息产业有限公司 | Method and device for accessing storage resources in storage system |
CN106104500A (en) * | 2013-11-26 | 2016-11-09 | 英特尔公司 | The method and apparatus of storage data |
CN108702374A (en) * | 2015-09-02 | 2018-10-23 | 科内克斯实验室公司 | The NVM Express controllers of the remote access of memory and I/O on ethernet type network |
CN106469198A (en) * | 2016-08-31 | 2017-03-01 | 华为技术有限公司 | Key assignments storage method, apparatus and system |
CN108628685A (en) * | 2017-03-15 | 2018-10-09 | 三星电子株式会社 | Distribute the system, apparatus and method of shared resource in NVMe in structure with local BMC |
CN110275757A (en) * | 2018-03-16 | 2019-09-24 | 北京忆恒创源科技有限公司 | Multi-protocol storage is provided using system abstraction layer |
CN108683659A (en) * | 2018-05-11 | 2018-10-19 | 新华三技术有限公司成都分公司 | Multi-protocol data communication means and device |
Also Published As
Publication number | Publication date |
---|---|
CN111399771A (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110063051B (en) | System and method for reconfiguring server and server | |
CN107305534B (en) | Method for simultaneously carrying out kernel mode access and user mode access | |
US10133504B2 (en) | Dynamic partitioning of processing hardware | |
JP2009187368A (en) | Method for controlling sharing of usb port | |
WO2022213832A1 (en) | Computer device, virtualization acceleration device, remote control method and storage medium | |
CN111198663B (en) | Method, system, apparatus and storage medium for controlling data access operation | |
US10860380B1 (en) | Peripheral device for accelerating virtual computing resource deployment | |
CN111399771B (en) | Protocol configuration method, device and equipment of MCS storage system | |
CN109324991B (en) | Hot plug device, method, medium and system of PCIE (peripheral component interface express) equipment | |
CN112765084B (en) | Computer device, virtualization acceleration device, data transmission method, and storage medium | |
CN102063242A (en) | Display system and display method | |
CN115309511B (en) | Xen-based data interaction method and device, storage medium and electronic equipment | |
EP2466459A1 (en) | Seamless application integration apparatus and method | |
CN114691300A (en) | Hot migration method of virtual machine instance | |
CN109656675B (en) | Bus equipment, computer equipment and method for realizing physical host cloud storage | |
KR20200001208A (en) | Convergence Semiconductor Apparatus and Operation Method Thereof, Stacked Memory Apparatus Having the Same | |
CN114925012A (en) | Ethernet frame issuing method, Ethernet frame uploading method and related devices | |
CN116774933A (en) | Virtualization processing method of storage device, bridging device, system and medium | |
CN105389190A (en) | Operating system starting method, apparatus and system | |
WO2017087544A1 (en) | Method and system for shared direct access storage | |
WO2022242665A1 (en) | Data storage method and related device | |
CN114296882A (en) | Method, device and medium for exporting memory snapshot of virtual machine | |
CN114237814A (en) | Virtual machine migration method and device across virtualization platforms and computer equipment | |
CN116069451B (en) | Virtualization method, device, equipment, medium, accelerator and system | |
CN115576705B (en) | Data synchronization method, device and medium for redundant firmware |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |