Lightweight micro-cloud system based on domestic VPX server

By using a combination of 3+N deployment mode and related service components on domestic VPX servers, the reliability and resource management problems of traditional information systems are solved, a lightweight and highly available micro-cloud system is realized, and the efficiency of the information system is improved. and stability.

CN115328651BActive Publication Date: 2024-08-30YANGZHOU WANFANG ELECTRONICS TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210967225.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-12
Publication Date
2024-08-30
Estimated Expiration
2042-08-12

AI Technical Summary

Technical Problem

Traditional information systems based on domestic VPX servers have problems such as low reliability, imperfect high-availability mechanisms, low resource utilization, complex resource management, unbalanced loads, and weak iterative upgrade capabilities. They cannot give full play to computing performance and cannot satisfy diversification. Task and collaborative development needs.

Method used

Adopt the 3+N deployment model to set up management nodes and computing nodes. The management nodes run service components such as interface servers, controllers, schedulers, and metadata databases. The computing nodes run service components such as computing agents and network agents. Through resource preemption, master-slave The election mechanism, load balancing, reverse proxy and other technologies realize unified resource management and service scheduling, forming a lightweight and highly available micro-cloud system.

Benefits of technology

It achieves efficient, stable and reliable operation of domestic information systems, supports highly available data storage and access mechanisms, ensures high reliability of business data and transparency of service access, and improves resource utilization and iteration capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115328651B
    Figure CN115328651B
Patent Text Reader

Abstract

A lightweight micro-cloud system based on a domestic VPX server. It relates to the field of domestic information systems. The VPX server includes a domestic CPU and a domestic operating system. At least four computing modules are provided in the VPX server. The computing modules adopt a 3+N deployment mode, wherein the three computing modules are set up as management nodes and form a cluster deployment mode, and the other N computing modules are set up as computing nodes. The service components running on the management node include: an interface server, a controller, a scheduler, a computing agent, a network agent and a metadata library. The service components running on the computing node include: a computing agent, a network agent and a reverse agent. The present invention reduces the load of the management node through the reverse proxy technology, especially when there are many computing nodes, with high reliability and stability, which further highlights the advantages of the technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of domestic information systems, and in particular to a lightweight micro-cloud system based on a domestic VPX server. Background Art

[0002] With the development of information technology and the complexity of the application environment, traditional domestic information systems built on domestic VPX servers have become increasingly large, with serious tight coupling between software and hardware, service modules, and front-end and back-end, and a prominent chimney effect. As a result, domestic information systems have problems such as low reliability, imperfect high availability mechanisms, low resource utilization, complex resource management, unbalanced load, and weak iterative upgrade capabilities. The computing performance of domestic VPX servers cannot be fully utilized, and the development needs of domestic information systems to adapt to diversified tasks and collaborative collaboration cannot be met. Summary of the invention

[0003] In response to the above technical problems, the present invention provides a lightweight micro-cloud system based on domestic VPX servers that can manage resources, reasonably schedule services, and achieve lightweight and highly available system operation, thereby supporting the efficient, stable and reliable operation of domestic information systems.

[0004] The technical solution of the present invention is: the VPX server includes a domestic CPU and adopts a domestic operating system. At least four computing modules are arranged in the VPX server. The computing modules adopt a 3+N deployment mode, wherein the 3 computing modules are set up as management nodes and form a cluster deployment mode, and the other N computing modules are set up as computing nodes.

[0005] The service components run by the management node include: interface server, controller, scheduler, computing agent, network agent and metadata library.

[0006] The service components run by the computing node include: computing agent, network agent and reverse agent;

[0007] A container engine and a network plug-in are also run on the management node and the computing node. In addition, the management node also includes: a computing agent, a network agent and a reverse agent;

[0008] The controllers and schedulers in the three management nodes all adopt a resource preemption mechanism to implement a cluster deployment mode; the metadata databases in the three management nodes adopt a master-slave election mechanism to implement a cluster deployment mode;

[0009] The reverse proxy is connected to the respective interface servers in the three management nodes based on a load balancing mechanism to achieve request distribution.

[0010] Furthermore, the metadata library running on the management node adopts a "1 master and 2 slaves" cluster deployment mode, and runs on three management nodes in Systemd mode, replacing the static container group startup mode, thereby improving data access efficiency and metadata reliability; the container engine, network plug-in, collector and service discovery components run on both the management node and the computing node in the form of "deployment" or "daemon set", providing support for network, status monitoring and service registration discovery for micro-applications in the micro-cloud environment.

[0011] Furthermore, the controller, scheduler, computing agent and network agent running on the management node use the local IP address to configure the access entry of the interface server to improve the access efficiency between services. The interface server uses the cluster address to set the access entry of the metadata database cluster to ensure the reliability of micro-cloud metadata access. The internal cluster IP is exposed to replace the traditional master-slave switching component to provide a unified micro-cloud management access entry.

[0012] Furthermore, the reverse proxy is deployed on each of the computing nodes in a static container group by a front-end deployment method. The reverse proxy is configured with three interface server access addresses. The computing proxy requests running on the computing nodes are distributed to the interface servers running on each of the management nodes according to the load strategy through the reverse proxy, and the interface servers process the requests in parallel, thereby improving the overall load level of the micro cloud environment.

[0013] Furthermore, it also includes a data storage access module, which includes a data cache service, a monitor and a load balancer.

[0014] The data cache service and the monitor run on the management node and / or computing node; the monitor runs in a 1-master-2-slave mode, the data cache service corresponds to the monitor one-to-one, the monitor periodically monitors the running status of the data cache service, and data synchronization is achieved between the master and slave data cache services based on a snapshot mechanism;

[0015] The load balancer runs on the micro-cloud environment and provides a data cache service access portal in the form of LB service access.

[0016] Furthermore, the monitor discovers through configuration and periodically checks the online status of the computing module where the data cache service is located and other monitors based on the heartbeat detection mechanism, selects the main monitor based on the election algorithm, and the computing module where the main monitor is located is marked as the master node. The data cache service on the master node is upgraded to the master data cache service, and the remaining computing modules, data cache services, and monitors are marked as "slaves", forming a "1 master, 2 slaves, and 3 monitors" deployment mode.

[0017] Furthermore, based on the synchronization rules, the master data cache service will generate a data snapshot on the master node and send it to the slave data cache service. Based on the snapshot data, the commands corresponding to the subsequent incremental data changes will be synchronized to the slave data cache service, thereby maintaining data consistency in the master and slave data cache services and achieving data redundancy and reliability.

[0018] Furthermore, a load balancer is used to configure the external entry addresses of the master-slave data cache services, shielding the complexity of entry address management, and automatically identifying the master data cache service address in a round-robin manner to provide it to the client connection, thereby maintaining the transparency of the master and slave data cache service switching to the client access.

[0019] Furthermore, the "deployment" type adopted by the load balancer is: deployed on the micro cloud environment with 3 copies, and configured with a mutual exclusion strategy, so that the three load balancers are run as dispersedly as possible on the three computing nodes of the micro cloud environment, always in the expected operating state, to ensure its high reliability.

[0020] Furthermore, a soft LB service access method is used to provide a fixed and unique IP address for the load balancer, and micro applications or external clients use efficient and reliable data storage services by accessing the IP.

[0021] The present invention builds a lightweight, distributed micro-cloud environment based on domestic VPX servers, provides management, scheduling, high availability and other service capabilities for micro-applications, and supports the "cloud + terminal" application model of domestic information systems. In addition, based on the micro-cloud environment, it provides efficient and highly available data storage and access mechanisms to ensure data consistency and transparency of service access, ensure high reliability of business data, and ensure stable, reliable and efficient operation of domestic information systems.

[0022] The system of the present invention adapts and optimizes the domestic hardware platform, and has the following significant effects:

[0023] First, the domestic VPX computing module is built into a micro-cloud environment to achieve unified resource management;

[0024] Second, the high availability of services, the deployment and design of at least three management nodes, ensures that the micro-cloud environment is available when any computing module fails. When a computing module or service fails, the service can be automatically "migrated" to other boards to run, thereby achieving fault detection, migration and recovery;

[0025] Third, data high availability is achieved by adopting a deployment model that combines physical and cloud computing. Three "monitors (services)" monitor and detect the status of all data cache services. If any data cache service fails, or the board where the data cache service is located fails, the master election mechanism is used to achieve fault migration and recovery.

[0026] Fourth, the performance of data storage and access is improved. Through the cloud LB service, a VIP (virtual IP) entrance is provided. Specifically, the three entrances are managed by the load balancing service to form a unified entrance to provide data to the client and achieve "load balancing".

[0027] In addition, the 3+N type and reverse proxy architecture design of the present invention adopts a 1-master-2-slave redundant architecture design through a distributed algorithm. When any management node (board) has a problem, a master election operation is performed to ensure that the management node is still available. The reverse proxy technology reduces the load on the management node, especially when there are many computing nodes, with high reliability and stability, which further highlights the advantages of this technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a schematic diagram of the structure of the VPX server made in China of the present invention;

[0029] Figure 2 It is a schematic diagram of the micro-cloud environment deployment in the present invention;

[0030] Figure 3 It is a schematic diagram of the data storage access module in the present invention;

[0031] Figure 4 It is a schematic diagram showing an abnormality of a main monitor in a data storage access module of the present invention;

[0032] Figure 5 It is a schematic diagram of the monitor in the data storage access module of the present invention being put back online. DETAILED DESCRIPTION

[0033] The present invention Figure 1-5 As shown in the figure: the VPX server includes a domestic CPU and a domestic operating system. There are at least four computing modules in the VPX server. The computing modules adopt a 3+N deployment mode, in which three computing modules are set up as management nodes and form a cluster deployment mode, and the other N computing modules are set up as computing nodes. Figure 1 Taking the VPX server as an example, it contains 8 computing modules. The module configuration is CPU: 2-way Loongson 3A4000 processor (Feitian, Shenwei and other domestic chips), main frequency 1.5GHz, memory: 32G, hard disk: 1TB, and the operating system installed on the computing module is the Kylin server operating system (or Galaxy Kylin).

[0034] The service components run by the management node include: interface server, controller, scheduler, computing agent, network agent and metadata library.

[0035] The service components run by the computing nodes include: computing agent, network agent and reverse agent;

[0036] The container engine and network plug-in run together on the management node and the computing node. In addition, the management node also includes: computing agent, network agent and reverse agent.

[0037] The controllers and schedulers in the three management nodes all use the resource preemption mechanism to implement the cluster deployment mode; the metadata databases in the three management nodes use the master-slave election mechanism to implement the cluster deployment mode;

[0038] The reverse proxy connects to the interface servers of the three management nodes based on the load balancing mechanism to distribute the requests.

[0039] exist Figure 2 The SMIC cloud environment is built on a domestic VPX server with a total of 8 computing modules, using a "3+N" deployment model. Three computing modules are used as management nodes to form a cluster deployment model, and five computing modules are used as computing nodes. The management node mainly runs service components such as interface servers, controllers, schedulers, computing agents, network agents, and metadata libraries. The computing nodes mainly run service components such as computing agents, network agents, and reverse agents. Some service components such as container engines and network plug-ins run simultaneously on management nodes and computing nodes as basic components, which does not affect the SMIC cloud environment deployment model.

[0040] The interface server provides RESTful interfaces such as adding, deleting, modifying, checking and watching various resource objects in the micro-cloud environment, becoming the central hub for data interaction and communication between various functional modules in the micro-cloud environment, and serving as the data bus and data center for the entire micro-cloud.

[0041] As the management and control center of the micro-cloud environment, the controller is responsible for the management of computing nodes, container replicas, service endpoints, namespaces, service accounts, and resource quotas within the micro-cloud environment. When a computing node is scheduled to shut down or unexpectedly goes down, the controller can detect the fault in time and execute an automated repair process to ensure that the micro-cloud environment is always in the expected working state.

[0042] The scheduler is responsible for scheduling containers in the micro-cloud environment. It executes a series of pre-selection and optimization algorithms according to the scheduling strategy and finally assigns an optimal target node to each container.

[0043] The metadata database is mainly used to store basic information of the micro-cloud environment, including metadata, networks, resource objects, operating status, etc.

[0044] The computing agent is used to receive and process tasks sent to the local node by the management node, and manage the micro-applications running on the local node.

[0045] When the network proxy detects changes in services or endpoints, it generates corresponding forwarding rules on the local machine to map service objects to backend containers.

[0046] The reverse proxy provides load balancing function, distributing computing proxy requests to different interface servers for parallel processing.

[0047] Furthermore, the metadata library running on the management node adopts a "1 master and 2 slaves" cluster deployment mode, and runs on three management nodes in Systemd mode, replacing the static container group startup mode, thereby improving data access efficiency and metadata reliability; the container engine, network plug-in, collector and service discovery components run on both the management node and the computing node in the form of "deployment" or "daemon set", providing support for network, status monitoring and service registration discovery for micro-applications in the micro-cloud environment.

[0048] In a micro-cloud environment, if the computing module where the main management node is located fails, the slave management node will be upgraded to the main management node through the election mechanism and the half-majority principle. The slave management node that obtains more than half of the votes will take over the management functions of the micro-cloud environment, assume the management and scheduling responsibilities of the micro-cloud environment, and ensure the stable operation of the micro-cloud environment. The specific methods for building a micro-cloud environment are as follows:

[0049] The controller and scheduler running on the management node are run in a static container group mode, creating three running instances, which are run on three management nodes respectively, forming a "1 master and 2 slaves" cluster deployment mode. As a stateful service, the resource lock preemption mechanism is used to implement service master selection to ensure its own reliability. Only the master service provides services to the outside world, and the slave controller and slave scheduler are in a waiting state and do not actually run their own logic.

[0050] The interface server running on the management node runs in the form of a static container group, creating three running instances, which run on three management nodes respectively. As a stateless service, the three interface server instances have no master-slave distinction and can receive and process client requests at the same time, reducing the load level of the interface server on a single management node and improving request response performance.

[0051] The metadata database running on the management node uses Systemd to run, replacing the static container group startup mode, and runs on three management nodes respectively, forming a "1 master and 2 slaves" cluster deployment mode. The master-slave metadata database service uses the Raft algorithm to maintain data consistency and provide services to the outside world to ensure the reliability of metadata in the micro-cloud environment; in addition, by optimizing the metadata database startup time and adding a metadata database scheduled backup mechanism, the metadata database performance and stability are further improved.

[0052] Furthermore, the controller, scheduler, computing agent, and network agent running on the management node use the local IP address to configure the access entry of the interface server to improve the access efficiency between services. The interface server uses the cluster address to set the access entry of the metadata database cluster to ensure the reliability of the micro-cloud metadata access. The internal cluster IP is exposed to replace the traditional master-slave switching component to provide a unified micro-cloud management access entry. Avoid the brain split phenomenon caused by the master-slave switching component due to jitter between computing modules or high network traffic due to heartbeat packet delay, which affects the stability of the micro-cloud environment.

[0053] Furthermore, the reverse proxy is deployed on each computing node in a static container group in a front-end deployment manner. The reverse proxy is configured with three interface server access addresses. The computing proxy requests running on the computing nodes are distributed to the interface servers running on each management node according to the load strategy through the reverse proxy, and the interface servers process the requests in parallel, thereby improving the overall load level of the micro-cloud environment.

[0054] At the same time, the reverse proxy has the characteristics of simple functions and low resource consumption, which is conducive to the rapid expansion of the number of computing nodes in the micro-cloud environment; the internal cluster IP is exposed instead of the traditional master-slave switching component to provide a unified micro-cloud management access entrance, avoiding the brain split phenomenon of the master-slave switching component caused by network jitter between computing modules or heartbeat packet delay when the network traffic is high, affecting the stability of the micro-cloud environment.

[0055] Common service components such as container engines, network plug-ins, collectors, and service discovery run in the form of "deployment" or "daemon set" types, both on management nodes and on computing nodes, providing support for network, status monitoring, and service registration and discovery for micro-applications in micro-cloud environments.

[0056] The micro-applications of domestic information systems use the micro-cloud management access portal as the calling interface to send requests, create, run and ensure the health of micro-applications according to the scheduling strategy.

[0057] Furthermore, it also includes a data storage access module, which includes a data cache service, a monitor and a load balancer.

[0058] The data cache service and monitor run on the management node and / or computing node; the monitor runs in a 1 master 2 slave mode, the data cache service corresponds to the monitor one-to-one, the monitor periodically monitors the running status of the data cache service, and data synchronization is achieved between the master and slave data cache services based on a snapshot mechanism; the load balancer runs on the micro cloud environment and provides a data cache service access entrance in the form of LB service access.

[0059] Furthermore, the monitor discovers through configuration and periodically checks the online status of the computing module where the data cache service is located and other monitors based on the heartbeat detection mechanism, selects the main monitor based on the election algorithm, and the computing module where the main monitor is located is marked as the master node. The data cache service on the master node is upgraded to the master data cache service, and the remaining computing modules, data cache services, and monitors are marked as "slaves", forming a "1 master, 2 slaves, and 3 monitors" deployment mode.

[0060] Furthermore, based on the synchronization rules, the master data cache service will generate a data snapshot on the master node (the master monitor elected by the system according to the aforementioned 1 master 2 slaves technical measures) and send it to the slave data cache service. Based on the snapshot data, the commands corresponding to the subsequent incremental data changes will be synchronized to the slave data cache service, thereby maintaining data consistency in the master and slave data cache services and achieving data redundancy and reliability.

[0061] Furthermore, a load balancer is used to configure the external entry addresses of the master-slave data cache services, shielding the complexity of entry address management, and automatically identifying the master data cache service address in a round-robin manner to provide it to the client connection, thereby maintaining the transparency of the master and slave data cache service switching to the client access.

[0062] Furthermore, the "deployment" type adopted by the load balancer is: deployed on the micro cloud environment with 3 copies, and configured with a mutual exclusion strategy, so that the three load balancers are run as dispersedly as possible on the three computing nodes of the micro cloud environment, always in the expected operating state, to ensure its high reliability.

[0063] Furthermore, a soft LB service access method is used to provide a fixed and unique IP address for the load balancer, and micro applications or external clients use efficient and reliable data storage services by accessing the IP.

[0064] exist Figure 3 Based on the characteristics of domestic hardware environment, in order to improve data storage and synchronization performance, the data synchronization access module adopts a deployment mode that combines physical and micro-cloud environments. The specific method is as follows: Figure 3 Based on the characteristics of domestic hardware environment, in order to improve data storage and synchronization performance, the data synchronization access module adopts a deployment mode that combines physical and micro-cloud environments. The specific methods are as follows:

[0065] The data cache service and monitor run on three computing modules (any three out of N) in the VPX server in Systemd mode. The monitor is attached to the data cache service, and the three monitors form a monitoring system.

[0066] The monitoring system discovers through configuration and periodically checks the online status of the computing module where the data cache service is located and other monitors based on the heartbeat detection mechanism. The master monitor is selected based on the election algorithm. The computing module where the master monitor is located is marked as the master node. The data cache service on the master node is upgraded to the master data cache service. The remaining computing modules, data cache services, and monitors are marked as "slaves", forming a "1 master, 2 slaves, and 3 monitors" deployment mode.

[0067] Based on the synchronization rules, the master data cache service will generate a data snapshot on the master node and send it to the slave data cache service. Based on the snapshot data, the commands corresponding to the subsequent incremental data changes will be synchronized to the slave data cache service, thereby maintaining data consistency in the master and slave data cache services and achieving data redundancy and reliability.

[0068] A load balancer is used to configure the external entry addresses of the master-slave data cache service, shielding the complexity of entry address management. The master data cache service address is automatically identified in a round-robin manner and provided to the client for connection, maintaining the transparency of the master-slave data cache service switching to client access.

[0069] The load balancer is deployed on the micro cloud environment using the "deployment" type with 3 copies, and a mutual exclusion strategy is configured so that the three load balancers are run as dispersedly as possible on the three computing nodes of the micro cloud environment, always in the expected operating state, ensuring its high reliability.

[0070] The soft LB service access method is used to provide a fixed and unique IP address for the load balancer. Micro applications or external clients use efficient and reliable data storage services by accessing the IP.

[0071] Figure 3 VIP in the figure indicates a virtual IP. The three data cache services in the figure have three independent entrances. The three entrances are managed by the load balancing service to form a unified entrance to provide data to the client and achieve load balancing.

[0072] exist Figure 4 If the effective response heartbeat detection time of the primary monitor exceeds the set threshold and more than half of the monitors determine that the heartbeat detection timeout is established within the specified time, the primary node will be marked as offline, triggering the monitor election mechanism. The monitor that obtains more than half of the votes will be upgraded to the primary monitor. The primary monitor will switch its attached slave data cache service to the primary service, and other slave monitors will switch the corresponding data synchronization objects to the primary data cache service, realizing automatic failover of the data cache service.

[0073] exist Figure 5When the offline master node comes back online, the monitor on the node enters slave mode by default and sets the data cache service on the node as the slave service of the new master. It also sends a synchronization request to the master data cache service to synchronize data without affecting the existing master-slave service relationship.

[0074] The present invention builds a lightweight micro-cloud environment based on the domestic VPX server and provides data storage and access methods. On the one hand, it provides reliable cloud service capabilities while making the complexity of the domestic information system controllable, supports the "cloud + terminal" model of the domestic information system, and enables it to have good characteristics such as fast delivery, iterative reconstruction, fault-tolerant recovery, and autonomous control; on the other hand, it provides functions such as fast access and transparent access to business data of micro-applications, and ensures high availability of data, thereby improving the efficiency of using domestic VPX servers and ensuring efficient, stable and reliable operation of domestic information systems.

[0075] The present invention is not limited to the above-mentioned embodiments. On the basis of the technical solution disclosed in the present invention, technicians in this field can make some substitutions and deformations to some technical features therein according to the disclosed technical content without creative labor, and these substitutions and deformations are all within the protection scope of the present invention.

Claims

1. A lightweight micro-cloud system based on a domestic VPX server, wherein the VPX server includes a domestic CPU and uses a domestic operating system. At least four computing modules are provided on the VPX server, and the computing modules adopt a 3+N deployment mode, wherein three computing modules are set up as management nodes and form a cluster deployment mode, and the other N computing modules are set up as computing nodes; The service components run by the management node include: Interface servers, controllers, schedulers, compute agents, network agents, and metadata repositories, The service components run by the computing node include: computing agent, network agent and reverse agent; The management node and the computing node also run a container engine and a network plug-in together. In addition, the management node also includes: a computing agent, a network agent and a reverse agent; the characteristics are: The controllers and schedulers in the three management nodes all adopt a resource preemption mechanism to implement a cluster deployment mode; the metadata databases in the three management nodes adopt a master-slave election mechanism to implement a cluster deployment mode; The reverse proxy is connected to the respective interface servers in the three management nodes based on the load balancing mechanism to achieve request distribution; The metadata library running on the management node adopts the "1 master 2 slaves" cluster deployment mode, and runs on three management nodes in Systemd mode, replacing the static container group startup mode, improving data access efficiency and metadata reliability; the container engine, network plug-in, collector and service discovery components run on both the management node and the computing node in the form of "deployment" or "daemon set", providing support for network, status monitoring and service registration discovery for micro applications in the micro cloud environment; The controller, scheduler, computing agent and network agent running on the management node use the local IP address to configure the access entry of the interface server to improve the access efficiency between services. The interface server uses the cluster address configuration method to set the access entry of the metadata database cluster to ensure the reliability of micro-cloud metadata access; the internal cluster IP method is used to expose instead of the traditional master-slave switching component to provide a unified micro-cloud management access entry; The reverse proxy is deployed on each computing node in a static container group in a front-end deployment mode. The reverse proxy is configured with three interface server access addresses. The computing proxy requests running on the computing node are distributed to the interface servers running on each management node according to the load strategy through the reverse proxy, and the interface servers process the requests in parallel, thereby improving the overall load level of the micro-cloud environment. It also includes a data storage access module, which includes a data cache service, a monitor and a load balancer. The data cache service and the monitor run on the management node and / or the computing node; the monitor runs in a 1-master-2-slave mode, the data cache service corresponds to the monitor one-to-one, the monitor periodically monitors the running status of the data cache service, and data synchronization is achieved between the master and slave data cache services based on a snapshot mechanism; The load balancer runs on the micro-cloud environment and provides a data cache service access portal in the form of LB service access; A load balancer is used to configure the external entry addresses of the master and slave data cache services, shielding the complexity of entry address management. The master data cache service address is automatically identified in a round-robin manner and provided to the client for connection, maintaining the transparency of the master and slave data cache service switching to client access.

2. The lightweight micro-cloud system based on the domestic VPX server according to claim 1 is characterized in that: The monitor discovers through configuration and periodically checks the online status of the computing module where the data cache service is located and other monitors based on the heartbeat detection mechanism, selects the main monitor based on the election algorithm, and the computing module where the main monitor is located is marked as the master node. The data cache service on the master node is upgraded to the master data cache service, and the remaining computing modules, data cache services, and monitors are marked as "slaves", forming a "1 master, 2 slaves, and 3 monitors" deployment mode.

3. The lightweight micro-cloud system based on the domestic VPX server according to claim 1 is characterized in that: Based on the synchronization rules, the master data cache service will generate a data snapshot on the master node and send it to the slave data cache service. Based on the snapshot data, the commands corresponding to the subsequent incremental data changes will be synchronized to the slave data cache service, thereby maintaining data consistency in the master and slave data cache services and achieving data redundancy and reliability.

4. The lightweight micro-cloud system based on the domestic VPX server according to claim 1 is characterized in that: The "deployment" type adopted by the load balancer is: deployed on the micro cloud environment with 3 copies, and configured with a mutual exclusion strategy, so that the three load balancers are run as dispersedly as possible on the three computing nodes of the micro cloud environment, always in the expected operating state, ensuring its high reliability.

5. The lightweight micro-cloud system based on the domestic VPX server according to claim 1 is characterized in that: The soft LB service access method is used to provide a fixed and unique IP address for the load balancer. Micro applications or external clients use efficient and reliable data storage services by accessing the IP.

Citation Information

Patent Citations

  • Domestic platform-oriented cloud native application architecture supporting method and system

    CN111580930A

  • Management scheduling technology based on hyper-converged framework

    CN112000421A

  • Double-combination alternate shift switching system and method

    CN113220509A

  • Method for realizing multi-CPU (Central Processing Unit) architecture container network proxy

    CN113676524A

  • Configurable hyper-converged computing platform based on VPX architecture

    CN209044488U