CN111538520A - Updating method and device for super-converged cluster, terminal and storage medium - Google Patents

Updating method and device for super-converged cluster, terminal and storage medium Download PDF

Info

Publication number
CN111538520A
CN111538520A CN202010649801.6A CN202010649801A CN111538520A CN 111538520 A CN111538520 A CN 111538520A CN 202010649801 A CN202010649801 A CN 202010649801A CN 111538520 A CN111538520 A CN 111538520A
Authority
CN
China
Prior art keywords
node
super
cluster
temporary
temporary container
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
CN202010649801.6A
Other languages
Chinese (zh)
Other versions
CN111538520B (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.)
Beijing Lenovo Super Fusion Technology Co Ltd
Original Assignee
Beijing Lenovo Super Fusion 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 Beijing Lenovo Super Fusion Technology Co Ltd filed Critical Beijing Lenovo Super Fusion Technology Co Ltd
Priority to CN202010649801.6A priority Critical patent/CN111538520B/en
Publication of CN111538520A publication Critical patent/CN111538520A/en
Application granted granted Critical
Publication of CN111538520B publication Critical patent/CN111538520B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an updating method and device for a super-converged cluster, a terminal and a storage medium, wherein the method comprises the following steps: for any node in the super-fusion cluster, establishing a temporary container according to the configuration information of the node; taking the node off line, and setting the temporary container as a temporary node; replacing the node with the temporary container to operate in the super-converged cluster; according to the updating information, performing service updating on the offline node; replacing the temporary container with the updated node to operate in the super converged cluster. By the technical scheme of the invention, the updating of the super-fusion cluster can be gradually completed without stopping the work of any node in the super-fusion cluster, the influence of the updating process on the working performance of the super-fusion cluster is reduced, the labor cost and the time cost required by the updating are reduced, and the user experience is also improved.

Description

Updating method and device for super-converged cluster, terminal and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an update method and apparatus for a super-converged cluster, a terminal, and a storage medium.
Background
In the current super-fusion cluster, the integration level of a software system is very high, once the software system starts to work, a large number of tasks are generated, and therefore nodes in the super-fusion cluster are quite busy. And in the time when the super-fusion cluster is relatively idle, the super-fusion cluster can also perform entropy reduction tasks such as cold and hot migration and duplicate removal. Therefore, it is difficult to find a time when all nodes can stop working for synchronous update.
In contrast, the existing upgrade schemes are basically all shutdown cold upgrade, that is, the service in the whole super-convergence cluster is suspended and upgraded, and the service is resumed after the upgrade is successful.
However, the super-converged cluster is updated very frequently, and the use of such a cold upgrade method often causes service interruption, affects the working performance of the super-converged cluster, and causes a reduction in user experience. Moreover, frequent downtime for updates can also consume a significant amount of labor and time.
Therefore, how to reduce the influence on the working performance of the super-fusion cluster while upgrading the super-fusion cluster becomes a technical problem to be solved urgently at present.
Disclosure of Invention
The invention provides an updating method and device for a super-fusion cluster, a terminal and a storage medium, which are used for solving the technical problem that the work performance of the super-fusion cluster is seriously influenced by the shutdown upgrading of the super-fusion cluster in the related technology.
The invention provides an updating method for a super-converged cluster, which comprises the following steps: for any node in the super-fusion cluster, establishing a temporary container according to the configuration information of the node; taking the node off line, and setting the temporary container as a temporary node; replacing the node with the temporary container to operate in the super-converged cluster; according to the updating information, performing service updating on the offline node; replacing the temporary container with the updated node to operate in the super converged cluster.
In the above embodiment of the present invention, optionally, before the step of taking the node offline and setting the temporary container as the temporary node, the method further includes: migrating the first data of the node to the temporary container; and adding the temporary access port information of the temporary container into a port access management list of the super-converged cluster.
In the above embodiment of the present invention, optionally, before the step of replacing the temporary container with the updated node to operate in the super-converged cluster, the method further includes: migrating second data in the temporary container to the updated node; deleting the temporary access port information of the temporary container in the port access management list of the super-converged cluster.
In the above embodiment of the present invention, optionally, after the step of replacing the temporary container with the updated node to work in the super-converged cluster, the method further includes: judging whether the designated data of a plurality of nodes in the super-fusion cluster are consistent; selecting a master node among the plurality of nodes if the specified data of the plurality of nodes is inconsistent; synchronizing the designated data of the master node to the plurality of nodes.
In the above embodiment of the present invention, optionally, the master node is a node with the highest weight among the plurality of nodes, or the master node is a node with a data source hierarchy at the bottommost layer among the plurality of nodes.
The second aspect of the present invention provides an updating apparatus for a super-converged cluster, comprising: the temporary container establishing unit is used for establishing a temporary container for any node in the super-fusion cluster according to the configuration information of the node; the node configuration unit is used for taking the node off line and setting the temporary container as a temporary node; a first execution unit to operate in the super converged cluster with the temporary container in place of the node; the node updating unit is used for updating the service of the offline node according to the updating information; a second execution unit, configured to replace the temporary container with the updated node to work in the super-converged cluster.
In the above embodiment of the present invention, optionally, the method further includes: a first data migration unit, configured to migrate first data of the node to the temporary container before the node configuration unit takes the node offline and sets the temporary container as a temporary node; and the port information adding unit is used for adding the temporary access port information of the temporary container into a port access management list of the super-convergence cluster.
In the above embodiment of the present invention, optionally, the method further includes: a second data migration unit, configured to migrate second data in the temporary container to the updated node before the second execution unit replaces the temporary container with the updated node to work in the super-converged cluster; a port information deleting unit, configured to delete the temporary access port information of the temporary container in the port access management list of the super-converged cluster.
In the above embodiment of the present invention, optionally, the method further includes: a node data judgment unit, configured to judge whether designated data of multiple nodes in the super-fusion cluster are consistent after the second execution unit replaces the temporary container with the updated node to work in the super-fusion cluster; a master node selecting unit configured to select a master node among the plurality of nodes when the designated data of the plurality of nodes are inconsistent; and the main node data synchronization unit is used for synchronizing the designated data of the main node to the plurality of nodes.
In the above embodiment of the present invention, optionally, the master node is a node with the highest weight among the plurality of nodes, or the master node is a node with a data source hierarchy at the bottommost layer among the plurality of nodes.
A third aspect of the present invention provides a terminal, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the first aspects above.
A fourth aspect of the present invention provides a storage medium storing computer-executable instructions for performing the method flow of any one of the first aspects.
The technical scheme of the invention aims at the technical problem that the work performance of the super-fusion cluster is seriously influenced by the halt and the upgrade of the super-fusion cluster in the related technology, and the temporary node can replace the node to be upgraded to work, and the node is updated on the basis of not stopping the whole operation of the super-fusion cluster.
Because the updating required by the super-fusion cluster is not necessarily all the nodes, the updating is only carried out on the nodes needing to be updated, and the whole work of the super-fusion cluster is not suspended, so that the influence of the updating on the work performance of the super-fusion cluster is reduced. Meanwhile, because the node needing to be updated is also a member of the super-fusion cluster, in order to avoid the condition that the whole performance of the super-fusion cluster is influenced because the node cannot work in the updating process, a temporary node can be established for the node, and the node is replaced by the temporary node to work in the super-fusion cluster.
Specifically, for any node in the super-converged cluster that needs to be updated, configuration information such as its own configuration file, system configuration file, environment variable, and the like can be acquired. And establishing a temporary container with the same configuration information as the node based on the configuration file, the system configuration file and the environment variable, and migrating data such as storage content, execution tasks and the like of the node to the temporary container. In this way, the temporary container has both the configuration information of the node, performs the same operation as the node, and has the same data as the node, so that the data to be processed in the node can be processed based on the configuration information of the node. So far, the temporary container can effectively replace the work of the node in the super-converged cluster.
And on the other hand, acquiring the update information of the node, and performing service update on the offline node according to the update information. And after the updating is finished, replacing the temporary container with the updated node, and returning to the super-fusion cluster for working.
And updating all the nodes needing to be updated by adopting the method until all the nodes needing to be updated are updated.
According to the technical scheme, the super-fusion cluster can be updated gradually without stopping the work of any node in the super-fusion cluster, the influence of the updating process on the working performance of the super-fusion cluster is reduced, the labor cost and the time cost required by updating are reduced, and the user experience is also improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a flow diagram of an update method for a hyper-converged cluster, according to one embodiment of the invention;
FIG. 2 illustrates a flow diagram of an update method for a hyper-converged cluster according to another embodiment of the present invention;
FIG. 3 shows a block diagram of an update apparatus for a hyper-converged cluster, according to one embodiment of the invention;
fig. 4 shows a block diagram of a terminal according to an embodiment of the invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, 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, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
FIG. 1 shows a flow diagram of an update method for a hyper-converged cluster, according to one embodiment of the invention.
As shown in fig. 1, the method includes:
and 102, establishing a temporary container for any node in the super-fusion cluster according to the configuration information of the node.
The super-convergence cluster is a working cluster consisting of a large number of software systems, wherein each software system can be regarded as a node, and the super-convergence cluster is regarded as a working network consisting of a large number of nodes.
Because the updating required by the super-fusion cluster is not necessarily all the nodes, the updating is only carried out on the nodes needing to be updated, and the whole work of the super-fusion cluster is not suspended, so that the influence of the updating on the work performance of the super-fusion cluster is reduced. Meanwhile, because the node needing to be updated is also a member of the super-fusion cluster, in order to avoid the condition that the whole performance of the super-fusion cluster is influenced because the node cannot work in the updating process, a temporary node can be established for the node, and the node is replaced by the temporary node to work in the super-fusion cluster.
For any node needing to be updated in the super-fusion cluster, configuration information such as a self configuration file, a system configuration file, environment variables and the like can be acquired. And establishing a temporary container with the same configuration information as the node based on the configuration file, the system configuration file and the environment variable, and migrating data such as storage content, execution tasks and the like of the node to the temporary container. In this way, the temporary container has both the configuration information of the node, performs the same operation as the node, and has the same data as the node, so that the data to be processed in the node can be processed based on the configuration information of the node.
And 104, taking the node off line, and setting the temporary container as a temporary node.
And 106, replacing the nodes with the temporary containers to work in the super-fusion cluster.
After the temporary container is established, the temporary container can be used for effectively replacing the work of the node in the super-converged cluster.
And step 108, performing service updating on the offline nodes according to the updating information.
And 110, replacing the temporary container with the updated node to work in the super-fusion cluster.
And then, acquiring the update information of the node, and updating the service of the offline node according to the update information. And after the updating is finished, replacing the temporary container with the updated node, and returning to the super-fusion cluster for working.
And updating all the nodes needing to be updated by adopting the method until all the nodes needing to be updated are updated.
According to the technical scheme, the super-fusion cluster can be updated gradually without stopping the work of any node in the super-fusion cluster, the influence of the updating process on the working performance of the super-fusion cluster is reduced, the labor cost and the time cost required by updating are reduced, and the user experience is also improved.
FIG. 2 shows a flow diagram of an update method for a hyper-converged cluster, according to another embodiment of the invention.
As shown in fig. 2, the method includes:
step 202, for any node in the super-fusion cluster, a temporary container is established according to the configuration information of the node.
The super-convergence cluster is a working cluster consisting of a large number of software systems, wherein each software system can be regarded as a node, and the super-convergence cluster is regarded as a working network consisting of a large number of nodes.
Because the updating required by the super-fusion cluster is not necessarily all the nodes, the updating is only carried out on the nodes needing to be updated, and the whole work of the super-fusion cluster is not suspended, so that the influence of the updating on the work performance of the super-fusion cluster is reduced. Meanwhile, because the node needing to be updated is also a member of the super-fusion cluster, in order to avoid the condition that the whole performance of the super-fusion cluster is influenced because the node cannot work in the updating process, a temporary node can be established for the node, and the node is replaced by the temporary node to work in the super-fusion cluster.
For any node needing to be updated in the super-fusion cluster, configuration information such as a self configuration file, a system configuration file, environment variables and the like can be acquired. And establishing a temporary container with the same configuration information as the node based on the configuration file of the temporary container, the system configuration file and the environment variable.
Step 204, migrating the first data of the node to the temporary container.
Step 206, adding the temporary access port information of the temporary container into the port access management list of the super-converged cluster.
And migrating the first data of the storage content, the execution task and the like of the node to a temporary container. In this way, the temporary container has the configuration information of the node, performs the same operation as the node, and has the same data as the node.
Each node in the super-converged cluster accesses other nodes through the node allocation information of the port access management list of the super-converged cluster. Specifically, for any node, the port access management list has the port information of the node that it can access listed therein. Therefore, after the temporary container replacement node is established, the temporary access port information of the temporary container needs to be added to the port access management list of the super-converged cluster. Specifically, the other node that originally accessed the port information of the node may be set in the port access management list, and the temporary access port information of the temporary container may be accessed, or the temporary access port information of the temporary container may be added to the accessible port information of the other node that originally accessed the port information of the node.
The temporary container has the configuration information of the node, performs the same work as the node, has the same data as the node, and has the original data interaction path between the node and other nodes.
And step 208, taking the node off line, and setting the temporary container as a temporary node.
And 210, replacing the nodes with the temporary containers to work in the super-fusion cluster.
And 212, performing service updating on the offline node according to the updating information.
After the temporary container is established, the temporary container can be used for effectively replacing the work of the node in the super-converged cluster. And updating all the nodes needing to be updated by adopting the method until all the nodes needing to be updated are updated.
And 214, migrating the second data in the temporary container to the updated node.
After the update of the node is completed, because the temporary container replaces the node to work, the original first data is changed into second data after working. If the updated node still returns to the work of the super-fusion cluster with the first data, data errors can be caused, and the working performance of the node itself and the upstream and downstream nodes is affected. Therefore, the second data of the temporary container at this time needs to be migrated to the updated node, so that the updated node has valid data synchronized with the super-converged cluster at this time.
Step 216, deleting the temporary access port information of the temporary container in the port access management list of the super-converged cluster.
Because the updated node is replaced, the temporary access port information of the temporary container is useless, the temporary access port information can be deleted in the port access management list, and the access port information of the updated node is placed or recovered at the deletion position of the temporary access port information.
Step 218, replacing the temporary container with the updated node to work in the super-converged cluster.
Step 220, judging whether the designated data of the nodes in the super-fusion cluster are consistent.
The designated data is key data for efficient work of the super-fusion cluster, if the designated data of the nodes are consistent, the data migration is successfully completed in the updating process of the nodes, the designated data of the nodes are synchronous, and the super-fusion cluster is in a normal working state.
If the specified data of the plurality of nodes are inconsistent, it is indicated that an error occurs in data migration in the updating process of the nodes, the specified data of each node is asynchronous, and the specified data as a key is asynchronous, so that an error occurs in the overall work of the hyper-fusion cluster.
Step 222, in case the specified data of the plurality of nodes are not consistent, selecting a master node among the plurality of nodes.
Step 224, synchronizing the designated data of the master node to the plurality of nodes.
And under the condition that the designated data of the nodes are inconsistent, in order to avoid the influence of subsequent data processing errors caused by the inconsistency of the designated data, selecting a main node, and setting the designated data of the main node as unified designated data of the nodes. Therefore, the designated data of each node can be automatically updated to be consistent, and the condition that errors occur in the work of the super-fusion cluster due to the fact that the designated data are inconsistent is avoided.
In one possible design, the master node is a highest weighted node of the plurality of nodes. The higher the node weight is, the higher the importance of the node in the super-fusion cluster is, the designated data of the node with the highest weight is taken as the designated data of a plurality of nodes, and the work of the super-fusion cluster can be ensured to be carried out on the basis of the data of the node with the highest importance.
In another possible design, the master node is a node of the plurality of nodes with a data source hierarchy at a lowest level. The lower the data source hierarchy of a node, the closer the node is, the earlier it processes data than other nodes. The node of the plurality of nodes at the lowest level of the data source hierarchy is the node that was the earliest to contact or generate the designated data, which may have changed during its communication to other nodes. Therefore, the plurality of nodes can be given the specified data of the node at the lowest level of the data source hierarchy as a standard.
FIG. 3 shows a block diagram of an update apparatus for a hyper-converged cluster, according to one embodiment of the invention.
As shown in fig. 3, an updating apparatus 300 for a hyper-converged cluster according to an embodiment of the present invention includes: a temporary container establishing unit 302, configured to establish a temporary container for any node in the super-converged cluster according to configuration information of the node; a node configuration unit 304, configured to take the node offline and set the temporary container as a temporary node; a first execution unit 306 for working in the super converged cluster with the temporary container in place of the node; a node updating unit 308, configured to perform service updating on the offline node according to the update information; a second execution unit 310, configured to replace the temporary container with the updated node to work in the super-converged cluster.
In the above embodiment of the present invention, optionally, the method further includes: a first data migration unit, configured to migrate the first data of the node to the temporary container before the node configuration unit 304 takes the node offline and sets the temporary container as a temporary node; and the port information adding unit is used for adding the temporary access port information of the temporary container into a port access management list of the super-convergence cluster.
In the above embodiment of the present invention, optionally, the method further includes: a second data migration unit, configured to migrate second data in the temporary container to the updated node before the second execution unit 310 replaces the temporary container with the updated node to operate in the super-converged cluster; a port information deleting unit, configured to delete the temporary access port information of the temporary container in the port access management list of the super-converged cluster.
In the above embodiment of the present invention, optionally, the method further includes: a node data determining unit, configured to determine whether designated data of a plurality of nodes in the super-converged cluster are consistent after the second executing unit 310 replaces the temporary container with the updated node to work in the super-converged cluster; a master node selecting unit configured to select a master node among the plurality of nodes when the designated data of the plurality of nodes are inconsistent; and the main node data synchronization unit is used for synchronizing the designated data of the main node to the plurality of nodes.
In the above embodiment of the present invention, optionally, the master node is a node with the highest weight among the plurality of nodes, or the master node is a node with a data source hierarchy at the bottommost layer among the plurality of nodes.
The updating apparatus 300 for the super-converged cluster uses the scheme described in any one of the embodiments shown in fig. 1 and fig. 2, and therefore, all the technical effects described above are achieved, and are not described again here.
Fig. 4 shows a block diagram of a terminal according to an embodiment of the invention.
As shown in fig. 4, a terminal 400 of one embodiment of the present invention includes at least one memory 402; and a processor 404 communicatively coupled to the at least one memory 402; wherein the memory stores instructions executable by the at least one processor 404, the instructions being configured to perform the aspects of any of the embodiments of fig. 1 and 2 described above. Therefore, the terminal 400 has the same technical effect as any one of the embodiments in fig. 1 and fig. 2, and is not described herein again.
The terminal of the embodiments of the present invention exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
In addition, an embodiment of the present invention provides a storage medium storing computer-executable instructions for executing the method flow described in any one of the embodiments of fig. 1 and fig. 2.
The technical scheme of the invention is described in detail in combination with the drawings, and through the technical scheme of the invention, the updating of the super-fusion cluster can be gradually completed without stopping the work of any node in the super-fusion cluster, so that the influence of the updating process on the working performance of the super-fusion cluster is reduced, the labor cost and the time cost required by the updating are reduced, and the user experience is also improved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. An update method for a hyper-converged cluster, comprising:
for any node in the super-fusion cluster, establishing a temporary container according to the configuration information of the node;
taking the node off line, and setting the temporary container as a temporary node;
replacing the node with the temporary container to operate in the super-converged cluster;
according to the updating information, performing service updating on the offline node;
replacing the temporary container with the updated node to operate in the super converged cluster.
2. The method of claim 1, further comprising, prior to the step of taking the node offline and setting the temporary container as a temporary node:
migrating the first data of the node to the temporary container;
and adding the temporary access port information of the temporary container into a port access management list of the super-converged cluster.
3. The method according to claim 2, further comprising, prior to the step of replacing the temporary container with the updated node to operate in the super converged cluster:
migrating second data in the temporary container to the updated node;
deleting the temporary access port information of the temporary container in the port access management list of the super-converged cluster.
4. The method according to any one of claims 1 to 3, further comprising, after the step of operating in the super converged cluster with the updated node replacing the temporary container:
judging whether the designated data of a plurality of nodes in the super-fusion cluster are consistent;
selecting a master node among the plurality of nodes if the specified data of the plurality of nodes is inconsistent;
synchronizing the designated data of the master node to the plurality of nodes.
5. The method of claim 4,
the master node is a highest weighted node of the plurality of nodes, or,
the master node is a node of the plurality of nodes, wherein the data source hierarchy is at the bottommost layer.
6. An update apparatus for a hyper-converged cluster, comprising:
the temporary container establishing unit is used for establishing a temporary container for any node in the super-fusion cluster according to the configuration information of the node;
the node configuration unit is used for taking the node off line and setting the temporary container as a temporary node;
a first execution unit to operate in the super converged cluster with the temporary container in place of the node;
the node updating unit is used for updating the service of the offline node according to the updating information;
a second execution unit, configured to replace the temporary container with the updated node to work in the super-converged cluster.
7. The apparatus of claim 6, further comprising:
a first data migration unit, configured to migrate first data of the node to the temporary container before the node configuration unit takes the node offline and sets the temporary container as a temporary node;
and the port information adding unit is used for adding the temporary access port information of the temporary container into a port access management list of the super-convergence cluster.
8. The apparatus of claim 7, further comprising:
a second data migration unit, configured to migrate second data in the temporary container to the updated node before the second execution unit replaces the temporary container with the updated node to work in the super-converged cluster;
a port information deleting unit, configured to delete the temporary access port information of the temporary container in the port access management list of the super-converged cluster.
9. A terminal, comprising: at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the preceding claims 1 to 5.
10. A storage medium having stored thereon computer-executable instructions for performing the method flow of any of claims 1-5.
CN202010649801.6A 2020-07-08 2020-07-08 Updating method and device for super-converged cluster, terminal and storage medium Active CN111538520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010649801.6A CN111538520B (en) 2020-07-08 2020-07-08 Updating method and device for super-converged cluster, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010649801.6A CN111538520B (en) 2020-07-08 2020-07-08 Updating method and device for super-converged cluster, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111538520A true CN111538520A (en) 2020-08-14
CN111538520B CN111538520B (en) 2020-12-11

Family

ID=71976475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010649801.6A Active CN111538520B (en) 2020-07-08 2020-07-08 Updating method and device for super-converged cluster, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111538520B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327533A (en) * 2021-11-19 2022-04-12 北京志凌海纳科技有限公司 Method, device and equipment for upgrading uninterrupted service and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892952A (en) * 2016-04-22 2016-08-24 深圳市深信服电子科技有限公司 Hyper-converged system and longitudinal extension method thereof
CN106550014A (en) * 2016-10-09 2017-03-29 华为数字技术(成都)有限公司 Node upgrade method and device in server cluster
US20200133657A1 (en) * 2018-10-31 2020-04-30 EMC IP Holding Company LLC Method, electronic device and computer readable storage medium of storage management
CN111176804A (en) * 2018-11-13 2020-05-19 国际商业机器公司 Automatic infrastructure update in a clustered environment including containers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892952A (en) * 2016-04-22 2016-08-24 深圳市深信服电子科技有限公司 Hyper-converged system and longitudinal extension method thereof
CN106550014A (en) * 2016-10-09 2017-03-29 华为数字技术(成都)有限公司 Node upgrade method and device in server cluster
US20200133657A1 (en) * 2018-10-31 2020-04-30 EMC IP Holding Company LLC Method, electronic device and computer readable storage medium of storage management
CN111176804A (en) * 2018-11-13 2020-05-19 国际商业机器公司 Automatic infrastructure update in a clustered environment including containers

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327533A (en) * 2021-11-19 2022-04-12 北京志凌海纳科技有限公司 Method, device and equipment for upgrading uninterrupted service and storage medium

Also Published As

Publication number Publication date
CN111538520B (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN109558215B (en) Backup method, recovery method and device of virtual machine and backup server cluster
CN102594849B (en) Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
CN107045422B (en) Distributed storage method and device
US20150213100A1 (en) Data synchronization method and system
CN102938784A (en) Method and system used for data storage and used in distributed storage system
CN111190962B (en) File synchronization method and device and local terminal
CN107797770B (en) Method and device for synchronizing disk state information
CN109150642B (en) Application memory error detection method, detection device and storage medium
CN112612853A (en) Data processing method and device based on database cluster and electronic equipment
US20170193070A1 (en) System and method for a distributed replication lock for active-active geo-redundant systems
CN110520844A (en) Cloud management platform, virtual machine management method and its system
KR101175505B1 (en) System for providing user data storage enviroment using network based file system in n-screen
CN111538520B (en) Updating method and device for super-converged cluster, terminal and storage medium
CN102880478A (en) Software updating method
CN108205559B (en) Data management method and equipment thereof
CN107623705B (en) Storage mode upgrading method, device and system based on video cloud storage system
CN112000850A (en) Method, device, system and equipment for data processing
CN115004662A (en) Data synchronization method, data synchronization device, data storage system and computer readable medium
CN110058963B (en) Method, apparatus and computer program product for managing a storage system
CN115827778A (en) Data acquisition method and device, electronic equipment and storage medium
CN113641640B (en) Data processing method, device, equipment and medium for stream type computing system
CN106681866B (en) A kind of method, apparatus and system for guaranteeing to apply consistency
CN113132241B (en) ACL template dynamic configuration method and device
CN106557263B (en) For checking pseudo- shared method and apparatus in data block is deleted
CN114328458A (en) Data migration method and device and computer 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