WO2023124127A1 - Communication connection method, apparatus and device for host and storage system, and medium - Google Patents

Communication connection method, apparatus and device for host and storage system, and medium Download PDF

Info

Publication number
WO2023124127A1
WO2023124127A1 PCT/CN2022/113562 CN2022113562W WO2023124127A1 WO 2023124127 A1 WO2023124127 A1 WO 2023124127A1 CN 2022113562 W CN2022113562 W CN 2022113562W WO 2023124127 A1 WO2023124127 A1 WO 2023124127A1
Authority
WO
WIPO (PCT)
Prior art keywords
storage system
nvmeofc
configuration information
communication connection
host
Prior art date
Application number
PCT/CN2022/113562
Other languages
French (fr)
Chinese (zh)
Inventor
李冬冬
Original Assignee
浪潮(北京)电子信息产业有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 浪潮(北京)电子信息产业有限公司 filed Critical 浪潮(北京)电子信息产业有限公司
Publication of WO2023124127A1 publication Critical patent/WO2023124127A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the technical field of servers, and in particular to a communication connection method, device, equipment and medium between a host and a storage system.
  • NVMe Non Volatile Memory express, non-volatile memory host controller interface specification
  • NVMeoFC NVMe over Fiber Channel, NVMe transmission through the fiber network
  • the principle of the host automatically connecting to the NVMeoFC storage system is: when the host establishes a port connection with the NVMeoFC storage system, it will judge whether the port on the NVMeoFC storage system has the discovery capability. If the port of the NVMeoFC storage system has the discovery capability, it will trigger udev(device manager). In this case, the host will send relevant link information to the NVMeoFC storage system, and the pre-configured rule file will trigger the nvme command to automatically complete the connection with the NVMeoFC storage system.
  • the process of the host automatically connecting to the NVMeoFC storage system depends on the problem that the port triggers udev for communication connection.
  • the inventor realized that if the NVMeoFC storage system fails to provide NVMe connection services due to abnormal reasons when the NVMeoFC storage system establishes a port connection, even if the NVMeoFC storage system returns to normal, the host cannot establish a communication connection with the NVMeoFC storage system. Obviously, this cannot guarantee the reliability of the host when establishing a communication connection with the NVMeoFC storage system.
  • the present application provides a communication connection method between a host and a storage system, which is applied to an out-of-band management server, including:
  • the process of obtaining configuration information changes in the NVMeoFC storage system includes:
  • the change configuration information of the changes in the configuration information in the NVMeoFC storage system is acquired through the state change program module.
  • the method also includes:
  • the method also includes:
  • the process of sending the target configuration information corresponding to the target host in the changed configuration information to the target host includes:
  • the method also includes:
  • the status subscription program module is used to periodically detect the communication connection status between the target host and the NVMeoFC storage system.
  • the status subscription module stores communication connection information between the target host and the NVMeoFC storage system.
  • the state subscription program module is used to regularly detect the communication connection state between the target host and the NVMeoFC storage system, including:
  • the target configuration information corresponding to the target host in the change configuration information is sent to the target host, so that the target host establishes a communication connection with the NVMeoFC storage system, including:
  • the target host sends the target configuration information corresponding to the target host in the change configuration information to the target host, so that when the target host receives the target configuration information, it can determine whether the target host establishes a communication connection with the NVMeoFC storage system, and respond to the target host and NVMeoFC
  • the storage system has not established a communication connection, but establishes a communication connection with the NVMeoFC storage system through the target configuration information.
  • the number of target hosts is one or more.
  • the changed configuration information of the configuration information in the NVMeoFC storage system includes: the NQN of the host whose configuration information is changed in the NVMeoFC storage system and the target port pairing information of the changed port pairing in the NVMeoFC storage system.
  • the changed configuration information of the changed configuration information in the NVMeoFC storage system further includes: the NQN of the NVMeoFC storage system.
  • the status subscription program module is used to register the NQN of the target host to the out-of-band management server, and then further includes: storing the NQN of the target host.
  • the change in the configuration information of the NVMeoFC storage system means that a new host or namespace that allows access is added to the NVMeoFC storage system, or the NVMeoFC storage system cannot provide NVMeoFC services to the accessing host at the current moment.
  • the failure of the NVMeoFC storage system to provide the NVMeoFC service to the access host at the current moment means that the pairing situation between ports in the NVMeoFC storage system changes.
  • a communication connection is established between the target host and the NVMeoFC storage system through an optical fiber.
  • the present application also discloses a communication connection device between a host and a storage system according to the second aspect.
  • the communication connection device between a host and a storage system is applied to an out-of-band management server, and the device includes the following modules:
  • An information acquisition module configured to acquire change configuration information in which the configuration information in the NVMeoFC storage system changes in response to changes in the configuration information of the NVMeoFC storage system;
  • the host determination module is configured to determine the target host whose configuration information in the above-mentioned NVMeoFC storage system changes according to the above-mentioned changed configuration information;
  • a communication connection module configured to send target configuration information corresponding to the target host in the changed configuration information to the target host in response to the target host being registered in the out-of-band management server, so that the target host and The aforementioned NVMeoFC storage system establishes a communication connection.
  • the information acquisition module is specifically used for:
  • the changed configuration information of the changed configuration information in the NVMeoFC storage system is acquired through the state change program module.
  • this application also discloses a communication connection device between a host and a storage system, including:
  • One or more processors configured to implement the steps in the communication connection method between a host and a storage system as disclosed in any of the foregoing embodiments when executing the above computer-readable instructions.
  • the present application also discloses a non-volatile computer-readable storage medium, in which computer-readable instructions are stored on the above-mentioned non-volatile computer-readable storage medium, and the above-mentioned computer-readable instructions are executed by one or more processors During execution, the steps in a communication connection method between a host and a storage system as disclosed in any of the foregoing embodiments are implemented.
  • FIG. 1 is a flowchart of a communication connection method between a host and a storage system provided by one or more embodiments of the present application;
  • FIG. 2 is a schematic diagram of establishing a communication connection between a target host and an NVMeoFC storage system provided by one or more embodiments of the present application;
  • FIG. 3 is a structural diagram of a communication connection device between a host and a storage system provided by one or more embodiments of the present application;
  • FIG. 4 is a structural diagram of a communication connection device between a host and a storage system provided by one or more embodiments of the present application;
  • Fig. 5 is an internal structural diagram of a communication connection device between a host and a storage system provided by one or more embodiments of the present application.
  • FIG. 1 is a flow chart of a communication connection method between a host and a storage system provided in an embodiment of the present application. The method includes:
  • Step S11 In response to changes in the configuration information of the NVMeoFC storage system, obtain changed configuration information in which the configuration information in the NVMeoFC storage system has changed;
  • Step S12 Determine the target host whose configuration information changes in the NVMeoFC storage system according to the changed configuration information
  • a communication connection method between a host and a storage system through which the reliability of the host when establishing a communication connection with the NVMeoFC storage system can be guaranteed.
  • the communication connection method is specifically described with the out-of-band management server as the execution subject.
  • the number of target hosts may be one or multiple, which is not specifically limited here.
  • the out-of-band management server will send the target configuration information corresponding to the target host in the change configuration information to the target host;
  • the target configuration information corresponding to the target host it will be determined whether the target host has established a communication connection with the NVMeoFC storage system; if the target host has established a communication connection with the NVMeoFC storage system, the target host does not need to take any action; If the NVMeoFC storage system has not established a communication connection, the target host will establish a communication connection with the NVMeoFC storage system through the target configuration information.
  • the out-of-band management server when the configuration information of the NVMeoFC storage system changes, the out-of-band management server will obtain the changed configuration information of the changed configuration information in the NVMeoFC storage system, and determine the configuration information in the NVMeoFC storage system according to the changed configuration information The changed target host; if the target host has been registered in the out-of-band management server, the target configuration information corresponding to the target host in the changed configuration information is sent to the target host, so that the target host establishes communication with the NVMeoFC storage system connect.
  • this method utilizes the out-of-band management server to obtain the changed configuration information in which the configuration information in the NVMeoFC storage system changes, and sends the target configuration information corresponding to the target host in the changed configuration information to The target host, so as to establish a communication connection between the target host and the NVMeoFC storage system.
  • this embodiment further explains and optimizes the technical solution.
  • the above steps when the configuration information of the NVMeoFC storage system changes, obtain the configuration information in the NVMeoFC storage system.
  • the process of changing configuration information including:
  • the above-mentioned communication connection method also includes:
  • FIG. 3 is a structural diagram of a communication connection device between a host and a storage system provided in an embodiment of the present application.
  • the device includes:
  • the out-of-band management server when the configuration information of the NVMeoFC storage system changes, the out-of-band management server will obtain the changed configuration information of the changed configuration information in the NVMeoFC storage system, and determine that the configuration information in the NVMeoFC storage system has changed according to the changed configuration information the target host; if the target host has been registered in the out-of-band management server, the target configuration information corresponding to the target host in the change configuration information is sent to the target host, so that the target host establishes a communication connection with the NVMeoFC storage system.
  • the device is also used to: respond to if the target host is not in the out-of-band management server If the registration is performed, it will be determined that the target host is abnormal, and an early warning message will be prompted.
  • the device is also used to: use the status subscription program module to regularly detect the target host and NVMeoFC storage The status of communication connections between systems.
  • the status subscription module stores communication connection information between the target host and the NVMeoFC storage system.
  • the changed configuration information of the configuration information in the NVMeoFC storage system includes: the NQN of the host whose configuration information is changed in the NVMeoFC storage system and the target port pairing information of the changed port pairing in the NVMeoFC storage system.
  • the changed configuration information of the changed configuration information in the NVMeoFC storage system further includes: the NQN of the NVMeoFC storage system.
  • the change in the configuration information of the NVMeoFC storage system means that a new host or namespace that allows access is added to the NVMeoFC storage system, or the NVMeoFC storage system cannot provide NVMeoFC services to the accessing host at the current moment.
  • the device for communication connection between a host and a storage system provided by the embodiment of the present application has the beneficial effect of the method for communication connection between a host and a storage system disclosed above.
  • FIG. 4 is a structural diagram of a communication connection device between a host and a storage system provided in an embodiment of the present application.
  • the device includes:
  • One or more processors 32 are configured to implement the steps of a communication connection method between a host and a storage system disclosed above when executing computer-readable instructions.
  • FIG. 5 an internal structure diagram of a communication connection device between the host and the storage system may be as shown in FIG. 5 .
  • the communication connection device between the host and the storage system includes a processor, a memory, a network interface and a database connected through a system bus.
  • the processor of the communication connection device between the host and the storage system is used to provide calculation and control capabilities.
  • the memory of the communication connection device between the host and the storage system includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, computer programs and databases.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • FIG. 5 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the communication connection equipment between the host and the storage system to which the solution of this application is applied , the specific communication connection device between the host and the storage system may include more or less components than shown in the figure, or combine some components, or have a different arrangement of components.
  • the embodiment of the present application also provides a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are processed by one or more When the server executes, it implements the steps of a communication connection method between a host and a storage system as disclosed above.
  • each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other.
  • the description is relatively simple, and for the related parts, please refer to the description of the method part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

Disclosed in the present application are a communication connection method, apparatus and device for a host and a storage system, and a medium. The method comprises: when configuration information of an NVMeoFC storage system changes, acquiring change configuration information regarding the change of the configuration information in the NVMeoFC storage system; according to the change configuration information, determining a target host with changed configuration information in the NVMeoFC storage system; and if the target host has been registered in an out-of-band management server, sending target configuration information, which corresponds to the target host and is in the change configuration information, to the target host, so that the target host establishes a communication connection with the NVMeoFC storage system.

Description

一种主机与存储系统的通信连接方法、装置、设备及介质A communication connection method, device, equipment and medium for a host and a storage system
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年12月31日提交中国专利局,申请号为202111678634.9,申请名称为“一种主机与存储系统的通信连接方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on December 31, 2021 with the application number 202111678634.9. The entire contents are incorporated by reference in this application.
技术领域technical field
本申请涉及服务器技术领域,特别涉及一种主机与存储系统的通信连接方法、装置、设备及介质。The present application relates to the technical field of servers, and in particular to a communication connection method, device, equipment and medium between a host and a storage system.
背景技术Background technique
NVMe(Non Volatile Memory express,非易失性内存主机控制器接口规范)存在超时机制不完善的问题,也即,主机在与NVMeoFC(NVMe over Fibre Channel,通过光纤网络实现NVMe传输)存储系统建立通信连接时,会存在概率性连接失败的问题。其中,主机自动连接NVMeoFC存储系统的原理是:主机与NVMeoFC存储系统建立端口连接时,会判断NVMeoFC存储系统上的端口是否具备discovery能力,如果NVMeoFC存储系统的端口具有discovery能力则会触发udev(设备管理器)。在此情况下,主机就会向NVMeoFC存储系统发送相关的链路信息,并由预先配置的规则文件触发nvme命令自动完成与NVMeoFC存储系统的连接。NVMe (Non Volatile Memory express, non-volatile memory host controller interface specification) has an imperfect timeout mechanism, that is, the host is establishing communication with the NVMeoFC (NVMe over Fiber Channel, NVMe transmission through the fiber network) storage system When connecting, there will be a problem of probabilistic connection failure. Among them, the principle of the host automatically connecting to the NVMeoFC storage system is: when the host establishes a port connection with the NVMeoFC storage system, it will judge whether the port on the NVMeoFC storage system has the discovery capability. If the port of the NVMeoFC storage system has the discovery capability, it will trigger udev(device manager). In this case, the host will send relevant link information to the NVMeoFC storage system, and the pre-configured rule file will trigger the nvme command to automatically complete the connection with the NVMeoFC storage system.
从上述过程可以看出主机自动连接NVMeoFC存储系统的过程依赖于端口触发udev进行通信连接的问题。发明人意识到,如果NVMeoFC存储系统在建立端口连接时由于异常原因导致NVMeoFC存储系统无法提供NVMe连接服务,即使NVMeoFC存储系统恢复正常,主机也无法与NVMeoFC存储系统建立通信连接。很显然,这样就无法保证主机在与NVMeoFC存储系统建立通信连接时的可靠性。目前,针对这一技术问题还没有较为有效的解决办法。From the above process, it can be seen that the process of the host automatically connecting to the NVMeoFC storage system depends on the problem that the port triggers udev for communication connection. The inventor realized that if the NVMeoFC storage system fails to provide NVMe connection services due to abnormal reasons when the NVMeoFC storage system establishes a port connection, even if the NVMeoFC storage system returns to normal, the host cannot establish a communication connection with the NVMeoFC storage system. Obviously, this cannot guarantee the reliability of the host when establishing a communication connection with the NVMeoFC storage system. Currently, there is no effective solution to this technical problem.
发明内容Contents of the invention
本申请提供如下技术方案:This application provides the following technical solutions:
本申请根据第一方面提供了一种主机与存储系统的通信连接方法,应用于带外管理服务器,包括:According to the first aspect, the present application provides a communication connection method between a host and a storage system, which is applied to an out-of-band management server, including:
响应于NVMeoFC存储系统的配置信息发生变化,获取上述NVMeoFC存储系统中配置信息发生变化的变更配置信息;In response to a change in the configuration information of the NVMeoFC storage system, obtain the change configuration information of the change in the configuration information in the above NVMeoFC storage system;
根据上述变更配置信息确定上述NVMeoFC存储系统中配置信息发生变化的目标主机;及Determine the target host where the configuration information in the above NVMeoFC storage system changes according to the above changed configuration information; and
响应于上述目标主机已在上述带外管理服务器中进行注册,将上述变更配置信息中与上述目标主机相对应的目标配置信息发送至上述目标主机,以使上述目标主机与上述NVMeoFC存储系统建立通信连接。In response to the above-mentioned target host being registered in the above-mentioned out-of-band management server, sending the target configuration information corresponding to the above-mentioned target host in the above-mentioned change configuration information to the above-mentioned target host, so that the above-mentioned target host establishes communication with the above-mentioned NVMeoFC storage system connect.
在其中一个实施例中,响应于NVMeoFC存储系统的配置信息发生变化时,获取NVMeoFC存储系统中配置信息发生变化的变更配置信息的过程,包括:In one of the embodiments, in response to changes in the configuration information of the NVMeoFC storage system, the process of obtaining configuration information changes in the NVMeoFC storage system includes:
利用预先添加在NVMeoFC存储系统中的状态变更程序模块对NVMeoFC存储系统的配置信息进行实时监测;Real-time monitoring of the configuration information of the NVMeoFC storage system by using the state change program module pre-added in the NVMeoFC storage system;
响应于NVMeoFC存储系统的配置信息发生变化,通过状态变更程序模块获取NVMeoFC存储系统中配置信息发生变化的变更配置信息。In response to changes in the configuration information of the NVMeoFC storage system, the change configuration information of the changes in the configuration information in the NVMeoFC storage system is acquired through the state change program module.
在其中一个实施例中,该方法还包括:In one embodiment, the method also includes:
响应于目标主机未在带外管理服务器中进行注册,判定目标主机出现异常,并提示预警信息。In response to the fact that the target host is not registered in the out-of-band management server, it is determined that the target host is abnormal, and an early warning message is prompted.
在其中一个实施例中,该方法还包括:In one embodiment, the method also includes:
预先在目标主机上添加状态订阅程序模块,并利用状态订阅程序模块将目标主机的NQN注册至带外管理服务器。Add a status subscription program module on the target host in advance, and use the status subscription program module to register the NQN of the target host to the out-of-band management server.
在其中一个实施例中,将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机的过程,包括:In one of the embodiments, the process of sending the target configuration information corresponding to the target host in the changed configuration information to the target host includes:
将变更配置信息中与目标主机相对应的目标配置信息发送至状态订阅程序模块,并利用状态订阅程序模块将目标配置信息发送至目标主机。Send the target configuration information corresponding to the target host in the changed configuration information to the status subscription program module, and use the status subscription program module to send the target configuration information to the target host.
在其中一个实施例中,该方法还包括:In one embodiment, the method also includes:
利用状态订阅程序模块定期检测目标主机与NVMeoFC存储系统之间的通信连接状态。The status subscription program module is used to periodically detect the communication connection status between the target host and the NVMeoFC storage system.
在其中一个实施例中,状态订阅模块中存储有目标主机与NVMeoFC存储系统之间的通信连接信息。In one of the embodiments, the status subscription module stores communication connection information between the target host and the NVMeoFC storage system.
在其中一个实施例中,利用状态订阅程序模块定期检测目标主机与NVMeoFC存储系统之间的通信连接状态,包括:In one of the embodiments, the state subscription program module is used to regularly detect the communication connection state between the target host and the NVMeoFC storage system, including:
利用状态订阅程序模块响应于检测到目标主机与NVMeoFC存储系统之间的通信连 接状态发生中断,通知目标主机与NVMeoFC存储系统再次建立通信连接。Utilize the status subscription program module to detect that the communication connection state between the target host and the NVMeoFC storage system is interrupted, and notify the target host to establish a communication connection with the NVMeoFC storage system again.
在其中一个实施例中,将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,以使目标主机与NVMeoFC存储系统建立通信连接,包括:In one of the embodiments, the target configuration information corresponding to the target host in the change configuration information is sent to the target host, so that the target host establishes a communication connection with the NVMeoFC storage system, including:
将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,以使目标主机在接收到目标配置信息时,判断目标主机是否与NVMeoFC存储系统建立通信连接,以及响应于目标主机与NVMeoFC存储系统未建立通信连接,通过目标配置信息与NVMeoFC存储系统建立通信连接。Send the target configuration information corresponding to the target host in the change configuration information to the target host, so that when the target host receives the target configuration information, it can determine whether the target host establishes a communication connection with the NVMeoFC storage system, and respond to the target host and NVMeoFC The storage system has not established a communication connection, but establishes a communication connection with the NVMeoFC storage system through the target configuration information.
在其中一个实施例中,目标主机的数量是一个或多个。In one of the embodiments, the number of target hosts is one or more.
在其中一个实施例中,NVMeoFC存储系统中配置信息发生变化的变更配置信息,包括:NVMeoFC存储系统中配置信息发生变化的主机的NQN以及NVMeoFC存储系统中端口配对发生变化的目标端口配对信息。In one embodiment, the changed configuration information of the configuration information in the NVMeoFC storage system includes: the NQN of the host whose configuration information is changed in the NVMeoFC storage system and the target port pairing information of the changed port pairing in the NVMeoFC storage system.
在其中一个实施例中,NVMeoFC存储系统中配置信息发生变化的变更配置信息,还包括:NVMeoFC存储系统的NQN。In one of the embodiments, the changed configuration information of the changed configuration information in the NVMeoFC storage system further includes: the NQN of the NVMeoFC storage system.
在其中一个实施例中,利用状态订阅程序模块将目标主机的NQN注册至带外管理服务器,之后还包括:存储目标主机的NQN。In one embodiment, the status subscription program module is used to register the NQN of the target host to the out-of-band management server, and then further includes: storing the NQN of the target host.
在其中一个实施例中,NVMeoFC存储系统的配置信息发生变化是指NVMeoFC存储系统中新增加了允许访问的主机、命名空间或者是NVMeoFC存储系统在当前时刻无法向访问主机提供NVMeoFC服务。In one embodiment, the change in the configuration information of the NVMeoFC storage system means that a new host or namespace that allows access is added to the NVMeoFC storage system, or the NVMeoFC storage system cannot provide NVMeoFC services to the accessing host at the current moment.
在其中一个实施例中,NVMeoFC存储系统在当前时刻无法向访问主机提供NVMeoFC服务是指NVMeoFC存储系统中各个端口之间的配对情况发生变化。In one embodiment, the failure of the NVMeoFC storage system to provide the NVMeoFC service to the access host at the current moment means that the pairing situation between ports in the NVMeoFC storage system changes.
在其中一个实施例中,目标主机与NVMeoFC存储系统之间通过光纤建立通信连接。In one of the embodiments, a communication connection is established between the target host and the NVMeoFC storage system through an optical fiber.
相应的,本申请根据第二方面还公开了一种主机与存储系统的通信连接装置,该主机与存储系统的通信连接装置应用于带外管理服务器,该装置包括以下模块:Correspondingly, the present application also discloses a communication connection device between a host and a storage system according to the second aspect. The communication connection device between a host and a storage system is applied to an out-of-band management server, and the device includes the following modules:
信息获取模块,用于响应于NVMeoFC存储系统的配置信息发生变化,则获取上述NVMeoFC存储系统中配置信息发生变化的变更配置信息;An information acquisition module, configured to acquire change configuration information in which the configuration information in the NVMeoFC storage system changes in response to changes in the configuration information of the NVMeoFC storage system;
主机确定模块,用于根据上述变更配置信息确定上述NVMeoFC存储系统中配置信息发生变化的目标主机;及The host determination module is configured to determine the target host whose configuration information in the above-mentioned NVMeoFC storage system changes according to the above-mentioned changed configuration information; and
通信连接模块,用于响应于上述目标主机已在上述带外管理服务器中进行注册,将上述变更配置信息中与上述目标主机相对应的目标配置信息发送至上述目标主机,以使上述目标主机与上述NVMeoFC存储系统建立通信连接。A communication connection module, configured to send target configuration information corresponding to the target host in the changed configuration information to the target host in response to the target host being registered in the out-of-band management server, so that the target host and The aforementioned NVMeoFC storage system establishes a communication connection.
在其中一个实施例中,信息获取模块具体用于:In one of the embodiments, the information acquisition module is specifically used for:
利用预先添加在上述NVMeoFC存储系统中的状态变更程序模块对上述NVMeoFC存储系统的配置信息进行实时监测;及Real-time monitoring of the configuration information of the above-mentioned NVMeoFC storage system by using the state change program module pre-added in the above-mentioned NVMeoFC storage system; and
响应于上述NVMeoFC存储系统的配置信息发生变化,通过上述状态变更程序模块获取上述NVMeoFC存储系统中配置信息发生变化的上述变更配置信息。In response to changes in the configuration information of the NVMeoFC storage system, the changed configuration information of the changed configuration information in the NVMeoFC storage system is acquired through the state change program module.
相应的,本申请还公开了一种主机与存储系统的通信连接设备,包括:Correspondingly, this application also discloses a communication connection device between a host and a storage system, including:
存储器,用于存储计算机可读指令;memory for storing computer readable instructions;
一个或多个处理器,用于执行上述计算机可读指令时实现如前述任一实施例中所公开的一种主机与存储系统的通信连接方法中的步骤。One or more processors, configured to implement the steps in the communication connection method between a host and a storage system as disclosed in any of the foregoing embodiments when executing the above computer-readable instructions.
相应的,本申请还公开了一种非易失性计算机可读存储介质,上述非易失性计算机可读存储介质上存储有计算机可读指令,上述计算机可读指令被一个或多个处理器执行时实现如前述任一实施例中所公开的一种主机与存储系统的通信连接方法中的步骤。Correspondingly, the present application also discloses a non-volatile computer-readable storage medium, in which computer-readable instructions are stored on the above-mentioned non-volatile computer-readable storage medium, and the above-mentioned computer-readable instructions are executed by one or more processors During execution, the steps in a communication connection method between a host and a storage system as disclosed in any of the foregoing embodiments are implemented.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the application will be apparent from the description, drawings, and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请一个或多个实施例所提供的一种主机与存储系统的通信连接方法的流程图;FIG. 1 is a flowchart of a communication connection method between a host and a storage system provided by one or more embodiments of the present application;
图2为本申请一个或多个实施例所提供的一种目标主机与NVMeoFC存储系统建立通信连接的示意图;FIG. 2 is a schematic diagram of establishing a communication connection between a target host and an NVMeoFC storage system provided by one or more embodiments of the present application;
图3为本申请一个或多个实施例所提供的一种主机与存储系统的通信连接装置的结构图;FIG. 3 is a structural diagram of a communication connection device between a host and a storage system provided by one or more embodiments of the present application;
图4为本申请一个或多个实施例所提供的一种主机与存储系统的通信连接设备的结构图;FIG. 4 is a structural diagram of a communication connection device between a host and a storage system provided by one or more embodiments of the present application;
图5为本申请一个或多个实施例提供的主机与存储系统的通信连接设备的内部结构图。Fig. 5 is an internal structural diagram of a communication connection device between a host and a storage system provided by one or more embodiments of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
请参见图1,图1为本申请实施例所提供的一种主机与存储系统的通信连接方法的流程图,该方法包括:Please refer to FIG. 1. FIG. 1 is a flow chart of a communication connection method between a host and a storage system provided in an embodiment of the present application. The method includes:
步骤S11:响应于NVMeoFC存储系统的配置信息发生变化,获取NVMeoFC存储系统中配置信息发生变化的变更配置信息;Step S11: In response to changes in the configuration information of the NVMeoFC storage system, obtain changed configuration information in which the configuration information in the NVMeoFC storage system has changed;
步骤S12:根据变更配置信息确定NVMeoFC存储系统中配置信息发生变化的目标主机;Step S12: Determine the target host whose configuration information changes in the NVMeoFC storage system according to the changed configuration information;
步骤S13:响应于目标主机已在带外管理服务器中进行注册,将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,以使目标主机与NVMeoFC存储系统建立通信连接。Step S13: In response to the target host being registered in the out-of-band management server, the target configuration information corresponding to the target host in the changed configuration information is sent to the target host, so that the target host establishes a communication connection with the NVMeoFC storage system.
在本实施例中,是提供了一种主机与存储系统的通信连接方法,通过该方法能够保证主机在与NVMeoFC存储系统建立通信连接时的可靠性。该通信连接方法是以带外管理服务器为执行主体进行具体说明。In this embodiment, a communication connection method between a host and a storage system is provided, through which the reliability of the host when establishing a communication connection with the NVMeoFC storage system can be guaranteed. The communication connection method is specifically described with the out-of-band management server as the execution subject.
具体的,当NVMeoFC存储系统中新增加了允许访问的主机、命名空间或者是NVMeoFC存储系统在当前时刻无法向访问主机提供NVMeoFC服务时,就会导致NVMeoFC存储系统的配置信息发生变化,在此情况下,带外管理服务器就会从NVMeoFC存储系统中获取配置信息发生变化的变更配置信息。Specifically, when a new host or namespace that allows access is added to the NVMeoFC storage system, or the NVMeoFC storage system cannot provide NVMeoFC services to the accessing host at the current moment, the configuration information of the NVMeoFC storage system will change. In this case Next, the out-of-band management server will obtain the changed configuration information of the changed configuration information from the NVMeoFC storage system.
当带外管理服务器获取得到NVMeoFC存储系统中配置信息发生变化的变更配置信息时,带外管理服务器会根据变更配置信息来确定NVMeoFC存储系统中配置信息发生变化的目标主机,并会检测目标主机是否在带外管理服务器上进行注册。When the out-of-band management server obtains the change configuration information that the configuration information in the NVMeoFC storage system changes, the out-of-band management server will determine the target host where the configuration information in the NVMeoFC storage system changes according to the change configuration information, and will detect whether the target host is Register on the out-of-band management server.
需要说明的是,NVMeoFC存储系统中配置信息发生授权变化的主机既可以是一个,也可以是多个。因此,目标主机的数量既可以是一个,也可以是多个,此处不作具体限定。It should be noted that, in the NVMeoFC storage system, there may be one or more hosts whose configuration information undergoes authorized changes. Therefore, the number of target hosts may be one or multiple, which is not specifically limited here.
如果目标主机已经在带外管理服务器中进行了注册,则带外管理服务器会将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机;目标主机在接收到带外管理服务器所发送的与目标主机相对应的目标配置信息时,就会判断目标主机是否与NVMeoFC存储系统建立通信连接;如果目标主机与NVMeoFC存储系统建立了通信连接,则目标主机无需进行任何动作;如果目标主机与NVMeoFC存储系统未建立通信连接, 则目标主机会通过目标配置信息与NVMeoFC存储系统建立通信连接。If the target host has been registered in the out-of-band management server, the out-of-band management server will send the target configuration information corresponding to the target host in the change configuration information to the target host; When the target configuration information corresponding to the target host is configured, it will be determined whether the target host has established a communication connection with the NVMeoFC storage system; if the target host has established a communication connection with the NVMeoFC storage system, the target host does not need to take any action; If the NVMeoFC storage system has not established a communication connection, the target host will establish a communication connection with the NVMeoFC storage system through the target configuration information.
可见,在本实施例中,当NVMeoFC存储系统的配置信息发生变化时,带外管理服务器会获取NVMeoFC存储系统中配置信息发生变化的变更配置信息,并根据变更配置信息确定NVMeoFC存储系统中配置信息发生变化的目标主机;如果目标主机已经在带外管理服务器中进行了注册,则将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,从而使得目标主机与NVMeoFC存储系统建立通信连接。相较于现有技术而言,由于该方法是利用带外管理服务器来获取NVMeoFC存储系统中配置信息发生变化的变更配置信息,并将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,从而建立目标主机与NVMeoFC存储系统之间的通信连接。无需依赖端口触发udve来建立主机与NVMeoFC存储系统之间的通信连接,这样就可以进一步确保主机在与NVMeoFC存储系统建立通信连接时的可靠性。It can be seen that in this embodiment, when the configuration information of the NVMeoFC storage system changes, the out-of-band management server will obtain the changed configuration information of the changed configuration information in the NVMeoFC storage system, and determine the configuration information in the NVMeoFC storage system according to the changed configuration information The changed target host; if the target host has been registered in the out-of-band management server, the target configuration information corresponding to the target host in the changed configuration information is sent to the target host, so that the target host establishes communication with the NVMeoFC storage system connect. Compared with the prior art, since this method utilizes the out-of-band management server to obtain the changed configuration information in which the configuration information in the NVMeoFC storage system changes, and sends the target configuration information corresponding to the target host in the changed configuration information to The target host, so as to establish a communication connection between the target host and the NVMeoFC storage system. There is no need to rely on port trigger udve to establish a communication connection between the host and the NVMeoFC storage system, so that the reliability of the host when establishing a communication connection with the NVMeoFC storage system can be further ensured.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,上述步骤:当NVMeoFC存储系统的配置信息发生变化时,则获取NVMeoFC存储系统中配置信息发生变化的变更配置信息的过程,包括:Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred implementation, the above steps: when the configuration information of the NVMeoFC storage system changes, obtain the configuration information in the NVMeoFC storage system. The process of changing configuration information, including:
利用预先添加在NVMeoFC存储系统中的状态变更程序模块对NVMeoFC存储系统的配置信息进行实时监测;Real-time monitoring of the configuration information of the NVMeoFC storage system by using the state change program module pre-added in the NVMeoFC storage system;
响应于NVMeoFC存储系统的配置信息发生变化,通过状态变更程序模块获取NVMeoFC存储系统中配置信息发生变化的变更配置信息。In response to changes in the configuration information of the NVMeoFC storage system, the change configuration information of the changes in the configuration information in the NVMeoFC storage system is acquired through the state change program module.
在本实施例中,为了保证带外管理服务器能够获取得到NVMeoFC存储系统中配置信息发生变化的变更配置信息,是预先在NVMeoFC存储系统中添加了状态变更程序模块,并利用状态变更程序模块来实时监测NVMeoFC存储系统中配置信息的变化。如果NVMeoFC存储系统中的配置信息发生了变化,状态变更程序模块则会在第一时间将NVMeoFC存储系统中配置信息发生变化的变更配置信息发送至带外管理服务器。In this embodiment, in order to ensure that the out-of-band management server can obtain the changed configuration information of the changed configuration information in the NVMeoFC storage system, a state change program module is added to the NVMeoFC storage system in advance, and the state change program module is used to real-time Monitor configuration information changes in the NVMeoFC storage system. If the configuration information in the NVMeoFC storage system changes, the status change program module will immediately send the changed configuration information of the configuration information in the NVMeoFC storage system to the out-of-band management server.
可以理解的是,当NVMeoFC存储系统的配置信息发生变化时,有可能是在NVMeoFC存储系统中新增加了可以授权访问的主机、或者是在NVMeoFC存储系统中新增加了命名空间,还有可能是NVMeoFC存储系统中各个端口之间的配对情况发生了变化。因此,在本实施例中,当状态变更程序模块检测到NVMeoFC存储系统的配置信息发生变化时,状态变更程序模块会将NVMeoFC存储系统的NQN(NVMe Qualified Name,NVMe中的限定名称)、NVMeoFC存储系统中配置信息发生变化主机的NQN以及NVMeoFC存储系统中端口配对发生变化的目标端口配对信息全部打包发送至带外管理服 务器。It is understandable that when the configuration information of the NVMeoFC storage system changes, it may be that a new host that can be authorized to access is added to the NVMeoFC storage system, or a new namespace is added to the NVMeoFC storage system, or it may be The pairing between individual ports in the NVMeoFC storage system has changed. Therefore, in this embodiment, when the state change program module detects that the configuration information of the NVMeoFC storage system changes, the state change program module will store the NQN (NVMe Qualified Name, NVMe Qualified Name) and NVMeoFC storage system of the NVMeoFC storage system. When the configuration information in the system changes, the NQN of the host and the target port pairing information of the changed port pairing in the NVMeoFC storage system are all packaged and sent to the out-of-band management server.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,上述通信连接方法还包括:Based on the above-mentioned embodiment, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, the above-mentioned communication connection method also includes:
响应于目标主机未在带外管理服务器中进行注册,判定目标主机出现异常,并提示预警信息。In response to the fact that the target host is not registered in the out-of-band management server, it is determined that the target host is abnormal, and an early warning message is prompted.
在实际应用中,如果目标主机未在带外管理服务器中进行注册,则说明目标主机出现了异常,在此情况下,带外管理服务器就会提示预警信息。能够想到的是,通过这样的设置方式就可以及时提醒维修人员来对目标主机进行检测与维修,由此就可以降低或避免用户在遭受异常情形时所带来的经济损失。In practical applications, if the target host is not registered in the out-of-band management server, it means that the target host is abnormal. In this case, the out-of-band management server will prompt an early warning message. It is conceivable that through such a setting method, the maintenance personnel can be reminded in time to detect and repair the target host, thereby reducing or avoiding the economic loss caused by the user when encountering an abnormal situation.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,上述通信连接方法还包括:Based on the above-mentioned embodiment, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, the above-mentioned communication connection method also includes:
预先在目标主机上添加状态订阅程序模块,并利用状态订阅程序模块将目标主机的NQN注册至带外管理服务器。Add a status subscription program module on the target host in advance, and use the status subscription program module to register the NQN of the target host to the out-of-band management server.
在本实施例中,为了保证目标主机能够与NVMeoFC存储系统建立可靠的通信连接,还预先在目标主机上添加了状态订阅程序模块,并利用状态订阅程序模块来对目标主机与NVMeoFC存储系统的通信连接情况进行单独管理。具体的,当在目标主机上添加了状态订阅程序模块之后,状态订阅程序模块首先会将目标主机的NQN(NVMe Qualified Name,nvme限定名)注册到带外管理服务器中,并在带外管理服务器中存储目标主机的相关信息。In this embodiment, in order to ensure that the target host can establish a reliable communication connection with the NVMeoFC storage system, a status subscription program module is added to the target host in advance, and the status subscription program module is used to monitor the communication between the target host and the NVMeoFC storage system Connections are managed individually. Specifically, after adding the status subscription program module on the target host, the status subscription program module will first register the NQN (NVMe Qualified Name, nvme qualified name) of the target host to the out-of-band management server, and Information about the target host is stored in it.
作为一种优选的实施方式,上述步骤:将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机的过程,包括:As a preferred implementation manner, the above step: the process of sending the target configuration information corresponding to the target host in the changed configuration information to the target host, including:
将变更配置信息中与目标主机相对应的目标配置信息发送至状态订阅程序模块,并利用状态订阅程序模块将目标配置信息发送至目标主机。Send the target configuration information corresponding to the target host in the changed configuration information to the status subscription program module, and use the status subscription program module to send the target configuration information to the target host.
为了提高目标主机的执行效率,在本实施例中,还利用状态订阅程序模块来接收带外管理服务器所发送的目标配置信息。当状态订阅程序模块接收到带外管理服务器所发送的目标配置信息时,就会将目标配置信息发送至目标主机,以使目标主机与NVMeoFC存储系统建立通信连接。In order to improve the execution efficiency of the target host, in this embodiment, the status subscription program module is also used to receive the target configuration information sent by the out-of-band management server. When the status subscription program module receives the target configuration information sent by the out-of-band management server, it will send the target configuration information to the target host, so that the target host can establish a communication connection with the NVMeoFC storage system.
作为一种优选的实施方式,上述通信连接方法还包括:As a preferred implementation manner, the above-mentioned communication connection method further includes:
利用状态订阅程序模块定期检测目标主机与NVMeoFC存储系统之间的通信连接状 态。Use the status subscription program module to periodically detect the communication connection status between the target host and the NVMeoFC storage system.
在实际应用中,目标主机上的状态订阅模块除了被动接收带外管理服务器所发送的目标配置信息之外,因为状态订阅模块中还存储有目标主机与NVMeoFC存储系统之间的通信连接信息,所以,还可以利用状态订阅模块来定期检测目标主机与NVMeoFC存储系统之间的通信连接状态。In practical applications, in addition to passively receiving the target configuration information sent by the out-of-band management server, the status subscription module on the target host also stores the communication connection information between the target host and the NVMeoFC storage system, so , the state subscription module can also be used to periodically detect the state of the communication connection between the target host and the NVMeoFC storage system.
也即,如果状态订阅程序模块检测到目标主机与NVMeoFC存储系统之间的通信连接状态发生中断,那么状态订阅程序模块就会通知目标主机与NVMeoFC存储系统再次建立通信连接。显然,通过本实施例所提供的技术方案,就可以进一步保证目标主机与NVMeoFC存储系统之间的可靠连接。That is, if the status subscription program module detects that the communication connection between the target host and the NVMeoFC storage system is interrupted, the status subscription program module will notify the target host to establish a communication connection with the NVMeoFC storage system again. Obviously, through the technical solution provided in this embodiment, the reliable connection between the target host and the NVMeoFC storage system can be further ensured.
请参见图2,图2为本申请实施例所提供的一种目标主机与NVMeoFC存储系统建立通信连接的示意图。其中,目标主机与NVMeoFC存储系统需要通过光纤建立通信连接,在目标主机和NVMeoFC存储系统中是分别设置有HBA(Host Bus Adapter,主机总线适配器)和FC端口(也即,图2中的N_Port)。Please refer to FIG. 2 . FIG. 2 is a schematic diagram of establishing a communication connection between a target host and an NVMeoFC storage system provided by an embodiment of the present application. Among them, the target host and the NVMeoFC storage system need to establish a communication connection through an optical fiber, and the target host and the NVMeoFC storage system are respectively provided with HBA (Host Bus Adapter, host bus adapter) and FC ports (that is, N_Port in Figure 2) .
在实际应用中,为了保证目标主机能够与NVMeoFC存储系统建立可靠的通信连接,需要预先在目标主机和NVMeoFC存储系统上分别添加状态订阅程序模块和状态变更程序模块。其中,状态订阅模块会将目标主机的NQN注册到带外管理服务器上,状态变更程序模块会对NVMeoFC存储系统的配置信息进行实时监测,如果状态变更程序模块检测到NVMeoFC存储系统的配置信息发生变化时,状态变更程序模块会将NVMeoFC存储系统中配置信息发生变化的变更配置信息发送至带外管理服务器。其中,NVMeoFC存储系统中配置信息发生变化的变更配置信息包括:NVMeoFC存储系统中新增授权主机的NQN、NVMeoFC存储系统的NQN以及授权主机与NVMeoFC存储系统之间配对端口的端口信息等等。In practical applications, in order to ensure that the target host can establish a reliable communication connection with the NVMeoFC storage system, it is necessary to add a status subscription program module and a status change program module on the target host and the NVMeoFC storage system respectively. Among them, the status subscription module will register the NQN of the target host to the out-of-band management server, and the status change program module will monitor the configuration information of the NVMeoFC storage system in real time. If the status change program module detects that the configuration information of the NVMeoFC storage system has changed , the state change program module will send the change configuration information that the configuration information in the NVMeoFC storage system changes to the out-of-band management server. Among them, the changed configuration information of the configuration information in the NVMeoFC storage system includes: the NQN of the newly authorized host in the NVMeoFC storage system, the NQN of the NVMeoFC storage system, and the port information of the paired port between the authorized host and the NVMeoFC storage system, etc.
当带外管理服务器接收到状态变更程序模块所发送的变更配置信息时,如果带外管理服务器确定出NVMeoFC存储系统中配置信息发生变化的目标主机已经在带外管理服务器中进行了注册,此时带外管理服务器就会将变更配置信息中与目标主机相对应的配置信息发送至目标主机,以使目标主机与NVMeoFC存储系统建立通信连接。When the out-of-band management server receives the change configuration information sent by the state change program module, if the out-of-band management server determines that the target host whose configuration information has changed in the NVMeoFC storage system has registered with the out-of-band management server, then The out-of-band management server will send the configuration information corresponding to the target host in the changed configuration information to the target host, so that the target host can establish a communication connection with the NVMeoFC storage system.
请参见图3,图3为本申请实施例所提供的一种主机与存储系统的通信连接装置的结构图,该装置包括:Please refer to FIG. 3. FIG. 3 is a structural diagram of a communication connection device between a host and a storage system provided in an embodiment of the present application. The device includes:
信息获取模块21,用于响应于NVMeoFC存储系统的配置信息发生变化,获取 NVMeoFC存储系统中配置信息发生变化的变更配置信息; Information acquisition module 21, for changing in response to the configuration information of NVMeoFC storage system, obtain the change configuration information that configuration information in NVMeoFC storage system changes;
主机确定模块22,用于根据变更配置信息确定NVMeoFC存储系统中配置信息发生变化的目标主机;The host determining module 22 is used to determine the target host whose configuration information changes in the NVMeoFC storage system according to the changed configuration information;
通信连接模块23,用于响应于目标主机已在带外管理服务器中进行注册,将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,以使目标主机与NVMeoFC存储系统建立通信连接。The communication connection module 23 is configured to send the target configuration information corresponding to the target host in the change configuration information to the target host in response to the target host being registered in the out-of-band management server, so that the target host establishes communication with the NVMeoFC storage system connect.
在本实施例中,当NVMeoFC存储系统的配置信息发生变化时,带外管理服务器会获取NVMeoFC存储系统中配置信息发生变化的变更配置信息,并根据变更配置信息确定NVMeoFC存储系统中配置信息发生变化的目标主机;如果目标主机已经在带外管理服务器中进行了注册,则将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,从而使得目标主机与NVMeoFC存储系统建立通信连接。相较于现有技术而言,由于该方法是利用带外管理服务器来获取NVMeoFC存储系统中配置信息发生变化的变更配置信息,并将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,从而建立目标主机与NVMeoFC存储系统之间的通信连接。无需依赖端口触发udve来建立主机与NVMeoFC存储系统之间的通信连接,这样就可以进一步确保主机在与NVMeoFC存储系统建立通信连接时的可靠性。In this embodiment, when the configuration information of the NVMeoFC storage system changes, the out-of-band management server will obtain the changed configuration information of the changed configuration information in the NVMeoFC storage system, and determine that the configuration information in the NVMeoFC storage system has changed according to the changed configuration information the target host; if the target host has been registered in the out-of-band management server, the target configuration information corresponding to the target host in the change configuration information is sent to the target host, so that the target host establishes a communication connection with the NVMeoFC storage system. Compared with the prior art, since this method utilizes the out-of-band management server to obtain the changed configuration information in which the configuration information in the NVMeoFC storage system changes, and sends the target configuration information corresponding to the target host in the changed configuration information to The target host, so as to establish a communication connection between the target host and the NVMeoFC storage system. There is no need to rely on port trigger udve to establish a communication connection between the host and the NVMeoFC storage system, so that the reliability of the host when establishing a communication connection with the NVMeoFC storage system can be further ensured.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,在本实施例中,信息获取模块21具体用于:Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, in this embodiment, the information acquisition module 21 is specifically used for:
利用预先添加在所述NVMeoFC存储系统中的状态变更程序模块对所述NVMeoFC存储系统的配置信息进行实时监测;及Real-time monitoring of the configuration information of the NVMeoFC storage system by using the state change program module pre-added in the NVMeoFC storage system; and
响应于所述NVMeoFC存储系统的配置信息发生变化,通过所述状态变更程序模块获取所述NVMeoFC存储系统中配置信息发生变化的所述变更配置信息。In response to changes in the configuration information of the NVMeoFC storage system, the change configuration information in which the configuration information in the NVMeoFC storage system has changed is acquired through the state change program module.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,在本实施例中,该装置还用于:响应于若目标主机未在带外管理服务器中进行注册,则判定目标主机出现异常,并提示预警信息。Based on the above-mentioned embodiment, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, in this embodiment, the device is also used to: respond to if the target host is not in the out-of-band management server If the registration is performed, it will be determined that the target host is abnormal, and an early warning message will be prompted.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,在本实施例中,该装置还用于:预先在目标主机上添加状态订阅程序模块,并利用状态订阅程序模块将目标主机的NQN注册至带外管理服务器。Based on the above-mentioned embodiment, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, in this embodiment, the device is also used to: add a status subscription program module on the target host in advance, and Register the NQN of the target host to the out-of-band management server by using the status subscription program module.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,在本实施例中,通信连接模块23在将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机时,具体用于:将变更配置信息中与目标主机相对应的目标配 置信息发送至状态订阅程序模块,并利用状态订阅程序模块将目标配置信息发送至目标主机。Based on the above-mentioned embodiment, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, in this embodiment, the communication connection module 23 will change the target configuration corresponding to the target host in the configuration information When the information is sent to the target host, it is specifically used for: sending the target configuration information corresponding to the target host in the changed configuration information to the status subscription program module, and using the status subscription program module to send the target configuration information to the target host.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,在本实施例中,该装置还用于:利用状态订阅程序模块定期检测目标主机与NVMeoFC存储系统之间的通信连接状态。Based on the above-mentioned embodiment, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, in this embodiment, the device is also used to: use the status subscription program module to regularly detect the target host and NVMeoFC storage The status of communication connections between systems.
在其中一个实施例中,状态订阅模块中存储有目标主机与NVMeoFC存储系统之间的通信连接信息。In one of the embodiments, the status subscription module stores communication connection information between the target host and the NVMeoFC storage system.
在其中一个实施例中,该装置在利用状态订阅程序模块定期检测目标主机与NVMeoFC存储系统之间的通信连接状态时具体用于:利用状态订阅程序模块响应于检测到目标主机与NVMeoFC存储系统之间的通信连接状态发生中断,通知目标主机与NVMeoFC存储系统再次建立通信连接。In one of the embodiments, when the device uses the status subscription program module to regularly detect the communication connection status between the target host and the NVMeoFC storage system, it is specifically used to: use the status subscription program module to respond to the detection of the connection status between the target host and the NVMeoFC storage system If the communication connection status between the hosts is interrupted, the target host is notified to establish a communication connection with the NVMeoFC storage system again.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种优选的实施方式,在本实施例中,通信连接模块23在将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,以使目标主机与NVMeoFC存储系统建立通信连接时,具体用于:将变更配置信息中与目标主机相对应的目标配置信息发送至目标主机,以使目标主机在接收到目标配置信息时,判断目标主机是否与NVMeoFC存储系统建立通信连接,以及响应于目标主机与NVMeoFC存储系统未建立通信连接,通过目标配置信息与NVMeoFC存储系统建立通信连接。Based on the above-mentioned embodiment, this embodiment further explains and optimizes the technical solution. As a preferred implementation mode, in this embodiment, the communication connection module 23 will change the target configuration corresponding to the target host in the configuration information When the information is sent to the target host so that the target host establishes a communication connection with the NVMeoFC storage system, it is specifically used to: send the target configuration information corresponding to the target host in the changed configuration information to the target host, so that the target host receives the target When configuring information, determine whether the target host establishes a communication connection with the NVMeoFC storage system, and establish a communication connection with the NVMeoFC storage system through the target configuration information in response to the target host not establishing a communication connection with the NVMeoFC storage system.
在其中一个实施例中,目标主机的数量是一个或多个。In one of the embodiments, the number of target hosts is one or more.
在其中一个实施例中,NVMeoFC存储系统中配置信息发生变化的变更配置信息,包括:NVMeoFC存储系统中配置信息发生变化的主机的NQN以及NVMeoFC存储系统中端口配对发生变化的目标端口配对信息。In one embodiment, the changed configuration information of the configuration information in the NVMeoFC storage system includes: the NQN of the host whose configuration information is changed in the NVMeoFC storage system and the target port pairing information of the changed port pairing in the NVMeoFC storage system.
在其中一个实施例中,NVMeoFC存储系统中配置信息发生变化的变更配置信息,还包括:NVMeoFC存储系统的NQN。In one of the embodiments, the changed configuration information of the changed configuration information in the NVMeoFC storage system further includes: the NQN of the NVMeoFC storage system.
在其中一个实施例中,该装置在利用状态订阅程序模块将目标主机的NQN注册至带外管理服务器之后,还用于:存储目标主机的NQN。In one embodiment, after registering the NQN of the target host with the out-of-band management server by using the status subscription program module, the device is further configured to: store the NQN of the target host.
在其中一个实施例中,NVMeoFC存储系统的配置信息发生变化是指NVMeoFC存储系统中新增加了允许访问的主机、命名空间或者是NVMeoFC存储系统在当前时刻无法向访问主机提供NVMeoFC服务。In one embodiment, the change in the configuration information of the NVMeoFC storage system means that a new host or namespace that allows access is added to the NVMeoFC storage system, or the NVMeoFC storage system cannot provide NVMeoFC services to the accessing host at the current moment.
在其中一个实施例中,NVMeoFC存储系统在当前时刻无法向访问主机提供NVMeoFC服务是指NVMeoFC存储系统中各个端口之间的配对情况发生变化。In one embodiment, the failure of the NVMeoFC storage system to provide the NVMeoFC service to the access host at the current moment means that the pairing situation between ports in the NVMeoFC storage system changes.
在其中一个实施例中,目标主机与NVMeoFC存储系统之间通过光纤建立通信连接。In one of the embodiments, a communication connection is established between the target host and the NVMeoFC storage system through an optical fiber.
本申请实施例所提供的一种主机与存储系统的通信连接装置,具有前述所公开的一种主机与存储系统的通信连接方法所具有的有益效果。The device for communication connection between a host and a storage system provided by the embodiment of the present application has the beneficial effect of the method for communication connection between a host and a storage system disclosed above.
请参见图4,图4为本申请实施例所提供的一种主机与存储系统的通信连接设备的结构图,该设备包括:Please refer to FIG. 4. FIG. 4 is a structural diagram of a communication connection device between a host and a storage system provided in an embodiment of the present application. The device includes:
存储器31,用于存储计算机可读指令; memory 31 for storing computer readable instructions;
一个或多个处理器32,用于执行计算机可读指令时实现如前述所公开的一种主机与存储系统的通信连接方法的步骤。One or more processors 32 are configured to implement the steps of a communication connection method between a host and a storage system disclosed above when executing computer-readable instructions.
本申请实施例所提供的一种主机与存储系统的通信连接设备,具有前述所公开的一种主机与存储系统的通信连接方法所具有的有益效果。A communication connection device between a host and a storage system provided in an embodiment of the present application has the beneficial effects of the method for communication connection between a host and a storage system disclosed above.
进一步地,主机与存储系统的通信连接设备的内部结构图可以如图5所示。该主机与存储系统的通信连接设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该主机与存储系统的通信连接设备的处理器用于提供计算和控制能力。该主机与存储系统的通信连接设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该主机与存储系统的通信连接设备的数据库用于存储获取到的变更配置信息等数据,具体存储的数据还可以参见上述方法实施例中的限定。该主机与存储系统的通信连接设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种运输路径确定方法。Further, an internal structure diagram of a communication connection device between the host and the storage system may be as shown in FIG. 5 . The communication connection device between the host and the storage system includes a processor, a memory, a network interface and a database connected through a system bus. Wherein, the processor of the communication connection device between the host and the storage system is used to provide calculation and control capabilities. The memory of the communication connection device between the host and the storage system includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs and databases. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the communication connection device between the host and the storage system is used to store the acquired data such as configuration change information, and for the specific stored data, refer to the limitations in the foregoing method embodiments. The network interface of the communication connection device between the host and the storage system is used to communicate with an external terminal through a network connection. When the computer program is executed by a processor, a method for determining a transportation route is realized.
本领域技术人员可以理解,图5中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的主机与存储系统的通信连接设备的限定,具体的主机与存储系统的通信连接设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 5 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the communication connection equipment between the host and the storage system to which the solution of this application is applied , the specific communication connection device between the host and the storage system may include more or less components than shown in the figure, or combine some components, or have a different arrangement of components.
相应的,本申请实施例还提供了一种非易失性计算机可读存储介质,该非易失性计算机可读存储介质上存储有计算机可读指令,计算机可读指令被一个或多个处理器执行时实现如前述所公开的一种主机与存储系统的通信连接方法的步骤。Correspondingly, the embodiment of the present application also provides a non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions are processed by one or more When the server executes, it implements the steps of a communication connection method between a host and a storage system as disclosed above.
本申请实施例所提供的一种非易失性计算机可读存储介质,具有前述所公开的一种主机与存储系统的通信连接方法所具有的有益效果。A non-volatile computer-readable storage medium provided by an embodiment of the present application has the beneficial effect of the communication connection method between a host and a storage system disclosed above.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装 置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, because it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related parts, please refer to the description of the method part.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
以上对本申请所提供的一种主机与存储系统的通信连接方法、装置、设备及介质进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本申请的限制。A communication connection method, device, equipment, and medium for a host and a storage system provided by this application have been introduced above in detail. In this paper, specific examples are used to illustrate the principles and implementation methods of this application. The description of the above embodiments It is only used to help understand the method and core idea of this application; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. In summary, this specification The content should not be construed as a limitation of the application.

Claims (19)

  1. 一种主机与存储系统的通信连接方法,其特征在于,应用于带外管理服务器,包括:A communication connection method between a host and a storage system, characterized in that it is applied to an out-of-band management server, comprising:
    响应于NVMeoFC存储系统的配置信息发生变化,获取所述NVMeoFC存储系统中配置信息发生变化的变更配置信息;In response to a change in the configuration information of the NVMeoFC storage system, acquire configuration change information in which the configuration information in the NVMeoFC storage system changes;
    根据所述变更配置信息确定所述NVMeoFC存储系统中配置信息发生变化的目标主机;及Determine the target host whose configuration information in the NVMeoFC storage system changes according to the changed configuration information; and
    响应于所述目标主机已在所述带外管理服务器中进行注册,将所述变更配置信息中与所述目标主机相对应的目标配置信息发送至所述目标主机,以使所述目标主机与所述NVMeoFC存储系统建立通信连接。In response to the target host being registered in the out-of-band management server, sending target configuration information corresponding to the target host in the change configuration information to the target host, so that the target host and The NVMeoFC storage system establishes a communication connection.
  2. 根据权利要求1所述的通信连接方法,其特征在于,所述响应于NVMeoFC存储系统的配置信息发生变化,获取所述NVMeoFC存储系统中配置信息发生变化的变更配置信息的过程,包括:The communication connection method according to claim 1, wherein, in response to changes in the configuration information of the NVMeoFC storage system, the process of obtaining configuration information changes in the NVMeoFC storage system includes:
    利用预先添加在所述NVMeoFC存储系统中的状态变更程序模块对所述NVMeoFC存储系统的配置信息进行实时监测;及Real-time monitoring of the configuration information of the NVMeoFC storage system by using the state change program module pre-added in the NVMeoFC storage system; and
    响应于所述NVMeoFC存储系统的配置信息发生变化,通过所述状态变更程序模块获取所述NVMeoFC存储系统中配置信息发生变化的所述变更配置信息。In response to changes in the configuration information of the NVMeoFC storage system, the change configuration information in which the configuration information in the NVMeoFC storage system has changed is acquired through the state change program module.
  3. 根据权利要求1所述的通信连接方法,其特征在于,还包括:The communication connection method according to claim 1, further comprising:
    响应于所述目标主机未在所述带外管理服务器中进行注册,判定所述目标主机出现异常,并提示预警信息。4、根据权利要求1至3任一项所述的通信连接方法,其特征在于,还包括:In response to the fact that the target host is not registered in the out-of-band management server, it is determined that the target host is abnormal, and an early warning message is prompted. 4. The communication connection method according to any one of claims 1 to 3, further comprising:
    预先在所述目标主机上添加状态订阅程序模块,并利用所述状态订阅程序模块将所述目标主机的NQN注册至所述带外管理服务器。Adding a status subscription program module on the target host in advance, and using the status subscription program module to register the NQN of the target host to the out-of-band management server.
  4. 根据权利要求4所述的通信连接方法,其特征在于,所述将所述变更配置信息中与所述目标主机相对应的目标配置信息发送至所述目标主机的过程,包括:The communication connection method according to claim 4, wherein the process of sending the target configuration information corresponding to the target host in the changed configuration information to the target host includes:
    将所述变更配置信息中与所述目标主机相对应的所述目标配置信息发送至所述状态订阅程序模块,并利用所述状态订阅程序模块将所述目标配置信息发送至所述目标主机。sending the target configuration information corresponding to the target host in the changed configuration information to the status subscription program module, and using the status subscription program module to send the target configuration information to the target host.
  5. 根据权利要求5所述的通信连接方法,其特征在于,还包括:The communication connection method according to claim 5, further comprising:
    利用所述状态订阅程序模块定期检测所述目标主机与所述NVMeoFC存储系统之间 的通信连接状态。Utilize the status subscription program module to regularly detect the communication connection status between the target host and the NVMeoFC storage system.
  6. 根据权利要求5或6所述的通信连接方法,其特征在于,所述状态订阅模块中存储有所述目标主机与所述NVMeoFC存储系统之间的通信连接信息。The communication connection method according to claim 5 or 6, wherein the status subscription module stores communication connection information between the target host and the NVMeoFC storage system.
  7. 根据权利要求7所述的通信连接方法,其特征在于,利用所述状态订阅程序模块定期检测所述目标主机与所述NVMeoFC存储系统之间的通信连接状态,包括:The communication connection method according to claim 7, wherein the state subscription program module is used to regularly detect the communication connection state between the target host and the NVMeoFC storage system, including:
    利用所述状态订阅程序模块响应于检测到所述目标主机与所述NVMeoFC存储系统之间的通信连接状态发生中断,通知所述目标主机与所述NVMeoFC存储系统再次建立通信连接。Utilizing the status subscription program module to notify the target host to establish a communication connection with the NVMeoFC storage system again in response to detecting that the communication connection state between the target host and the NVMeoFC storage system is interrupted.
  8. 根据权利要求1所述的通信连接方法,其特征在于,将所述变更配置信息中与所述目标主机相对应的目标配置信息发送至所述目标主机,以使所述目标主机与所述NVMeoFC存储系统建立通信连接,包括:The communication connection method according to claim 1, wherein the target configuration information corresponding to the target host in the changed configuration information is sent to the target host, so that the target host and the NVMeoFC The storage system establishes a communication connection, including:
    将所述变更配置信息中与所述目标主机相对应的目标配置信息发送至所述目标主机,以使所述目标主机在接收到所述目标配置信息时,判断所述目标主机是否与所述NVMeoFC存储系统建立通信连接,以及响应于所述目标主机与所述NVMeoFC存储系统未建立通信连接,通过所述目标配置信息与所述NVMeoFC存储系统建立通信连接。sending target configuration information corresponding to the target host in the changed configuration information to the target host, so that the target host can determine whether the target host is compatible with the target host when receiving the target configuration information The NVMeoFC storage system establishes a communication connection, and in response to the target host not establishing a communication connection with the NVMeoFC storage system, establishes a communication connection with the NVMeoFC storage system through the target configuration information.
  9. 根据权利要求1所述的通信连接方法,其特征在于,所述目标主机的数量是一个或多个。The communication connection method according to claim 1, wherein the number of the target hosts is one or more.
  10. 根据权利要求1或2所述的通信连接方法,其特征在于,所述NVMeoFC存储系统中配置信息发生变化的变更配置信息,包括:所述NVMeoFC存储系统中配置信息发生变化的主机的NQN以及所述NVMeoFC存储系统中端口配对发生变化的目标端口配对信息。The communication connection method according to claim 1 or 2, wherein the changed configuration information of the changed configuration information in the NVMeoFC storage system includes: the NQN of the host whose configuration information has changed in the NVMeoFC storage system and the The target port pairing information of the changed port pairing in the NVMeoFC storage system.
  11. 根据权利要求11所述的通信连接方法,其特征在于,所述NVMeoFC存储系统中配置信息发生变化的变更配置信息,还包括:所述NVMeoFC存储系统的NQN。The communication connection method according to claim 11, wherein the changed configuration information of the changed configuration information in the NVMeoFC storage system further includes: the NQN of the NVMeoFC storage system.
  12. 根据权利要求4所述的通信连接方法,其特征在于,利用所述状态订阅程序模块将所述目标主机的NQN注册至所述带外管理服务器,之后还包括:存储所述目标主机的NQN。The communication connection method according to claim 4, characterized in that, registering the NQN of the target host with the out-of-band management server by using the status subscription program module, and then further comprising: storing the NQN of the target host.
  13. 根据权利要求1所述的通信连接方法,其特征在于,所述NVMeoFC存储系统的配置信息发生变化是指所述NVMeoFC存储系统中新增加了允许访问的主机、命名空间或者是所述NVMeoFC存储系统在当前时刻无法向访问主机提供NVMeoFC服务。The communication connection method according to claim 1, wherein the change in the configuration information of the NVMeoFC storage system means that a new host or namespace that allows access is added to the NVMeoFC storage system, or the NVMeoFC storage system The NVMeoFC service cannot be provided to the access host at the current moment.
  14. 根据权利要求14所述的通信连接方法,其特征在于,所述NVMeoFC存储系统在当前时刻无法向访问主机提供NVMeoFC服务是指所述NVMeoFC存储系统中各个端 口之间的配对情况发生变化。The communication connection method according to claim 14, wherein the failure of the NVMeoFC storage system to provide NVMeoFC services to the access host at the current moment means that the pairing situation between ports in the NVMeoFC storage system changes.
  15. 根据权利要求1所述的通信连接方法,其特征在于,所述目标主机与所述NVMeoFC存储系统之间通过光纤建立通信连接。The communication connection method according to claim 1, wherein a communication connection is established between the target host and the NVMeoFC storage system through an optical fiber.
  16. 一种主机与存储系统的通信连接装置,其特征在于,应用于带外管理服务器,包括:A communication connection device between a host and a storage system, characterized in that it is applied to an out-of-band management server, including:
    信息获取模块,用于响应于NVMeoFC存储系统的配置信息发生变化,则获取所述NVMeoFC存储系统中配置信息发生变化的变更配置信息;An information acquisition module, configured to acquire change configuration information in which the configuration information in the NVMeoFC storage system changes in response to changes in the configuration information of the NVMeoFC storage system;
    主机确定模块,用于根据所述变更配置信息确定所述NVMeoFC存储系统中配置信息发生变化的目标主机;及A host determining module, configured to determine the target host whose configuration information in the NVMeoFC storage system changes according to the changed configuration information; and
    通信连接模块,用于响应于所述目标主机已在所述带外管理服务器中进行注册,将所述变更配置信息中与所述目标主机相对应的目标配置信息发送至所述目标主机,以使所述目标主机与所述NVMeoFC存储系统建立通信连接。a communication connection module, configured to send target configuration information corresponding to the target host in the changed configuration information to the target host in response to the target host being registered in the out-of-band management server, to Make the target host establish a communication connection with the NVMeoFC storage system.
  17. 根据权利要求17所述的主机与存储系统的通信连接装置,其特征在于,信息获取模块具体用于:The communication connection device between a host and a storage system according to claim 17, wherein the information acquisition module is specifically used for:
    利用预先添加在所述NVMeoFC存储系统中的状态变更程序模块对所述NVMeoFC存储系统的配置信息进行实时监测;及Real-time monitoring of the configuration information of the NVMeoFC storage system by using the state change program module pre-added in the NVMeoFC storage system; and
    响应于所述NVMeoFC存储系统的配置信息发生变化,通过所述状态变更程序模块获取所述NVMeoFC存储系统中配置信息发生变化的所述变更配置信息。In response to changes in the configuration information of the NVMeoFC storage system, the change configuration information in which the configuration information in the NVMeoFC storage system has changed is acquired through the state change program module.
  18. 一种主机与存储系统的通信连接设备,其特征在于,包括:A communication connection device between a host and a storage system, characterized in that it includes:
    存储器,用于存储计算机可读指令;及memory for storing computer readable instructions; and
    一个或多个处理器,用于执行所述计算机可读指令时实现如权利要求1至16任一项所述的一种主机与存储系统的通信连接方法的步骤。One or more processors, configured to implement the steps of the communication connection method between a host and a storage system according to any one of claims 1 to 16 when executing the computer-readable instructions.
  19. 一种非易失性计算机可读存储介质,其特征在于,所述非易失性计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被一个或多个处理器执行时实现如权利要求1至16任一项所述的一种主机与存储系统的通信连接方法的步骤。A non-volatile computer-readable storage medium, wherein computer-readable instructions are stored on the non-volatile computer-readable storage medium, and when the computer-readable instructions are executed by one or more processors The steps of implementing a communication connection method between a host and a storage system according to any one of claims 1 to 16.
PCT/CN2022/113562 2021-12-31 2022-08-19 Communication connection method, apparatus and device for host and storage system, and medium WO2023124127A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111678634.9A CN114356810B (en) 2021-12-31 2021-12-31 Communication connection method, device, equipment and medium for host and storage system
CN202111678634.9 2021-12-31

Publications (1)

Publication Number Publication Date
WO2023124127A1 true WO2023124127A1 (en) 2023-07-06

Family

ID=81104451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113562 WO2023124127A1 (en) 2021-12-31 2022-08-19 Communication connection method, apparatus and device for host and storage system, and medium

Country Status (2)

Country Link
CN (1) CN114356810B (en)
WO (1) WO2023124127A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356810B (en) * 2021-12-31 2023-08-04 浪潮(北京)电子信息产业有限公司 Communication connection method, device, equipment and medium for host and storage system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050021908A1 (en) * 2003-07-24 2005-01-27 Hitachi, Ltd. Storage system and setting method for storage configuration information
US20100011184A1 (en) * 2004-05-20 2010-01-14 Yasuyuki Mimatsu Management method and a management system for volume
CN105912275A (en) * 2016-04-27 2016-08-31 华为技术有限公司 Method and device for establishing connection in nonvolatile memory system
CN112507319A (en) * 2020-11-23 2021-03-16 济南华芯算古信息科技有限公司 Data security protection method and device oF NVMe-oF storage system
CN114356810A (en) * 2021-12-31 2022-04-15 浪潮(北京)电子信息产业有限公司 Communication connection method, device, equipment and medium for host and storage system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9008575B2 (en) * 2008-12-12 2015-04-14 Nxp B.V. Portable mobile communication device and method of controlling near field communication
CN106774698A (en) * 2016-11-15 2017-05-31 郑州云海信息技术有限公司 A kind of outband management server and control method based on FPGA
US11119951B2 (en) * 2019-10-25 2021-09-14 International Business Machines Corporation Updating host discovery records based on target reconfiguration
US11169941B2 (en) * 2020-04-09 2021-11-09 EMC IP Holding Company LLC Host device with automated connectivity provisioning
CN112003755B (en) * 2020-08-25 2022-12-23 北京浪潮数据技术有限公司 Method, device, equipment and medium for selecting cluster master nodes
CN113407307A (en) * 2021-06-11 2021-09-17 苏州浪潮智能科技有限公司 Port expansion method, device, equipment and computer readable storage medium
CN113641418A (en) * 2021-07-26 2021-11-12 杭州鸿泉物联网技术股份有限公司 Storage method, device, equipment and medium for configuration parameters of vehicle-mounted equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050021908A1 (en) * 2003-07-24 2005-01-27 Hitachi, Ltd. Storage system and setting method for storage configuration information
US20100011184A1 (en) * 2004-05-20 2010-01-14 Yasuyuki Mimatsu Management method and a management system for volume
CN105912275A (en) * 2016-04-27 2016-08-31 华为技术有限公司 Method and device for establishing connection in nonvolatile memory system
CN112507319A (en) * 2020-11-23 2021-03-16 济南华芯算古信息科技有限公司 Data security protection method and device oF NVMe-oF storage system
CN114356810A (en) * 2021-12-31 2022-04-15 浪潮(北京)电子信息产业有限公司 Communication connection method, device, equipment and medium for host and storage system

Also Published As

Publication number Publication date
CN114356810B (en) 2023-08-04
CN114356810A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
US9219644B2 (en) Automated configuration of new racks and other computing assets in a data center
US7076688B2 (en) Failure information management method and management server in a network equipped with a storage device
JP4202709B2 (en) Volume and failure management method in a network having a storage device
US7225356B2 (en) System for managing operational failure occurrences in processing devices
US7330897B2 (en) Methods and apparatus for storage area network component registration
US9992058B2 (en) Redundant storage solution
CN106993043B (en) Data communication system and method based on agency
CN102064954A (en) Distributed fault tolerant system, equipment and method
JP2001520777A (en) Interface for interfacing a client program to a network device in a telecommunications network
CN106982244B (en) Method and device for realizing message mirroring of dynamic flow under cloud network environment
US8155024B2 (en) System and method for managing network connectivity of a CPE using a CMTS
WO2023124127A1 (en) Communication connection method, apparatus and device for host and storage system, and medium
US20240048468A1 (en) Traffic monitoring method and apparatus for open stack tenant network
US20150236920A1 (en) Method and apparatus for determining connection information of a link
WO2021112765A1 (en) Method and apparatus for controlling edge computing devices, and storage medium
WO2019232931A1 (en) Node exception processing method and system, device and computer-readable storage medium
CN113835836A (en) System, method, computer device and medium for dynamically publishing container service
US20080285469A1 (en) Computer replacing redundant communication routes, and programs and method for the same
CN105490847B (en) A kind of private cloud storage system interior joint failure real-time detection and processing method
CN112152943B (en) Method and system for controlling executive body based on mimic switch processor
KR102665749B1 (en) Method and apparatus for ensuring continued device operational reliability in cloud-degraded mode
CN109510730A (en) Distributed system and its monitoring method, device, electronic equipment and storage medium
CN113722211B (en) BMC debugging method, device, system and embedded equipment
WO2016086402A1 (en) Data communication method, apparatus and system
CN109510725A (en) Fault testing system of communication equipment and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22913412

Country of ref document: EP

Kind code of ref document: A1