技术领域technical field
本发明涉及计算机技术领域,尤指一种多路服务器的分区配置方法、装置及多路服务器。The invention relates to the technical field of computers, in particular to a method and device for partition configuration of a multi-way server and the multi-way server.
背景技术Background technique
八路服务器是比较常见的一种高端服务器,其配置的中央处理器(Centr-alProcessing Unit,CPU)的个数为八颗,八路服务器能发挥强大的处理及运算能力,并且具有高度的可扩展性,因此是建立核心数据库的最佳硬件平台,也是进行虚拟化、商业智能分析、大型企业资源计划(Enterprise Resou-rce Planning,ERP)以及高性能计算的最佳硬件平台。The eight-way server is a relatively common high-end server. The number of central processing units (Centr-al Processing Unit, CPU) is eight. The eight-way server can exert powerful processing and computing capabilities, and has a high degree of scalability. , so it is the best hardware platform for building a core database, and it is also the best hardware platform for virtualization, business intelligence analysis, large-scale enterprise resource planning (Enterprise Resource Planning, ERP) and high-performance computing.
一般的八路服务器通常有四个计算节点,每个计算节点上配置有两颗处理器,四个计算节点通过背板将高速总线和控制信号连接起来,从而形成2Sx4架构。在2Sx4架构服务器的使用过程中,首先需要将八路服务器配置成单分区(即二路)或双分区(即四路)或四分区(即八路)模式,因此,分区配置是八路服务器正常工作的前提条件。分区配置是先获取分区配置信息,然后将分区配置信息通过通用输出(General Purpose Output,GPO)电平的方式发送给计算节点,以使得计算节点根据接收到的GPO电平获取分区配置信息以进行分区配置。A general eight-way server usually has four computing nodes, and each computing node is equipped with two processors. The four computing nodes connect high-speed buses and control signals through the backplane, thus forming a 2Sx4 architecture. In the process of using the 2Sx4 architecture server, it is first necessary to configure the eight-way server into a single partition (that is, two-way) or double partition (that is, four-way) or four-partition (that is, eight-way) mode. Therefore, the partition configuration is the normal work of the eight-way server. prerequisites. Partition configuration is to obtain the partition configuration information first, and then send the partition configuration information to the computing node through the general purpose output (General Purpose Output, GPO) level, so that the computing node obtains the partition configuration information according to the received GPO level to perform Partition configuration.
GPO电平的产生方式可以是硬件方式,所谓硬件方式是对部署在印制电路板(Printed Circuit Board,PCB)上的跳帽或拨码开关进行操作以产生GPO电平,这种方式需要在服务器下电后,人工将PCB拔出然后手动配置,操作环境比较苛刻,操作步骤比较繁琐,因此,这种方式并不常用,常用的GPO电平的产生方式是软件方式,即通过监控管理系统的UI界面进行设定以使得系统管理控制器(Symtem Mannagement controller,SMC)产生GPO电平,这种方式不需要将PCB拔出然后手动配置,操作简单,但是却依赖于监控管理系统的实时配置,因为服务器每次开机之前必须保证分区配置信息配置完毕,而分区配置信息的获取又必须在监控管理系统的大约60秒左右的初始化完成之后才能进行,从而会造成分区配置过程的缓慢。The generation method of the GPO level can be a hardware method. The so-called hardware method is to operate a jumper or a dial switch deployed on a printed circuit board (Printed Circuit Board, PCB) to generate a GPO level. After the server is powered off, the PCB is manually pulled out and then manually configured. The operating environment is relatively harsh and the operation steps are relatively cumbersome. The UI interface is set to make the system management controller (Symtem Mannagement controller, SMC) generate the GPO level. This method does not need to pull out the PCB and configure it manually. The operation is simple, but it depends on the real-time configuration of the monitoring and management system. , because the partition configuration information must be configured before the server starts each time, and the partition configuration information must be obtained after the initialization of the monitoring and management system for about 60 seconds is completed, which will cause the partition configuration process to be slow.
发明内容Contents of the invention
为了解决上述技术问题,本发明提供了一种多路服务器的分区配置方法、装置及多路服务器,从而快速地实现多路服务器的分区配置。In order to solve the above technical problems, the present invention provides a partition configuration method and device for a multi-path server, and a multi-path server, so as to quickly realize the partition configuration of the multi-path server.
为了达到本发明目的,本发明提供了一种多路服务器的分区配置方法,所述多路服务器包括:至少两个计算节点、与所述至少两个计算节点都相连的一个输入输出扩展接口IOE,其中,所述IOE包括非易失性存储器;所述方法包括:In order to achieve the purpose of the present invention, the present invention provides a multi-path server partition configuration method, the multi-path server includes: at least two computing nodes, an input-output expansion interface IOE connected to the at least two computing nodes , wherein the IOE includes a non-volatile memory; the method includes:
所述IOE从所述存储器中获取分区配置信息;The IOE acquires partition configuration information from the memory;
将所述分区配置信息转换成电平信号;converting the partition configuration information into a level signal;
发送所述电平信号至每个计算节点。sending the level signal to each computing node.
将所述分区配置信息转换成所述电平信号,包括:Converting the partition configuration information into the level signal includes:
根据预设关系表将所述分区配置信息转换成所述电平信号,其中,所述预设关系表为所有分区配置信息和电平信号一一对应的关系表。The partition configuration information is converted into the level signal according to a preset relation table, wherein the preset relation table is a one-to-one correspondence relation table between all partition configuration information and level signals.
所述多路服务器还包括:与所述IOE相连的一个系统管理控制器SMC;所述方法还包括:The multi-channel server also includes: a system management controller SMC connected to the IOE; the method also includes:
接收所述SMC发送的所述分区配置信息;receiving the partition configuration information sent by the SMC;
将所述分区配置信息存储在所述存储器中。storing the partition configuration information in the memory.
所述多路服务器还包括:与所述IOE相连的一个多主选择器、与所述多主选择器都相连的两个SMC;所述方法还包括:The multi-path server also includes: a multi-master selector connected to the IOE, and two SMCs connected to the multi-master selector; the method also includes:
接收目标SMC发送的所述分区配置信息,其中,所述目标SMC是所述多主选择器从两个SMC中所确定的一个SMC;receiving the partition configuration information sent by the target SMC, wherein the target SMC is an SMC determined by the multi-master selector from two SMCs;
将所述分区配置信息存储在所述存储器中。storing the partition configuration information in the memory.
所述存储器为电可擦除只读存储器EEPROM。The memory is an electrically erasable read-only memory (EEPROM).
本发明还提供一种输入输出扩展接口,位于多路服务器中,输入输出扩展接口IOE包括非易失性存储器,所述IOE包括:The present invention also provides an input-output expansion interface, which is located in a multi-channel server. The input-output expansion interface IOE includes a non-volatile memory, and the IOE includes:
获取模块,用于从所述存储器中获取分区配置信息;An acquisition module, configured to acquire partition configuration information from the memory;
处理模块,用于将所述分区配置信息转换成电平信号;A processing module, configured to convert the partition configuration information into a level signal;
发送模块,用于发送所述电平信号至每个计算节点。A sending module, configured to send the level signal to each computing node.
所述IOE还包括:The IOE also includes:
第一接收模块,用于接收所述SMC发送的所述分区配置信息;A first receiving module, configured to receive the partition configuration information sent by the SMC;
第一存储模块,用于将所述分区配置信息存储在所述存储器中。A first storage module, configured to store the partition configuration information in the memory.
所述IOE还包括:The IOE also includes:
第二接收模块,用于接收目标SMC发送的所述分区配置信息,其中,所述目标SMC是所述多主选择器从两个SMC中所确定的一个SMC;The second receiving module is configured to receive the partition configuration information sent by the target SMC, wherein the target SMC is an SMC determined by the multi-master selector from two SMCs;
第二存储模块,用于将所述分区配置信息存储在所述存储器中。A second storage module, configured to store the partition configuration information in the memory.
本发明还提供一种多路服务器,包括如上所述的一个输入输出扩展接口IOE、与所述IOE都相连的至少两个计算节点、与所述IOE相连的一个系统管理控制器SMC;The present invention also provides a multi-channel server, including an input-output expansion interface IOE as described above, at least two computing nodes connected to the IOE, and a system management controller SMC connected to the IOE;
所述计算节点,用于接收所述IOE发送的电平信号,根据所述电平信号进行分区配置;The computing node is configured to receive the level signal sent by the IOE, and perform partition configuration according to the level signal;
所述SMC,用于向所述IOE发送分区配置信息。The SMC is configured to send partition configuration information to the IOE.
本发明还提供多路服务器,如上所述的一个输入输出扩展接口IOE、与所述IOE都相连的至少两个计算节点、与所述IOE相连的一个多主选择器、与所述多主选择器相连的两个系统管理控制器SMC;The present invention also provides a multi-channel server, an input-output expansion interface IOE as mentioned above, at least two computing nodes connected to the IOE, a multi-master selector connected to the IOE, and the multi-master selector Two system management controllers SMC connected to the controller;
所述计算节点,用于接收所述IOE发送的电平信号,根据所述电平信号进行分区配置;The computing node is configured to receive the level signal sent by the IOE, and perform partition configuration according to the level signal;
所述多主选择器,用于从两个SMC中确定一个SMC作为向所述IOE发送分区配置信息的SMC;The multi-master selector is configured to determine an SMC from two SMCs as the SMC that sends partition configuration information to the IOE;
所述SMC,用于向所述IOE发送分区配置信息。The SMC is configured to send partition configuration information to the IOE.
与现有技术相比,本发明至少包括输入输出扩展接口(Input/OutputExpander,IOE)从存储器中获取分区配置信息;将分区配置信息转换成电平信号;发送电平信号至每个计算节点。从本发明提供的技术方案可见,由于IOE从存储器中获取分区配置信息时存储器不需要进行初始化,因此从存储器中获取分区配置信息所用的时间,无疑比接收SMC发送的配置信息所用的时间少得多,从而及时获取了分区配置信息以转换成电平信号并发送至计算节点,使得计算节点快速地实现了多路服务器的分区配置。Compared with the prior art, the present invention at least includes an input/output expansion interface (Input/OutputExpander, IOE) to obtain partition configuration information from a memory; convert the partition configuration information into a level signal; and send the level signal to each computing node. It can be seen from the technical solution provided by the present invention that since the memory does not need to be initialized when the IOE obtains the partition configuration information from the memory, the time used to obtain the partition configuration information from the memory is undoubtedly much less than the time used to receive the configuration information sent by the SMC There are many, so that the partition configuration information is obtained in time to be converted into a level signal and sent to the computing node, so that the computing node can quickly realize the partition configuration of the multi-way server.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present invention, and constitute a part of the description, and are used together with the embodiments of the application to explain the technical solution of the present invention, and do not constitute a limitation to the technical solution of the present invention.
图1为本发明实施例提供的有四个计算节点的八路服务器的单分区模式示意图;FIG. 1 is a schematic diagram of a single partition mode of an eight-way server with four computing nodes provided by an embodiment of the present invention;
图2为本发明实施例提供的有四个计算节点的八路服务器的双分区模式示意图;FIG. 2 is a schematic diagram of a dual-partition mode of an eight-way server with four computing nodes provided by an embodiment of the present invention;
图3为本发明实施例提供的有四个计算节点的八路服务器的四分区模式示意图;3 is a schematic diagram of a four-partition mode of an eight-way server with four computing nodes provided by an embodiment of the present invention;
图4为本发明实施例提供的一种多路服务器的分区配置方法的流程示意图;FIG. 4 is a schematic flow diagram of a partition configuration method for a multi-way server provided by an embodiment of the present invention;
图5为本发明实施例提供的另一种多路服务器的分区配置方法的流程示意图;FIG. 5 is a schematic flow diagram of another partition configuration method for a multi-way server provided by an embodiment of the present invention;
图6为本发明实施例提供的又一种多路服务器的分区配置方法的流程示意图;FIG. 6 is a schematic flowchart of another method for configuring partitions of a multi-way server provided by an embodiment of the present invention;
图7为本发明实施例提供的一种输出输出扩展接口的结构示意图;FIG. 7 is a schematic structural diagram of an output and output expansion interface provided by an embodiment of the present invention;
图8为本发明实施例提供的另一种输出输出扩展接口的结构示意图;FIG. 8 is a schematic structural diagram of another output and output expansion interface provided by an embodiment of the present invention;
图9为本发明实施例提供的又一种输出输出扩展接口的结构示意图;FIG. 9 is a schematic structural diagram of another output and output expansion interface provided by an embodiment of the present invention;
图10为本发明实施例提供的一种多路服务器的结构示意图;FIG. 10 is a schematic structural diagram of a multi-channel server provided by an embodiment of the present invention;
图11为本发明实施例提供的另一种多路服务器的结构示意图;FIG. 11 is a schematic structural diagram of another multi-channel server provided by an embodiment of the present invention;
图12为本发明实施例提供的有四个计算节点的八路服务器的结构示意图。FIG. 12 is a schematic structural diagram of an eight-way server with four computing nodes provided by an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
多路服务器的分区模式由多路服务器中计算节点如何组合而定,以有四个计算节点的八路服务器为例说明,如图1所示,单分区是指四个计算节点通过物理互联组成一个完整的八路系统的模式;如图2所示,双分区是指包含两个独立的四路系统的模式,其中每个四路系统由两个计算节点通过物理互连组成;如图3所示,四分区是指包含四个独立的二路系统的模式,其中每个二路系统包括一个计算节点。The partition mode of a multi-route server depends on how the computing nodes in the multi-route server are combined. Taking an eight-route server with four computing nodes as an example, as shown in Figure 1, a single partition means that four computing nodes form a single partition through physical interconnection. The mode of a complete eight-socket system; as shown in Figure 2, dual partition refers to the mode that contains two independent four-socket systems, where each four-socket system is composed of two computing nodes through physical interconnection; as shown in Figure 3 , four-partition refers to a pattern that contains four independent two-socket systems, where each two-socket system includes a compute node.
本发明实施例提供一种多路服务器的分区配置方法,应用于多路服务器中的IOE,该多路服务器包括:至少两个计算节点、与至少两个计算节点都相连的一个IOE,其中,IOE包括非易失性存储器,如图4所示,该方法包括:An embodiment of the present invention provides a partition configuration method for a multi-path server, which is applied to an IOE in a multi-path server. The multi-path server includes: at least two computing nodes, and an IOE connected to at least two computing nodes, wherein, The IOE includes a non-volatile memory, as shown in Figure 4, and the method includes:
步骤101、IOE从存储器中获取分区配置信息。In step 101, the IOE acquires partition configuration information from a memory.
需要说明的是,存储器中预先存储有分区配置信息,待多路服务器上电后IOE会从存储器中获取该分区配置信息。It should be noted that partition configuration information is pre-stored in the memory, and the IOE will obtain the partition configuration information from the memory after the multi-way server is powered on.
步骤102、将分区配置信息转换成电平信号。Step 102, converting the partition configuration information into a level signal.
可选的,电平信号可以是GPO电平信号。Optionally, the level signal may be a GPO level signal.
步骤103、发送电平信号至每个计算节点。Step 103, sending a level signal to each computing node.
本发明实施例所提供的多路服务器的分区配置方法,IOE从存储器中获取分区配置信息;将分区配置信息转换成电平信号;发送电平信号至每个计算节点。由于IOE从存储器中获取分区配置信息时存储器不需要进行初始化,因此从存储器中获取分区配置信息所用的时间,无疑比接收SMC发送的配置信息所用的时间少得多,从而及时获取了分区配置信息以转换成电平信号并发送至每个计算节点,使得计算节点快速地实现了多路服务器的分区配置。In the partition configuration method of the multi-channel server provided by the embodiment of the present invention, the IOE acquires partition configuration information from the memory; converts the partition configuration information into a level signal; and sends the level signal to each computing node. Since the memory does not need to be initialized when the IOE obtains the partition configuration information from the memory, the time taken to obtain the partition configuration information from the memory is undoubtedly much less than the time used to receive the configuration information sent by the SMC, thus obtaining the partition configuration information in time It can be converted into a level signal and sent to each computing node, so that the computing node can quickly realize the partition configuration of multi-channel servers.
本发明实施例提供另一种多路服务器的分区配置方法,应用于多路服务器中的IOE,该多路服务器包括:至少两个计算节点、与至少两个计算节点都相连的一个IOE,与IOE相连的一个SMC,其中,IOE包括非易失性存储器,如图5所示,该方法包括:The embodiment of the present invention provides another multi-path server partition configuration method, which is applied to the IOE in the multi-way server, and the multi-way server includes: at least two computing nodes, an IOE connected to at least two computing nodes, and An SMC connected to the IOE, wherein the IOE includes a non-volatile memory, as shown in Figure 5, the method includes:
步骤201、IOE接收SMC发送的分区配置信息。In step 201, the IOE receives the partition configuration information sent by the SMC.
步骤202、将分区配置信息存储在存储器中。Step 202, storing partition configuration information in a memory.
可选的,非易失性存储器可以是电可擦除只读存储器(Electrically ErasableProgrammable Read-Only Memory,EEPROM)。Optionally, the non-volatile memory may be an Electrically Erasable Programmable Read-Only Memory (EEPROM).
步骤203、从存储器中获取分区配置信息。Step 203, acquiring partition configuration information from the memory.
步骤204、将分区配置信息转换成电平信号。Step 204, converting the partition configuration information into a level signal.
具体的,该步骤包括:根据预设关系表将分区配置信息转换成电平信号,其中,预设关系表为所有分区配置信息和电平信号一一对应的关系表。所有分区配置信息指的是多路服务器所有分区模式的分区配置信息。Specifically, this step includes: converting the partition configuration information into a level signal according to a preset relation table, wherein the preset relation table is a one-to-one correspondence relation table between all partition configuration information and the level signal. All partition configuration information refers to the partition configuration information of all partition modes of the multi-way server.
具体的,假设多路服务器是有四个计算节点的八路服务器,分区模式包括单分区模式、双分区模式和四分区模式,假设电平信号为GPO电平信号,那么可以用两个GPO电平信号(信号1和信号2)来表示三种分区模式,例如,高电平信号-低电平信号(即1-0电平信号)对应单分区模式,高电平信号-高电平信号(即1-1电平信号)对应双分区模式,低电平信号-高电平信号(即0-1电平信号)对应四分区模式,预设关系表的建立可以如表1所示,Specifically, assuming that the multi-way server is an eight-way server with four computing nodes, the partition modes include single partition mode, double partition mode and four-partition mode, assuming that the level signal is a GPO level signal, then two GPO level signals can be used Signals (signal 1 and signal 2) to represent three partition modes, for example, high level signal-low level signal (that is, 1-0 level signal) corresponds to single partition mode, high level signal-high level signal ( That is, the 1-1 level signal) corresponds to the dual partition mode, and the low level signal-high level signal (ie 0-1 level signal) corresponds to the four partition mode. The establishment of the preset relationship table can be shown in Table 1.
表1Table 1
需要说明的是,预设关系表的建立不一定如表1所示,还可以有多种不同的建立方法,并且还可以用三个、四个等GPO电平信号来表示三种分区模式,本发明对此不作限制。It should be noted that the establishment of the preset relationship table is not necessarily as shown in Table 1, and there are many different establishment methods, and three or four GPO level signals can also be used to represent the three partition modes. The present invention is not limited thereto.
步骤205、发送电平信号至每个计算节点。Step 205, sending a level signal to each computing node.
具体的,根据预设关系表(表1)可知,若分区配置信息为单分区模式,IOE将该分区配置信息转换成1-0电平信号发送至每个计算节点,计算节点接收到1-0电平信号,得到分区配置信息是单分区模式,从而按照单分区模式配置分区;若分区配置信息是双分区模式,IOE将该分区配置信息转换成1-1电平信号发送至每个计算节点,计算节点接收到1-1电平信号,得到分区配置信息是双分区模式,从而按照双分区模式配置分区;若分区配置信息是四分区模式,IOE将该分区配置信息转换成0-1电平信号发送至每个计算节点,计算节点接收到0-1电平信号,得到分区配置信息是四分区模式,从而按照四分区模式配置分区。Specifically, according to the preset relationship table (Table 1), if the partition configuration information is a single partition mode, the IOE converts the partition configuration information into a 1-0 level signal and sends it to each computing node, and the computing node receives a 1- 0 level signal, the obtained partition configuration information is a single partition mode, so that the partition is configured according to the single partition mode; if the partition configuration information is a dual partition mode, the IOE converts the partition configuration information into a 1-1 level signal and sends it to each computer Node, the computing node receives the 1-1 level signal, and obtains the partition configuration information is the dual-partition mode, so as to configure the partition according to the dual-partition mode; if the partition configuration information is the four-partition mode, the IOE converts the partition configuration information into 0-1 The level signal is sent to each computing node, and the computing node receives the 0-1 level signal, and the partition configuration information obtained is the four-partition mode, so that the partition is configured according to the four-partition mode.
需要说明的是,计算节点上集成有复杂可编程逻辑器件(Complex Progr-ammableLogic Device,CPLD),接收电平信号并根据电平信号获取分区配置信息的工作实际是由每个集成在计算节点上的CPLD完成的。It should be noted that the computing node is integrated with a complex programmable logic device (Complex Progr-ammableLogic Device, CPLD), the work of receiving the level signal and obtaining the partition configuration information according to the level signal is actually performed by each integrated on the computing node completed by the CPLD.
具体的,以多路服务器四次上电过程说明多路服务器如何配置分区,由于在初始状态时存储器中没有存储任何信息,因此多路服务器在初次上电,SMC会向IOE发送分区配置信息,并且假设在多路服务器第三次上电SMC向IOE发送了新的分区配置信息;也就是说在多路服务器四次上电过程中,第二次上电配置分区所用的分区配置信息和第一次上电配置分区所用的分区配置信息相同,第三次上电配置分区所用的分区配置信息是新的分区配置信息,和第一次上电配置分区所用的分区配置信息不相同,第四次上电配置分区所用的分区配置信息和第三次上电配置分区所用的分区配置信息相同。本实施例提供的多路服务器的分区配置方法可以描述如下:多路服务器第一次上电,SMC向IOE发送分区配置信息,IOE在接收到SMC发送的分区配置信息时,将该分区配置信息存储在存储器中,同时将该分区配置信息转换成电平信号,发送给每个计算节点,以使计算节点进行分区配置。多路服务器第二次上电,SMC不向IOE发送分区配置信息,而是由IOE直接从存储器中获取分区配置信息,并将该分区配置信息转换成电平信号,发送给每个计算节点,以使计算节点进行分区配置。多路服务器第三次上电,SMC向IOE发送新的分区配置信息,IOE在接收到SMC发送的分区配置信息时,将该分区配置信息存储在存储器中,同时将该分区配置信息转换成电平信号,发送给每个计算节点,以使计算节点进行分区配置。多路服务器第四次上电SMC不向IOE发送分区配置信息,而是由IOE直接从存储器中获取分区配置信息(该分区配置信息是第三次多路服务器上电SMC向IOE发送的新的分区配置信息),并将该分区配置信息转换成电平信号,发送给每个计算节点,以使计算节点进行分区配置。Specifically, the four power-on process of the multi-way server is used to illustrate how the multi-way server configures partitions. Since no information is stored in the memory in the initial state, when the multi-way server is powered on for the first time, the SMC will send the partition configuration information to the IOE. And assume that the SMC sends new partition configuration information to the IOE when the multi-way server is powered on for the third time; The partition configuration information used to configure the partitions after the first power-on is the same, and the partition configuration information used to configure the partitions after the third power-on is new partition configuration information, which is different from the partition configuration information used to configure the partitions after the first power-on. The partition configuration information used to configure partitions after power-on for the first time is the same as the partition configuration information used for configuring partitions after power-on for the third time. The partition configuration method of the multi-channel server provided by this embodiment can be described as follows: the multi-channel server is powered on for the first time, the SMC sends the partition configuration information to the IOE, and the IOE sends the partition configuration information when receiving the partition configuration information sent by the SMC. It is stored in the memory, and at the same time, the partition configuration information is converted into a level signal and sent to each computing node, so that the computing node performs partition configuration. When the multi-channel server is powered on for the second time, the SMC does not send the partition configuration information to the IOE, but the IOE directly obtains the partition configuration information from the memory, converts the partition configuration information into a level signal, and sends it to each computing node. In order to make the computing node partition configuration. When the multi-channel server is powered on for the third time, the SMC sends new partition configuration information to the IOE. When the IOE receives the partition configuration information sent by the SMC, it stores the partition configuration information in the memory and converts the partition configuration information into a A ping signal is sent to each computing node to enable the computing node to perform partition configuration. The SMC does not send partition configuration information to the IOE when the multi-way server is powered on for the fourth time, but the IOE directly obtains the partition configuration information from the memory (the partition configuration information is the new one sent by the SMC to the IOE when the multi-way server is powered on for the third time) partition configuration information), and convert the partition configuration information into a level signal, and send it to each computing node, so that the computing node performs partition configuration.
需要说明的是,本实施例中与其它实施例中相同步骤或者概念的解释,可以参照其它实施例中的描述。It should be noted that, for an explanation of the same steps or concepts in this embodiment and other embodiments, reference may be made to the descriptions in other embodiments.
本发明实施例所提供的多路服务器的分区配置方法,IOE从存储器中获取分区配置信息;将分区配置信息转换成电平信号;发送电平信号至每个计算节点。由于IOE从存储器中获取分区配置信息时存储器不需要进行初始化,因此从存储器中获取分区配置信息所用的时间,无疑比接收SMC发送的配置信息所用的时间少得多,从而及时获取了分区配置信息以转换成电平信号并发送至每个计算节点,使得计算节点快速地实现了多路服务器的分区配置。In the partition configuration method of the multi-channel server provided by the embodiment of the present invention, the IOE acquires partition configuration information from the memory; converts the partition configuration information into a level signal; and sends the level signal to each computing node. Since the memory does not need to be initialized when the IOE obtains the partition configuration information from the memory, the time taken to obtain the partition configuration information from the memory is undoubtedly much less than the time used to receive the configuration information sent by the SMC, thus obtaining the partition configuration information in time It can be converted into a level signal and sent to each computing node, so that the computing node can quickly realize the partition configuration of multi-channel servers.
本发明实施例提供又一种多路服务器的分区配置方法,应用于多路服务器中的IOE,该多路服务器包括:至少两个计算节点、与至少两个计算节点都相连的一个IOE,与IOE相连的一个多主选择器,与多主选择器相连的两个SMC,其中,IOE包括非易失性存储器,如图6所示,该方法包括:The embodiment of the present invention provides yet another partition configuration method of a multi-path server, which is applied to an IOE in a multi-path server. The multi-path server includes: at least two computing nodes, an IOE connected to at least two computing nodes, and A multi-master selector connected to the IOE, two SMCs connected to the multi-master selector, wherein the IOE includes a non-volatile memory, as shown in Figure 6, the method includes:
步骤301、IOE接收目标SMC发送的分区配置信息。In step 301, the IOE receives the partition configuration information sent by the target SMC.
其中,目标SMC是多主选择器从两个SMC中所确定的一个SMC。Wherein, the target SMC is an SMC determined by the multi-master selector from two SMCs.
需要说明的是,两个SMC是冗余设计,当两个SMC中一个SMC处于非正常工作状态而无法向IOE发送分区配置信息时,多主选择器会将另一个SMC确定为向IOE发送分区配置信息的SMC,从而更好地保证多路服务器的正常运行。It should be noted that the two SMCs are redundant designs. When one of the two SMCs is in an abnormal working state and cannot send partition configuration information to the IOE, the multi-master selector will determine the other SMC as sending partitions to the IOE. SMC of configuration information, so as to better ensure the normal operation of multi-channel servers.
可选的,多主选择器可以是PCA9541。Optionally, the multi-master selector can be PCA9541.
步骤302、将分区配置信息存储在存储器中。Step 302, storing partition configuration information in a memory.
步骤303、从存储器中获取分区配置信息。Step 303, acquiring partition configuration information from the memory.
步骤304、将分区配置信息转换成电平信号。Step 304, converting the partition configuration information into a level signal.
步骤305、发送电平信号至每个计算节点。Step 305, sending a level signal to each computing node.
需要说明的是,本实施例中与其它实施例中相同步骤或者概念的解释,可以参照其它实施例中的描述。It should be noted that, for an explanation of the same steps or concepts in this embodiment and other embodiments, reference may be made to the descriptions in other embodiments.
本发明实施例所提供的多路服务器的分区配置方法,IOE从存储器中获取分区配置信息;将分区配置信息转换成电平信号;发送电平信号至每个计算节点。由于IOE从存储器中获取分区配置信息时存储器不需要进行初始化,因此从存储器中获取分区配置信息所用的时间,无疑比接收SMC发送的配置信息所用的时间少得多,从而及时获取了分区配置信息以转换成电平信号并发送至每个计算节点,使得计算节点快速地实现了多路服务器的分区配置。In the partition configuration method of the multi-channel server provided by the embodiment of the present invention, the IOE acquires partition configuration information from the memory; converts the partition configuration information into a level signal; and sends the level signal to each computing node. Since the memory does not need to be initialized when the IOE obtains the partition configuration information from the memory, the time taken to obtain the partition configuration information from the memory is undoubtedly much less than the time used to receive the configuration information sent by the SMC, thus obtaining the partition configuration information in time It can be converted into a level signal and sent to each computing node, so that the computing node can quickly realize the partition configuration of multi-channel servers.
本发明实施例提供一种IOE,位于多路服务器中,IOE包括非易失性存储器,如图7所示,IOE 4包括:An embodiment of the present invention provides an IOE, which is located in a multi-channel server. The IOE includes a non-volatile memory. As shown in FIG. 7, the IOE 4 includes:
获取模块41,用于从存储器中获取分区配置信息。The obtaining module 41 is configured to obtain partition configuration information from the memory.
可选的,该存储器可以为EEPROM。Optionally, the memory can be EEPROM.
处理模块42,用于将分区配置信息转换成电平信号。The processing module 42 is configured to convert the partition configuration information into a level signal.
具体的,处理模块42用于根据预设关系表将分区配置信息转换成电平信号,其中,预设关系表为所有分区配置信息和电平信号一一对应的关系表。Specifically, the processing module 42 is configured to convert the partition configuration information into a level signal according to a preset relation table, wherein the preset relation table is a one-to-one correspondence relation table between all partition configuration information and the level signal.
发送模块43,用于发送电平信号至每个计算节点。The sending module 43 is configured to send the level signal to each computing node.
进一步,在图7对应的实施例的基础上,本发明实施例提供了另一种IOE,如图8所示,IOE 4还包括:Further, on the basis of the embodiment corresponding to FIG. 7, the embodiment of the present invention provides another IOE. As shown in FIG. 8, the IOE 4 further includes:
第一接收模块44,用于接收SMC发送的分区配置信息。The first receiving module 44 is configured to receive the partition configuration information sent by the SMC.
第一存储模块45,用于将分区配置信息存储在存储器中。The first storage module 45 is configured to store the partition configuration information in the memory.
进一步,在图7对应的实施例的基础上,本发明实施例提供了又一种IOE,多路服务器还包括:与IOE相连的一个多主选择器、与多主选择器都相连的两个SMC;如图9所示,IOE4还包括:Further, on the basis of the embodiment corresponding to FIG. 7 , the embodiment of the present invention provides another IOE, and the multi-path server further includes: a multi-master selector connected to the IOE, and two multi-master selectors connected to the multi-master selector. SMC; as shown in Figure 9, IOE4 also includes:
第二接收模块46,用于接收目标SMC发送的分区配置信息,其中,目标SMC是多主选择器从两个SMC中所确定的一个SMC。The second receiving module 46 is configured to receive the partition configuration information sent by the target SMC, wherein the target SMC is an SMC determined by the multi-master selector from the two SMCs.
第二存储模块47,用于将分区配置信息存储在存储器中。The second storage module 47 is configured to store the partition configuration information in the memory.
本发明实施例所提供的IOE,从存储器中获取分区配置信息;将分区配置信息转换成电平信号;发送电平信号至每个计算节点。由于IOE从存储器中获取分区配置信息时存储器不需要进行初始化,因此从存储器中获取分区配置信息所用的时间,无疑比接收SMC发送的配置信息所用的时间少得多,从而及时获取了分区配置信息以转换成电平信号并发送至每个计算节点,使得计算节点快速地实现了多路服务器的分区配置。The IOE provided by the embodiment of the present invention acquires partition configuration information from a memory; converts the partition configuration information into a level signal; and sends the level signal to each computing node. Since the memory does not need to be initialized when the IOE obtains the partition configuration information from the memory, the time taken to obtain the partition configuration information from the memory is undoubtedly much less than the time used to receive the configuration information sent by the SMC, thus obtaining the partition configuration information in time It can be converted into a level signal and sent to each computing node, so that the computing node can quickly realize the partition configuration of multi-channel servers.
本发明实施例提供一种多路服务器,如图10所示,该多路服务器5包括如图7~9任一对应的实施例提供的一个IOE 51,与IOE 51都相连的至少两个计算节点52、与IOE 51相连的一个SMC 53。An embodiment of the present invention provides a multi-channel server. As shown in FIG. 10, the multi-channel server 5 includes an IOE 51 provided in any one of the corresponding embodiments in FIGS. A node 52 and an SMC 53 connected to the IOE 51 .
计算节点52,用于接收IOE 51发送的电平信号,根据电平信号进行分区配置。The computing node 52 is configured to receive the level signal sent by the IOE 51, and perform partition configuration according to the level signal.
SMC 53,用于向IOE 51发送分区配置信息。The SMC 53 is configured to send partition configuration information to the IOE 51 .
本发明实施例所提供的多路服务器,IOE从存储器中获取分区配置信息;将分区配置信息转换成电平信号;发送电平信号至每个计算节点以使得计算节点根据电平信号进行分区配置。由于IOE从存储器中获取分区配置信息时存储器不需要进行初始化,因此从存储器中获取分区配置信息所用的时间,无疑比接收SMC发送的配置信息所用的时间少得多,从而及时获取了分区配置信息以转换成电平信号并发送至每个计算节点,使得计算节点快速地实现了多路服务器的分区配置。In the multi-channel server provided by the embodiment of the present invention, the IOE obtains the partition configuration information from the memory; converts the partition configuration information into a level signal; sends the level signal to each computing node so that the computing node performs partition configuration according to the level signal . Since the memory does not need to be initialized when the IOE obtains the partition configuration information from the memory, the time taken to obtain the partition configuration information from the memory is undoubtedly much less than the time used to receive the configuration information sent by the SMC, thus obtaining the partition configuration information in time It can be converted into a level signal and sent to each computing node, so that the computing node can quickly realize the partition configuration of multi-channel servers.
本发明实施例提供另一种多路服务器,如图11所示,该多路服务器6包括如图7~9对应的实施例提供的IOE 61,与IOE 61都相连的至少两个计算节点62、与IOE 61相连的一个多主选择器63、与多主选择器63相连的两个SMC 64。The embodiment of the present invention provides another multi-channel server. As shown in FIG. 11, the multi-channel server 6 includes the IOE 61 provided in the embodiment corresponding to FIGS. 7-9, and at least two computing nodes 62 connected to the IOE 61. , a multi-master selector 63 connected to the IOE 61 , and two SMCs 64 connected to the multi-master selector 63 .
计算节点62,用于接收IOE 61发送的电平信号,根据电平信号进行分区配置。The computing node 62 is configured to receive the level signal sent by the IOE 61, and perform partition configuration according to the level signal.
多主选择器63,用于从两个SMC 64中确定一个SMC作为向IOE 61发送分区配置信息的SMC。The multi-master selector 63 is configured to determine one SMC from the two SMCs 64 as the SMC for sending partition configuration information to the IOE 61 .
SMC 64,用于向IOE 61发送分区配置信息。The SMC 64 is configured to send partition configuration information to the IOE 61 .
本发明实施例所提供的多路服务器,IOE从存储器中获取分区配置信息;将分区配置信息转换成电平信号;发送电平信号至每个计算节点。由于IOE从存储器中获取分区配置信息时存储器不需要进行初始化,因此从存储器中获取分区配置信息所用的时间,无疑比接收SMC发送的配置信息所用的时间少得多,从而及时获取了分区配置信息以转换成电平信号并发送至每个计算节点,使得计算节点快速地实现了多路服务器的分区配置。In the multi-channel server provided by the embodiment of the present invention, the IOE obtains the partition configuration information from the memory; converts the partition configuration information into a level signal; and sends the level signal to each computing node. Since the memory does not need to be initialized when the IOE obtains the partition configuration information from the memory, the time taken to obtain the partition configuration information from the memory is undoubtedly much less than the time used to receive the configuration information sent by the SMC, thus obtaining the partition configuration information in time It can be converted into a level signal and sent to each computing node, so that the computing node can quickly realize the partition configuration of multi-channel servers.
本发明实施例还提供一种八路服务器,如图12所示,该八路服务器包括四个计算节点,分别是计算节点1、计算节点2、计算节点3和计算节点4,每个计算节点上分别集成一个CPLD,分别是CPLD 1、CPLD 2、CPLD 3和CPLD4,一个包括EEPROM的IOE,一个主选择器PCA9541,两个SMC,分别是SMC1和SMC 2。The embodiment of the present invention also provides an eight-way server. As shown in FIG. 12 , the eight-way server includes four computing nodes, namely computing node 1, computing node 2, computing node 3, and computing node 4. Each computing node is Integrate a CPLD, which are CPLD 1, CPLD 2, CPLD 3 and CPLD4, an IOE including EEPROM, a main selector PCA9541, and two SMCs, which are SMC1 and SMC 2.
其中,IOE通过三个GPO电平信号,分别是信号1、信号2和信号3一一并联的方式向四个计算节点上的CPLD发送电平信号,从而保证每个计算节点的CPLD能同时获得一致的电平信号。所有分区配置信息与电平信号一一对应的关系表(即预设关系表)的建立如表2所示,Among them, the IOE sends level signals to the CPLDs on the four computing nodes through three GPO level signals, respectively, signal 1, signal 2, and signal 3 in parallel, so as to ensure that the CPLDs of each computing node can obtain consistent level signal. The establishment of a one-to-one relationship table (ie, a preset relationship table) between all partition configuration information and level signals is shown in Table 2,
表2Table 2
IOE和PCA9541位于控制板Control Board中,IOE的主机端接口(与PCA9541连接的接口)连接的是I2C总线。SMC通过I2C访问IOE内部的输出寄存器或控制寄存器(图中未示出),控制寄存器用于配置IOE的接口类型,输出寄存器影响IOE输出的电平值,从而产生与分区配置信息对应的电平信号,同时EEPROM会保存配置信息,这部分信息在下电后也会永久保存。下次上电后,输出寄存器将获取EEPROM中保存信息,直接输出分区配置电平。The IOE and PCA9541 are located in the Control Board, and the IOE's host interface (the interface connected to the PCA9541) is connected to the I2C bus. The SMC accesses the output register or control register (not shown in the figure) inside the IOE through I2C. The control register is used to configure the interface type of the IOE. The output register affects the level value of the IOE output, thereby generating a level corresponding to the partition configuration information At the same time, the EEPROM will save the configuration information, and this part of the information will be permanently saved after power off. After the next power-on, the output register will obtain the information saved in the EEPROM and directly output the partition configuration level.
PCA9541是通用双I2C主选择器,可实现SMC 1和SMC 2分时控制下方IOE。SMC1和SMC2是冗余设计。二者都可向IOE发送配置信息。SMC1和SMC2都是一种热插拔可替换PCB,在替换过程中并不会影响当下分区配置信息的发送。从而提高了分区配置的稳定性。PCA9541 is a general-purpose dual I2C master selector that enables SMC 1 and SMC 2 time-sharing control of lower IOEs. SMC1 and SMC2 are redundant designs. Both can send configuration information to the IOE. Both SMC1 and SMC2 are hot-swappable replaceable PCBs, and the sending of the current partition configuration information will not be affected during the replacement process. This improves the stability of the partition configuration.
虽然本发明所揭露的实施方式如上,但所述的内容仅为便于理解本发明而采用的实施方式,并非用以限定本发明。任何本发明所属领域内的技术人员,在不脱离本发明所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本发明的专利保护范围,仍须以所附的权利要求书所界定的范围为准。Although the embodiments disclosed in the present invention are as above, the described content is only an embodiment adopted for understanding the present invention, and is not intended to limit the present invention. Anyone skilled in the field of the present invention can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed by the present invention, but the scope of patent protection of the present invention must still be The scope defined by the appended claims shall prevail.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710375307.3ACN107220194A (en) | 2017-05-24 | 2017-05-24 | A kind of partitioned allocation method of multipath server, device and multipath server |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710375307.3ACN107220194A (en) | 2017-05-24 | 2017-05-24 | A kind of partitioned allocation method of multipath server, device and multipath server |
| Publication Number | Publication Date |
|---|---|
| CN107220194Atrue CN107220194A (en) | 2017-09-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710375307.3APendingCN107220194A (en) | 2017-05-24 | 2017-05-24 | A kind of partitioned allocation method of multipath server, device and multipath server |
| Country | Link |
|---|---|
| CN (1) | CN107220194A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109977046A (en)* | 2019-03-21 | 2019-07-05 | 苏州浪潮智能科技有限公司 | A kind of I/O port distribution system and method based on the more physical extents of server |
| CN110764486A (en)* | 2019-09-30 | 2020-02-07 | 华人运通(江苏)技术有限公司 | Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium |
| CN111709032A (en)* | 2020-05-28 | 2020-09-25 | 苏州浪潮智能科技有限公司 | A method, system, device and medium for realizing PFR function on multiple partitions |
| CN112000501A (en)* | 2020-08-07 | 2020-11-27 | 苏州浪潮智能科技有限公司 | A management system for multi-node partition server to access I2C devices |
| CN112987900A (en)* | 2021-02-24 | 2021-06-18 | 山东英信计算机技术有限公司 | Multi-path server and multi-path server signal interconnection system |
| WO2022100311A1 (en)* | 2020-11-13 | 2022-05-19 | 苏州浪潮智能科技有限公司 | Peci signal interconnection method and system for server, device, and medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030130969A1 (en)* | 2002-01-10 | 2003-07-10 | Intel Corporation | Star intelligent platform management bus topology |
| CN101616031A (en)* | 2009-07-21 | 2009-12-30 | 中兴通讯股份有限公司 | The method of single-plate parameters is set in a kind of advanced telecommunication computing structure |
| CN104656741A (en)* | 2015-03-13 | 2015-05-27 | 浪潮集团有限公司 | Sequential control method for different partitions of server system based on nios II |
| CN105912498A (en)* | 2016-04-01 | 2016-08-31 | 浪潮电子信息产业股份有限公司 | Partitioning method and device for multi-path server and multi-path server |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030130969A1 (en)* | 2002-01-10 | 2003-07-10 | Intel Corporation | Star intelligent platform management bus topology |
| CN101616031A (en)* | 2009-07-21 | 2009-12-30 | 中兴通讯股份有限公司 | The method of single-plate parameters is set in a kind of advanced telecommunication computing structure |
| CN104656741A (en)* | 2015-03-13 | 2015-05-27 | 浪潮集团有限公司 | Sequential control method for different partitions of server system based on nios II |
| CN105912498A (en)* | 2016-04-01 | 2016-08-31 | 浪潮电子信息产业股份有限公司 | Partitioning method and device for multi-path server and multi-path server |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109977046A (en)* | 2019-03-21 | 2019-07-05 | 苏州浪潮智能科技有限公司 | A kind of I/O port distribution system and method based on the more physical extents of server |
| CN110764486A (en)* | 2019-09-30 | 2020-02-07 | 华人运通(江苏)技术有限公司 | Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium |
| CN111709032A (en)* | 2020-05-28 | 2020-09-25 | 苏州浪潮智能科技有限公司 | A method, system, device and medium for realizing PFR function on multiple partitions |
| CN112000501A (en)* | 2020-08-07 | 2020-11-27 | 苏州浪潮智能科技有限公司 | A management system for multi-node partition server to access I2C devices |
| WO2022100311A1 (en)* | 2020-11-13 | 2022-05-19 | 苏州浪潮智能科技有限公司 | Peci signal interconnection method and system for server, device, and medium |
| US11954056B2 (en) | 2020-11-13 | 2024-04-09 | Inspur Suzhou Intelligent Technology Co., Ltd. | PECI signal interconnection method and system for server, device, and medium |
| CN112987900A (en)* | 2021-02-24 | 2021-06-18 | 山东英信计算机技术有限公司 | Multi-path server and multi-path server signal interconnection system |
| CN112987900B (en)* | 2021-02-24 | 2023-02-28 | 山东英信计算机技术有限公司 | Multi-path server and multi-path server signal interconnection system |
| US12117952B2 (en) | 2021-02-24 | 2024-10-15 | Shandong Yingxin Computer Technologies Co., Ltd. | Multi-path server and multi-path server signal interconnection system |
| Publication | Publication Date | Title |
|---|---|---|
| CN107220194A (en) | A kind of partitioned allocation method of multipath server, device and multipath server | |
| US9916270B2 (en) | Virtual intelligent platform management interface (IPMI) satellite controller and method | |
| CN104202194B (en) | The collocation method and device of PCIe topologys | |
| CN104503932B (en) | More mainboard server main substrate Management Controller referee methods and system | |
| US8386764B2 (en) | BIOS architecture | |
| US20110307639A1 (en) | Virtual serial port management system and method | |
| US20160328344A1 (en) | Method for dynamic configuration of a pcie slot device for single or multi root ability | |
| US10372639B2 (en) | System and method to avoid SMBus address conflicts via a baseboard management controller | |
| CN115905094A (en) | Electronic equipment and PCIe topology configuration method and device thereof | |
| US9928206B2 (en) | Dedicated LAN interface per IPMI instance on a multiple baseboard management controller (BMC) system with single physical network interface | |
| CN105897471A (en) | Out-of-band management system and out-of-band management method | |
| CN116723198A (en) | Multi-node server host control method, device, equipment and storage medium | |
| CN109451098A (en) | FPGA accelerator card MAC Address configuration method, device and accelerator card | |
| CN110704350A (en) | Resource management method and device, electronic equipment and storage medium | |
| CN114650223A (en) | Network configuration method and device of Kubernetes cluster and electronic equipment | |
| CN105653306A (en) | Method and device for displaying start Setup interface | |
| CN105634635B (en) | A kind of methods, devices and systems of shared RTC | |
| CN118643000B (en) | Method for generating configuration information table of PCIe port of server, method and device for sending configuration information table | |
| CN119225979B (en) | A computing system, information management method, device, medium and program product | |
| CN110413564B (en) | AI training reasoning server, system and method | |
| CN118075126A (en) | Method, device, equipment and storage medium for equipment management | |
| CN118819873B (en) | Virtual function management method, computer device, medium and system | |
| CN115268951A (en) | Installation method, device, equipment and storage medium of operating system | |
| CN113127144A (en) | Processing method, processing device and storage medium | |
| CN105490844A (en) | PCIe port reconstruction method |
| 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:20170929 | |
| RJ01 | Rejection of invention patent application after publication |