[go: up one dir, main page]

CN107357529B - Storage cluster online upgrading method and system - Google Patents

Storage cluster online upgrading method and system Download PDF

Info

Publication number
CN107357529B
CN107357529B CN201710561016.3A CN201710561016A CN107357529B CN 107357529 B CN107357529 B CN 107357529B CN 201710561016 A CN201710561016 A CN 201710561016A CN 107357529 B CN107357529 B CN 107357529B
Authority
CN
China
Prior art keywords
nodes
cluster
state information
upgrade
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.)
Active
Application number
CN201710561016.3A
Other languages
Chinese (zh)
Other versions
CN107357529A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710561016.3A priority Critical patent/CN107357529B/en
Publication of CN107357529A publication Critical patent/CN107357529A/en
Application granted granted Critical
Publication of CN107357529B publication Critical patent/CN107357529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • G06F16/2386Bulk updating operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

本申请公开了一种存储集群在线升级方法,包括:将所述存储集群中节点的集群共享信息以动态链接库的形式编译;升级所述节点的私有状态信息;在所有所述节点对应的所述私有状态信息升级完成后,同时升级所有所述节点的所述集群共享信息。通过以动态链接库的形式编译存储集群中节点的集群共享信息,实现节点的集群共享信息和私有状态信息互不干扰的升级,从而实现整个存储集群的在线升级。本申请提供的存储集群在线升级方法,升级过程中需要协同的对象较少,升级的过程更加简单。本申请还提供了一种存储集群在线升级系统,具有上述有益效果。

Figure 201710561016

The present application discloses an online upgrade method for a storage cluster, comprising: compiling cluster shared information of nodes in the storage cluster in the form of a dynamic link library; upgrading the private state information of the nodes; After the upgrade of the private state information is completed, the cluster shared information of all the nodes is upgraded at the same time. By compiling the cluster shared information of the nodes in the storage cluster in the form of a dynamic link library, the cluster shared information and the private state information of the nodes can be upgraded without mutual interference, thereby realizing the online upgrade of the entire storage cluster. The online upgrade method for a storage cluster provided by the present application requires fewer objects to be coordinated during the upgrade process, and the upgrade process is simpler. The present application also provides an online upgrade system for a storage cluster, which has the above beneficial effects.

Figure 201710561016

Description

Storage cluster online upgrading method and system
Technical Field
The present application relates to the field of SAN storage technologies, and in particular, to a method and a system for online upgrading a storage cluster.
Background
SAN (Storage Area Network, Chinese name) adopts a mesh channel technology, and is connected with a Storage array and a server host through an FC (fiber channel) switch to establish a local Area Network special for data Storage.
The storage cluster is a storage pool which can provide a uniform access interface and a management interface for an application server by aggregating storage spaces in a plurality of storage devices, and the application can transparently access and utilize the disks on all the storage devices through the access interface, so that the performance of the storage devices and the utilization rate of the disks can be fully exerted. Data is stored and read from a plurality of storage devices according to certain rules so as to obtain higher concurrent access performance.
In a client scenario, a service is upgraded online to meet the requirements of new features and debug. Because a plurality of working nodes exist in the storage system, the working nodes cooperatively work in the normal operation process, and the state information of the whole cluster (Chinese name: cluster) needs to be shared, such as how many nodes (Chinese name: nodes) are contained in the current cluster, how many LUNs (Logical Unit Number, LUN or LUN for short, Chinese name: logic Unit) are contained in the current cluster, and the like; meanwhile, each node maintains respective unique state, such as the ID of the cluster to which the current node belongs, the IO load condition of a certain LUN to which the node belongs, and the like. In summary, the online upgrade of the storage cluster system is higher in complexity than the online upgrade of a single-node system, and more objects need to be coordinated and more complex processing logic needs to be implemented.
Disclosure of Invention
The application aims to provide a storage cluster online upgrading method and system, which realize the online upgrading function of a storage cluster through a design idea of isolating a cluster state and a node state and solve the problems of more processing objects and complex processing logic in the existing storage cluster upgrading process.
In order to solve the above technical problem, the present application provides an online upgrade method for a storage cluster, and the technical scheme is as follows:
compiling cluster sharing information of the nodes in the storage cluster in a dynamic link library form;
upgrading the private state information of the node;
and after the upgrading of the private state information corresponding to all the nodes is completed, simultaneously upgrading the cluster shared information of all the nodes.
Before compiling the cluster sharing information of the nodes in the storage cluster in the form of a dynamic link library, the method further comprises the following steps:
establishing an upgrade installation package, and uploading the upgrade installation package to a configuration node which interacts with a user in the storage cluster; wherein the upgrade installation package includes the cluster sharing information and the private state information.
Before upgrading the private-state information of the node, the method further includes:
judging whether the cluster sharing information is compiled;
if so, upgrading the private state information of the node;
if not, compiling the cluster sharing information of the nodes in the storage cluster in the form of a dynamic link library again.
Wherein the upgrading the private-state information of the node comprises:
dividing and marking all nodes in the storage cluster according to every two node groups;
and upgrading the private state information of each group of corresponding nodes according to the label sequence.
The cluster sharing information is storage cluster state information shared among all the nodes in the storage cluster; the private state information is state information maintained by the nodes respectively.
The present application further provides an online upgrade system for a storage cluster, the system comprising:
the compiling module is used for compiling the cluster sharing information of the nodes in the storage cluster in a form of a dynamic link library;
the first upgrading module is used for upgrading the private state information of the node;
and the second upgrading module is used for upgrading the cluster shared information of all the nodes simultaneously after the upgrading of the private state information corresponding to all the nodes is completed.
Wherein the system further comprises:
the upgrading preparation module is used for constructing an upgrading installation package and uploading the upgrading installation package to a configuration node which interacts with a user in the storage cluster; wherein the upgrade installation package includes the cluster sharing information and the private state information.
Wherein the system further comprises:
the judging module is used for judging whether the cluster sharing information is compiled completely; if yes, executing a first upgrading module; if not, executing the compiling module.
Wherein the first upgrade module comprises:
the grouping submodule is used for dividing and marking all nodes in the storage cluster according to every two node groups;
and the upgrading submodule is used for upgrading the private state information of each group of corresponding nodes according to the label sequence.
The application provides an online upgrading method for a storage cluster, which comprises the following steps: compiling cluster sharing information of the nodes in the storage cluster in a dynamic link library form; upgrading the private state information of the node; and after the upgrading of the private state information corresponding to all the nodes is completed, simultaneously upgrading the cluster shared information of all the nodes. By the storage cluster online upgrading method, fewer objects needing to be coordinated are needed, and the upgrading process is simpler and more convenient. The application also provides an online upgrading system of the storage cluster, which has the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an online upgrade method for a storage cluster according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another storage cluster online upgrade method provided in an embodiment of the present application;
fig. 3 is a flowchart of another method for online upgrading a storage cluster according to an embodiment of the present application;
fig. 4 is a schematic diagram of an online upgrade system for a storage cluster according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of an online upgrade method for a storage cluster according to an embodiment of the present application, where the technical method includes:
s101: compiling cluster sharing information of the nodes in the storage cluster in a dynamic link library form;
the cluster shared information is storage cluster state information shared among all the nodes in the storage cluster, and logically can be regarded as the same state information.
After compiling, the cluster shared information exists in the form of a dynamic link library, the dynamic link library is relatively independent, and the cluster shared information can be dynamically loaded when the private state information runs. And when the private state information is upgraded, the cluster shared information serving as the dynamic link library can continue to work normally.
Further, before compiling cluster state information, an upgrade installation package may be constructed first, and the upgrade installation package is uploaded to a configuration node in the storage cluster, which is responsible for interaction with a user, to prepare for starting upgrade. The upgrade installation package may include cluster sharing information and private state information of the node, and may also include Lun related information.
S102: upgrading the private state information of the node;
in the upgrading process, the nodes cooperating around replace the task of the node to be upgraded, and the task is returned after the node to be upgraded is upgraded. In the present application, the task mainly includes cluster shared information and private-state information, and certainly may be other information existing in the node.
Before upgrading the private state information of the node, a judgment step may be added to judge whether the compiling of the cluster sharing information is completed. If compilation is not complete, the cluster sharing information is recompiled or continued to be compiled. If compilation is complete, then the private-state information of the node is upgraded. Certainly, the private state information of the node may not be judged, but is updated if the cluster shared information is not compiled, so that the cluster state is easily confused.
Furthermore, because the number of nodes in a storage cluster is quite large, these nodes may be grouped or zone upgraded. For example, every two nodes or every three nodes in a group are grouped and labeled, and then each group of corresponding nodes is upgraded according to the label sequence. Of course, other grouping methods are also possible, and the grouping method is not limited in this application. After the nodes in the storage cluster are grouped, the nodes can be upgraded by group. And after the private state information of the nodes in each group is completely upgraded, upgrading the private state information of the nodes in the next group.
S103: and after the upgrading of the private state information corresponding to all the nodes is completed, simultaneously upgrading the cluster shared information of all the nodes.
After the private state information of all the nodes in the storage cluster is completely upgraded, the cluster shared information is upgraded, and the upgrading is usually to update the cluster shared information, although other forms of upgrading are also possible.
The cluster state information needs to be ensured to be normally accessed in the upgrading process, so that the private state information of the nodes is upgraded first, and the cluster shared information can be upgraded after the private state information of all the nodes is completely upgraded, otherwise, the cluster state information is disordered, and the normal work of the storage cluster is influenced.
And after the private state information of all the nodes is completely upgraded, upgrading the cluster shared information. Because the cluster sharing information is shared by all nodes in the storage cluster, the upgrading can be completed at one time. Certainly, the upgrade may also be performed in batches, for example, the cluster shared information of a part of the nodes is upgraded first, and then the rest of the nodes are upgraded, which is not limited herein.
In the embodiment, the cluster shared information is compiled by adopting the dynamic link library, so that the nodes in the cluster are allowed to upgrade the private state information firstly and then upgrade the cluster shared information of all the nodes simultaneously, thereby orderly realizing the online upgrade of the whole storage cluster system and simplifying the upgrade process.
Example two
Referring to fig. 2, fig. 2 is a flowchart of another storage cluster online upgrade method provided in the embodiment of the present application. Before upgrading, in order to avoid confusion in the upgrading process, all nodes in the storage cluster can be divided and labeled according to a group of two nodes, and then the private state information of each group of corresponding nodes is upgraded according to the numbering sequence. The corresponding technical scheme is as follows:
s201: compiling cluster sharing information of the nodes in the storage cluster in a dynamic link library form;
s202: dividing and marking all nodes in the storage cluster according to every two node groups;
the two nodes may be adjacent nodes or functionally similar nodes. Grouping is to prevent the upgrading progress of different nodes from being different because the upgrading of the storage cluster causes confusion. After grouping, the system is sequentially upgraded according to the label sequence, so that individual nodes are not missed, and the upgrading efficiency is improved.
S203: upgrading the private state information of each group of corresponding nodes according to the label sequence;
each group has two nodes, for example, a node a and a node B, the node a starts to upgrade its own private state information after handing over its own service to the node B, the node B returns its service to the node a after the node a is upgraded, and then the node B hands over its own service to the upgraded node a according to the method and then upgrades it, thereby completing the cooperative upgrade between the two nodes. Therefore, two nodes are an optimal grouping mode, service handover confusion during upgrading is easy to occur when three or more nodes are a group, and unnecessary trouble is brought to the upgrading process.
S204: and after the upgrading of the private state information corresponding to all the nodes is completed, simultaneously upgrading the cluster shared information of all the nodes.
EXAMPLE III
Referring to fig. 3, fig. 3 is a flowchart of another method for online upgrading a storage cluster according to an embodiment of the present application, where the embodiment is a specific implementation manner of online upgrading a storage cluster, and a technical solution of the method is as follows:
s301: constructing a system installation package, uploading the installation package to a configuration node interacting with a user in a storage cluster, and preparing for upgrading;
the system installation package includes information required for storing cluster upgrade, i.e., cluster sharing information and private state information of all nodes, and of course, other information may also be present. The system installation package exists in a mirror image or other form.
S302: compiling cluster sharing information of the nodes in the storage cluster in a dynamic link library form;
the cluster shared information exists in the form of a dynamic link library, the dynamic link library is relatively independent, the cluster shared information can be dynamically loaded when the private state information runs, and the cluster shared information can continue to normally work as the dynamic link library when the private state information is upgraded.
S303: dividing and labeling all nodes in the storage cluster according to every two nodes in one group, and upgrading the private state information of each group of corresponding nodes according to the labeling sequence;
the upgrade of every two nodes in a group is the best grouping mode, and the upgrade confusion of the nodes in the group is not easy to cause.
S304: and after the upgrading of the private state information corresponding to all the nodes is completed, simultaneously upgrading the cluster shared information of all the nodes.
In the process of upgrading the private state information, it is required to ensure that the cluster state information can be normally accessed, so the private state information of the nodes is upgraded first, and the cluster shared information can be upgraded after all the private state information of all the nodes is completely upgraded, otherwise the cluster state information is disordered, and the normal work of the storage cluster is influenced.
And after the private state information of all the nodes is completely upgraded, upgrading the cluster shared information. The cluster sharing information is shared by all nodes in the storage cluster, so that one-time upgrading can be completed.
Since the embodiment of the system part corresponds to the embodiment of the method part, the embodiment of the system part is described with reference to the embodiment of the method part, and is not repeated here.
As shown in fig. 4, an embodiment of the present application further provides an online upgrade system for a storage cluster, where the system includes:
a compiling module 100, configured to compile cluster sharing information of nodes in the storage cluster in a form of a dynamic link library;
a first upgrade module 200, configured to upgrade private-state information of the node;
the second upgrade module 300 is configured to upgrade the cluster shared information of all the nodes simultaneously after the private-state information of all the nodes is upgraded.
Based on the above embodiment, as a preferred embodiment, the system may further include:
the upgrading preparation module is used for constructing an upgrading installation package and uploading the upgrading installation package to a configuration node which interacts with a user in the storage cluster; wherein the upgrade installation package includes the cluster sharing information and the private state information.
Based on the above embodiment, as a preferred embodiment, the system may further include:
the judging module is used for judging whether the cluster sharing information is compiled completely; if yes, executing a first upgrading module; if not, executing the compiling module.
Based on the above embodiment, as a preferred embodiment, the first upgrade module 200 may include:
the grouping submodule is used for dividing and marking all nodes in the storage cluster according to every two node groups;
and the upgrading submodule is used for upgrading the private state information of each group of corresponding nodes according to the label sequence.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The storage cluster online upgrade method and system provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1.一种存储集群在线升级方法,其特征在于,所述方法包括:1. A storage cluster online upgrade method, wherein the method comprises: 将所述存储集群中节点的集群共享信息以动态链接库的形式编译;且在编译后,所述集群共享信息以所述动态链接库的形式存在,所述动态链接库相对独立,在私有状态信息运行时动态加载,并且在所述私有状态信息升级时,所述集群共享信息作为所述动态链接库继续正常工作;Compile the cluster shared information of the nodes in the storage cluster in the form of a dynamic link library; and after compilation, the cluster shared information exists in the form of the dynamic link library, and the dynamic link library is relatively independent and is in a private state Information is dynamically loaded during runtime, and when the private state information is upgraded, the cluster shared information continues to work normally as the dynamic link library; 升级所述节点的所述私有状态信息;updating the private state information of the node; 在所有所述节点对应的所述私有状态信息升级完成后,同时升级所有所述节点的所述集群共享信息;After the upgrade of the private state information corresponding to all the nodes is completed, simultaneously upgrade the cluster shared information of all the nodes; 其中,所述集群共享信息为存储集群中的所有所述节点之间共享的存储集群状态信息;所述私有状态信息为所述节点各自维护的状态信息。The cluster shared information is storage cluster state information shared among all the nodes in the storage cluster; the private state information is state information maintained by the nodes respectively. 2.根据权利要求1所述的方法,其特征在于,将所述存储集群中节点的集群共享信息以动态链接库的形式编译之前,还包括:2. The method according to claim 1, wherein before compiling the cluster shared information of the nodes in the storage cluster in the form of a dynamic link library, the method further comprises: 构建升级安装包,并将所述升级安装包上传到所述存储集群中与用户交互的配置节点;其中,所述升级安装包中包括所述集群共享信息和所述私有状态信息。Building an upgrade installation package, and uploading the upgrade installation package to a configuration node in the storage cluster that interacts with the user; wherein the upgrade installation package includes the cluster shared information and the private state information. 3.根据权利要求1所述的方法,其特征在于,所述升级所述节点的私有状态信息之前,还包括:3 . The method according to claim 1 , wherein before the upgrading the private state information of the node, the method further comprises: 3 . 判断所述集群共享信息是否编译完成;Judging whether the cluster shared information has been compiled; 若是,则升级所述节点的私有状态信息;If so, update the private state information of the node; 若否,则再次将所述存储集群中节点的集群共享信息以动态链接库的形式编译。If not, the cluster shared information of the nodes in the storage cluster is compiled again in the form of a dynamic link library. 4.根据权利要求1-3任意一项所述的方法,其特征在于,所述升级所述节点的私有状态信息,包括:4. The method according to any one of claims 1-3, wherein the upgrading the private state information of the node comprises: 将所述存储集群中所有节点按每两个节点一组进行划分并标号;Divide and label all nodes in the storage cluster in groups of two nodes; 按标号顺序升级每组对应节点的私有状态信息。The private state information of each group of corresponding nodes is updated in the order of labels. 5.一种存储集群在线升级系统,其特征在于,所述系统包括:5. A storage cluster online upgrade system, wherein the system comprises: 编译模块,用于将所述存储集群中节点的集群共享信息以动态链接库的形式编译;且在编译后,所述集群共享信息以所述动态链接库的形式存在,所述动态链接库相对独立,在私有状态信息运行时动态加载,并且在所述私有状态信息升级时,所述集群共享信息作为所述动态链接库继续正常工作;A compilation module, used for compiling the cluster shared information of the nodes in the storage cluster in the form of a dynamic link library; and after compilation, the cluster shared information exists in the form of the dynamic link library, and the dynamic link library is relatively Independent, dynamically loaded when the private state information is running, and when the private state information is upgraded, the cluster shared information continues to work normally as the dynamic link library; 第一升级模块,用于升级所述节点的所述私有状态信息;a first upgrade module, configured to upgrade the private state information of the node; 第二升级模块,用于在所有所述节点对应的所述私有状态信息升级完成后,同时升级所有所述节点的所述集群共享信息;A second upgrade module, configured to simultaneously upgrade the cluster shared information of all the nodes after the upgrade of the private state information corresponding to all the nodes is completed; 其中,所述集群共享信息为存储集群中的所有所述节点之间共享的存储集群状态信息;所述私有状态信息为所述节点各自维护的状态信息。The cluster shared information is storage cluster state information shared among all the nodes in the storage cluster; the private state information is state information maintained by the nodes respectively. 6.根据权利要求5所述的系统,其特征在于,还包括:6. The system of claim 5, further comprising: 升级准备模块,用于构建升级安装包,并将所述升级安装包上传到所述存储集群中与用户交互的配置节点;其中,所述升级安装包中包括所述集群共享信息和所述私有状态信息。an upgrade preparation module, configured to construct an upgrade installation package and upload the upgrade installation package to a configuration node in the storage cluster that interacts with users; wherein the upgrade installation package includes the cluster shared information and the private status information. 7.根据权利要求5所述的系统,其特征在于,还包括:7. The system of claim 5, further comprising: 判断模块,用于判断所述集群共享信息是否编译完成;若是,执行第一升级模块;若否,再次执行编译模块。The judgment module is used to judge whether the compilation of the cluster shared information is completed; if so, execute the first upgrade module; if not, execute the compilation module again. 8.根据权利要求5至7任意一项所述的系统,其特征在于,所述第一升级模块包括:8. The system according to any one of claims 5 to 7, wherein the first upgrade module comprises: 分组子模块,用于将所述存储集群中所有节点按每两个节点一组进行划分并标号;a grouping sub-module for dividing and labeling all nodes in the storage cluster by a group of two nodes; 升级子模块,用于按标号顺序升级每组对应节点的私有状态信息。The upgrade sub-module is used to upgrade the private state information of each group of corresponding nodes in the order of labels.
CN201710561016.3A 2017-07-11 2017-07-11 Storage cluster online upgrading method and system Active CN107357529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710561016.3A CN107357529B (en) 2017-07-11 2017-07-11 Storage cluster online upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710561016.3A CN107357529B (en) 2017-07-11 2017-07-11 Storage cluster online upgrading method and system

Publications (2)

Publication Number Publication Date
CN107357529A CN107357529A (en) 2017-11-17
CN107357529B true CN107357529B (en) 2020-03-31

Family

ID=60292862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710561016.3A Active CN107357529B (en) 2017-07-11 2017-07-11 Storage cluster online upgrading method and system

Country Status (1)

Country Link
CN (1) CN107357529B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463195B (en) * 2020-12-07 2022-07-08 苏州浪潮智能科技有限公司 Method, system, terminal and storage medium for cluster grouping online upgrade
CN114003313B (en) * 2021-10-31 2023-12-22 济南浪潮数据技术有限公司 Cluster management method, system, storage medium and device
CN114844799B (en) * 2022-05-27 2024-10-11 深信服科技股份有限公司 Cluster management method and device, host equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739263A (en) * 2008-11-11 2010-06-16 英业达股份有限公司 Method and device for realizing operating system upgrade in multi-machine cluster system
CN102546718A (en) * 2010-12-31 2012-07-04 上海可鲁系统软件有限公司 Software configuration method for functional modules in distributed platform
CN104410672A (en) * 2014-11-12 2015-03-11 华为技术有限公司 Method for upgrading network function virtualization application, method and device for forwarding service
US9058127B2 (en) * 2007-04-27 2015-06-16 Hewlett-Packard Development Company, L.P. Data transfer in cluster storage systems
CN106130750A (en) * 2016-09-29 2016-11-16 安徽四创电子股份有限公司 A kind of big data platform upgrade method based on privately owned Yum storehouse

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058127B2 (en) * 2007-04-27 2015-06-16 Hewlett-Packard Development Company, L.P. Data transfer in cluster storage systems
CN101739263A (en) * 2008-11-11 2010-06-16 英业达股份有限公司 Method and device for realizing operating system upgrade in multi-machine cluster system
CN102546718A (en) * 2010-12-31 2012-07-04 上海可鲁系统软件有限公司 Software configuration method for functional modules in distributed platform
CN104410672A (en) * 2014-11-12 2015-03-11 华为技术有限公司 Method for upgrading network function virtualization application, method and device for forwarding service
CN106130750A (en) * 2016-09-29 2016-11-16 安徽四创电子股份有限公司 A kind of big data platform upgrade method based on privately owned Yum storehouse

Also Published As

Publication number Publication date
CN107357529A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
US10496503B2 (en) Healing cloud services during upgrades
US10387179B1 (en) Environment aware scheduling
CN102082692B (en) Virtual machine migration method, device and cluster system based on network data flow
Berde et al. ONOS: towards an open, distributed SDN OS
US9413819B1 (en) Operating system interface implementation using network-accessible services
JP7469524B2 (en) Method, device, storage medium, and electronic device for migrating virtual machines between cloud platforms
US10666574B2 (en) Distributed stream-based database triggers
US7966470B2 (en) Apparatus and method for managing logical volume in distributed storage systems
US20170277556A1 (en) Distribution system, computer, and arrangement method for virtual machine
JP5352890B2 (en) Computer system operation management method, computer system, and computer-readable medium storing program
US20130198719A1 (en) Automated deployment of an application in a computing platform
CN105335168B (en) Realize system, the method and device of operating system Remote configuration
CN102110071A (en) Virtual machine cluster system and implementation method thereof
JP2011525007A (en) Method for initializing server clusters, data media and corresponding server clusters and generating management database operation requests
JP2016508647A (en) Method and system for supporting resource separation in a multi-core architecture
US8745637B2 (en) Middleware for extracting aggregation statistics to enable light-weight management planners
CN107357529B (en) Storage cluster online upgrading method and system
TW201434300A (en) Service migration across cluster boundaries
CN109799998B (en) OpenStack cluster configuration and batch deployment method and system
CN111274033B (en) Resource deployment method, device, server and storage medium
CN108319492A (en) Reset the method, apparatus and system of physical machine
CN112579008A (en) Storage deployment method, device, equipment and storage medium of container arrangement engine
CN118838606A (en) Container platform offline deployment method supporting heterogeneous and multiple operating systems
US10592112B2 (en) Storage system software upgrade and data migration
CN118860594A (en) Cloud native application migration method, system, device and storage medium

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