CN115941686A - Method and system for realizing high-availability service of cloud native application - Google Patents

Method and system for realizing high-availability service of cloud native application Download PDF

Info

Publication number
CN115941686A
CN115941686A CN202211423450.2A CN202211423450A CN115941686A CN 115941686 A CN115941686 A CN 115941686A CN 202211423450 A CN202211423450 A CN 202211423450A CN 115941686 A CN115941686 A CN 115941686A
Authority
CN
China
Prior art keywords
application
strategy
service
creating
availability
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211423450.2A
Other languages
Chinese (zh)
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud 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 Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202211423450.2A priority Critical patent/CN115941686A/en
Publication of CN115941686A publication Critical patent/CN115941686A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to the technical field of cloud native application, in particular to a method for realizing high available service of cloud native application, which comprises the following steps: carrying out sub-cluster nano management, query and deletion based on Clusternet; creating, updating and deleting application high-availability service instances, creating and executing application distribution strategies, creating and executing application data synchronization strategies, and creating and executing application master-slave switching strategies; the beneficial effects are that: the method and the system for realizing the cloud native application high-availability service realize a product applying the high-availability service, support the full-life-cycle management of the high-availability service, including creation, update, query, deletion and the like, support the configuration and execution of an application distribution strategy, support the configuration and execution of an application data synchronization strategy, support the configuration and execution of an application main-standby switching strategy and support a high-availability model.

Description

Method and system for realizing high-availability service of cloud native application
Technical Field
The invention relates to the technical field of cloud native application, in particular to a method and a system for realizing high available service of cloud native application.
Background
With the development of cloud computing services, a container-based cloud native technology is widely applied as a mainstream cloud computing technology, cloud native platforms are successively released by various cloud manufacturers to operate cloud native applications, cloud solutions and services for traditional applications are provided, the traditional application manufacturers start the cloud at a time, add cloud native ecocircles, and the high availability of the applications is improved by using the capacity of the cloud native platforms.
In the prior art, high availability of traditional applications is generally supported by solutions such as active/standby disaster recovery and application dual-active. In the field of cloud native, how to support a primary and standby disaster recovery and application dual-active scene of an application, and whether to simply and rapidly support the data center disaster recovery and application dual-active scene based on a cloud native platform are technical problems which need to be solved urgently.
However, each cloud manufacturer has its own solution, but the user has too much information configured based on these solutions, the use is too complicated, the technical requirements on the user are high, the operation and maintenance of the user are difficult, and the user urgently needs a service capable of performing interface operation and quickly and conveniently supports a highly available scene of the application.
Disclosure of Invention
The present invention provides a method and a system for implementing a highly available service of a cloud-native application, so as to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a method of implementing a cloud-native application high availability service, the method comprising the steps of:
carrying out sub-cluster nano management, query and deletion based on Clusternet;
and creating, updating and deleting the application high-availability service instance, creating and executing the application distribution strategy, creating and executing the application data synchronization strategy, and creating and executing the application master-slave switching strategy.
Preferably, after creating the application distribution, data synchronization and master-slave switching strategy, automatically generating corresponding strategy execution content, wherein the strategy execution content is mapped into a localization resource of clusternet; calling API of the clusternet to establish and update, and distributing and executing the distribution, synchronization and active-standby switching strategies of the application based on the clusternet.
Preferably, the administrator manages the cluster by using the platform management interface, supports the function of hosting the member cluster, creates a project by using the project management interface by using the project member, and creates an application by using the application management interface by using the project member, wherein the application comprises application access layer configuration, stateless workload of the application, database service and data synchronization.
Preferably, the application high-availability service instance comprises an application workload and an application workload configuration;
application workload: storing workload information for an application instance;
application workload configuration: modification fields of resources of an access layer, an application layer, a service layer and a data layer are mainly configured and preset when high-availability service is initialized.
Preferably, the application instance is used as a high-availability service instance to support application distribution strategy, application data synchronization strategy and application active-standby switching strategy.
A system for realizing high-availability service of cloud native application is composed of a management module and a service module;
the management module is used for carrying out management, query and deletion on the sub-clusters based on the Clusternet;
and the service module is used for creating, updating and deleting the application high-availability service instance, creating and executing the application distribution strategy, creating and executing the application data synchronization strategy and creating and executing the application master-slave switching strategy.
Preferably, after the application distribution, data synchronization and active/standby switching policies are created in the management module, corresponding policy execution contents are automatically generated, and the policy execution contents are mapped to a localization resource of the clusternet; calling the API of clusternet.
Preferably, in the management module, an administrator manages the cluster by using a platform management interface, and supports the function of hosting the member cluster, the project member creates a project by using a project management interface, and the project member creates an application by using an application management interface, including application access layer configuration, stateless workload of the application, database service, and data synchronization.
Preferably, in the service module, the application high-availability service instance includes an application workload and an application workload configuration;
application workload: storing workload information for an application instance;
application workload configuration: modification fields of resources of an access layer, an application layer, a service layer and a data layer are mainly configured and preset when high-availability service is initialized.
Preferably, in the service module, the application instance serving as the high-availability service instance supports application of a distribution policy, an application of a data synchronization policy, and an application of a master-slave switching policy.
Compared with the prior art, the invention has the beneficial effects that:
the method and the system for realizing the cloud native application high-availability service realize a product applying the high-availability service, support the full-life-cycle management of the high-availability service, including creation, update, query, deletion and the like, support the configuration and the execution of an application distribution strategy, support the configuration and the execution of an application data synchronization strategy, support the configuration and the execution of an application main-standby switching strategy, support a high-availability model, including a high-availability service instance, an application working load, a distribution strategy, a synchronization strategy, a main-standby switching strategy, a strategy execution task, an application instance and the like, support the unified nano-management of multiple clusters, support the configuration and the execution of the working loads of an access layer, an application layer, a service layer and a data layer of the application, support a high-availability scene of double activity and main-standby disaster tolerance of a multiple data center, support a unified operation interface, reduce the operation and maintenance difficulty of the application, reduce the loss rate of application data, improve the usability of user management of the high-availability application, and improve the efficiency of quick recovery of application faults.
Drawings
FIG. 1 is a schematic diagram of a usage scenario of a high availability service according to the present invention;
FIG. 2 is a functional block diagram of the present invention;
FIG. 3 is a block diagram of an example of a service instance for high availability in accordance with the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clear and fully described, embodiments of the present invention are further described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are illustrative of some, but not all, embodiments of the invention and are not to be construed as limiting the scope of the invention, as those skilled in the art will recognize and appreciate that many other embodiments can be made without inventive faculty.
Example one
Referring to fig. 1 to 3, the present invention provides a technical solution: a method of implementing a highly available service for cloud-native applications, the method comprising the steps of:
carrying out the admission, query and deletion of the sub-clusters based on the Clusternet;
and creating, updating and deleting the application high-availability service instance, creating and executing the application distribution strategy, creating and executing the application data synchronization strategy, and creating and executing the application master-slave switching strategy.
The method supports full life cycle management of high-availability services, including creation, update, query, deletion and the like, supports configuration and execution of application distribution strategies, supports configuration and execution of application data synchronization strategies, supports configuration and execution of application main-standby switching strategies, supports high-availability models, including high-availability service instances, application workload, distribution strategies, synchronization strategies, main-standby switching strategies, strategy execution tasks, application instances and the like, supports unified admission management of multiple clusters, supports configuration and execution of workloads of an access layer, an application layer, a service layer and a data layer of an application, supports high-availability scenes of double-activity and main-standby disaster tolerance of multiple data center applications, and supports unified operation interfaces.
The administrator manages the cluster by using the platform management interface and supports the function of managing the member cluster. Project members create projects using the project management interface, and project members create applications using the application management interface, including application access layer configuration, stateless workload of applications, database services, data synchronization, and the like. The project members manage the application high-availability service based on the application high-availability service interface, and the management method comprises the functions of increasing, deleting, modifying and checking application high-availability service instances and the like, the management functions of supporting application distribution strategies, data synchronization strategies and main and standby disaster tolerance strategies, and the strategies of executing application distribution, application data synchronization and application main and standby switching based on the high-availability service instances.
The cloud native platform supports two menus of cluster management and application of high-availability service management.
The cluster management mainly supports functions of managing, inquiring, deleting and the like of the sub-clusters based on the Clusternet.
And the management of the application high-availability service supports the functions of creating, updating and deleting the application high-availability service instance, creating and executing an application distribution strategy, creating and executing an application data synchronization strategy, creating and executing an application master-slave switching strategy and the like.
After application distribution, data synchronization and active-standby switching strategies are created, corresponding strategy execution contents are automatically generated, the strategy execution contents are mapped to localization resources of the clusternet, API creation and updating of the clusternet are called, and the strategies of distribution, synchronization and active-standby switching of the application are distributed and executed based on the clusternet.
Apply highly available service instance object: the method aims at one application instance to serve as a high-availability service instance, and supports application distribution strategy, application data synchronization strategy and application master-slave switching strategy.
Application workload: workload information for an application instance is stored.
Application workload configuration: the method mainly configures modification fields of resources of an access layer, an application layer, a service layer and a data layer, and presets the modification fields when high-availability services are initialized.
And (3) distribution strategy: distribution policy information for an application high availability service instance is stored, mainly defining how the application workload is distributed to the backup center.
And (3) synchronization strategy: and applying a synchronization strategy of a high-availability service instance, and automatically generating the synchronization strategy after the distribution strategy is successfully executed, wherein the synchronization strategy mainly defines how an application data layer synchronizes data from the main center to the standby center.
Main-standby switching strategy: the main-standby switching strategy of the high-availability service instance is applied, and mainly defines the modification strategy of the working load of the main center application and the standby center application during the main-standby switching.
And (3) performing a task by the strategy: and applying the policy task executed by the high-availability service instance, and recording the execution content, the execution time and the execution result of the task.
Application example: and recording the working load information of the application in the main and standby centers.
Example two
A system for realizing high-availability service of cloud native application is composed of a management module and a service module;
the management module is used for carrying out management, query and deletion on the sub-clusters based on the Clusternet; after application distribution, data synchronization and main-standby switching strategies are created, corresponding strategy execution contents are automatically generated, and the strategy execution contents are mapped into localization resources of the clusternet; calling API of clusternet to establish and update, and distributing and executing distribution, synchronization and active-standby switching strategies of application based on clusternet; an administrator manages the clusters by using the platform management interface and supports the function of managing member clusters, project members use the project management interface to create projects, and the project members use the application management interface to create applications, including application access layer configuration, stateless workload of the applications, database services and data synchronization;
the service module is used for creating, updating and deleting application high-availability service instances, creating and executing application distribution strategies, creating and executing application data synchronization strategies and creating and executing application master-slave switching strategies; the application high available service instances comprise application workloads and application workload configurations; application workload: storing workload information for an application instance; application workload configuration: modifying fields of resources of an access layer, an application layer, a service layer and a data layer are mainly configured and preset when high-availability service is initialized; the application instance is used as a high-availability service instance to support application distribution strategy, application data synchronization strategy and application main-standby switching strategy.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. A method for realizing high available service of cloud native application is characterized in that: the method comprises the following steps:
carrying out the admission, query and deletion of the sub-clusters based on the Clusternet;
and creating, updating and deleting the application high-availability service instance, creating and executing an application distribution strategy, creating and executing an application data synchronization strategy, and creating and executing an application master-slave switching strategy.
2. The method for realizing the highly available service of the cloud native application according to claim 1, wherein: after application distribution, data synchronization and master-slave switching strategies are established, corresponding strategy execution contents are automatically generated, and the strategy execution contents are mapped into localization resources of the clusternet; calling API of clusternet to create and update, and distributing and executing distribution, synchronization and active-standby switching strategies of application based on clusternet.
3. The method for realizing the highly available service of the cloud native application according to claim 2, characterized in that: the administrator manages the cluster by using the platform management interface and supports the function of managing the member cluster, the project member uses the project management interface to create a project, and the project member uses the application management interface to create an application, including application access layer configuration, stateless workload of the application, database service and data synchronization.
4. The method for realizing the highly available service of the cloud native application according to claim 1, wherein: the application high available service instances comprise application workloads and application workload configurations;
application workload: storing workload information for an application instance;
application workload configuration: modification fields of resources of an access layer, an application layer, a service layer and a data layer are mainly configured and preset when high-availability service is initialized.
5. The method for realizing the highly available service of the cloud native application according to claim 1, wherein: the application instance is used as a high-availability service instance to support application distribution strategy, application data synchronization strategy and application master-slave switching strategy.
6. A system for realizing high availability service of cloud-native application according to any one of the above claims 1-5, characterized by: the system consists of a management module and a service module;
the management module is used for carrying out management, query and deletion on the sub-clusters based on the Clusternet;
and the service module is used for creating, updating and deleting the application high-availability service instance, creating and executing the application distribution strategy, creating and executing the application data synchronization strategy and creating and executing the application master-slave switching strategy.
7. The system for realizing the highly available service of the cloud native application according to claim 6, characterized in that: after creating an application distribution strategy, a data synchronization strategy and a main-standby switching strategy, the management module automatically generates corresponding strategy execution contents which are mapped into localization resources of clusternet; calling API of clusternet to create and update, and distributing and executing distribution, synchronization and active-standby switching strategies of application based on clusternet.
8. The system for realizing the highly available service of the cloud native application according to claim 6, wherein: in the management module, an administrator manages the clusters by using a platform management interface and supports the function of managing member clusters, project members use a project management interface to create projects, and project members use an application management interface to create applications, including application access layer configuration, stateless workloads of the applications, database services and data synchronization.
9. The system for realizing the highly available service of the cloud native application according to claim 6, wherein: in the service module, the application high-availability service instance comprises application workload and application workload configuration;
application workload: storing workload information for an application instance;
application workload configuration: the method mainly configures modification fields of resources of an access layer, an application layer, a service layer and a data layer, and presets the modification fields when high-availability services are initialized.
10. The system for realizing the highly available service of the cloud native application according to claim 6, wherein: in the service module, the application instance is used as a high-availability service instance to support application distribution strategy, application data synchronization strategy and application master-slave switching strategy.
CN202211423450.2A 2022-11-15 2022-11-15 Method and system for realizing high-availability service of cloud native application Pending CN115941686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211423450.2A CN115941686A (en) 2022-11-15 2022-11-15 Method and system for realizing high-availability service of cloud native application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211423450.2A CN115941686A (en) 2022-11-15 2022-11-15 Method and system for realizing high-availability service of cloud native application

Publications (1)

Publication Number Publication Date
CN115941686A true CN115941686A (en) 2023-04-07

Family

ID=86554806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211423450.2A Pending CN115941686A (en) 2022-11-15 2022-11-15 Method and system for realizing high-availability service of cloud native application

Country Status (1)

Country Link
CN (1) CN115941686A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152414A (en) * 2013-03-01 2013-06-12 四川省电力公司信息通信公司 High available system based on cloud calculation and implementation method thereof
US20140075021A1 (en) * 2012-09-07 2014-03-13 Oracle International Corporation System and method for providing a cloud computing environment
CN109933312A (en) * 2019-03-25 2019-06-25 南京邮电大学 A method of containerization relevant database I/O consumption is effectively reduced
CN110704164A (en) * 2019-09-30 2020-01-17 珠海市新德汇信息技术有限公司 Cloud native application platform construction method based on Kubernetes technology
CN113067850A (en) * 2021-02-20 2021-07-02 麒麟软件有限公司 Cluster arrangement system under multi-cloud scene
CN113986509A (en) * 2021-11-02 2022-01-28 中国建设银行股份有限公司 Resource object management method and device, electronic equipment and computer storage medium
CN114090169A (en) * 2021-11-05 2022-02-25 贵州轻工职业技术学院 Cloud computing platform based on container technology
CN114116912A (en) * 2022-01-25 2022-03-01 北京浩瀚深度信息技术股份有限公司 Method for realizing high availability of database based on Keepalived
CN114237810A (en) * 2021-11-05 2022-03-25 贵州轻工职业技术学院 Cloud computing platform based on BIM integrated delivery mode
CN114253661A (en) * 2021-11-05 2022-03-29 贵州轻工职业技术学院 Product structure based on container cloud computing platform
CN115291891A (en) * 2022-07-19 2022-11-04 天翼云科技有限公司 Cluster management method and device and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140075021A1 (en) * 2012-09-07 2014-03-13 Oracle International Corporation System and method for providing a cloud computing environment
CN103152414A (en) * 2013-03-01 2013-06-12 四川省电力公司信息通信公司 High available system based on cloud calculation and implementation method thereof
CN109933312A (en) * 2019-03-25 2019-06-25 南京邮电大学 A method of containerization relevant database I/O consumption is effectively reduced
CN110704164A (en) * 2019-09-30 2020-01-17 珠海市新德汇信息技术有限公司 Cloud native application platform construction method based on Kubernetes technology
CN113067850A (en) * 2021-02-20 2021-07-02 麒麟软件有限公司 Cluster arrangement system under multi-cloud scene
CN113986509A (en) * 2021-11-02 2022-01-28 中国建设银行股份有限公司 Resource object management method and device, electronic equipment and computer storage medium
CN114090169A (en) * 2021-11-05 2022-02-25 贵州轻工职业技术学院 Cloud computing platform based on container technology
CN114237810A (en) * 2021-11-05 2022-03-25 贵州轻工职业技术学院 Cloud computing platform based on BIM integrated delivery mode
CN114253661A (en) * 2021-11-05 2022-03-29 贵州轻工职业技术学院 Product structure based on container cloud computing platform
CN114116912A (en) * 2022-01-25 2022-03-01 北京浩瀚深度信息技术股份有限公司 Method for realizing high availability of database based on Keepalived
CN115291891A (en) * 2022-07-19 2022-11-04 天翼云科技有限公司 Cluster management method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11360854B2 (en) Storage cluster configuration change method, storage cluster, and computer system
US20210084103A1 (en) Live Migration Of Clusters In Containerized Environments
CN108667904B (en) Docker container remote memory volume management method and system
WO2012113336A1 (en) System for managing resources in virtualized environment and implementation method therefor
CN102341763A (en) Power management in a virtual machine farm at the local virtual machine platform level by a platform hypervisor extended with farm management server functions
CN103793278A (en) Automatic resource adjusting method on basis of operation and maintenance rules of virtual device
CN111858027B (en) Cooperative processing method and system for software robot
US20210191780A1 (en) Method and apparatus for processing development machine operation task, device and storage medium
CN103581332A (en) HDFS framework and pressure decomposition method for NameNodes in HDFS framework
CN104580532A (en) Cross-platform application system
CN110083306A (en) A kind of distributed objects storage system and storage method
CN101727496A (en) Method for realizing load balancing cluster of MICROSOFT SQL SERVER database
CN112732491A (en) Data processing system and service data processing method based on data processing system
CN116192961A (en) Efficient adaptation method for multi-center heterogeneous multi-cloud environment
CN114143175A (en) Method and system for realizing main and standby clusters
CN113835834A (en) K8S container cluster-based computing node capacity expansion method and system
CN111818188B (en) Load balancing availability improving method and device for Kubernetes cluster
CN115941686A (en) Method and system for realizing high-availability service of cloud native application
CN115037757B (en) Multi-cluster service management system
CN113742073B (en) LSB interface-based cluster control method
CN114579364A (en) Cloud native database backup method based on hybrid cloud
CN114579298A (en) Resource management method, resource manager, and computer-readable storage medium
CN112350837B (en) Cloud platform-based power application cluster management method and device
CN110069343B (en) Power equipment distributed storage and calculation architecture for complex high concurrency calculation
TW202223646A (en) System and method for performing workloads using composed systems

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