CN107995077A - A kind of control method, system, equipment and a kind of server cluster - Google Patents
A kind of control method, system, equipment and a kind of server cluster Download PDFInfo
- Publication number
- CN107995077A CN107995077A CN201711193617.XA CN201711193617A CN107995077A CN 107995077 A CN107995077 A CN 107995077A CN 201711193617 A CN201711193617 A CN 201711193617A CN 107995077 A CN107995077 A CN 107995077A
- Authority
- CN
- China
- Prior art keywords
- interface
- switch
- node
- nvme ssd
- server cluster
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000006243 chemical reaction Methods 0.000 abstract description 14
- 230000000694 effects Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 10
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000750 progressive effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40097—Interconnection with other networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40091—Bus bridging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
- H04L67/1046—Joining mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本发明涉及服务器技术领域,更具体地说,涉及一种控制方法、系统、设备及一种服务器集群和一种计算机可读存储介质。The present invention relates to the technical field of servers, and more specifically, to a control method, system, equipment, a server cluster, and a computer-readable storage medium.
背景技术Background technique
PCIe全称PCI Express,是新一代的总线接口。采用了目前业内流行的点对点串行连接,比起PCI以及更早期的计算机总线的共享并行架构,每个设备都有自己的专用连接,不需要向整个总线请求带宽,而且可以把数据传输率提高到一个很高的频率,达到PCI所不能提供的高带宽。NVMe全称Non-Volatile Memory Express,为非易失性存储器标准。The full name of PCIe is PCI Express, which is a new generation of bus interface. Using the current popular point-to-point serial connection in the industry, compared with the shared parallel architecture of PCI and earlier computer buses, each device has its own dedicated connection, does not need to request bandwidth from the entire bus, and can increase the data transfer rate. To a very high frequency, to achieve high bandwidth that PCI cannot provide. The full name of NVMe is Non-Volatile Memory Express, which is a non-volatile memory standard.
现有技术中,为实现PCIe1×4和PCIe 2×2的两种传输架构之间的切换,需要改变硬件结果,用户需要拆卸系统。此外,PCIe扩展使用时,需要多主机的设计,造成了制造成本较高,使用效率低的缺点。In the prior art, in order to switch between the two transmission architectures of PCIe 1×4 and PCIe 2×2, hardware results need to be changed, and the user needs to disassemble the system. In addition, when PCIe is used for expansion, a multi-host design is required, resulting in the disadvantages of high manufacturing cost and low usage efficiency.
因此,如何提高PCIe两种架构之间的转换效率是本领域技术人员需要解决的问题。Therefore, how to improve the conversion efficiency between the two PCIe architectures is a problem to be solved by those skilled in the art.
发明内容Contents of the invention
本发明的目的在于提供一种控制方法、系统、设备及一种服务器集群和一种计算机可读存储介质,提高了PCIe两种架构之间的转换效率。The object of the present invention is to provide a control method, system, equipment, server cluster and a computer-readable storage medium, which improve the conversion efficiency between the two PCIe architectures.
为实现上述目的,本发明实施例提供了一种服务器集群,包括:To achieve the above purpose, an embodiment of the present invention provides a server cluster, including:
NVMe SSD;NVMe SSD;
与所述NVMe SSD相连的交换机;A switch connected to the NVMe SSD;
与所述交换机相连,用于控制所述NVMe SSD的节点。It is connected with the switch and is used to control the node of the NVMe SSD.
其中,所述NVMe SSD的第一接口与第一交换机相连,所述NVMe SSD的第二接口与第二交换机相连;Wherein, the first interface of the NVMe SSD is connected to the first switch, and the second interface of the NVMe SSD is connected to the second switch;
第一节点的第一接口与所述第一交换机的第一接口相连,所述第一节点的第二接口与所述第二交换机的第一接口相连;The first interface of the first node is connected to the first interface of the first switch, and the second interface of the first node is connected to the first interface of the second switch;
第二节点的第一接口与所述第一交换机的第二接口相连,所述第二节点的第二接口与所述第二交换机的第二接口相连。The first interface of the second node is connected to the second interface of the first switch, and the second interface of the second node is connected to the second interface of the second switch.
为实现上述目的,本发明实施例提供了一种控制方法,应用于如上述服务器集群,所述方法包括:In order to achieve the above purpose, an embodiment of the present invention provides a control method, which is applied to the above server cluster, and the method includes:
当所述服务器集群的当前模式处于1×4模式时,所述第一节点或所述第二节点的第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第一节点或所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口;When the current mode of the server cluster is in 1×4 mode, the first interface of the first node or the second node controls the first interface of the NVMe SSD through the first switch, and the first The node or the second interface of the second node controls the second interface of the NVMe SSD through the second switch;
当所述服务器集群的当前模式处于2×2模式时,所述第一节点第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口。When the current mode of the server cluster is in 2×2 mode, the first interface of the first node controls the first interface of the NVMe SSD through the first switch, and the second interface of the second node controls the first interface through the first switch. The second switch controls the second interface of the NVMe SSD.
其中,还包括:Among them, also include:
接收用户选择的所述服务器集群的目标模式。The target mode of the server cluster selected by the user is received.
其中,所述接收用户选择的所述服务器集群的目标模式之后,还包括:Wherein, after receiving the target mode of the server cluster selected by the user, it also includes:
判断所述目标模式与所述当前模式是否一致;judging whether the target mode is consistent with the current mode;
若否,则将所述服务器集群的控制模式切换为所述目标模式。If not, switch the control mode of the server cluster to the target mode.
为实现上述目的,本发明实施例提供了一种控制系统,包括:To achieve the above purpose, an embodiment of the present invention provides a control system, including:
第一控制模块,用于当所述服务器集群的当前模式处于1×4模式时,所述第一节点或所述第二节点的第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第一节点或所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口;A first control module, configured to control the first interface of the first node or the second node through the first switch to control the first interface of the NVMe SSD when the current mode of the server cluster is in the 1×4 mode. An interface, the second interface of the first node or the second node controls the second interface of the NVMe SSD through the second switch;
第二控制模块,用于当所述服务器集群的当前模式处于2×2模式时,所述第一节点第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口。The second control module is configured to control the first interface of the NVMe SSD through the first switch on the first interface of the first node when the current mode of the server cluster is in the 2×2 mode, and the second The second interface of the node controls the second interface of the NVMe SSD through the second switch.
其中,还包括:Among them, also include:
接收模块,用于接收用户选择的所述服务器集群的目标模式。The receiving module is configured to receive the target mode of the server cluster selected by the user.
其中,还包括:Among them, also include:
判断模块,用于判断所述目标模式与所述当前模式是否一致;A judging module, configured to judge whether the target mode is consistent with the current mode;
切换模块,用于所述目标模式与所述当前模式不一致时,将所述服务器集群的控制模式切换为所述目标模式。A switching module, configured to switch the control mode of the server cluster to the target mode when the target mode is inconsistent with the current mode.
为实现上述目的,本发明实施例提供了一种控制设备,包括:To achieve the above purpose, an embodiment of the present invention provides a control device, including:
存储器,用于存储控制程序;memory for storing the control program;
处理器,用于执行所述控制程序时实现如上述控制方法的步骤。A processor, configured to implement the steps of the above-mentioned control method when executing the control program.
为实现上述目的,本发明实施例提供了一种计算机可读存储介质,,所述计算机可读存储介质上存储有控制程序,所述控制程序被处理器执行时实现如上述控制方法。To achieve the above object, an embodiment of the present invention provides a computer-readable storage medium, where a control program is stored on the computer-readable storage medium, and when the control program is executed by a processor, the above control method is implemented.
通过以上方案可知,本发明实施例提供的一种服务器集群,包括:NVMe SSD;与所述NVMe SSD相连的交换机;与所述交换机相连,用于控制所述NVMe SSD的节点。It can be seen from the above solution that a server cluster provided by an embodiment of the present invention includes: an NVMe SSD; a switch connected to the NVMe SSD; and a node connected to the switch for controlling the NVMe SSD.
本发明实施例提供的服务器集群,节点通过交换机控制NVMe SSD,当用户选择1×4模式时,通过一个节点的的两个不同接口控制NVMe SSD的两个接口,当用户选择2×2模式时,通过两个节点控制NVMe SSD的两个接口。由此可见,本发明实施例提供的服务器集群,通过交换机实现了PCIe两种架构之间的转换,不需要更改硬件结构,提高了转换效率。本发明还公开了一种控制方法、系统、设备和一种计算机可读存储介质,同样能实现上述技术效果。In the server cluster provided by the embodiment of the present invention, the nodes control the NVMe SSD through the switch. When the user selects the 1×4 mode, the two interfaces of the NVMe SSD are controlled through two different interfaces of one node. When the user selects the 2×2 mode , to control the two interfaces of the NVMe SSD through two nodes. It can be seen that, the server cluster provided by the embodiment of the present invention implements the conversion between the two PCIe architectures through the switch, without changing the hardware structure, and improves the conversion efficiency. The invention also discloses a control method, system, equipment and a computer-readable storage medium, which can also achieve the above-mentioned technical effects.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention 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 These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例公开的一种服务器集群的结构图;FIG. 1 is a structural diagram of a server cluster disclosed in an embodiment of the present invention;
图2为本发明实施例公开的另一种服务器集群的结构图;FIG. 2 is a structural diagram of another server cluster disclosed by an embodiment of the present invention;
图3为本发明实施例公开的一种控制方法的流程图;Fig. 3 is a flowchart of a control method disclosed in an embodiment of the present invention;
图4为本发明实施例公开的一种控制方法1×4模式下的结构图;FIG. 4 is a structural diagram of a control method disclosed in an embodiment of the present invention in 1×4 mode;
图5为本发明实施例公开的一种控制方法2×2模式下的结构图;FIG. 5 is a structural diagram of a control method disclosed in an embodiment of the present invention in 2×2 mode;
图6为本发明实施例公开的一种控制系统的结构图;FIG. 6 is a structural diagram of a control system disclosed in an embodiment of the present invention;
图7为本发明实施例公开的一种控制设备的结构图。Fig. 7 is a structural diagram of a control device disclosed by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例公开了一种服务器集群,提高了PCIe两种架构之间的转换效率。The embodiment of the invention discloses a server cluster, which improves the conversion efficiency between two PCIe architectures.
参见图1,本发明实施例公开的一种服务器集群的结构图,如图1所示,包括:Referring to FIG. 1, a structural diagram of a server cluster disclosed in an embodiment of the present invention, as shown in FIG. 1, includes:
NVMe SSD 101;NVMe SSD 101;
与所述NVMe SSD相连的交换机102;A switch 102 connected to the NVMe SSD;
与所述交换机相连,用于控制所述NVMe SSD的节点103。It is connected with the switch and is used to control the node 103 of the NVMe SSD.
本发明实施例提供的服务器集群,节点通过交换机控制NVMe SSD,当用户选择1×4模式时,通过一个节点的的两个不同接口控制NVMe SSD的两个接口,当用户选择2×2模式时,通过两个节点控制NVMe SSD的两个接口。由此可见,本发明实施例提供的服务器集群,通过交换机实现了PCIe两种架构之间的转换,不需要更改硬件结构,提高了转换效率。In the server cluster provided by the embodiment of the present invention, the nodes control the NVMe SSD through the switch. When the user selects the 1×4 mode, the two interfaces of the NVMe SSD are controlled through two different interfaces of one node. When the user selects the 2×2 mode , to control the two interfaces of the NVMe SSD through two nodes. It can be seen that, the server cluster provided by the embodiment of the present invention implements the conversion between the two PCIe architectures through the switch, without changing the hardware structure, and improves the conversion efficiency.
本发明实施例公开了一种服务器集群,相对于上一实施例,本实施例对技术方案作了进一步的说明和优化。具体的:The embodiment of the present invention discloses a server cluster. Compared with the previous embodiment, this embodiment further explains and optimizes the technical solution. specific:
参见图2,本发明实施例提供的另一种服务器集群的结构图,如图2所示,包括:Referring to FIG. 2, another structural diagram of a server cluster provided by an embodiment of the present invention, as shown in FIG. 2, includes:
NVMe SSD 201;NVMe SSD 201;
与所述NVMe SSD 201的第一接口相连的第一交换机202,与所述NVMe SSD 201的第二接口相连的第二交换机203;A first switch 202 connected to the first interface of the NVMe SSD 201, a second switch 203 connected to the second interface of the NVMe SSD 201;
第一接口与所述第一交换机202的第一接口相连、第二接口与所述第二交换机203的第一接口相连的第一节点204;A first node 204 whose first interface is connected to the first interface of the first switch 202 and whose second interface is connected to the first interface of the second switch 203;
第一接口与所述第一交换机202的第二接口相连、第二接口与所述第二交换机203的第二接口相连的第二节点205。A second node 205 in which the first interface is connected to the second interface of the first switch 202 and the second interface is connected to the second interface of the second switch 203 .
在具体实施中,第一节点的[0:1]和[2:3]分别连接到第一交换机和第二交换机,第二节点的[3:2]和[1:0]以相同的方式连接到第一交换机和第二交换机。NVMe SSD的[0:1]连接第一交换机,NVMe SSD的[2:3]连接第二交换机。In a specific implementation, [0:1] and [2:3] of the first node are connected to the first switch and the second switch respectively, and [3:2] and [1:0] of the second node are connected in the same way Connect to the first switch and the second switch. [0:1] of the NVMe SSD is connected to the first switch, and [2:3] of the NVMe SSD is connected to the second switch.
下面对本发明实施例提供的一种控制方法进行介绍,参见图3,本发明实施例公开的一种控制方法的流程图,如图3所示,包括:A control method provided by an embodiment of the present invention is introduced below. Referring to FIG. 3 , a flow chart of a control method disclosed by an embodiment of the present invention, as shown in FIG. 3 , includes:
S301:当所述服务器集群的当前模式处于1×4模式时,所述第一节点或所述第二节点的第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第一节点或所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口;S301: When the current mode of the server cluster is in 1×4 mode, the first interface of the first node or the second node controls the first interface of the NVMe SSD through the first switch, the The second interface of the first node or the second node controls the second interface of the NVMe SSD through the second switch;
在具体实施中,当用户选择服务器集群的当前模式为1×4模式,且由第一节点控制NVMe SSD时,如图4所示,使用第一交换机和第二交换机的低活性状态选择引脚,第一交换机切换到第一接口,在这种情况下,第一节点的[0:1]可通过第一交换机控制NVMe SSD的[0:1]。类似地,同时,将第二交换机切换到第一接口,第一节点的[2:3]可通过第二交换机控制NVMe SSD的[2:3],实现了第一节点的[0:1][2:3]控制NVMe SSD的[0:1][2:3]。In a specific implementation, when the user selects the current mode of the server cluster as 1×4 mode, and the first node controls the NVMe SSD, as shown in Figure 4, use the low-active state selection pins of the first switch and the second switch , the first switch switches to the first interface. In this case, [0:1] of the first node can control [0:1] of the NVMe SSD through the first switch. Similarly, at the same time, switch the second switch to the first interface, [2:3] of the first node can control [2:3] of NVMe SSD through the second switch, and realize [0:1] of the first node [2:3] controls [0:1][2:3] of NVMe SSD.
相应的,当用户选择由第二节点控制NVMe SSD时,使用第一交换机和第二交换机的在高活性状态选择引脚,第一交换机切换到第二接口,在这种情况下,第二节点的[3:2]可通过第一交换机控制NVMe SSD的[0:1]。类似地,同时,将第二交换机切换到第二接口,第二节点的[1:0]可通过第二交换机控制NVMe SSD的[2:3],实现了第二节点的[3:2]和[1:0]控制NVMe SSD的[0:1][2:3]。Correspondingly, when the user chooses to control the NVMe SSD by the second node, the first switch switches to the second interface by using the pins in the high active state of the first switch and the second switch. In this case, the second node [3:2] can control NVMe SSD [0:1] through the first switch. Similarly, at the same time, switch the second switch to the second interface, [1:0] of the second node can control [2:3] of NVMe SSD through the second switch, and realize [3:2] of the second node and [1:0] control [0:1][2:3] for NVMe SSD.
S302:当所述服务器集群的当前模式处于2×2模式时,所述第一节点第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口。S302: When the current mode of the server cluster is in 2×2 mode, the first interface of the first node controls the first interface of the NVMe SSD through the first switch, and the second interface of the second node The second interface of the NVMe SSD is controlled by the second switch.
在具体实施中,当用户选择服务器集群的当前模式为2×2模式,保持第一交换机低活性的选择引脚,第一交换机连接到第一节点的第一接口,使第一节点的[0:1]可通过第一交换机控制NVMe SSD的[0:1]。另外,第二交换机处于高活动状态,第二交换机连接到第二节点的第二接口,使第二节点的[1:0]可通过第二交换机控制NVMe SSD的[2:3]。In a specific implementation, when the user selects the current mode of the server cluster as the 2×2 mode, the selection pin of the first switch is kept low, and the first switch is connected to the first interface of the first node, so that the [0 :1] [0:1] of the NVMe SSD can be controlled through the first switch. In addition, the second switch is in a high active state, and the second switch is connected to the second interface of the second node, so that [1:0] of the second node can control [2:3] of the NVMe SSD through the second switch.
本发明实施例提供的控制方法,节点通过交换机控制NVMe SSD,当用户选择1×4模式时,通过一个节点的的两个不同接口控制NVMe SSD的两个接口,当用户选择2×2模式时,通过两个节点控制NVMe SSD的两个接口。由此可见,本发明实施例提供的服务器集群,通过交换机实现了PCIe两种架构之间的转换,不需要更改硬件结构,提高了转换效率。In the control method provided by the embodiment of the present invention, the node controls the NVMe SSD through the switch. When the user selects the 1×4 mode, the two interfaces of the NVMe SSD are controlled through two different interfaces of a node. When the user selects the 2×2 mode , to control the two interfaces of the NVMe SSD through two nodes. It can be seen that, the server cluster provided by the embodiment of the present invention implements the conversion between the two PCIe architectures through the switch, without changing the hardware structure, and improves the conversion efficiency.
在上述实施例的基础上,作为优选实施方式,还包括:On the basis of the foregoing embodiments, as a preferred embodiment, it also includes:
接收用户选择的所述服务器集群的目标模式。The target mode of the server cluster selected by the user is received.
在上述实施例的基础上,作为优选实施方式,所述接收用户选择的所述服务器集群的目标模式之后,还包括:On the basis of the above embodiments, as a preferred implementation manner, after receiving the target mode of the server cluster selected by the user, it further includes:
判断所述目标模式与所述当前模式是否一致;judging whether the target mode is consistent with the current mode;
若否,则将所述服务器集群的控制模式切换为所述目标模式。If not, switch the control mode of the server cluster to the target mode.
下面对本发明实施例提供的一种控制系统进行介绍,下文描述的一种控制系统与上文描述的一种控制方法可以相互参照。A control system provided by an embodiment of the present invention is introduced below, and a control system described below and a control method described above may refer to each other.
参见图6,本发明实施例提供的一种控制系统的结构图,如图6所示,包括:Referring to FIG. 6, a structural diagram of a control system provided by an embodiment of the present invention, as shown in FIG. 6, includes:
第一控制模块601,用于当所述服务器集群的当前模式处于1×4模式时,所述第一节点或所述第二节点的第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第一节点或所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口;The first control module 601 is configured to: when the current mode of the server cluster is in 1×4 mode, the first interface of the first node or the second node controls the NVMe SSD through the first switch The first interface, the second interface of the first node or the second node controls the second interface of the NVMe SSD through the second switch;
第二控制模块602,用于当所述服务器集群的当前模式处于2×2模式时,所述第一节点第一接口通过所述第一交换机控制所述NVMe SSD的第一接口,所述第二节点的第二接口通过所述第二交换机控制所述NVMe SSD的第二接口。The second control module 602 is configured to: when the current mode of the server cluster is in 2×2 mode, the first interface of the first node controls the first interface of the NVMe SSD through the first switch, and the second The second interface of the second node controls the second interface of the NVMe SSD through the second switch.
本发明实施例提供的控制系统,节点通过交换机控制NVMe SSD,当用户选择1×4模式时,通过一个节点的的两个不同接口控制NVMe SSD的两个接口,当用户选择2×2模式时,通过两个节点控制NVMe SSD的两个接口。由此可见,本发明实施例提供的服务器集群,通过交换机实现了PCIe两种架构之间的转换,不需要更改硬件结构,提高了转换效率。In the control system provided by the embodiment of the present invention, the node controls the NVMe SSD through the switch. When the user selects the 1×4 mode, the two interfaces of the NVMe SSD are controlled through two different interfaces of a node. When the user selects the 2×2 mode , to control the two interfaces of the NVMe SSD through two nodes. It can be seen that, the server cluster provided by the embodiment of the present invention implements the conversion between the two PCIe architectures through the switch, without changing the hardware structure, and improves the conversion efficiency.
在上述实施例的基础上,作为优选实施方式,还包括:On the basis of the foregoing embodiments, as a preferred embodiment, it also includes:
接收模块,用于接收用户选择的所述服务器集群的目标模式。The receiving module is configured to receive the target mode of the server cluster selected by the user.
在上述实施例的基础上,作为优选实施方式,还包括:On the basis of the foregoing embodiments, as a preferred embodiment, it also includes:
判断模块,用于判断所述目标模式与所述当前模式是否一致;A judging module, configured to judge whether the target mode is consistent with the current mode;
切换模块,用于所述目标模式与所述当前模式不一致时,将所述服务器集群的控制模式切换为所述目标模式。A switching module, configured to switch the control mode of the server cluster to the target mode when the target mode is inconsistent with the current mode.
本申请还提供了一种控制设备,参见图7,本发明实施例提供的一种控制设备的结构图,如图7所示,包括:The present application also provides a control device, see FIG. 7, a structural diagram of a control device provided by an embodiment of the present invention, as shown in FIG. 7, including:
存储器701,用于存储控制程序;Memory 701, used to store the control program;
处理器702,用于执行所述控制程序时可以实现上述实施例所提供的步骤。当然所述控制设备还可以包括各种网络接口,电源等组件。The processor 702 is configured to implement the steps provided in the foregoing embodiments when executing the control program. Of course, the control device may also include various network interfaces, power supplies and other components.
本发明实施例提供的控制设备,节点通过交换机控制NVMe SSD,当用户选择1×4模式时,通过一个节点的的两个不同接口控制NVMe SSD的两个接口,当用户选择2×2模式时,通过两个节点控制NVMe SSD的两个接口。由此可见,本发明实施例提供的服务器集群,通过交换机实现了PCIe两种架构之间的转换,不需要更改硬件结构,提高了转换效率。In the control device provided by the embodiment of the present invention, the node controls the NVMe SSD through the switch. When the user selects the 1×4 mode, the two interfaces of the NVMe SSD are controlled through two different interfaces of a node. When the user selects the 2×2 mode , to control the two interfaces of the NVMe SSD through two nodes. It can be seen that, the server cluster provided by the embodiment of the present invention implements the conversion between the two PCIe architectures through the switch, without changing the hardware structure, and improves the conversion efficiency.
本申请还提供了一种计算机可读存储介质,其上存储有控制程序,所述控制程序被处理器执行时可以实现上述实施例所提供的步骤。该存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The present application also provides a computer-readable storage medium, on which a control program is stored, and when the control program is executed by a processor, the steps provided in the above-mentioned embodiments can be realized. The storage medium may include various media capable of storing program codes such as a U disk, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part. It should be pointed out that those skilled in the art can make some improvements and modifications to the application without departing from the principles of the application, and these improvements and modifications also fall within the protection scope of the claims of the application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. 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 exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711193617.XA CN107995077A (en) | 2017-11-24 | 2017-11-24 | A kind of control method, system, equipment and a kind of server cluster |
| PCT/CN2018/103409 WO2019100799A1 (en) | 2017-11-24 | 2018-08-31 | Control method, system and device, and server cluster |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711193617.XA CN107995077A (en) | 2017-11-24 | 2017-11-24 | A kind of control method, system, equipment and a kind of server cluster |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107995077A true CN107995077A (en) | 2018-05-04 |
Family
ID=62032009
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711193617.XA Pending CN107995077A (en) | 2017-11-24 | 2017-11-24 | A kind of control method, system, equipment and a kind of server cluster |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107995077A (en) |
| WO (1) | WO2019100799A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109257431A (en) * | 2018-10-12 | 2019-01-22 | 微网云(深圳)技术有限公司 | distributed server system |
| WO2019100799A1 (en) * | 2017-11-24 | 2019-05-31 | 郑州云海信息技术有限公司 | Control method, system and device, and server cluster |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107015928A (en) * | 2016-01-27 | 2017-08-04 | 广达电脑股份有限公司 | System and method for switching multiple interfaces and system for switching buses |
| CN206470736U (en) * | 2017-03-01 | 2017-09-05 | 郑州云海信息技术有限公司 | A kind of 10,000,000,000 sets of interfaces Chinese style flash array control nodes |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107995077A (en) * | 2017-11-24 | 2018-05-04 | 郑州云海信息技术有限公司 | A kind of control method, system, equipment and a kind of server cluster |
-
2017
- 2017-11-24 CN CN201711193617.XA patent/CN107995077A/en active Pending
-
2018
- 2018-08-31 WO PCT/CN2018/103409 patent/WO2019100799A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107015928A (en) * | 2016-01-27 | 2017-08-04 | 广达电脑股份有限公司 | System and method for switching multiple interfaces and system for switching buses |
| CN206470736U (en) * | 2017-03-01 | 2017-09-05 | 郑州云海信息技术有限公司 | A kind of 10,000,000,000 sets of interfaces Chinese style flash array control nodes |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2019100799A1 (en) * | 2017-11-24 | 2019-05-31 | 郑州云海信息技术有限公司 | Control method, system and device, and server cluster |
| CN109257431A (en) * | 2018-10-12 | 2019-01-22 | 微网云(深圳)技术有限公司 | distributed server system |
| CN109257431B (en) * | 2018-10-12 | 2021-04-13 | 微网云(深圳)科技有限公司 | Distributed server system |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019100799A1 (en) | 2019-05-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103902486B (en) | System, device and method for implementation of remote direct memory access | |
| US8332542B2 (en) | Communication with input/output system devices | |
| JP5844303B2 (en) | Method and structure for a serial attached SCSI expander that self-configures port routing attributes | |
| CN104202197A (en) | Method and device for equipment management | |
| CN112527709B (en) | PCIe expansion switching system, method, electronic equipment and storage medium | |
| US20150363340A1 (en) | Providing multiple synchronous serial console sessions using data buffering | |
| US10110691B2 (en) | Systems and methods for enabling virtual keyboard-video-mouse for external graphics controllers | |
| KR20140014273A (en) | Method and system for dynamically creating and servicing master-slave pairs within and across switch fabrics of a portable computing device | |
| CN103180817A (en) | Storage expansion apparatus and server | |
| CN106878382B (en) | Method and device for dynamically changing cluster scale in distributed arbitration cluster | |
| JP2016536735A (en) | Hard disk and management method | |
| US20170192964A1 (en) | Distributed file system and operating method of the same | |
| WO2020233435A1 (en) | Data processing method, apparatus, and system | |
| CN103929475B (en) | The hard disk storage system and hard disc data operating method of a kind of Ethernet architecture | |
| CN111984573A (en) | Resetting method of PCIE Switch expansion chip of controller | |
| CN105630419B (en) | A kind of the subregion view sending method and management node of resource pool | |
| CN107995077A (en) | A kind of control method, system, equipment and a kind of server cluster | |
| US20130132634A1 (en) | Routing switch apparatus, network switch system, and routing switching method | |
| CN102393838B (en) | Data processing method and device, PCI-E (peripheral component interface-express) bus system, and server | |
| US20190004816A1 (en) | Systems and methods for heterogeneous system on a chip servers | |
| CN111274192A (en) | Multi-BMC management system and blade server | |
| US11294840B2 (en) | Dual-tree backplane | |
| CN105264608A (en) | Data storage method, memory controller and central processing unit | |
| CN104038550A (en) | Data communication method and data communication device and storage system | |
| US10402357B1 (en) | Systems and methods for group manager based peer communication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180504 |
|
| RJ01 | Rejection of invention patent application after publication |