CN101291202A - Method for managing data transmission path and host server - Google Patents
Method for managing data transmission path and host server Download PDFInfo
- Publication number
- CN101291202A CN101291202A CNA2008100983712A CN200810098371A CN101291202A CN 101291202 A CN101291202 A CN 101291202A CN A2008100983712 A CNA2008100983712 A CN A2008100983712A CN 200810098371 A CN200810098371 A CN 200810098371A CN 101291202 A CN101291202 A CN 101291202A
- Authority
- CN
- China
- Prior art keywords
- interface
- storage array
- unit
- host server
- data transmission
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了数据传输路径的管理方法和主机服务器,应用于通信技术领域。本发明实施例采用的数据传输路径的管理方法是:载入存储阵列对应的接口参数,并根据所述接口参数管理与所述存储阵列的接口间的数据传输路径。而所述载入的存储阵列对应的接口参数需要主机服务器先根据实际通信的存储阵列通过一定的方法获取。采用本发明实施例使得在主机服务器与存储阵列的通信中,只将需要通信的存储阵列对应的接口参数载入主机服务器,这样主机服务器就能很好的支持不同厂商生产的各种存储阵列及其不同模式,不存在私有接口不统一的问题,提高了主机服务器与不同存储阵列之间的兼容性。
The invention discloses a data transmission path management method and a host server, which are applied in the technical field of communication. The method for managing the data transmission path adopted in the embodiment of the present invention is: loading interface parameters corresponding to the storage array, and managing the data transmission path with the interface of the storage array according to the interface parameters. The interface parameters corresponding to the loaded storage array need to be obtained by the host server through a certain method according to the actual communication storage array. By adopting the embodiment of the present invention, in the communication between the host server and the storage array, only the interface parameters corresponding to the storage array to be communicated are loaded into the host server, so that the host server can well support various storage arrays and storage arrays produced by different manufacturers. Its different modes do not have the problem of inconsistent private interfaces, which improves the compatibility between the host server and different storage arrays.
Description
技术领域 technical field
本发明涉及通信技术领域,具体涉及数据传输路径的管理方法和主机服务器。The invention relates to the technical field of communication, in particular to a data transmission path management method and a host server.
背景技术 Background technique
在如今的通信技术领域中,为了更好地发挥通信设备性能,通常情况下,各个厂家在通信两端会定义部分的私有接口成为通信端的固有接口,用户对这些接口不能修改或设置。如电子集成驱动器IDE(Integrated Drive Electronics)、串口SATA(Serial ATA)及小型计算机系统接口SCSI(Small Computer SystemInterface)等。In today's communication technology field, in order to better utilize the performance of communication equipment, usually, each manufacturer will define some private interfaces at both ends of the communication as the inherent interfaces of the communication end, and users cannot modify or set these interfaces. Such as electronic integrated drive IDE (Integrated Drive Electronics), serial port SATA (Serial ATA) and small computer system interface SCSI (Small Computer System Interface), etc.
以主机服务器的多路径管理单元和存储阵列进行通信的SCSI接口为例,主机服务器中的多路径管理单元,是用来管理主机服务器和存储阵列之间多条数据传输路径的。而存储阵列即磁盘阵列,作为独立的存储设备在主机服务器外直连或通过网络与主机服务器相连。SCSI接口可分为SCSI标准接口和SCSI私有接口,其中SCSI私有接口通常用来实现存储阵列的一些特殊功能。如图1所示,主机服务器加载了多路径管理软件后,利用主机服务器中的多路径管理单元管理与存储阵列的数据传输路径。现有技术的数据传输路径的管理方法是主机服务器的多路径管理单元与相应的存储阵列进行通信测试后即可管理数据传输路径。而多路径管理软件是存储厂商和存储软件厂商提供的,或操作系统自带的。厂家在提供多路径管理软件的同时,将该厂生产的存储阵列的接口参数写入多路径管理软件的源代码中,用户不能配置这些接口参数。前者以EMC公司提供的PowerPath和IBM公司提供的RDAC为代表,后者以SUNSolaris系统自带的多路径管理系统STMS(StorEdge Traffic Manager Software)和HP公司HP-UX系统自带的多路径管理系统PVLinks(Physical VolumeLinks)为代表。Taking the SCSI interface through which the multipath management unit of the host server communicates with the storage array as an example, the multipath management unit in the host server is used to manage multiple data transmission paths between the host server and the storage array. The storage array is a disk array, which is directly connected to the host server as an independent storage device or connected to the host server through a network. SCSI interfaces can be divided into SCSI standard interfaces and SCSI private interfaces, among which SCSI private interfaces are usually used to implement some special functions of storage arrays. As shown in FIG. 1 , after the host server is loaded with multipath management software, the multipath management unit in the host server is used to manage the data transmission path with the storage array. The management method of the data transmission path in the prior art is to manage the data transmission path after the multipath management unit of the host server performs a communication test with the corresponding storage array. The multipath management software is provided by storage vendors and storage software vendors, or comes with the operating system. When the manufacturer provides the multipath management software, it writes the interface parameters of the storage array produced by the factory into the source code of the multipath management software, and the user cannot configure these interface parameters. The former is represented by PowerPath provided by EMC Corporation and RDAC provided by IBM Corporation, while the latter is represented by the multipath management system STMS (StorEdge Traffic Manager Software) of SUN Solaris system and the multipath management system PVLinks of HP Company HP-UX system. (Physical VolumeLinks) as the representative.
在对现有技术的研究和实践过程中,本发明的发明人发现:During the research and practice of the prior art, the inventors of the present invention found that:
若多路径管理系统是由厂商提供的,在数据传输路径的管理中,主机服务器只能很好的支持该厂生产的各种存储阵列及其不同模式,而不能兼容其它存储设备厂商生产的存储阵列;对于多路径管理系统是操作系统自带时,虽然能兼容第三方存储设备厂商生产的存储阵列,但是由于存储阵列存在私有接口,而主机服务器却不知道这些接口,使得在数据传输路径的管理中,不能对存储阵列发送SCSI私有命令,则主机服务器一般只能兼容第三方存储阵列的某些模式。If the multi-path management system is provided by the manufacturer, in the management of the data transmission path, the host server can only well support various storage arrays and their different modes produced by the factory, but cannot be compatible with the storage arrays produced by other storage device manufacturers. Arrays; when the multipath management system comes with the operating system, although it can be compatible with storage arrays produced by third-party storage device manufacturers, the storage arrays have private interfaces, but the host server does not know these interfaces, making the data transmission path In management, SCSI private commands cannot be sent to the storage array, and the host server is generally only compatible with certain modes of the third-party storage array.
总之,这些私有接口由于没有统一的标准,往往会有差异。这就会产生主机服务器与不同存储阵列之间通信时产生兼容性问题。In short, these private interfaces often have differences because there is no unified standard. This creates compatibility issues when communicating between host servers and different storage arrays.
发明内容 Contents of the invention
本发明实施例提供兼容性较高的数据传输路径的管理方法和主机服务器,采用本发明实施例使得在数据传输路径的管理中,主机服务器的能很好的兼容各厂生产的各种存储阵列及其不同模式。Embodiments of the present invention provide a highly compatible data transmission path management method and host server. Adopting the embodiment of the present invention enables the host server to be well compatible with various storage arrays produced by various factories in the management of data transmission paths. and its different modes.
本发明实施例提供的一种数据传输路径的管理方法,包括:A method for managing a data transmission path provided by an embodiment of the present invention includes:
载入存储阵列对应的接口参数;Load the interface parameters corresponding to the storage array;
根据所述接口参数管理与所述存储阵列的接口间的数据传输路径。A data transmission path with the interface of the storage array is managed according to the interface parameters.
本发明提供的一种主机服务器,包括:接口载入单元和多路径管理单元,A host server provided by the present invention includes: an interface loading unit and a multipath management unit,
接口载入单元,用于载入存储阵列对应的接口参数;The interface loading unit is used to load the interface parameters corresponding to the storage array;
多路径管理单元,用于根据所述接口载入单元载入的接口参数管理与存储阵列的接口间的数据传输路径。The multipath management unit is configured to manage the data transmission path between the interface with the storage array according to the interface parameters loaded by the interface loading unit.
本发明实施例采用的数据传输路径的管理方法是:载入存储阵列对应的接口参数,并根据所述接口参数管理与所述存储阵列的接口间的数据传输路径。使得在主机服务器与存储阵列的通信中,主机服务器只将需要通信的存储阵列对应的接口参数载入,这样主机服务器就能很好的支持不同厂商生产的各种存储阵列及其不同模式,不存在私有接口不统一的问题,提高了主机服务器与不同存储阵列之间的兼容性。The management method of the data transmission path adopted in the embodiment of the present invention is: loading the interface parameters corresponding to the storage array, and managing the data transmission path with the interface of the storage array according to the interface parameters. In the communication between the host server and the storage array, the host server only loads the interface parameters corresponding to the storage array that needs to communicate, so that the host server can well support various storage arrays produced by different manufacturers and their different modes, without There is a problem of inconsistent private interfaces, which improves the compatibility between the host server and different storage arrays.
附图说明 Description of drawings
图1是现有技术的数据传输路径的管理方法流程图;FIG. 1 is a flowchart of a management method of a data transmission path in the prior art;
图2是本发明实施例二提供的数据传输路径的管理方法的流程图;FIG. 2 is a flowchart of a method for managing a data transmission path provided in Embodiment 2 of the present invention;
图3是本发明实施例二提供的通过网络侧服务器来获取存储阵列对应的接口参数的流程图;FIG. 3 is a flow chart of obtaining interface parameters corresponding to a storage array through a network-side server provided by Embodiment 2 of the present invention;
图4是本发明实施例二提供的通过本机获取存储阵列对应的接口参数的流程图;FIG. 4 is a flow chart of obtaining interface parameters corresponding to the storage array through the local machine provided by Embodiment 2 of the present invention;
图5是本发明实施例三提供的主机服务器的逻辑结构示意图;FIG. 5 is a schematic diagram of a logical structure of a host server provided by Embodiment 3 of the present invention;
图6是本发明实施例四提供的主机服务器的逻辑结构示意图;FIG. 6 is a schematic diagram of a logical structure of a host server provided in Embodiment 4 of the present invention;
图7是本发明实施例五提供的主机服务器的逻辑结构示意图;FIG. 7 is a schematic diagram of a logical structure of a host server provided in Embodiment 5 of the present invention;
图8是本发明实施例六提供的主机服务器的逻辑结构示意图。FIG. 8 is a schematic diagram of a logical structure of a host server provided by Embodiment 6 of the present invention.
具体实施方式 Detailed ways
本发明实施例提供数据传输路径的管理方法和主机服务器,应用于通信技术领域。存储厂商和存储软件厂商会提供多路径管理系统或在操作系统会自带多路径管理系统,以帮助用户利用主机服务器管理与存储阵列之间多条数据传输路径。而SCSI接口是主机服务器的多路径管理单元和存储阵列进行通信的命令接口,为了提高主机服务器与存储阵列之间的兼容性,本发明实施例所提出的核心思想是:在使用的过程中,根据不同的存储阵列在主机服务器中存入相应的SCSI接口参数,并通过所述SCSI接口参数来管理主机服务器和存储阵列之间的数据传输路径。以下对本发明实施例的数据传输路径的管理方法、系统及相关设备分别进行详细说明。Embodiments of the present invention provide a data transmission path management method and a host server, which are applied in the technical field of communication. Storage vendors and storage software vendors will provide a multi-path management system or have their own multi-path management system in the operating system to help users manage multiple data transmission paths between the host server and the storage array. The SCSI interface is a command interface for communication between the multipath management unit of the host server and the storage array. In order to improve the compatibility between the host server and the storage array, the core idea proposed by the embodiments of the present invention is: during use, Store corresponding SCSI interface parameters in the host server according to different storage arrays, and manage the data transmission path between the host server and the storage array through the SCSI interface parameters. The method, system, and related equipment for managing a data transmission path according to the embodiments of the present invention will be described in detail below.
实施例一、一种数据传输路径的管理方法。Embodiment 1. A method for managing a data transmission path.
主机服务器在管理与存储阵列的数据传输路径时,要先载入与通信的存储阵列对应的SCSI接口参数,如:SCSI接口标识参数及其对应的SCSI接口命令参数等,其中接口标识参数是指接口的地址或统一资源定位器URL(UniformResource Locators)等,而接口命令参数是指接口的功能参数。载入的这些接口参数有标准接口也有私有接口的参数,可以通过从其它设备获得;也可以是厂家在主机服务器的多路径管理单元中预置的,在使用过程中主机服务器能直接载入。When the host server manages the data transmission path with the storage array, it must first load the SCSI interface parameters corresponding to the communicating storage array, such as: SCSI interface identification parameters and corresponding SCSI interface command parameters, etc., where the interface identification parameter refers to The address of the interface or the Uniform Resource Locator URL (UniformResource Locators), etc., and the interface command parameter refers to the function parameter of the interface. These interface parameters to be loaded include standard interface and private interface parameters, which can be obtained from other devices; they can also be preset by the manufacturer in the multipath management unit of the host server, and the host server can be directly loaded during use.
然后主机服务器的多路径管理单元根据所述接口参数管理与存储阵列之间的数据传输路径。Then the multipath management unit of the host server manages the data transmission path with the storage array according to the interface parameters.
载入了SCSI接口参数的主机服务器与存储阵列之间有很高的兼容性,在管理与存储阵列的数据传输路径时,主机服务器的多路径管理单元首先要根据实际通信情况调用接口参数。The host server loaded with SCSI interface parameters has high compatibility with the storage array. When managing the data transmission path with the storage array, the multipath management unit of the host server must first call the interface parameters according to the actual communication situation.
例如:数据传输发生中断时,主机服务器的多路径管理单元会调用载入的接口参数中切换命令的接口标识参数,并发送切换命令到相应接口,将输入/输出I/O(Input/Output)流切换到备用路径上,当原主路径正常后,主机服务器的多路径管理软件同样会发送切回命令到相应的接口,这时I/O流又会被切换回去;同时,可以在路径上将I/O流按照策略进行负荷分担发送,以提高I/O访问性能;如果需要通信的存储阵列是主动/被动A/P(Active/Passive)模式,此时存储阵列上的逻辑单元LUN(Logical Unit Number)存在一个优选控制器,同一时刻只能有一个控制器拥有对该LUN的控制权限,当优选控制器上的所有路径发生故障时,主机服务器的多路径管理软件调用相关接口参数,并发送切换工作控制器的SCSI私有命令到存储阵列。For example: when data transmission is interrupted, the multipath management unit of the host server will call the interface identification parameter of the switching command in the loaded interface parameters, and send the switching command to the corresponding interface, and input/output I/O (Input/Output) When the original main path is normal, the multipath management software of the host server will also send a switchback command to the corresponding interface, and the I/O flow will be switched back at this time; at the same time, the I/O streams are load-balanced and sent according to policies to improve I/O access performance; if the storage array that needs to communicate is in active/passive A/P (Active/Passive) mode, the logical unit LUN (Logical Unit Number) there is a preferred controller, and only one controller has the control authority for the LUN at the same time. When all paths on the preferred controller fail, the multipath management software of the host server calls the relevant interface parameters, and Send a SCSI private command to switch the active controller to the storage array.
采用本实施例的数据传输路径的管理方法,主机服务器根据实际通信情况,只将需要通信的存储阵列对应的SCSI接口参数载入,这样主机服务器和存储阵列之间就不存在私有接口不统一的问题,能很好的支持不同厂商生产的各种存储阵列及其不同模式。实现了通信两端SCSI接口的统一,克服了现有技术中主机服务器与存储阵列之间的兼容性不高的缺点,从而可以更好地发挥这些存储阵列的特殊功能,为用户提供更好的服务。With the method for managing data transmission paths in this embodiment, the host server only loads the SCSI interface parameters corresponding to the storage array that needs to communicate according to the actual communication situation, so that there is no inconsistent private interface between the host server and the storage array. problem, it can well support various storage arrays produced by different manufacturers and their different modes. It realizes the unification of the SCSI interface at both ends of the communication, overcomes the disadvantage of low compatibility between the host server and the storage array in the prior art, so that the special functions of these storage arrays can be better utilized to provide users with better Serve.
实施例二、一种数据传输路径的管理方法,流程图如图2所示,包括:Embodiment 2. A management method of a data transmission path, the flowchart of which is shown in FIG. 2 , including:
步骤201、主机服务器获取存储阵列对应的接口参数;
在载入存储阵列对应的SCSI接口参数前,主机服务器可以在远程的网络侧服务器获取SCSI接口参数,获取流程图如图3所示,包括:Before loading the SCSI interface parameters corresponding to the storage array, the host server can obtain the SCSI interface parameters from the remote network side server. The acquisition flow chart is shown in Figure 3, including:
201A1、主机服务器发送存储阵列的接口获取请求给网络侧服务器,所述接口获取请求中包括所述存储阵列对应的信息,如存储阵列的型号、存储阵列的生产序列号等。201A1. The host server sends an interface acquisition request of the storage array to the network side server, and the interface acquisition request includes information corresponding to the storage array, such as the model of the storage array, the production serial number of the storage array, and the like.
可以理解,这里的存储阵列对应的信息可以由主机服务器在存储阵列生产厂商网站上查找得到,也可以从其他途径得到,比如人工输入。主机服务器在得到需要通信的存储阵列对应的信息后,构造携带所述存储阵列对应信息的接口获取请求,并将该接口获取请求发送给网络侧服务器。It can be understood that the information corresponding to the storage array here can be found by the host server on the website of the storage array manufacturer, or can be obtained from other ways, such as manual input. After obtaining the information corresponding to the storage array that needs to communicate, the host server constructs an interface acquisition request carrying the information corresponding to the storage array, and sends the interface acquisition request to the network side server.
网络侧服务器在接收到接口获取请求后,对该接口获取请求进行解析得到存储阵列对应的信息,再根据所述存储阵列对应的信息来获取所述存储阵列对应的SCSI接口参数。After receiving the interface acquisition request, the network side server parses the interface acquisition request to obtain information corresponding to the storage array, and then acquires SCSI interface parameters corresponding to the storage array according to the information corresponding to the storage array.
可以理解,网络侧服务器可以是储存了存储阵列对应的接口参数表的服务器,该接口参数表体现了接口标识参数和接口命令参数的对应关系。此时,网络侧服务器只要通过接口获取请求中的存储阵列对应的信息如:型号、生产序列号等,就可以查找到存储阵列对应的接口参数。It can be understood that the server on the network side may be a server that stores an interface parameter table corresponding to the storage array, and the interface parameter table reflects the corresponding relationship between the interface identification parameter and the interface command parameter. At this time, the server on the network side can find the interface parameters corresponding to the storage array as long as it obtains the information corresponding to the storage array in the request through the interface, such as model number and production serial number.
例如,在解析得到存储阵列对应的信息为:HP-UX*****,网络侧服务器则查找保存的存储阵列的接口参数表,查找到HP-UX*****型号的存储阵列的接口参数表,并据此提取对应的SCSI接口参数。如表1所示,体现了HP-UX*****型号的存储阵列的接口标识参数和各个接口所执行的功能即接口命令参数的对应关系。For example, after parsing the information corresponding to the storage array is: HP-UX*****, the server on the network side searches the stored interface parameter table of the storage array, and finds the HP-UX***** type storage array interface parameter table, and extract corresponding SCSI interface parameters accordingly. As shown in Table 1, it reflects the corresponding relationship between the interface identification parameters of the HP-UX****** model storage array and the functions performed by each interface, that is, the interface command parameters.
表1HP-UX*****的接口参数表Table 1 Interface parameter table of HP-UX*****
网络侧服务器将查找得到的接口参数表返回到主机服务器。The server on the network side returns the interface parameter table obtained by searching to the host server.
可以理解,网络侧服务器也可以通过其他方式来获得和查找接口参数,如通过接口获取请求中的存储阵列对应的信息找到对应的存储阵列,并分析所述存储阵列对应的SCSI接口参数,最后网络侧服务器将分析得到的SCSI接口参数返回到主机服务器。It can be understood that the server on the network side can also obtain and search interface parameters in other ways, such as finding the corresponding storage array through the information corresponding to the storage array in the interface acquisition request, and analyzing the SCSI interface parameters corresponding to the storage array, and finally the network The side server returns the analyzed SCSI interface parameters to the host server.
201A2、主机服务器接收所述网络侧服务器返回的存储阵列对应的SCSI接口参数。201A2. The host server receives the SCSI interface parameters corresponding to the storage array returned by the network side server.
在其他可选择的实施例中,SCSI接口参数的获取除了上述方法还可以通过以下步骤获得,流程图如图4所示:In other optional embodiments, the acquisition of SCSI interface parameters can also be obtained through the following steps except the above-mentioned method, and the flow chart is as shown in Figure 4:
201B1、主机服务器发送接口命令到存储阵列的所有接口;201B1. The host server sends an interface command to all interfaces of the storage array;
这种获得接口参数的方法是主机服务器将接口命令发送到需要通信的存储阵列的所有接口,所述接口命令是存储阵列的SCSI接口所具有的功能命令。存储阵列接收到接口命令后,如果所述接口命令与接口相对应,存储阵列的接口就会返回接口命令响应给主机服务器,如果不相对应,存储阵列的接口就不会返回接口响应给主机服务器。The method for obtaining interface parameters is that the host server sends an interface command to all interfaces of the storage array that need to communicate, and the interface command is a function command of the SCSI interface of the storage array. After the storage array receives the interface command, if the interface command corresponds to the interface, the interface of the storage array will return the interface command response to the host server; if not, the interface of the storage array will not return the interface response to the host server .
201B2、主机服务器接收所述存储阵列返回的接口命令响应,并记录返回所述接口命令响应相应的接口参数。201B2. The host server receives the interface command response returned by the storage array, and records the corresponding interface parameters returned in the interface command response.
可以理解记录返回所述接口命令响应相应的接口参数是记录返回所述接口命令响应的接口标识参数,比如表1中的URL1、URL2等。It can be understood that the interface parameter corresponding to the interface command response recorded and returned is the interface identification parameter recorded and returned to the interface command response, such as URL1 and URL2 in Table 1.
例如:主机服务器发送接口命令“切换路径”到存储阵列的所有接口,当存储阵列的URL2接口接收到该接口命令后,发现该接口命令与URL2接口相符合,即URL2接口的功能为“切换路径”,则URL2接口返回接口命令响应。主机服务器在接收到返回的接口命令响应后,将切换路径对应的接口标识参数URL2作为接口参数记录下来。For example, the host server sends the interface command "switch path" to all interfaces of the storage array. When the URL2 interface of the storage array receives the interface command, it finds that the interface command matches the URL2 interface, that is, the function of the URL2 interface is "switch path". ”, the URL2 interface returns an interface command response. After receiving the returned interface command response, the host server records the interface identification parameter URL2 corresponding to the switching path as an interface parameter.
步骤202、主机服务器载入所述存储阵列对应的接口参数。Step 202, the host server loads interface parameters corresponding to the storage array.
优选地,主机服务器可以先将获得的存储阵列对应的SCSI接口参数写到一个配置文件,然后把存储阵列的SCSI接口参数以配置文件的形式载入,这里所述的配置文件可以包括:“*.conf”、“*.xml”、“*.ini”等类型。Preferably, the host server may first write the obtained SCSI interface parameters corresponding to the storage array to a configuration file, and then load the SCSI interface parameters of the storage array in the form of a configuration file, the configuration file described here may include: "* .conf", "*.xml", "*.ini" and other types.
可以理解,上述SCSI接口参数的载入也有其它方法,本发明只是介绍了一些优选的方法,这并不能对本发明构成限制。It can be understood that there are other methods for loading the aforementioned SCSI interface parameters, and the present invention only introduces some preferred methods, which do not limit the present invention.
步骤203、主机服务器根据所述接口参数管理与存储阵列的数据传输路径。Step 203, the host server manages the data transmission path with the storage array according to the interface parameters.
如实施例一所述载入了接口参数的主机服务器与存储阵列之间有很高的兼容性,在管理与存储阵列的数据传输路径时,主机服务器首先要调用配置文件中的接口参数。As described in Embodiment 1, the host server loaded with the interface parameters has high compatibility with the storage array. When managing the data transmission path with the storage array, the host server first calls the interface parameters in the configuration file.
本实施例是实施例一数据传输路径的管理方法的具体实现,主机服务器根据实际通信情况,将需要通信的存储阵列对应的SCSI接口参数以配置文件的形式载入,这种配置文件比较简单、方便。This embodiment is a specific implementation of the method for managing data transmission paths in Embodiment 1. According to the actual communication situation, the host server loads the SCSI interface parameters corresponding to the storage array that needs to communicate in the form of a configuration file. This configuration file is relatively simple. convenient.
实施例三、请参照图5,本发明实施例提供一种主机服务器300,包括:接口载入单元31和多路径管理单元32,其中:Embodiment 3, please refer to FIG. 5 , an embodiment of the present invention provides a
接口载入单元31是用于载入存储阵列对应的接口参数;The
多路径管理单元32是用于根据接口载入单元31载入的接口参数来管理与存储阵列的数据传输路径。The
本实施例中,主机服务器300增加了接口载入单元31和多路径管理单元32,可以接收存储阵列的接口参数并根据所述接口参数管理主机服务器300和存储阵列之间的数据传输路径,以使得主机服务器可以对应于多种不同的存储阵列。In this embodiment, the
实施例四、请参照图6,本发明实施例提供一种主机服务器400,包括:接口载入单元41和多路径管理单元42,其中:Embodiment 4, please refer to FIG. 6 , an embodiment of the present invention provides a
接口载入单元41是用于载入存储阵列对应的接口参数;The
优选地,接口载入单元41包括:存储单元410和接口写入单元411,存储单元410是用于储存配置文件,接口写入单元411是用于将存储阵列对应的接口参数写入到存储单元410储存的配置文件中。Preferably, the
多路径管理单元42,用于调用存储单元410储存的配置文件中的接口参数来管理与存储阵列的数据传输路径。The
本实施例中,通过配置文件的方式将存储阵列对应的SCSI接口参数载入主机服务器400,实现了主机服务器400和存储阵列两端SCSI接口的统一。In this embodiment, the SCSI interface parameters corresponding to the storage array are loaded into the
实施例五、请参照图7,本发明实施例提供一种主机服务器500,包括:接口获取单元51、接口载入单元52和多路径管理单元53,其中:Embodiment 5, please refer to FIG. 7 , an embodiment of the present invention provides a host server 500, including: an interface acquisition unit 51, an interface loading unit 52, and a multipath management unit 53, wherein:
接口获取单元51,用于获取存储阵列对应的SCSI接口参数,且本实施例中,主机服务器500的接口获取单元51与网络侧服务器800通信连接,而存储阵列和主机服务器500是通过网络相连接,由于网络侧服务器800储存了所述存储阵列的接口参数表,则所述接口获取单元51包括接口获取请求单元510和接收单元511,接口获取请求单元510用于发送包含存储阵列对应信息的存储阵列的接口获取请求给网络侧服务器800,接收单元511用于接收网络侧服务器800返回的接口参数;The interface obtaining unit 51 is used to obtain the SCSI interface parameters corresponding to the storage array, and in this embodiment, the interface obtaining unit 51 of the host server 500 is connected to the network side server 800 through communication, and the storage array and the host server 500 are connected through the network , since the network side server 800 has stored the interface parameter table of the storage array, the interface acquisition unit 51 includes an interface acquisition request unit 510 and a receiving unit 511, and the interface acquisition request unit 510 is used to send a storage array containing corresponding information of the storage array The interface acquisition request of the array is sent to the network side server 800, and the receiving unit 511 is used to receive the interface parameters returned by the network side server 800;
接口载入单元52是用于载入接收单元511接收的储存阵列对应的接口参数,在本实施例中,接口载入单元52包括:存储单元520和接口写入单元521,存储单元520是用于储存配置文件,接口写入单元521与所述接收单元511通信连接,用于将接收单元511所接收的接口参数写入到存储单元520的配置文件中。The interface loading unit 52 is used to load the interface parameters corresponding to the storage array received by the receiving unit 511. In this embodiment, the interface loading unit 52 includes: a storage unit 520 and an interface writing unit 521. The storage unit 520 is used to For storing the configuration file, the interface writing unit 521 is connected to the receiving unit 511 in communication, and is used for writing the interface parameters received by the receiving unit 511 into the configuration file of the storage unit 520 .
多路径管理单元53是用于调用存储单元520储存的配置文件中的接口参数来管理与存储阵列的数据传输路径。The multipath management unit 53 is used to call the interface parameters in the configuration file stored in the storage unit 520 to manage the data transmission path with the storage array.
本实施例提供的主机服务器500是在实施例四提供的主机服务器基础上加了接口获取单元51,采用本实施例的主机服务器500,使得存储阵列对应的SCSI接口参数可以从网络侧服务器800得到。这种主机服务器只需通过网络服务器800查找现有的接口参数表,实际操作起来比较简单。The host server 500 provided in this embodiment is based on the host server provided in Embodiment 4 with an interface acquisition unit 51 added. Using the host server 500 in this embodiment, the SCSI interface parameters corresponding to the storage array can be obtained from the network side server 800 . This kind of host server only needs to search the existing interface parameter table through the network server 800, and the actual operation is relatively simple.
实施例六、请参照图8,所示为本发明另一实施例所提供的主机服务器600的逻辑结构示意图。所述主机服务器600包括接口获取单元61、接口载入单元62和多路径管理单元63。Embodiment 6 Please refer to FIG. 8 , which is a schematic diagram of a logical structure of a
接口获取单元61是用于获取存储阵列700对应的SCSI接口参数,在本实施例中,主机服务器600和存储阵列700直接通信连接,而所述接口获取单元61包括命令发送单元610、响应接收单元611和接口记录单元612,其中:The
命令发送单元610,用于发送接口命令到所述存储阵列700的所有接口,所述接口命令是存储阵列700的SCSI接口所具有的功能命令;A
响应接收单元611,用于接收存储阵列700返回的接口命令响应,并记录返回接口命令响应的接口地址;The response receiving unit 611 is configured to receive the interface command response returned by the
接口记录单元612,根据命令发送单元610发送的功能命令和响应接收单元612所记录的返回命令响应的接口地址,生成接口参数并记录下来。The interface recording unit 612 generates and records interface parameters according to the function command sent by the
接口载入单元62,用于载入接口记录单元612记录的储存阵列对应的接口参数。在本实施例中,所述接口载入单元62包括:存储单元620和接口写入单元621。所述存储单元620是用于储存配置文件,所述接口写入单元621与接口记录单元612相连接,用于将接口记录单元612记录的存储阵列对应的接口参数写入到存储单元610储存的配置文件中。The
多路径管理单元63,用于调用存储单元620储存的配置文件中的接口参数来管理与存储阵列的数据传输路径。The
本实施例提供的主机服务器600与实施例五提供的主机服务器不同的是接口获取单元61,采用本实施例的主机服务器600,使得存储阵列对应的SCSI接口参数还可以通过与存储阵列700的交互得到。The difference between the
从上述数据传输路径的管理方法和主机服务器看出:在主机服务器与存储阵列的通信中,只将需要通信的存储阵列对应的SCSI接口参数载入,这样主机服务器就能很好的支持不同厂商生产的各种存储阵列及其不同模式,不存在私有接口不统一的问题,提高了主机服务器与不多存储阵列之间的兼容性。From the management method of the above data transmission path and the host server, it can be seen that in the communication between the host server and the storage array, only the SCSI interface parameters corresponding to the storage array to be communicated are loaded, so that the host server can well support different manufacturers. Various storage arrays produced and their different modes do not have the problem of non-uniform private interfaces, which improves the compatibility between host servers and few storage arrays.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: ROM, RAM, disk or CD, etc.
以上对本发明实施例所提供的数据传输路径的管理方法和主机服务器进行了详细介绍,本文中应用了具体6个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The management method of the data transmission path provided by the embodiment of the present invention and the host server have been introduced in detail above. In this paper, 6 specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only for helping Understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification is not It should be understood as a limitation of the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100983712A CN101291202B (en) | 2008-05-30 | 2008-05-30 | Management method and host server for data transmission paths |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100983712A CN101291202B (en) | 2008-05-30 | 2008-05-30 | Management method and host server for data transmission paths |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101291202A true CN101291202A (en) | 2008-10-22 |
CN101291202B CN101291202B (en) | 2011-05-04 |
Family
ID=40035306
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100983712A Active CN101291202B (en) | 2008-05-30 | 2008-05-30 | Management method and host server for data transmission paths |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101291202B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103345417A (en) * | 2013-06-06 | 2013-10-09 | 华为技术有限公司 | Method and device for recovering storage space |
CN106814977A (en) * | 2017-01-19 | 2017-06-09 | 郑州云海信息技术有限公司 | The management method and system of the multi-path software based on many storage manufacturers |
CN113377289A (en) * | 2021-06-01 | 2021-09-10 | 北京齐尔布莱特科技有限公司 | Cache management method, system, computing device and readable storage medium |
CN115129658A (en) * | 2021-03-25 | 2022-09-30 | 美光科技公司 | In-memory processing implementation of parsing strings for context-free syntax |
CN116705105A (en) * | 2022-02-24 | 2023-09-05 | 长鑫存储技术有限公司 | Storage circuits, data transmission circuits and memories |
US11887693B2 (en) | 2020-12-16 | 2024-01-30 | Lodestar Licensing Group Llc | Reconfigurable processing-in-memory logic |
US11947967B2 (en) | 2020-07-17 | 2024-04-02 | Lodestar Licensing Group Llc | Reconfigurable processing-in-memory logic using look-up tables |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7882562B2 (en) * | 2005-12-15 | 2011-02-01 | International Business Machines Corporation | Apparatus, system, and method for deploying iSCSI parameters to a diskless computing device |
CN1909478A (en) * | 2006-08-29 | 2007-02-07 | 乌永胜 | Method for realizing management of multiple disks storage array through exchange or management server |
-
2008
- 2008-05-30 CN CN2008100983712A patent/CN101291202B/en active Active
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103345417A (en) * | 2013-06-06 | 2013-10-09 | 华为技术有限公司 | Method and device for recovering storage space |
CN106814977A (en) * | 2017-01-19 | 2017-06-09 | 郑州云海信息技术有限公司 | The management method and system of the multi-path software based on many storage manufacturers |
US11947967B2 (en) | 2020-07-17 | 2024-04-02 | Lodestar Licensing Group Llc | Reconfigurable processing-in-memory logic using look-up tables |
US11887693B2 (en) | 2020-12-16 | 2024-01-30 | Lodestar Licensing Group Llc | Reconfigurable processing-in-memory logic |
CN115129658A (en) * | 2021-03-25 | 2022-09-30 | 美光科技公司 | In-memory processing implementation of parsing strings for context-free syntax |
CN113377289A (en) * | 2021-06-01 | 2021-09-10 | 北京齐尔布莱特科技有限公司 | Cache management method, system, computing device and readable storage medium |
CN116705105A (en) * | 2022-02-24 | 2023-09-05 | 长鑫存储技术有限公司 | Storage circuits, data transmission circuits and memories |
CN116705105B (en) * | 2022-02-24 | 2024-12-06 | 长鑫存储技术有限公司 | Storage circuits, data transmission circuits and memories |
Also Published As
Publication number | Publication date |
---|---|
CN101291202B (en) | 2011-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8554808B2 (en) | File management sub-system and file migration control method in hierarchical file system | |
CN101291202A (en) | Method for managing data transmission path and host server | |
US20100088335A1 (en) | Method and apparatus for improving file access performance of distributed storage system | |
US20080021911A1 (en) | Method and apparatus for transparently mapping a request to open a data file | |
JP4463661B2 (en) | Computer system, computer, database access method and database system | |
CN112148678B (en) | A file access method, system, device and medium | |
CN103902458B (en) | A kind of general storage software testing system and design method | |
CN1950814A (en) | Method and apparatus for managing bookmark information for content stored in a networked media server | |
CN105468300B (en) | The management method and device of IP hard disks | |
US7962518B2 (en) | Method and apparatus to control media transfer protocol device to manage media file | |
US8131743B1 (en) | Object searching in data storage systems | |
CN107172070B (en) | Resource access processing method and device | |
WO2018111770A1 (en) | Systems and methods for list retrieval in a storage device | |
EP3869313A1 (en) | Data storage method and apparatus | |
CN107689976A (en) | A kind of document transmission method and device | |
CN111897492A (en) | A data processing method, device and electronic device based on block device driver | |
CN102045399B (en) | Cloud computing mode file system and file reading method | |
US20170068686A1 (en) | Accessing a block based volume as a file based volume | |
US20040093607A1 (en) | System providing operating system independent access to data storage devices | |
CN104601666A (en) | Log service method and cloud platform | |
WO2016101662A1 (en) | Data processing method and relevant server | |
CN101296258A (en) | Hard disk device with network function | |
US8631166B2 (en) | Storage devices with bi-directional communication techniques and method of forming bi-directional communication layer between them | |
US20060117132A1 (en) | Self-configuration and automatic disk balancing of network attached storage devices | |
US8219595B2 (en) | System and method for efficient remote data access for server management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: CHENGDU CITY HUAWEI SAIMENTEKE SCIENCE CO., LTD. Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO., LTD. Effective date: 20090424 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20090424 Address after: Qingshui River District, Chengdu high tech Zone, Sichuan Province, China: 611731 Applicant after: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd. Address before: Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Province, China: 518129 Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee |
Owner name: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD. Free format text: FORMER NAME: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD. |
|
CP01 | Change in the name or title of a patent holder |
Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River Patentee after: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd. Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River Patentee before: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220908 Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041 Patentee after: Chengdu Huawei Technologies Co.,Ltd. Address before: 611731 Qingshui River District, Chengdu hi tech Zone, Sichuan, China Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd. |