[go: up one dir, main page]

CN111934904A - A capacity expansion method, controller and system - Google Patents

A capacity expansion method, controller and system Download PDF

Info

Publication number
CN111934904A
CN111934904A CN202010614194.XA CN202010614194A CN111934904A CN 111934904 A CN111934904 A CN 111934904A CN 202010614194 A CN202010614194 A CN 202010614194A CN 111934904 A CN111934904 A CN 111934904A
Authority
CN
China
Prior art keywords
controller
expanded
cluster
expansion
configuration information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010614194.XA
Other languages
Chinese (zh)
Other versions
CN111934904B (en
Inventor
江锦毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010614194.XA priority Critical patent/CN111934904B/en
Publication of CN111934904A publication Critical patent/CN111934904A/en
Application granted granted Critical
Publication of CN111934904B publication Critical patent/CN111934904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a capacity expansion method, a controller and a system. The method comprises the following steps: when finding a controller to be expanded, acquiring application information of the controller to be expanded; and adding the controller to be expanded into the cluster where the controller is located according to the application information so as to expand the cluster. The embodiment of the invention also correspondingly discloses a controller and a system. By adopting the embodiment of the invention, the cluster can automatically expand the capacity of the controller, the capacity expansion efficiency is improved, the user operation is simple and convenient, and the user experience is improved.

Description

一种扩容方法、控制器及系统A capacity expansion method, controller and system

本申请是名称为“一种扩容方法、控制器及系统”,专利申请号为201410752019.1,申请日为2014年12月10日的分案申请。This application is a divisional application entitled "A Capacity Expansion Method, Controller and System", the patent application number is 201410752019.1, and the filing date is December 10, 2014.

技术领域technical field

本发明涉及存储领域,尤其涉及一种扩容方法、控制器及系统。The invention relates to the field of storage, and in particular, to a capacity expansion method, a controller and a system.

背景技术Background technique

随着信息化进程的加快和业务规模的不断扩张,庞大的信息量使业务数据不断增加,这导致存储阵列初期配置的容量大小很可能无法满足现有的业务需求。With the acceleration of the informatization process and the continuous expansion of the business scale, the huge amount of information increases the business data, which makes the initial configuration of the storage array likely to fail to meet the existing business needs.

故为了提高存储阵列的存储容量,需对存储阵列进行扩容。目前对存储阵列进行扩容主要采用以下方式进行扩容:1、在存储阵列现有的硬盘框的硬盘槽位上插入新增的硬盘,以增加存储阵列容量;2、在存储阵列已没有空闲硬盘槽位,或者空闲硬盘槽位无法满足现有的业务需求的情况下,通过在阵列中增加硬盘框的方式来进行增加存储阵列容量;3、在需要增加控制器数量以提升存储阵列的整体性能时,可通过增加控制器的方式进行扩容,其中,控制器可携带多个硬盘框。Therefore, in order to increase the storage capacity of the storage array, the storage array needs to be expanded. At present, the capacity expansion of the storage array is mainly carried out in the following ways: 1. Insert new hard disks into the hard disk slots of the existing disk enclosures of the storage array to increase the storage array capacity; 2. There are no free hard disk slots in the storage array. If the capacity of the storage array is increased by adding disk enclosures to the array, or if the free hard disk slots cannot meet the existing business needs , the capacity can be expanded by adding a controller, where the controller can carry multiple disk enclosures.

由上可以获知的是,为了提高存储阵列的整体性能时,可采用第3种方式进行扩容,即通过增加控制器的方式进行扩容。但是,目前这种扩容方式需要操作用户进行手动扩容,例如:操作用户需对控制器进行上电、并且需通过操作页面进行人工配置参数,存储阵列根据人工设置的参数将控制器加入存储阵列网络,这使得用户操作复杂,并且用户必须深入了解各配置的参数功能才能进行配置,给用户带来了不便,也占用了用户较多的时间。It can be known from the above that, in order to improve the overall performance of the storage array, the third method can be used to expand the capacity, that is, to expand the capacity by adding a controller. However, at present, this expansion method requires the operator to perform manual expansion. For example, the operator needs to power on the controller and manually configure parameters through the operation page. The storage array adds the controller to the storage array network according to the manually set parameters. , which makes the user's operation complicated, and the user must deeply understand the parameter functions of each configuration to perform the configuration, which brings inconvenience to the user and takes up a lot of the user's time.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种扩容方法、控制器及系统,可以自动进行控制器扩容,提高了扩容效率,简便了用户操作,提高用户体验度。The embodiments of the present invention provide a capacity expansion method, a controller and a system, which can automatically expand the capacity of the controller, improve capacity expansion efficiency, simplify user operations, and improve user experience.

本发明第一方面提供了一种扩容方法,包括:A first aspect of the present invention provides a capacity expansion method, comprising:

当发现待扩控制器时,获取所述待扩控制器的申请信息;When the controller to be expanded is found, the application information of the controller to be expanded is obtained;

根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对所述集群进行扩容。The controller to be expanded is added to the cluster where the controller is located according to the application information, so as to expand the capacity of the cluster.

结合第一方面,在第一种可能的实施方式中,所述当发现待扩控制器时,获取所述待扩控制器的申请信息之前包括:With reference to the first aspect, in a first possible implementation manner, when the controller to be expanded is found, before acquiring the application information of the controller to be expanded, the method includes:

当接收到扩容启动指令时,生成扩容所需的扩容配置参数。When an expansion start command is received, the expansion configuration parameters required for expansion are generated.

结合第一方面的第一种可能的实施方式,在第二种可能的实施方式中,所述当发现待扩控制器时,获取所述待扩控制器的申请信息包括:With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, when the controller to be expanded is found, acquiring the application information of the controller to be expanded includes:

发送广播信息;send broadcast information;

接收所述待扩控制器响应所述广播信息返回的申请信息。Receive the application information returned by the controller to be expanded in response to the broadcast information.

结合第一方面的第二种可能的实施方式,在第三种可能的实施方式中,所述申请信息携带所述待扩控制器的属性信息,所述属性信息包括所述待扩控制器的序列号SN、所述待扩控制器的MAC地址以及所述待扩控制器的版本号。With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the application information carries attribute information of the controller to be expanded, and the attribute information includes the attribute information of the controller to be expanded. The serial number SN, the MAC address of the controller to be expanded, and the version number of the controller to be expanded.

结合第一方面的第三种可能的实施方式,在第四种可能的实施方式中,所述根据所述申请信息将所述待扩控制器加入控制器的集群包括:With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the adding the controller to be expanded to the cluster of controllers according to the application information includes:

获取所述集群的当前配置信息;obtain the current configuration information of the cluster;

根据所述属性信息和所述当前配置信息生成新的配置信息;generating new configuration information according to the attribute information and the current configuration information;

根据所述新的配置信息进行自动配置。Automatic configuration is performed according to the new configuration information.

结合第一方面的第四种可能的实施方式,在第五种可能的实施方式中,所述根据所述属性信息和所述当前配置信息生成新的配置信息还包括:With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the generating new configuration information according to the attribute information and the current configuration information further includes:

根据所述属性信息、所述当前配置信息以及所述扩容配置信息生成所述新的配置信息。The new configuration information is generated according to the attribute information, the current configuration information and the capacity expansion configuration information.

结合第一方面的第四种可能的实施方式或第一方面的第五种可能的实施方式,在第六种可能的实施方式中,所述新的配置信息包括所述待扩控制器的第一配置信息和所述集群的第二配置信息;With reference to the fourth possible implementation manner of the first aspect or the fifth possible implementation manner of the first aspect, in the sixth possible implementation manner, the new configuration information includes the third possible implementation manner of the controller to be expanded. a configuration information and second configuration information of the cluster;

所述根据所述新的配置信息进行自动配置包括:The performing automatic configuration according to the new configuration information includes:

将所述第一配置信息进行广播,以使所述待扩控制器根据所述第一配置信息进行配置。The first configuration information is broadcast, so that the controller to be expanded is configured according to the first configuration information.

结合第一方面的第四种可能的实施方式或第一方面的第五种可能的实施方式,在第七种可能的实施方式中,所述根据所述新的配置信息进行终端配置包括:With reference to the fourth possible implementation manner of the first aspect or the fifth possible implementation manner of the first aspect, in a seventh possible implementation manner, the performing terminal configuration according to the new configuration information includes:

根据所述第二配置信息对所述集群的配置进行修改。The configuration of the cluster is modified according to the second configuration information.

结合第一方面的第六种可能的实施方式或第一方面的第七种可能的实施方式,在第八种可能的实施方式中,所述第一配置信息包括:With reference to the sixth possible implementation manner of the first aspect or the seventh possible implementation manner of the first aspect, in the eighth possible implementation manner, the first configuration information includes:

扩容之后的集群的控制器数量、所述待扩控制器ID、所述待扩控制器IP地址、所述待扩控制器网关、所述待扩控制器掩码、所述扩容之后的集群的控制器的ID列表以及所述扩容之后的集群的控制器的IP列表。The number of controllers in the cluster after expansion, the ID of the controller to be expanded, the IP address of the controller to be expanded, the gateway of the controller to be expanded, the mask of the controller to be expanded, and the size of the cluster after the expansion. The ID list of the controllers and the IP list of the controllers of the expanded cluster.

结合第一方面的第六种可能的实施方式或第一方面的第七种可能的实施方式,在第九种可能的实施方式中,所述第二配置信息包括:所述扩容之后的集群的控制器数量、所述扩容之后的集群的控制器的ID列表和所述扩容之后的集群的控制器的IP列表。With reference to the sixth possible implementation manner of the first aspect or the seventh possible implementation manner of the first aspect, in a ninth possible implementation manner, the second configuration information includes: The number of controllers, the ID list of the controllers of the expanded cluster, and the IP list of the controllers of the expanded cluster.

结合第一方面或第一方面第一种可能的实施方式至第一方面的第九种可能的实施方式,在第十种可能的实施方式中,所述根据所述申请信息将所述待扩控制器加入控制器所在的集群之后还包括:With reference to the first aspect or the first possible implementation manner of the first aspect to the ninth possible implementation manner of the first aspect, in the tenth possible implementation manner, the After the controller joins the cluster where the controller is located, it also includes:

判断所述待扩控制器的版本号与所述集群的版本号是否一致;Determine whether the version number of the controller to be expanded is consistent with the version number of the cluster;

当所述待扩控制器的版本号与所述集群的版本号不一致时,对所述待扩控制器的版本进行更新,以使所述待扩控制器的版本与所述集群的版本一致。When the version number of the controller to be expanded is inconsistent with the version number of the cluster, the version of the controller to be expanded is updated so that the version of the controller to be expanded is consistent with the version of the cluster.

本发明第二方面提供一种控制器,所述控制器包括:A second aspect of the present invention provides a controller, the controller comprising:

获取单元,用于当发现待扩控制器时,获取所述待扩控制器的申请信息;an obtaining unit, configured to obtain application information of the controller to be expanded when the controller to be expanded is found;

加入单元,用于根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对所述集群进行扩容。The adding unit is configured to add the controller to be expanded to the cluster where the controller is located according to the application information, so as to expand the capacity of the cluster.

结合第二方面,在第一种可能的实施方式中,所述扩控模块还包括:With reference to the second aspect, in a first possible implementation manner, the control expansion module further includes:

生成单元,用于当接收到扩容启动指令时,生成扩容所需的扩容配置参数。The generating unit is configured to generate the expansion configuration parameters required for the expansion when the expansion start instruction is received.

结合第二方面的第一种可能的实施方式,在第二种可能的实施方式中,所述获取单元包括:With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the acquiring unit includes:

发送子单元,用于发送广播信息;A sending subunit for sending broadcast information;

接收子单元,用于接收所述待扩控制器响应所述广播信息返回的申请信息。The receiving subunit is configured to receive the application information returned by the controller to be expanded in response to the broadcast information.

结合第二方面的第二种可能的实施方式,在第三种可能的实施方式中,所述申请信息携带所述待扩控制器的属性信息,所述属性信息包括所述待扩控制器的序列号SN、所述待扩控制器的MAC以及所述待扩控制器的版本号。With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner, the application information carries attribute information of the controller to be expanded, and the attribute information includes the attribute information of the controller to be expanded. The serial number SN, the MAC of the controller to be extended, and the version number of the controller to be extended.

结合第第二方面的第三种可能的实施方式,在第四种可能的实施方式中,所述加入单元包括:With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the adding unit includes:

获取子单元,用于所述集群的当前配置信息;Obtain the subunit for the current configuration information of the cluster;

第一生成子单元,用于根据所述属性信息和所述当前配置信息生成新的配置信息;a first generating subunit, configured to generate new configuration information according to the attribute information and the current configuration information;

配置子单元,用于根据所述新的配置信息进行自动配置。A configuration subunit, configured to perform automatic configuration according to the new configuration information.

结合第二方面的第四种可能的实施方式,在第五种可能的实施方式中,所述第一生成子单元具体用于:With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner, the first generating subunit is specifically used for:

根据所述属性信息、所述当前配置信息以及所述扩容配置信息生成所述新的配置信息。The new configuration information is generated according to the attribute information, the current configuration information and the capacity expansion configuration information.

结合第二方面的第四种可能的实施方式或第二方面的第五种可能的实施方式,在第六种可能的实施方式中,所述新的配置信息包括所述待扩控制器的第一配置信息和控制器的第二配置信息;With reference to the fourth possible implementation manner of the second aspect or the fifth possible implementation manner of the second aspect, in the sixth possible implementation manner, the new configuration information includes the first possible implementation manner of the controller to be expanded. a configuration information and second configuration information of the controller;

配置子单元具体用于:The configuration subunit is specifically used to:

将所述第一配置信息进行广播,以使所述待扩控制器根据所述第一配置信息进行自动配置。The first configuration information is broadcast, so that the controller to be expanded performs automatic configuration according to the first configuration information.

结合第二方面的第四种可能的实施方式或第二方面的第五种可能的实施方式或第二方面的第六种可能的实施方式,在第七种可能的实施方式中,所述配置子单元具体用于:In combination with the fourth possible implementation of the second aspect or the fifth possible implementation of the second aspect or the sixth possible implementation of the second aspect, in the seventh possible implementation, the configuration Subunits are specifically used to:

根据所述第二配置信息对所述集群的配置进行修改。The configuration of the cluster is modified according to the second configuration information.

结合第二方面的第六种可能的实施方式或第二方面的第七种可能的实施方式,在第八种可能的实施方式中,所述第一配置信息包括:扩容之后的集群的控制器数量、所述待扩控制器ID、所述待扩控制器IP地址、所述待扩控制器网关、所述待扩控制器掩码、所述扩容之后的集群的控制器的ID列表以及所述扩容之后的集群的控制器的IP列表。With reference to the sixth possible implementation manner of the second aspect or the seventh possible implementation manner of the second aspect, in the eighth possible implementation manner, the first configuration information includes: the controller of the cluster after the expansion Quantity, the ID of the controller to be expanded, the IP address of the controller to be expanded, the gateway of the controller to be expanded, the mask of the controller to be expanded, the ID list of the controllers of the cluster after the expansion, and all The IP list of the controllers of the cluster after the expansion is described.

结合第二方面的第六种可能的实施方式或第二方面的第七种可能的实施方式,在第九种可能的实施方式中,所述第二配置信息包括:所述扩容之后的集群的控制器数量、所述扩容之后的集群的控制器的ID列表和所述扩容之后的集群的控制器的IP列表。With reference to the sixth possible implementation manner of the second aspect or the seventh possible implementation manner of the second aspect, in a ninth possible implementation manner, the second configuration information includes: The number of controllers, the ID list of the controllers of the expanded cluster, and the IP list of the controllers of the expanded cluster.

结合第二方面或第二方面的第一种可能的实施方式至第二方面的第九种可能的实施方式,在第十种可能的实施方式中,所述控制器还包括:With reference to the second aspect or the first possible implementation manner of the second aspect to the ninth possible implementation manner of the second aspect, in the tenth possible implementation manner, the controller further includes:

判断单元,用于判断所述待扩控制器的版本号与所述集群的版本号是否一致;a judging unit for judging whether the version number of the controller to be expanded is consistent with the version number of the cluster;

更新单元,当所述判断单元判断待扩控制器的版本号与所述集群的版本号不一致时,对所述待扩控制器的版本进行更新,以使所述待扩控制器的版本与所述集群的版本一致。an update unit, when the judging unit judges that the version number of the controller to be expanded is inconsistent with the version number of the cluster, update the version of the controller to be expanded, so that the version of the controller to be expanded is the same as the version number of the controller to be expanded. The version of the cluster described above is the same.

本发明第三方面提供一种扩容系统,所述系统包括如上所述的控制器和与所述控制器连接的待扩控制器,其中,A third aspect of the present invention provides a capacity expansion system, the system includes the above-mentioned controller and a controller to be expanded connected to the controller, wherein,

所述待扩控制器,用于接收所述控制器发送的广播信息,响应所述广播信息,向所述控制器返回申请信息。The controller to be expanded is configured to receive broadcast information sent by the controller, and in response to the broadcast information, return application information to the controller.

结合第三方面,在第一种可能的实施方式中,所述系统还包括与所述待控控制器连接终端设备,With reference to the third aspect, in a first possible implementation manner, the system further includes a terminal device connected to the controller to be controlled,

所述终端设备,用于显示实时控制器的扩控状态,以及接收用户的操作指令,将所述操作指令发送给所述控制器,以控制所述控制器的扩控过程。The terminal device is used for displaying the control expansion state of the real-time controller, receiving the operation instruction of the user, and sending the operation instruction to the controller, so as to control the control expansion process of the controller.

实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:

在本发明实施例中,当控制器发现待扩控制器时,获取所述待扩控制器的申请信息,并根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对集群进行自动扩容。这使得控制器可以自动对集群进行扩容,提高了扩容效率,简便了用户操作,提高用户体验度。In this embodiment of the present invention, when the controller finds the controller to be expanded, it acquires application information of the controller to be expanded, and adds the controller to be expanded to the cluster where the controller is located according to the application information, so as to The cluster is automatically scaled up. This enables the controller to automatically expand the cluster, which improves the expansion efficiency, simplifies user operations, and improves user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying 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. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1是本发明实施例提供的一种扩容方法的流程示意图;1 is a schematic flowchart of a capacity expansion method provided by an embodiment of the present invention;

图2是本发明实施例提供的又一种扩容方法的流程示意图。FIG. 2 is a schematic flowchart of another capacity expansion method provided by an embodiment of the present invention.

图3是本发明实施例提供的一种控制器的结构图;3 is a structural diagram of a controller provided by an embodiment of the present invention;

图4是本发明实施例提供的又一种控制器的结构图;4 is a structural diagram of another controller provided by an embodiment of the present invention;

图5是本发明实施例提供的一种扩容系统的结构图;5 is a structural diagram of a capacity expansion system provided by an embodiment of the present invention;

图6是本发明实施例提供的又一种扩容系统的结构图;6 is a structural diagram of another capacity expansion system provided by an embodiment of the present invention;

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例的执行主体可以是控制器,所述控制器包括用于存储阵列的专用控制器和安装有用于存储阵列的相关软件的普通服务器。具体的,控制器还可以包括存储阵列中的主控制器和将要被加入存储阵列中的待扩控制器。The executive body of the embodiment of the present invention may be a controller, and the controller includes a dedicated controller for the storage array and a common server installed with related software for the storage array. Specifically, the controller may further include a main controller in the storage array and a controller to be expanded to be added to the storage array.

请参见图1,为本发明实施例提供的一种扩容方法的流程示意图。如图1所示,本实施例所述的一种扩容方法包括步骤:Referring to FIG. 1 , it is a schematic flowchart of a capacity expansion method provided by an embodiment of the present invention. As shown in FIG. 1, a capacity expansion method described in this embodiment includes the steps:

S100,当发现待扩控制器时,获取所述待扩控制器的申请信息。S100, when the controller to be expanded is found, obtain application information of the controller to be expanded.

在本发明实施例中,执行主体控制器可以是存储阵列中的集群的主控制器,其中,集群可以是存储阵列中的多个控制器组成的控制器集群。本发明所描述的存储阵列可由控制器和硬盘框组成,存储阵列可包括多个控制器,每个控制器可包括多个硬盘框,每个硬盘框可包括多块硬盘,其中,存储阵列中的主控制器可以由存储阵列中的各个控制器之间自动选举产生,主控制器可用于控制存储阵列中的其他控制器。在本发明实施例中,待扩控制器可以是携带至少一个硬盘框的控制器。In this embodiment of the present invention, the executive controller may be a master controller of a cluster in a storage array, where the cluster may be a controller cluster composed of multiple controllers in the storage array. The storage array described in the present invention may be composed of a controller and a hard disk enclosure, the storage array may include multiple controllers, each controller may include multiple disk enclosures, and each disk enclosure may include multiple hard disks, wherein, in the storage array The master controller can be automatically elected among the controllers in the storage array, and the master controller can be used to control other controllers in the storage array. In this embodiment of the present invention, the controller to be expanded may be a controller that carries at least one hard disk enclosure.

在本发明实施例中,主控制器可以每隔一定时间,向集群网络发送广播信息,其中,主控制器通过UDP(User Datagram Protocol,数据报协议)广播机制发送广播信息。优选的,主控制器可以向待扩控制器发送广播信息。当集群网络内存在与主控制器进行网络连接的待扩控制器时,待扩控制器将接收广播信息并对广播信息进行响应,返回申请信息。其中,所述申请信息用于向主控制器申请加入集群。具体的,所述申请信息包括:待扩控制器的属性信息,所述属性信息包括所述待扩控制器的SN(Serial Number,序列号)、待扩控制器的MAC地址(Media Access Control,介质访问控制)以及待扩控制器的版本号。In this embodiment of the present invention, the main controller may send broadcast information to the cluster network at regular intervals, wherein the main controller sends the broadcast information through a UDP (User Datagram Protocol, datagram protocol) broadcast mechanism. Preferably, the main controller can send broadcast information to the controller to be expanded. When there is a controller to be expanded that is connected to the main controller in the cluster network, the controller to be expanded will receive the broadcast information, respond to the broadcast information, and return application information. The application information is used to apply to the master controller to join the cluster. Specifically, the application information includes: attribute information of the controller to be expanded, and the attribute information includes the SN (Serial Number, serial number) of the controller to be expanded, and the MAC address (Media Access Control, serial number) of the controller to be expanded. Media Access Control) and the version number of the controller to be expanded.

优选的,在本发明实施例中,当操作用户要对集群进行加入待扩控制器以对集群进行控制器扩容时,操作用户可以先将待扩控制器连接到集群网络,并上电。例如:当集群网络设有5个接口进行连接控制器,其中4个接口已经接入控制器,则操作用户可将待扩控制器的网络连接至集群网络剩下的一个接口上,从而将待扩控制器接入存储阵列中的控制器组成的集群网络。Preferably, in this embodiment of the present invention, when the operator wants to add the controller to be expanded to the cluster to expand the capacity of the controller, the operator can first connect the controller to be expanded to the cluster network and power on it. For example: when the cluster network has 5 interfaces to connect the controller, and 4 interfaces have been connected to the controller, the operator can connect the network of the controller to be expanded to the remaining interface of the cluster network, so as to connect the The expansion controller is connected to the cluster network composed of the controllers in the storage array.

S101,根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对所述集群进行扩容。S101, according to the application information, the controller to be expanded is added to the cluster where the controller is located, so as to expand the capacity of the cluster.

在本发明实施例中,当主控制器接收到待扩控制器发送的申请信息时,主控制器可以获取集群当前配置信息。当前配置信息可以包括集群的控制器数量、集群的控制器的(Identity,身份标识码)ID列表、集群的控制器的(Internet Protocol,网络之间互连的协议)IP列表等集群的控制器的相关配置信息。In this embodiment of the present invention, when the main controller receives the application information sent by the controller to be expanded, the main controller may acquire the current configuration information of the cluster. The current configuration information may include the number of controllers in the cluster, the ID list of the controllers in the cluster (Identity, identity code), the IP list of the controllers in the cluster (Internet Protocol, the protocol for interconnection between networks), etc. related configuration information.

在本发明实施例中,当主控制器获取到当前配置信息后,主控制器可根据待扩控制器发送的申请信息所携带的属性信息和所述当前配置信息生成新的配置信息。其中,新的配置信息可以包括待扩控制器的第一配置信息和集群的第二配置信息。其中,第一配置信息可以用于配置待扩控制器,第一配置信息可以是,待扩控制器为了加入集群,待扩控制器所需要进行更改的配置信息。第一配置信息可以包括第二配置信息,第一配置信息可以是扩容之后的集群的控制器数量、所述待扩控制器ID、所述待扩控制器IP地址、所述待扩控制器网关信息、所述待扩控制器掩码、扩容之后的集群的控制器的ID列表和扩容之后的集群的控制器的IP列表。第二配置信息可以用于配置当前集群的各个控制器,其中,各个控制器包括主控制器和其他控制器,第二配置信息可以是,集群为了添加待扩控制器,当前集群的主控制器和其他的控制器所需要进行更改的配置。第二配置信息可以包括扩容之后的集群的控制器数量、扩容之后的集群的控制器的ID列表以及扩容之后的集群的控制器的IP列表。In this embodiment of the present invention, after the main controller acquires the current configuration information, the main controller may generate new configuration information according to the attribute information carried in the application information sent by the controller to be expanded and the current configuration information. The new configuration information may include first configuration information of the controller to be expanded and second configuration information of the cluster. The first configuration information may be used to configure the controller to be expanded, and the first configuration information may be configuration information that needs to be changed by the controller to be expanded in order to join the cluster. The first configuration information may include second configuration information, and the first configuration information may be the number of controllers in the cluster after capacity expansion, the ID of the controller to be expanded, the IP address of the controller to be expanded, and the gateway of the controller to be expanded. information, the mask of the controller to be expanded, the ID list of the controllers of the cluster after the expansion, and the IP list of the controllers of the cluster after the expansion. The second configuration information may be used to configure each controller of the current cluster, where each controller includes a master controller and other controllers, and the second configuration information may be, in order to add a controller to be expanded to the cluster, the master controller of the current cluster and other controllers that need to be changed. The second configuration information may include the number of controllers of the expanded cluster, the ID list of the controllers of the expanded cluster, and the IP list of the controllers of the expanded cluster.

进一步的,当主控制器生成第一配置信息和第二配置信息后,主控制器可以将第一配置信息在集群网络内进行广播,以使接入集群网络的待扩控制器获取第一配置信息,并根据第一配置信息进行配置,以符合集群对待扩控制器的配置要求。其中,第一配置信息可以包括第二配置信息,待扩控制器根据第一配置信息进行配置可以是:待扩控制器可以根据第一配置信息所包括的IP地址进行IP配置,待扩控制器可以根据第一配置信息所包括的网关信息进行网关配置,待扩控制器可以根据第一配置信息所包括的掩码进行掩码配置,待扩控制器可以根据第一配置信息所包括的待扩控制器ID进行ID配置,待扩控制器可以根据第一配置信息所包括的扩容之后的集群的控制器数量进行控制器数量配置等。进一步的,主控制器可根据第二配置信息对集群的各个控制器的配置进行修改,以符合集群添加所述待扩控制器所需的配置要求。其中,主控制器根据第二配置信息对集群的各个控制器的配置进行修改可以是:主控制器可以根据第二配置信息所包括的扩容之后的集群的控制器数量修改集群中各个控制器配置的集群的控制器数量,主控制器可以根据第二配置信息所包括的扩容之后的集群的控制器的ID列表修改集群中各个控制器配置的集群的控制器的ID列表,主控制器可以根据第二配置信息所包括的扩容之后的集群的控制器的IP列表修改集群中各个控制器配置的集群的控制器的IP列表。Further, after the main controller generates the first configuration information and the second configuration information, the main controller can broadcast the first configuration information in the cluster network, so that the to-be-expanded controller accessing the cluster network obtains the first configuration information. , and perform configuration according to the first configuration information to meet the configuration requirements of the controller to be expanded in the cluster. The first configuration information may include second configuration information, and the configuration of the controller to be expanded according to the first configuration information may be: the controller to be expanded may perform IP configuration according to the IP address included in the first configuration information, and the controller to be expanded may perform IP configuration according to the IP address included in the first configuration information The gateway configuration may be performed according to the gateway information included in the first configuration information, the controller to be expanded may perform mask configuration according to the mask included in the first configuration information, and the controller to be expanded may be configured according to the to-be-expanded controller included in the first configuration information. The controller ID is used for ID configuration, and the controller to be expanded may configure the number of controllers according to the number of controllers in the cluster after capacity expansion included in the first configuration information. Further, the main controller may modify the configuration of each controller in the cluster according to the second configuration information, so as to meet the configuration requirements required for adding the to-be-expanded controller to the cluster. Wherein, the main controller modifying the configuration of each controller in the cluster according to the second configuration information may be: the main controller may modify the configuration of each controller in the cluster according to the number of controllers in the expanded cluster included in the second configuration information The number of controllers in the cluster, the master controller can modify the ID list of the controllers of the cluster configured by each controller in the cluster according to the ID list of the controllers of the cluster after the expansion included in the second configuration information. The IP list of the controllers of the expanded cluster included in the second configuration information modifies the IP list of the controllers of the cluster configured by each controller in the cluster.

在本发明实施例中,当主控制器对集群的各个控制器以及待扩控制器的配置进行修改后,主控制器可对待扩控制器进行进一步的操作,以使待扩控制器加入集群,从而对集群进行了扩容。其中,主控制器对待扩控制器进行进一步的操作为现有技术,在此不赘述。In this embodiment of the present invention, after the main controller modifies the configurations of each controller in the cluster and the controller to be expanded, the main controller can further operate the controller to be expanded, so that the controller to be expanded joins the cluster, thereby The cluster has been expanded. Wherein, it is in the prior art that the main controller performs further operations on the to-be-expanded controller, and details are not described here.

在本发明实施例中,当主控制器将待扩控制器加入集群后,主控制器可根据需要将业务数据存储在待扩控制器的存储单元上,即实现了在线扩控,并且由于操作用户不参与扩容过程,这使得扩容过程中不会出现参数配置错误的操作,提高了在线扩容的安全性,保证了业务系统的正常稳定运行。In the embodiment of the present invention, after the main controller adds the controller to be expanded to the cluster, the main controller can store service data on the storage unit of the controller to be expanded as required, that is, online control expansion is realized, and because the operating user It does not participate in the expansion process, which ensures that there will be no incorrect parameter configuration operations during the expansion process, improves the security of online expansion, and ensures the normal and stable operation of the business system.

在本发明实施例中,我们可以理解的是,操作用户可将待扩控制器的接口与集群的网络接口相连接,主控制器即可自动识别待扩控制器,并进行自动配置集群网络内的各个控制器和待扩控制器的配置参数,从而根据获得的配置参数将待扩控制器加入集群,并且在扩控结束后,待扩控制器立即成为集群中的一部分,并可分担集群的业务处理,使得整个扩容过程中实现了集群对于待扩控制器的“即插即用”,提高了扩容效率,简便了用户操作,提高用户体验度。In the embodiment of the present invention, we can understand that the operating user can connect the interface of the controller to be expanded with the network interface of the cluster, and the main controller can automatically identify the controller to be expanded, and automatically configure the network interface of the cluster. The configuration parameters of each controller and the controller to be expanded are obtained, so that the controller to be expanded is added to the cluster according to the obtained configuration parameters, and after the expansion of the controller is completed, the controller to be expanded immediately becomes part of the cluster and can share the cluster's Service processing enables the cluster to "plug and play" for the controller to be expanded during the entire expansion process, which improves the expansion efficiency, simplifies user operations, and improves user experience.

在本发明实施例中,当主控制器对集群的各个控制器以及待扩控制器进行配置修改后,则主控制器可根据配置好的配置参数将待扩控制器加入集群,从而对集群进行了控制器扩容。In the embodiment of the present invention, after the main controller modifies the configuration of each controller in the cluster and the controller to be expanded, the main controller can add the controller to be expanded to the cluster according to the configured configuration parameters, so as to perform the cluster configuration. Controller expansion.

在本发明实施例中,当控制器发现待扩控制器时,获取所述待扩控制器的申请信息,并根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对集群进行自动扩容。这使得控制器可以自动对集群进行扩容,提高了扩容效率,简便了用户操作,提高用户体验度。In this embodiment of the present invention, when the controller finds the controller to be expanded, it acquires application information of the controller to be expanded, and adds the controller to be expanded to the cluster where the controller is located according to the application information, so as to The cluster is automatically scaled up. This enables the controller to automatically expand the cluster, which improves the expansion efficiency, simplifies user operations, and improves user experience.

请参见图2,为本发明实施例提供的又一种扩容方法的流程示意图。如图2所示,本实施例所述的一种扩容方法包括步骤:Referring to FIG. 2 , it is a schematic flowchart of another capacity expansion method provided by an embodiment of the present invention. As shown in Figure 2, a capacity expansion method described in this embodiment includes the steps:

S200,当接收到扩容启动指令时,生成扩容所需的扩容配置参数。S200, when receiving a capacity expansion start instruction, generate capacity expansion configuration parameters required for capacity expansion.

在本发明实施例中,当操作用户需对控制器的集群进行扩容时,操作用户可通过用于管理集群的终端设备输入扩容启动指令。其中,终端设备可内置管理软件,操作用户可通过终端设备的输入装置输入扩容启动指令。输入装置可包括触控屏和按键等。In the embodiment of the present invention, when the operating user needs to expand the capacity of the cluster of the controller, the operating user can input a capacity expansion start instruction through a terminal device for managing the cluster. The terminal device may have built-in management software, and the operating user may input a capacity expansion start instruction through an input device of the terminal device. The input device may include a touch screen, keys, and the like.

在本发明实施例中,当主控制接收到扩容启动指令时,主控制器可进行扩控前检查,检查存储阵列当前状态是否可以实施控制器扩控。例如:判断存储阵列运行是否正常,以及存储阵列中的控制器集群中的控制器是否已达到上限等。当判断存储阵列可以实施扩控后,主控制器可以准备扩控所需的扩容配置参数。如,可以准备为待扩控制器分配的ID以及IP地址等。In the embodiment of the present invention, when the main controller receives an expansion start command, the main controller can perform a pre-control expansion check to check whether the current state of the storage array can implement controller expansion. For example, determine whether the storage array is running normally, and whether the controllers in the controller cluster in the storage array have reached the upper limit, etc. After judging that the storage array can implement expansion control, the main controller can prepare expansion configuration parameters required for expansion control. For example, the ID and IP address allocated for the controller to be expanded can be prepared.

S201,当发现待扩控制器时,获取所述待扩控制器的申请信息。S201, when a controller to be expanded is found, obtain application information of the controller to be expanded.

在本发明实施例中,参见图3所示的一种控制器的结构图,存储阵列中的每个控制器可内置扩控模块(EXP,Expansion),扩控模块可用于实现自动配置集群的控制器和待扩控制器的配置参数,从而对集群实现控制器自动扩控的功能。平时每个控制器的扩控模块处于关闭状态,在操作用户实施扩容时,主控制器的扩控模块可启动,实现自动配置集群和待扩控制器的配置参数的功能,其他控制器的扩控模块将保持关闭状态。其中,扩控模块可用于通过UDP广播机制,发现待扩控制器。同时,为待扩控制器分配IP地址;扩控模块还可用于生成扩控时集群的新的配置参数;扩控模块还可用于将新的配置参数分别下发给待扩控制器和集群的各个控制器,并检测待扩控制器是否已加入集群;扩控模块还可用于在扩控前检查存储阵列的当前状态是否可以实施控制器扩控以及扩控后检查存储阵列的当前状态是否正常;扩控模块还可用于实现对待扩控制器和集群中各个控制器下发配置参数的接口通信功能;扩控模块还可用于实现通过UDP广播机制进行广播信息;扩控模块还可用于控制主控制器的工作流程,并对外部模块或终端提供接口进行查询扩控过程的状态或扩控结果。In the embodiment of the present invention, referring to the structure diagram of a controller shown in FIG. 3 , each controller in the storage array may have a built-in expansion control module (EXP, Expansion), and the expansion control module may be used to realize the automatic configuration of the cluster. The configuration parameters of the controller and the controller to be expanded, so as to realize the function of automatic expansion of the controller for the cluster. Usually, the expansion control module of each controller is in a closed state. When the operating user implements expansion, the expansion control module of the main controller can be activated to automatically configure the configuration parameters of the cluster and the controller to be expanded, and the expansion of other controllers. The control module will remain off. Among them, the expansion control module can be used to discover the controller to be expanded through the UDP broadcast mechanism. At the same time, assign an IP address to the controller to be expanded; the expansion control module can also be used to generate new configuration parameters of the cluster during expansion; the expansion control module can also be used to deliver the new configuration parameters to the controller to be expanded and the cluster Each controller, and detect whether the controller to be expanded has been added to the cluster; the expansion control module can also be used to check whether the current state of the storage array can implement controller expansion before expansion, and to check whether the current state of the storage array is normal after expansion. The expansion control module can also be used to realize the interface communication function of sending configuration parameters to the controller to be expanded and each controller in the cluster; the expansion control module can also be used to broadcast information through the UDP broadcast mechanism; the expansion control module can also be used to control the main Workflow of the controller, and provide an interface for external modules or terminals to query the status of the expansion control process or the expansion control results.

在本发明实施例中,参见图3,控制器还可内置与扩控模块连接的SYS(SystemControl,系统控制)模块,为便于与下面所描述的待扩控制器的SYS模块进行区分,在本实施例中,用第一SYS模块来表示SYS模块。第一SYS模块用于集群管理,扩控模块可通过第一SYS模块实现扩控检查、配置生成以及执行配置等功能。可包括:扩控模块调用第一SYS模块接口进行扩控前检查以及扩控后验证;扩控模块可调用第一SYS模块接口生成扩控所需的第一配置信息和第二配置信息;扩控模块可调用第一SYS模块接口修改集群的配置。In the embodiment of the present invention, referring to FIG. 3 , the controller may also have a built-in SYS (System Control, system control) module connected to the expansion control module. In order to distinguish it from the SYS module of the controller to be expanded described below, in this In the embodiment, the SYS module is represented by the first SYS module. The first SYS module is used for cluster management, and the expansion control module can implement functions such as expansion control checking, configuration generation, and configuration execution through the first SYS module. It may include: the expansion control module invokes the first SYS module interface to perform pre-expansion inspection and post-expansion verification; the expansion control module may invoke the first SYS module interface to generate first configuration information and second configuration information required for expansion control; The control module can call the first SYS module interface to modify the configuration of the cluster.

在本发明实施例中,主控制器可以通过扩控模块发现待扩控制器。扩控模块通过UDP广播单元发送广播信息,其中,广播信息用于发现待扩控制器。当待扩控制器根据广播信息返回申请信息时,扩控模块可接收待扩控制器返回的申请信息。其中,所述申请信息用于向主控制器申请加入集群。具体的,所述申请信息包括:待扩控制器的属性信息,所述属性信息包括所述待扩控制器的SN、待扩控制器的MAC地址以及待扩控制器的版本号。In the embodiment of the present invention, the main controller may discover the controller to be expanded through the expansion control module. The expansion control module sends broadcast information through the UDP broadcast unit, wherein the broadcast information is used to discover the controller to be expanded. When the controller to be expanded returns the application information according to the broadcast information, the control expansion module can receive the application information returned by the controller to be expanded. The application information is used to apply to the master controller to join the cluster. Specifically, the application information includes: attribute information of the controller to be expanded, where the attribute information includes the SN of the controller to be expanded, the MAC address of the controller to be expanded, and the version number of the controller to be expanded.

在本发明实施例中,为了方便操作用户管理控制器,如图3所示,主控制器还可包括分别与扩控模块和第一SYS模块连接的管理监测模块,其中,管理监测模块可用于监控或者操控主控制器的运行。操作用户可以通过与管理监测模块连接的终端设备的输入装置与主控制器的进行交互,使得操作用户可以通过终端设备向管理监测模块发送操作指令。其中,操作用户可以通过管理监测模块控制扩控模块。例如:扩控模块平时处于关闭状态,在操作用户需实施扩容时,可由操作用户通过终端设备向管理监测模块发送扩容启动指令,从而管理监测模块获取指令控制扩控模块启动,以准备对集群进行自动扩容,其中,扩容启动指令可用于启动扩控模块。当操作用户通过终端设备开启“扩控模式”时,管理监测模块获取扩容启动指令启动扩控模块,同时对扩控模块的运行过程进行监控,其中,管理监测模块启动扩控模块可以是管理监测模块向扩控模块发送扩容启动指令,使得扩控模块响应该指令进行启动。当扩控模块接收到扩容启动指令时,扩控模块可进行扩控前检查,检查存储阵列的当前状态是否可以实施控制器扩控。例如:判断存储阵列运行是否正常,以及存储阵列中的控制器集群中的控制器是否已达到上限等。其中,扩控模块进行扩控前的检查可以是扩控模块调用控制器的第一SYS模块的接口来实现扩控前检查。当判断存储阵列可以实施扩控后,扩控模块可以准备扩控所需的扩容配置参数。例如:可以准备为待扩控制器分配的ID以及IP地址等。当扩控模块的扩控检查结束后,扩控模块可进行发现待扩控制器。其中扩控模块进行发现待扩控制器可参见以上具体实施方式。In the embodiment of the present invention, in order to facilitate the operation of the user management controller, as shown in FIG. 3 , the main controller may further include a management monitoring module respectively connected to the expansion control module and the first SYS module, wherein the management monitoring module can be used for Monitor or control the operation of the main controller. The operating user can interact with the main controller through the input device of the terminal device connected to the management monitoring module, so that the operating user can send operating instructions to the management monitoring module through the terminal device. Among them, the operating user can control the expansion control module through the management monitoring module. For example, the expansion control module is usually in a closed state. When the operating user needs to implement expansion, the operating user can send the expansion start command to the management monitoring module through the terminal device, so that the management monitoring module obtains the command to control the expansion control module to start, so as to prepare for the cluster. Automatic expansion, wherein, the expansion start command can be used to start the expansion control module. When the operating user enables the "expansion control mode" through the terminal device, the management monitoring module obtains the expansion start command to start the expansion control module, and at the same time monitors the operation process of the expansion control module, wherein the management monitoring module starts the expansion control module, which may be the management monitoring module. The module sends an expansion start instruction to the expansion control module, so that the expansion control module starts in response to the instruction. When the expansion control module receives an expansion start command, the expansion control module can perform a pre-expansion check to check whether the current state of the storage array can implement controller expansion. For example, determine whether the storage array is running normally, and whether the controllers in the controller cluster in the storage array have reached the upper limit, etc. Wherein, the pre-control expansion check performed by the control expansion module may be that the control expansion module invokes the interface of the first SYS module of the controller to implement the pre-control expansion check. After judging that the storage array can implement expansion control, the expansion control module can prepare expansion configuration parameters required for expansion control. For example, you can prepare the ID and IP address allocated for the controller to be expanded. After the expansion control check of the expansion control module is completed, the expansion control module can discover the controller to be expanded. Where the expansion control module discovers the to-be-expanded controller, reference may be made to the above specific implementation manner.

S202,根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对所述集群进行扩容。S202, adding the controller to be expanded to the cluster where the controller is located according to the application information, so as to expand the capacity of the cluster.

在本发明实施例中,当扩控模块接收到待扩控制器发送的申请信息时,扩控模块可以获取当前配置信息。当前配置信息可以包括集群的控制器数量、集群的控制器的ID列表、集群的控制器的IP列表等集群的控制器的相关配置信息。In this embodiment of the present invention, when the control expansion module receives the application information sent by the controller to be expanded, the control expansion module can acquire current configuration information. The current configuration information may include the number of controllers in the cluster, the ID list of the controllers in the cluster, the IP list of the controllers in the cluster, and other related configuration information of the controllers in the cluster.

在本发明实施例中,当扩控模块获取到当前配置信息后,扩控模块可根据待扩控制器所发送的申请信息所携带的属性信息、当前配置信息以及扩容配置参数生成待控控制器的第一配置信息和集群的第二配置信息,其中,扩控模块可以调用控制器的第一SYS模块进行生成扩控所需的第一配置参数和第二配置参数。第一配置信息可以用于配置待扩控制器,第一配置信息可以是,待扩控制器为了加入集群,待扩控制器所需要进行更改的配置信息。第一配置信息可以包括第二配置信息,第一配置信息可以是扩容之后的集群的控制器数量、所述待扩控制器ID、所述待扩控制器IP地址、所述待扩控制器网关信息、所述待扩控制器掩码、所述扩容之后的集群的控制器的ID列表和所述扩容之后的集群的控制器的IP列表。第二配置信息可以用于配置当前集群的各个控制器,其中,各个控制器可包括主控制器和其他控制器。第二配置信息可以是,集群为了添加待扩控制器,当前集群的主控制器和其他的控制器所需要进行更改的配置信息。第二配置信息可以包括扩容之后的集群的控制器数量、扩容之后的集群的控制器的ID列表以及扩容之后的集群的控制器的IP列表。In the embodiment of the present invention, after the expansion control module obtains the current configuration information, the expansion control module can generate the controller to be controlled according to the attribute information carried in the application information sent by the controller to be expanded, the current configuration information and the expansion configuration parameters The first configuration information and the second configuration information of the cluster, wherein the expansion control module can call the first SYS module of the controller to generate the first configuration parameter and the second configuration parameter required for the expansion control. The first configuration information may be used to configure the controller to be expanded, and the first configuration information may be configuration information that needs to be changed by the controller to be expanded in order to join the cluster. The first configuration information may include second configuration information, and the first configuration information may be the number of controllers in the cluster after capacity expansion, the ID of the controller to be expanded, the IP address of the controller to be expanded, and the gateway of the controller to be expanded. information, the mask of the controller to be expanded, the ID list of the controllers of the cluster after the expansion, and the IP list of the controllers of the cluster after the expansion. The second configuration information may be used to configure each controller of the current cluster, where each controller may include a master controller and other controllers. The second configuration information may be configuration information that needs to be changed by the master controller and other controllers of the current cluster in order to add a controller to be expanded to the cluster. The second configuration information may include the number of controllers of the expanded cluster, the ID list of the controllers of the expanded cluster, and the IP list of the controllers of the expanded cluster.

当扩控模块生成第一配置信息和第二配置信息后,扩控模块可根据第一配置信息和第二配置信息对待扩控制器和集群的各个控制器的配置进行修改。其中,扩控模块可将第一配置信息在集群内进行广播,以使接入集群的待扩控制器根据第一配置信息进行配置,以符合集群对待扩控制器的配置要求。进一步的,扩控模块可通过调用第一SYS模块修改集群的各个控制器的配置,以对集群的各个控制器的配置进行修改,以符合集群添加所述待扩控制器所需的配置要求。After the expansion control module generates the first configuration information and the second configuration information, the expansion control module can modify the configurations of the controller to be expanded and each controller of the cluster according to the first configuration information and the second configuration information. The expansion control module can broadcast the first configuration information in the cluster, so that the controller to be expanded that accesses the cluster is configured according to the first configuration information to meet the configuration requirements of the controller to be expanded in the cluster. Further, the expansion control module can modify the configuration of each controller in the cluster by calling the first SYS module to modify the configuration of each controller in the cluster to meet the configuration requirements for adding the controller to be expanded in the cluster.

在本发明实施例中,当扩控模块对待扩控制器和集群的各个控制器的配置进行修改后,扩控模块可通知第一SYS模块将待扩控制器加入集群。其中,第一SYS模块通过心跳方式与待扩控制器进行通信,将待扩控制器加入集群。In the embodiment of the present invention, after the control expansion module modifies the configurations of the controller to be expanded and each controller of the cluster, the control expansion module can notify the first SYS module to add the controller to be expanded to the cluster. The first SYS module communicates with the to-be-expanded controller in a heartbeat manner, and adds the to-be-expanded controller to the cluster.

在本发明实施例中,扩控模块在进行以上实施方式的同时,扩控模块也可同时监控控制器的状态以及待扩控制器的状态,直至待扩控制器加入集群。当待扩控制器加入集群后,主控制器可以获取到扩控结束,关闭扩控模块。In the embodiment of the present invention, while the control expansion module performs the above implementation manner, the control expansion module can also monitor the state of the controller and the state of the controller to be expanded at the same time, until the controller to be expanded joins the cluster. After the controller to be expanded joins the cluster, the master controller can obtain the end of the expansion and close the expansion module.

在本发明实施例中,操作用户可通过管理监测模块控制扩控模块的启动和暂停。以及在扩控模块进行扩控的过程中,操作用户可以通过管理监测模块查询扩控过程,例如:扩控当前的运行状态、扩控过程的每一个步骤的成功或失败、主控制器处于扩控的哪个流程等。进一步的,管理监测模块还可通过终端设备自动显示扩控过程中的状态信息,以使操作用户掌握扩控的过程。In the embodiment of the present invention, the operating user can control the start and pause of the expansion control module through the management monitoring module. And in the process of expanding the control module, the operating user can query the expansion process through the management monitoring module, such as: the current operating status of the expansion control, the success or failure of each step of the expansion process, the main controller is in the expansion process. Which process to control, etc. Further, the management monitoring module can also automatically display the status information in the control expansion process through the terminal device, so that the operating user can grasp the control expansion process.

在本发明实施例中,控制器可以通过内置的扩控模块以及其他模块的交互来实施根据申请信息将待扩控制器加入主控制器的集群的方式。In the embodiment of the present invention, the controller may implement the method of adding the controller to be expanded to the cluster of the main controller according to the application information through the interaction of the built-in expansion control module and other modules.

在本发明实施例中,参见图3,主控制器还可包括与第一SYS模块连接的维护模块。所述维护模块用于对所述待扩控制器的版本进行更新。在本发明实施例中,当集群进行扩控的过程中,主控制器的第一SYS模块可检测并判断待扩控制器的版本号与集群的版本号是否一致,当SYS模块判断待扩控制器的版本号与集群的版本号不一致时,维护模块对待扩控制器的版本进行更新,以使待扩控制器的版本与集群的版本一致。In this embodiment of the present invention, referring to FIG. 3 , the main controller may further include a maintenance module connected to the first SYS module. The maintenance module is used to update the version of the controller to be expanded. In the embodiment of the present invention, when the cluster is expanding the control, the first SYS module of the main controller can detect and determine whether the version number of the controller to be expanded is consistent with the version number of the cluster. When the version number of the controller is inconsistent with the version number of the cluster, the maintenance module updates the version of the controller to be expanded so that the version of the controller to be expanded is consistent with the version of the cluster.

在本发明实施例中,当控制器的扩控模块发现待扩控制器时,获取所述待扩控制器的申请信息,并根据所述申请信息将所述待扩控制器加入控制器的集群,以对集群进行扩容。这使得控制器可通过扩控模块对集群进行自动扩容,提高了扩容效率,简便了用户操作,提高用户体验度。In the embodiment of the present invention, when a controller expansion module of a controller finds a controller to be expanded, it acquires application information of the controller to be expanded, and adds the controller to be expanded to a cluster of controllers according to the application information , to expand the cluster. This enables the controller to automatically expand the cluster through the expansion control module, which improves the expansion efficiency, simplifies user operations, and improves user experience.

为便于更好的实施本发明实施例的上述方案,下面还提供用于配合实施上述方案的相关装置。In order to facilitate better implementation of the above solutions in the embodiments of the present invention, related devices for implementing the above solutions are also provided below.

请参照图4,为本发明实施例提供的又一种控制器的结构图。其中,如图4所示,所述控制器包括:Please refer to FIG. 4 , which is a structural diagram of another controller according to an embodiment of the present invention. Wherein, as shown in Figure 4, the controller includes:

获取单元10,用于当发现待扩控制器时,获取所述待扩控制器的申请信息;an obtaining unit 10, configured to obtain the application information of the controller to be expanded when the controller to be expanded is found;

与所述获取单元10连接的加入单元20,用于根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对所述集群进行扩容。The adding unit 20 connected to the obtaining unit 10 is configured to add the controller to be expanded to the cluster where the controller is located according to the application information, so as to expand the capacity of the cluster.

其中,所述控制器还包括:Wherein, the controller further includes:

与所述加入单元20连接的生成单元30,用于当接收到扩容启动指令时,生成扩容所需的扩容配置参数。The generating unit 30 connected to the adding unit 20 is configured to generate the capacity expansion configuration parameters required for the capacity expansion when receiving the capacity expansion start instruction.

其中,所述获取单元10包括:Wherein, the acquisition unit 10 includes:

发送子单元1,用于发送广播信息;Sending subunit 1 for sending broadcast information;

接收子单元2,用于接收所述待扩控制器响应所述广播信息返回的申请信息。The receiving subunit 2 is configured to receive the application information returned by the controller to be expanded in response to the broadcast information.

其中,所述申请信息携带所述待扩控制器的属性信息,所述属性信息包括所述待扩控制器的序列号SN、所述待扩控制器的MAC以及所述待扩控制器的版本号。The application information carries attribute information of the controller to be expanded, and the attribute information includes the serial number SN of the controller to be expanded, the MAC of the controller to be expanded, and the version of the controller to be expanded No.

其中,所述加入单元20包括:Wherein, the adding unit 20 includes:

获取子单元3,用于所述集群的当前配置信息;Obtain subunit 3 for the current configuration information of the cluster;

生成子单元4,用于根据所述属性信息和所述当前配置信息生成新的配置信息;generating subunit 4, for generating new configuration information according to the attribute information and the current configuration information;

配置子单元5,用于根据所述新的配置信息进行自动配置。The configuration subunit 5 is configured to perform automatic configuration according to the new configuration information.

其中,所述生成子单元4具体用于:Wherein, the generating subunit 4 is specifically used for:

根据所述属性信息、所述当前配置信息以及所述扩容配置信息生成所述新的配置信息。The new configuration information is generated according to the attribute information, the current configuration information and the capacity expansion configuration information.

其中,所述新的配置信息包括所述待扩控制器的第一配置信息和控制器的第二配置信息;Wherein, the new configuration information includes the first configuration information of the controller to be expanded and the second configuration information of the controller;

配置子单元5具体用于:The configuration sub-unit 5 is specifically used for:

将所述第一配置信息进行广播,以使所述待扩控制器根据所述第一配置信息进行自动配置。The first configuration information is broadcast, so that the controller to be expanded performs automatic configuration according to the first configuration information.

其中,所述配置子单元5具体用于:Wherein, the configuration subunit 5 is specifically used for:

根据所述第二配置信息对所述集群的配置进行修改。The configuration of the cluster is modified according to the second configuration information.

其中,所述第一配置信息包括:扩容之后的集群的控制器数量、所述待扩控制器ID、所述待扩控制器IP地址、所述待扩控制器网关、所述待扩控制器掩码、所述扩容之后的集群的控制器的ID列表以及所述扩容之后的集群的控制器的IP列表。The first configuration information includes: the number of controllers in the cluster after capacity expansion, the ID of the controller to be expanded, the IP address of the controller to be expanded, the gateway of the controller to be expanded, and the controller to be expanded mask, the ID list of the controllers of the cluster after the expansion, and the IP list of the controllers of the cluster after the expansion.

其中,所述第二配置信息包括:所述扩容之后的集群的控制器数量、所述扩容之后的集群的控制器的ID列表和所述扩容之后的集群的控制器的IP列表。The second configuration information includes: the number of controllers in the expanded cluster, an ID list of controllers in the expanded cluster, and an IP list of controllers in the expanded cluster.

其中,所述加入单元20还包括:Wherein, the adding unit 20 also includes:

判断子单元6,用于判断所述待扩控制器的版本号与所述集群的版本号是否一致;Judging subunit 6, for judging whether the version number of the controller to be expanded is consistent with the version number of the cluster;

更新子单元7,当所述判断单元判断待扩控制器的版本号与所述集群的版本号不一致时,对所述待扩控制器的版本进行更新,以使所述待扩控制器的版本与所述集群的版本一致。Update subunit 7, when the judgment unit judges that the version number of the controller to be expanded is inconsistent with the version number of the cluster, it updates the version of the controller to be expanded, so that the version of the controller to be expanded is updated Consistent with the version of the cluster.

可以理解的是,本实施例的装置的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再进行赘述。It can be understood that the functions of each functional module of the apparatus in this embodiment may be specifically implemented according to the methods in the foregoing method embodiments, and the specific implementation process may refer to the relevant descriptions of the foregoing method embodiments, which will not be repeated here.

在本发明实施例中,当控制器发现待扩控制器时,获取所述待扩控制器的申请信息,并根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对集群进行自动扩容。这使得控制器可以自动对集群进行扩容,提高了扩容效率,简便了用户操作,提高用户体验度。In this embodiment of the present invention, when the controller finds the controller to be expanded, it acquires application information of the controller to be expanded, and adds the controller to be expanded to the cluster where the controller is located according to the application information, so as to The cluster is automatically scaled up. This enables the controller to automatically expand the cluster, which improves the expansion efficiency, simplifies user operations, and improves user experience.

参见图5,为本发明实施例提供的一种扩容系统的结构图。如图5所示,本实施例所述的一种扩容系统可包括以上实施例所述的控制器1000以及待扩控制器2000。Referring to FIG. 5 , it is a structural diagram of a capacity expansion system provided by an embodiment of the present invention. As shown in FIG. 5 , a capacity expansion system described in this embodiment may include the controller 1000 described in the above embodiment and the controller 2000 to be expanded.

所述待扩控制器2000,用于接收所述控制器发送的广播信息,响应所述广播信息,向所述控制器返回申请信息。The to-be-expanded controller 2000 is configured to receive broadcast information sent by the controller, and in response to the broadcast information, return application information to the controller.

在本发明实施例中,当待扩控制器上电接入集群后,待扩控制器即可进行检测是否有主控制器发送的广播信息。当检测到广播信息时,待扩控制器向主控制器返回申请信息。其中,待扩控制器通过UDP机制进行返回申请信息,申请信息携带待扩控制器的属性信息,属性信息包括待扩控制器的序列号SN、待扩控制器的MAC以及待扩控制器的版本号。属性信息可在出厂阶段由操作用户进行预置。In the embodiment of the present invention, after the controller to be expanded is powered on and connected to the cluster, the controller to be expanded can detect whether there is broadcast information sent by the main controller. When the broadcast information is detected, the controller to be expanded returns the application information to the main controller. The controller to be expanded returns application information through the UDP mechanism, and the application information carries attribute information of the controller to be expanded. The attribute information includes the serial number SN of the controller to be expanded, the MAC of the controller to be expanded, and the version of the controller to be expanded. No. The attribute information can be preset by the operating user at the factory stage.

在本发明实施例中,待扩控制器可以内置扩控代理模块(EXP-Agent),其中,扩控代理模块可以在出厂阶段设置为当上电后即自动运行。当扩控代理模块启动运行时,扩控代理模块进行自动发现主控制器发送的广播信息,以使待扩控制器自动进行加入集群。当集群扩控完成后,可由待扩控制器内置的第二SYS模块将其关闭,不再进行运行。In the embodiment of the present invention, the controller to be expanded may have a built-in control expansion agent module (EXP-Agent), wherein the control expansion agent module may be set to run automatically after being powered on at the factory stage. When the expansion control agent module starts to run, the expansion control agent module automatically discovers the broadcast information sent by the main controller, so that the controller to be expanded automatically joins the cluster. After the expansion of the cluster control is completed, the second SYS module built in the controller to be expanded can be shut down and no longer run.

在本发明实施例中,第二SYS模块可以是待扩控制器的SYS模块,第二SYS模块用于在扩控后,第二SYS模块通过心跳的方式与控制器的第一SYS模块进行通信,加入集群。In the embodiment of the present invention, the second SYS module may be the SYS module of the controller to be expanded, and the second SYS module is used to communicate with the first SYS module of the controller by means of heartbeat after the expansion of the controller , join the cluster.

在本发明实施例中,待扩控制器还可以包括操作维护模块。所述操作维护模块用于更改待扩控制器的系统版本。在本发明实施例中,第二SYS模块可判断待扩控制器所运行的系统版本与集群的各个控制器运行的系统版本是否一致,若不一致,第二SYS模块触发操作维护模块与主控制器的操作维护模块进行通信,实现待扩控制器的系统版本与集群的各个控制器的系统版本一致。In this embodiment of the present invention, the controller to be expanded may further include an operation and maintenance module. The operation and maintenance module is used to change the system version of the controller to be expanded. In the embodiment of the present invention, the second SYS module can determine whether the system version run by the controller to be expanded is consistent with the system version run by each controller in the cluster, and if not, the second SYS module triggers the operation and maintenance module and the main controller The system version of the controller to be expanded is consistent with the system version of each controller in the cluster.

在本发明实施例中,当控制器发现待扩控制器时,获取所述待扩控制器的申请信息,并根据所述申请信息将所述待扩控制器加入控制器的集群,以对集群进行扩容。这使得控制器可以自动对控制器进行扩容,提高了扩容效率,简便了用户操作,提高用户体验度。In the embodiment of the present invention, when the controller finds the controller to be expanded, it acquires application information of the controller to be expanded, and adds the controller to be expanded to the cluster of the controllers according to the application information, so as to update the cluster Expand. This enables the controller to automatically expand the capacity of the controller, improves the capacity expansion efficiency, simplifies user operations, and improves user experience.

请参见图6,为本发明实施例提供的又一种扩容系统的结构图。如图6所示,本实施例所述的一种扩容系统可包括以上实施例所述的控制器1000、以上实施例所述的待扩控制器2000以及与控制器连接的终端设备3000。Referring to FIG. 6 , it is a structural diagram of another capacity expansion system provided by an embodiment of the present invention. As shown in FIG. 6 , a capacity expansion system described in this embodiment may include the controller 1000 described in the above embodiment, the controller 2000 to be expanded described in the above embodiment, and a terminal device 3000 connected to the controller.

所述终端设备3000,用于显示控制器的扩控状态,以及接收用户的操作指令,将所述操作指令发送给所述控制器,以控制所述控制器的扩控过程。The terminal device 3000 is used to display the control expansion state of the controller, receive an operation instruction of the user, and send the operation instruction to the controller, so as to control the control expansion process of the controller.

在本发明实施例中,为了方便操作用户管理集群,操作用户可以通过终端设备与集群的主控制器进行交互,使得操作用户可以通过终端设备监测主控制器的运行状态,或者通过终端设备控制主控制器的运行。其中,终端设备3000可以与主控制器的管理监测模块连接,管理监测模块可以获取主控制器的运行状态并通过终端设备3000显示,以及管理监测模块通过终端设备3000获取操作控制的操作指令,并将操作指令下发至对应的功能模块中进行执行。其中,终端设备300可以是手机、电脑以及平板电脑等终端设备。In the embodiment of the present invention, in order to facilitate the operation user to manage the cluster, the operation user can interact with the main controller of the cluster through the terminal device, so that the operation user can monitor the running state of the main controller through the terminal device, or control the main controller through the terminal device. operation of the controller. Wherein, the terminal device 3000 can be connected with the management monitoring module of the main controller, the management monitoring module can obtain the running status of the main controller and display it through the terminal device 3000, and the management monitoring module can obtain the operation instruction of the operation control through the terminal device 3000, and The operation instruction is issued to the corresponding function module for execution. The terminal device 300 may be a terminal device such as a mobile phone, a computer, and a tablet computer.

在本发明实施例中,当控制器发现待扩控制器时,获取所述待扩控制器的申请信息,并根据所述申请信息将所述待扩控制器加入控制器所在的集群,以对集群进行自动扩容。这使得控制器可以自动对集群进行扩容,提高了扩容效率,简便了用户操作,提高用户体验度。In this embodiment of the present invention, when the controller finds the controller to be expanded, it acquires application information of the controller to be expanded, and adds the controller to be expanded to the cluster where the controller is located according to the application information, so as to The cluster is automatically scaled up. This enables the controller to automatically expand the cluster, which improves the expansion efficiency, simplifies user operations, and improves user experience.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and of course, the scope of the rights of the present invention cannot be limited by this. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims (13)

1. A capacity expansion method is characterized by comprising the following steps:
acquiring attribute information of the controller to be expanded;
acquiring current configuration information of the cluster, generating new configuration information according to the attribute information and the current configuration information, and configuring the controller to be expanded and the cluster according to the new configuration information so as to enable the controller to be expanded to join the cluster.
2. The method as claimed in claim 1, wherein when the controller to be extended is found, before obtaining the attribute information of the controller to be extended, it comprises:
when receiving the expansion starting instruction, generating the expansion configuration parameters required by expansion.
3. The method of claim 1, wherein the attribute information comprises a serial number SN of the controller to be extended, a medium access control MAC address of the controller to be extended, and a version number of the controller to be extended.
4. The method of claim 3, wherein said generating new configuration information based on said attribute information and said current configuration information further comprises:
and generating the new configuration information according to the attribute information, the current configuration information and the capacity expansion configuration information.
5. The method of claim 1, wherein the new configuration information comprises:
the number of the controllers of the cluster after capacity expansion, the ID of the controller to be expanded, the protocol IP address interconnected between the networks of the controller to be expanded, the gateway of the controller to be expanded, the mask of the controller to be expanded, the ID list of the controller of the cluster after capacity expansion or the IP list of the controller of the cluster after capacity expansion.
6. The method of any one of claims 1-5, further comprising:
judging whether the version number of the controller to be expanded is consistent with the version number of the cluster;
and when the version number of the controller to be expanded is not consistent with the version number of the cluster, updating the version of the controller to be expanded so as to enable the version of the controller to be expanded to be consistent with the version of the cluster.
7. A controller, characterized in that the controller comprises:
the acquisition unit is used for acquiring the attribute information of the controller to be expanded;
and the joining unit is used for acquiring the current configuration information of the cluster, generating new configuration information according to the attribute information and the current configuration information, and configuring the controller to be expanded and the cluster according to the new configuration information so as to join the controller to be expanded into the cluster.
8. The controller of claim 7, wherein the controller further comprises:
and the generating unit is used for generating capacity expansion configuration parameters required by capacity expansion when receiving the capacity expansion starting instruction.
9. The controller of claim 7, wherein the attribute information comprises a serial number SN of the controller to be extended, a MAC of the controller to be extended, and a version number of the controller to be extended.
10. The controller of claim 7, wherein the new configuration information comprises: the number of the controllers of the cluster after capacity expansion, the ID of the controller to be expanded, the protocol IP address interconnected between the networks of the controller to be expanded, the gateway of the controller to be expanded, the mask of the controller to be expanded, the ID list of the controller of the cluster after capacity expansion or the IP list of the controller of the cluster after capacity expansion.
11. The controller according to any one of claims 7 to 10, wherein the adding unit comprises:
the judging subunit is used for judging whether the version number of the controller to be expanded is consistent with the version number of the cluster;
and the updating subunit is used for updating the version of the controller to be expanded when the judging unit judges that the version number of the controller to be expanded is inconsistent with the version number of the cluster, so that the version of the controller to be expanded is consistent with the version of the cluster.
12. An expansion system comprising the controller according to any one of claims 7 to 11 and a controller to be expanded connected to the controller, wherein,
and the controller to be expanded is used for receiving the broadcast information sent by the controller, responding to the broadcast information and returning application information to the controller.
13. The system of claim 12, further comprising a terminal device connected to the controller,
the terminal device is used for displaying the expansion control state of the real-time controller, receiving an operation instruction of a user, and sending the operation instruction to the controller so as to control the expansion control process of the controller.
CN202010614194.XA 2014-12-10 2014-12-10 A capacity expansion method, controller and system Active CN111934904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010614194.XA CN111934904B (en) 2014-12-10 2014-12-10 A capacity expansion method, controller and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410752019.1A CN105743671B (en) 2014-12-10 2014-12-10 Capacity expansion method, controller and system
CN202010614194.XA CN111934904B (en) 2014-12-10 2014-12-10 A capacity expansion method, controller and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410752019.1A Division CN105743671B (en) 2014-12-10 2014-12-10 Capacity expansion method, controller and system

Publications (2)

Publication Number Publication Date
CN111934904A true CN111934904A (en) 2020-11-13
CN111934904B CN111934904B (en) 2023-11-03

Family

ID=56238462

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010614194.XA Active CN111934904B (en) 2014-12-10 2014-12-10 A capacity expansion method, controller and system
CN201410752019.1A Active CN105743671B (en) 2014-12-10 2014-12-10 Capacity expansion method, controller and system

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201410752019.1A Active CN105743671B (en) 2014-12-10 2014-12-10 Capacity expansion method, controller and system

Country Status (1)

Country Link
CN (2) CN111934904B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562382B (en) * 2017-08-30 2020-05-29 郑州云海信息技术有限公司 Automatic dynamic disk capacity expansion method and system based on timed task
CN109787792B (en) * 2017-11-10 2022-05-13 阿里巴巴集团控股有限公司 System for managing distributed service cluster
CN108418863B (en) * 2018-01-31 2021-06-04 深信服科技股份有限公司 Management method of controller cluster, SDN controller and storage medium
CN111782147B (en) * 2020-06-30 2024-07-26 北京百度网讯科技有限公司 Method and device for cluster expansion and contraction
CN112506444A (en) * 2020-12-28 2021-03-16 南方电网深圳数字电网研究院有限公司 Kubernetes cluster-based expansion and contraction capacity control method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873237A (en) * 2010-06-13 2010-10-27 用友软件股份有限公司 Method and system for dynamically maintaining member servers in cluster
CN103931138A (en) * 2011-10-17 2014-07-16 阿尔卡特朗讯 Scalable distributed multicluster device management server architecture and method of operation thereof
CN104092718A (en) * 2013-12-12 2014-10-08 腾讯数码(天津)有限公司 Distributed system and configuration information updating method in distributed system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100538617C (en) * 2006-07-11 2009-09-09 任永坚 Storage medium processing method and system
CN101493795A (en) * 2008-01-24 2009-07-29 杭州华三通信技术有限公司 Storage system, storage controller and cache implementation method in storage system
CN102148850B (en) * 2010-08-09 2014-08-06 华为软件技术有限公司 Cluster system and service processing method thereof
CN102819535A (en) * 2011-06-10 2012-12-12 戴尔产品有限公司 Data block migration
CN102412988A (en) * 2011-11-14 2012-04-11 浪潮(北京)电子信息产业有限公司 A business information system and its method for realizing continuous operation
CN102402616B (en) * 2011-12-22 2015-01-14 北京新媒传信科技有限公司 Method and system for realizing database cluster
CN203502802U (en) * 2013-09-27 2014-03-26 阳光电源股份有限公司 Converter module control system
CN103634375B (en) * 2013-11-07 2017-01-11 华为技术有限公司 Method, device and equipment for cluster node expansion
CN103826243B (en) * 2014-03-07 2017-04-12 东方通信股份有限公司 Rapid and flexible capacity adjusting method for digital trunked communication system base stations
CN104133776B (en) * 2014-07-14 2017-07-14 华为技术有限公司 Storage array automatic configuration method, device and storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873237A (en) * 2010-06-13 2010-10-27 用友软件股份有限公司 Method and system for dynamically maintaining member servers in cluster
CN103931138A (en) * 2011-10-17 2014-07-16 阿尔卡特朗讯 Scalable distributed multicluster device management server architecture and method of operation thereof
CN104092718A (en) * 2013-12-12 2014-10-08 腾讯数码(天津)有限公司 Distributed system and configuration information updating method in distributed system

Also Published As

Publication number Publication date
CN105743671B (en) 2020-07-14
CN105743671A (en) 2016-07-06
CN111934904B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN113268308B (en) Information processing method, device and storage medium
CN105743671B (en) Capacity expansion method, controller and system
CN108235759B (en) Input processing method, device and electronic device based on multiple operating systems
CN108446128A (en) A kind of method for upgrading software and device
CN103916449A (en) Remote backup system and remote backup method thereof
CN104144073A (en) Master-slave device environment deployment method and master-slave device environment deployment system
CN106506717B (en) A kind of automatic discovering method and equipment
CN105917613A (en) Software upgrading method and device
CN111966530A (en) Application system disaster recovery switching method, device, computer equipment and storage medium
CN111147314A (en) Switch upgrading method, device and storage medium
CN104956353A (en) Automatic determination of device specific interoperability
CN110365524B (en) Mirror image upgrading method and system for server node firmware
CN109510717A (en) Acquisition methods, device, equipment and the storage medium of the information of node device
CN104424036A (en) Synchronous operation method and device of smart terminal
US20230214207A1 (en) Device upgrade control method and apparatus, and computer device and storage medium
WO2016078291A1 (en) Method, apparatus and system for accessing file sharing server
CN109347994B (en) Internet protocol IP address obtaining method and device, storage medium and electronic equipment
CN113596197B (en) Address switching method and device, electronic equipment and storage medium
CN111901395B (en) Multi-cluster switching method and device
CN109962914A (en) A kind of firewall configuration method and device
CN114221985A (en) Device control method, device, electronic device and computer-readable storage medium
CN104601679B (en) Equipment soft method, mobile terminal and server
WO2025152566A1 (en) Terminal provisioning method, apparatus and device, and storage medium
WO2017211260A1 (en) Data access method and related device
CN105682010A (en) Bluetooth connection control method and device in audio playing system, and player

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant