CN116069342A - Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium - Google Patents

Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium Download PDF

Info

Publication number
CN116069342A
CN116069342A CN202211638959.9A CN202211638959A CN116069342A CN 116069342 A CN116069342 A CN 116069342A CN 202211638959 A CN202211638959 A CN 202211638959A CN 116069342 A CN116069342 A CN 116069342A
Authority
CN
China
Prior art keywords
unit
ceph
cluster
nodes
deployment
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
CN202211638959.9A
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.)
Best Tone Information Service Corp Ltd
Original Assignee
Best Tone Information Service Corp 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 Best Tone Information Service Corp Ltd filed Critical Best Tone Information Service Corp Ltd
Priority to CN202211638959.9A priority Critical patent/CN116069342A/en
Publication of CN116069342A publication Critical patent/CN116069342A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention relates to a method for multi-activity deployment of an object storage gateway, electronic equipment and a storage medium. The multi-activity deployment method of the object storage gateway comprises the following steps: networking is carried out by adopting a networking mode of Vxlan over IPSec; deploying a distributed file system module and configuring Ceph cluster nodes; the MON unit and the MGR unit in the Ceph cluster are installed in a binary installation package mode; the OSD unit is deployed by taking a single server hard disk as a unit; the Ceph cluster copy policy number configures at least 3 copies; at least 3 ServerNode nodes are deployed on a lightweight container arrangement module K3S cluster on a server where Ceph nodes of each regional center are located; selecting two regional centers and constructing a high-availability database unit connected by K3 SServernode; mirroring through official RGW units in K3S clusters; the vip address is bound on each regional center load balancing module for accessing multiple RGW unit services deployed by the regional center. The multi-activity deployment method of the object storage gateway can realize multi-activity function of the multi-area core framework.

Description

Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium
Technical Field
The invention relates to the field of IT and software development, in particular to a K3S-based method for multi-lively deployment of an object storage gateway, electronic equipment and a storage medium.
Background
Ceph: a distributed file system supports three storage interfaces of object storage, block equipment and file system. In the use of the Ceph distributed file system, the object storage mode is most mature and widely used.
Ceph object gateway: is an interface built on Ceph object store for providing RESTful gateway service for application program. Object storage supports two API interfaces: s3 of open stack swift and AWS. The object store uses the Ceph object gateway daemon radosgw to provide HTTP services for Ceph storage cluster interactions.
K3S: is a lightweight, highly available, CNCF-authenticated version of Kubernets release. Because the system can be operated with little resources, the system is suitable for the containerized scheduling demand scene with limited resources or small scale.
The multi-area core architecture of the existing CephRGW gateway is in a main-standby mode, a main area center is used as a readable and writable cluster, a standby area center is used as a read-only cluster, and data among the multi-area cores are synchronized in real time. The architecture is not a real multi-activity architecture, cannot realize multi-activity functions of multi-regional centers, and needs to deploy a set of ceph clusters in each regional center, wherein the clusters are repeatedly built, so that the resource utilization rate is low, and the operation and maintenance complexity is high. And after the main area center encounters a fault, the auxiliary area configuration of the standby area center needs to be manually changed into the main area to continue to provide the object storage gateway service. The recovery time is long, the efficiency is low, and the problems of small data loss and the like during synchronization can be caused.
Therefore, there is a need to develop an object storage gateway multi-active architecture deployment method that can solve the above problems.
Disclosure of Invention
The technical problem to be solved by the invention is that the existing multi-region center architecture cannot realize the multi-region center multi-activity function; and after the main area center encounters a fault, the auxiliary area configuration of the standby area center needs to be manually changed into the main area to continuously provide the object storage gateway service, so that the recovery time is long and the efficiency is low.
In order to solve the technical problem, according to one aspect of the present invention, there is provided a method for multi-activity deployment of an object storage gateway, where the method is applied to a cross-machine-room networking and cross-regional center scenario, and the method includes the following steps: s1, performing cross-machine room networking by adopting a networking mode of VXLan over IPSec, and accessing a VXLan network through CE double lines in a cross-regional center scene; s2, preparing a plurality of servers in a plurality of regional centers respectively, deploying a distributed file system module, and configuring Ceph cluster nodes, wherein the Ceph cluster comprises a MON unit, an MGR unit and an OSD unit; s3, installing, configuring and starting a MON unit and an MGR unit in the Ceph cluster in a binary installation package deployment mode; s4, deploying an OSD unit in the Ceph cluster by taking a single server hard disk as a unit; s5, configuring the Ceph cluster copy policy number into at least 3 copies; s6, arranging a lightweight container arranging module K3S cluster on a server where Ceph nodes of each regional center are located, deploying at least 3 ServerNode nodes, wherein the three ServerNode nodes are required to be dispersed in each regional center; s7, selecting two regional centers to build a high-availability database unit connected with the K3S ServerNode, deploying the high-availability database node by adopting mysql+keepaled, configuring vip on the node by the keepaled and providing access for the K3SServernode node; s8, storing Ceph configuration files and library files on the unified paths of all Ceph nodes, mirroring through an official RGW unit in a K3S cluster, and setting configuration file paths and library file path mapping in a deployment yaml file; s9, binding vip addresses on the load balancing modules of the regional centers for accessing a plurality of RGW unit services deployed by the regional centers.
According to an embodiment of the present invention, in step S3, at least 2 MON units and at least 2 MGR units may be deployed in each Ceph cluster, and the MON units and the MGR units are dispersed in the center of each area.
In step S5, the Ceph cluster copy policy number may be configured to be 3 copies according to an embodiment of the present invention.
According to the embodiment of the present invention, in step S5, the Ceph cluster copy may configure the fault domain with the area center as a unit, and distribute the copies.
According to the embodiment of the present invention, in step S6, after the server node is deployed, three AgentNode nodes may be deployed again, and the three AgentNode nodes are dispersed in the center of each area and perform cluster registration.
In step S7, a database file is stored in the back end of the node using a shared storage volume provided by the Ceph distributed storage cluster.
According to the embodiment of the present invention, in step S8, services may be issued in a node port manner, the Replicaset number configuration is greater than or equal to 2, and multiple node ports are designated to deploy multiple RGW services.
In step S9, if there is an agentenode node with no RGW service allocated, the agentenode node may also be added to the load balancing pool.
According to a second aspect of the present invention, there is provided an electronic device comprising: the method comprises the steps of a memory, a processor and an object storage gateway multi-activity deployment program stored on the memory and capable of running on the processor, wherein the object storage gateway multi-activity deployment program is executed by the processor to realize the object storage gateway multi-activity deployment method.
According to a third aspect of the present invention, there is provided a computer storage medium, wherein an object storage gateway multi-activity deployment program is stored on the computer storage medium, and the object storage gateway multi-activity deployment program when executed by a processor implements the steps of the object storage gateway multi-activity deployment method described above.
Compared with the prior art, the technical scheme provided by the embodiment of the invention at least has the following beneficial effects:
1) The invention provides a K3S-based multi-activity deployment method for an object storage gateway. Through connecting a plurality of regional center networks, a set of distributed storage clusters are deployed in a cross-regional center mode, a set of cross-machine-room lightweight container arranging clusters are deployed on the distributed storage clusters, object gateway services are deployed in a containerized mode, service capability is provided for the outside, one cluster realizes multi-node multi-activity access in a cross-regional center mode, and when a certain regional center fails, the object storage gateway can be automatically migrated to other regional center nodes which normally operate, so that continuous service availability of services is ensured.
2) According to the technical scheme, the multi-activity function of the CephRGW unit is realized, and the multi-point readable and writable is truly realized. Each module has redundancy, and a redundancy unit is arranged in the center of a single area for replacing a fault unit to continue providing service after any module fails. If the whole regional center fails under serious conditions, redundant nodes are reserved in the regional centers by the bottom layer units of the Ceph cluster, copies of the storage objects are dispersed into the regional centers according to the failure domain, and the whole Ceph distributed storage cluster is in an available state. If the high-availability database connected with the K3S ServerNode node is in the fault machine room, judging the state of the database through a reserved script, if a reserved database needs to be started, automatically starting the reserved database nodes in other areas, and because the database files are stored in a shared Cephfs file system, the reserved database automatically mounts corresponding catalogues, and the functions of the database can be recovered by reading the original database configuration and files, wherein the K3S cluster state is normal. The invention ensures the multi-area center multi-activity architecture of the cluster. Fully exert the advantages of ceph.
3) In the technical scheme of the invention, if the Agentnode where the corresponding RGW unit pod or service is located is in the relevant fault machine room, the corresponding pod or service is pulled up again on the Agentnode of the K3S in a normal state, so that the function of quick fault self-healing of the RGW unit can be realized. The RGW unit is deployed through a containerization mode, and if faults occur, the RGW unit can realize quick self-healing.
4) When the invention is used for building the whole environment, the utilization rate of server resources is improved, and the network interconnection has the advantages of low cost and high safety.
5) Because the data synchronization is carried out by the mechanism of downloading the data synchronization to the underlying object storage, the invention ensures the integrity of the data by utilizing the characteristic of strong consistency of Ceph.
6) The existing Ceph clusters are deployed in a package installation mode, so that the stability is good, and the maintenance is not flexible enough. The authorities also provide containerized deployment modes, and subsequent maintenance is very efficient after containerized deployment, and the problem of unstable unit operation can be encountered during use. In view of the above, the problem is solved by the construction of clusters using a hierarchically deployed mode. Firstly, the stability of the Ceph cluster is ensured, the Ceph bottom key units are deployed through an installation package, the RGW units are deployed in a containerized mode, and the services are released in a NodePort mode, so that the high availability and flexibility of the RGW units are improved, and the function of rapid self-healing of faults is realized.
7) When the lightweight container arranging module is built with high availability, the functional characteristic of Ceph distributed storage is utilized, and the high availability of the Ceph object storage gateway is ensured by the RGW unit running on the K3S. The advantage characteristics of the respective units are fully utilized to achieve the effect of 1+1> 2.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following brief description of the drawings of the embodiments will make it apparent that the drawings in the following description relate only to some embodiments of the present invention and are not limiting of the present invention.
FIG. 1 is a method architecture diagram illustrating a multi-lived deployment of an object storage gateway according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without creative efforts, based on the described embodiments of the present invention fall within the protection scope of the present invention.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. The terms "first," "second," and the like in the description and in the claims, are not used for any order, quantity, or importance, but are used for distinguishing between different elements. Likewise, the terms "a" or "an" and the like do not denote a limitation of quantity, but rather denote the presence of at least one.
FIG. 1 is a method architecture diagram illustrating a multi-lived deployment of an object storage gateway according to an embodiment of the present invention.
The method for multi-activity deployment of the object storage gateway is applied to a cross-machine room networking and cross-regional center scene. As shown in fig. 1, the method for multi-activity deployment of the object storage gateway comprises the following steps:
s1, performing cross-machine room networking by adopting a networking mode of Vxlan over IPSec, and accessing the VXLAN network through CE double lines in a cross-region center scene.
S2, preparing a plurality of servers in a plurality of regional centers respectively, deploying a distributed file system module, and configuring Ceph cluster nodes, wherein the Ceph cluster comprises a MON unit, an MGR unit and an OSD unit.
And S3, installing, configuring and starting a MON unit and an MGR unit in the Ceph cluster in a binary installation package deployment mode. At least 2 MON units and at least 2 MGR units are deployed per unit in the Ceph cluster, and the MON units and the MGR units are dispersed in the center of each region.
And S4, deploying the OSD units in the Ceph cluster by taking a single server hard disk as a unit.
S5, configuring the Ceph cluster copy policy number into at least 3 copies. The Ceph cluster copy policy number is configured as 3 copies. The Ceph cluster copies take the area center as a unit to configure fault domains, and the distribution of the copies is dispersed.
S6, arranging a lightweight container arranging module K3S cluster on a server where the Ceph node of each regional center is located, and deploying at least 3 ServerNode nodes, wherein the three ServerNode nodes are required to be scattered in each regional center. After the ServerNode nodes are deployed, three Agentnode nodes are deployed, and the three Agentnode nodes are scattered in the center of each area and perform cluster registration.
S7, selecting two regional centers to build a high-availability database unit connected with the K3S ServerNode, deploying the high-availability database node by adopting mysql+keepaled, configuring vip on the node by the keepaled, and providing access to the K3SServernode node. And storing the shared storage volume provided by the Ceph distributed storage cluster at the rear end of the node to store the database file.
S8, storing Ceph configuration files and library files on the unified paths of all Ceph nodes, mirroring through an official RGW unit in the K3S cluster, and setting configuration file paths and library file path mapping in the deployment yaml file. And releasing the service in a NodePort mode, configuring the number of replicasets to be more than or equal to 2, and designating a plurality of node ports to deploy a plurality of RGW services.
According to the technical scheme, the multi-activity function of the CephRGW unit is realized, and the multi-point readable and writable is truly realized. Each module has redundancy, and a redundancy unit is arranged in the center of a single area for replacing a fault unit to continue providing service after any module fails. If the whole regional center fails under serious conditions, redundant nodes are reserved in the regional centers by the bottom layer units of the Ceph cluster, copies of the storage objects are dispersed into the regional centers according to the failure domain, and the whole Ceph distributed storage cluster is in an available state. If the high-availability database connected with the K3S ServerNode node is in the fault machine room, judging the state of the database through a reserved script, if a reserved database needs to be started, automatically starting the reserved database nodes in other areas, and because the database files are stored in a shared Cephfs file system, the reserved database automatically mounts corresponding catalogues, and the functions of the database can be recovered by reading the original database configuration and files, wherein the K3S cluster state is normal.
The lightweight container arrangement module of the invention uses the functional characteristics of Ceph distributed storage when being built with high availability, and the RGW unit runs on K3S to ensure the high availability of the Ceph object storage gateway. The advantage characteristics of the respective units are fully utilized to achieve the effect of 1+1> 2.
S9, binding vip addresses on the load balancing modules of the regional centers for accessing a plurality of RGW unit services deployed by the regional centers. And if the Agentnode node with the unassigned RGW service also joins the load balancing pool.
The invention provides a K3S-based multi-activity deployment method for an object storage gateway. Through connecting a plurality of regional center networks, a set of distributed storage clusters are deployed in a cross-regional center mode, a set of cross-machine-room lightweight container arranging clusters are deployed on the distributed storage clusters, object gateway services are deployed in a containerized mode, service capability is provided for the outside, one cluster realizes multi-node multi-activity access in a cross-regional center mode, and when a certain regional center fails, the object storage gateway can be automatically migrated to other regional center nodes which normally operate, so that continuous service availability of services is ensured. The invention ensures the multi-area center multi-activity architecture of the cluster. Fully exert the advantages of ceph.
In the technical scheme of the invention, if the Agentnode where the corresponding RGW unit pod or service is located is in the relevant fault machine room, the corresponding pod or service can be pulled up again on the Agentnode of the K3S in a normal state, and the function of quick fault self-healing of the RGW unit can be realized. The RGW unit is deployed through a containerization mode, and if faults occur, the RGW unit can realize quick self-healing.
When the invention is used for building the whole environment, the utilization rate of server resources is improved, and the network interconnection has the advantages of low cost and high safety. Because the data synchronization is carried out by the data synchronization being carried out by the underlying object storage mechanism, the invention ensures the integrity of the data by utilizing the characteristic of strong consistency of Ceph.
According to the invention, the existing Ceph clusters are deployed by means of the installation package, so that the stability is good, but the maintenance is not flexible enough. The authorities also provide containerized deployment modes, and subsequent maintenance is very efficient after containerized deployment, and the problem of unstable unit operation can be encountered during use. In view of the above, the problem is solved by the construction of clusters using a hierarchically deployed mode. Firstly, the stability of the Ceph cluster is ensured, the Ceph bottom key units are deployed through an installation package, the RGW units are deployed in a containerized mode, and the services are released in a NodePort mode, so that the high availability and flexibility of the RGW units are improved, and the function of rapid self-healing of faults is realized.
In view of the above, a specific technical method for implementing a module is specifically described in the embodiments, and other technical schemes may be selected for substitution by other technicians.
Firstly, cross-machine-room networking is carried out by opening a regional center bottom network among all regions and adopting a networking mode of VXLan over IPSec, and in a cross-regional center scene, CE is connected into a VXLAN network in a double-line manner, so that the access reliability of the VXLAN is enhanced. Failure may be encountered more quickly. By IPSec encapsulation, encryption transmission can be realized, transmission safety is ensured, and servers needing to be deployed with distributed file system module clusters are located in the same network segment.
In this embodiment, three area centers are preferably deployed, a plurality of servers are deployed in each area center, and the following configuration is performed on all the servers: and installing a Linux operating system, and upgrading the kernel of the operating system to be above version 4.19. Naming all servers and writing the hosts file. The installation configuration time service performs a time synchronization service. And newly creating a deployment account and setting trusted interviews among all servers. Newly creating a configuration related version ceph source, and installing a ceph-depth deployment module. One is selected as the ceph deployment server. Generating ceph.conf configuration files under the/etc/ceph/catalogue, and respectively selecting two servers in each regional center to perform MON unit deployment. The hard disk which is needed to be stored as Ceph data is created as an OSD unit for each server in a single block. And selecting a server from each regional center to deploy MGR units, wherein one node is active, and the other two nodes are standby.
And carrying out relevant configuration on the Ceph cluster, carrying out fault domain division on the cluster, wherein the number of the copies is more than or equal to 3, and dividing the fault domain by taking the regional center as a unit, so that the copies generated by the storage object cannot be distributed in the same regional center, and the redundancy of the copies is ensured.
And configuring an external high availability database server connected with the K3S high availability cluster ServerNode. Two servers are prepared in two data centers to install Mysql service, one is a main node and the other is a standby node. And maintaining the version number, installing the catalogue by using the Mysql user uid, and keeping the catalogue of the data files consistent. And distributing an RBD data disc for the high-availability database cluster on the Ceph cluster and mounting the RBD data disc on a database master node. A configuration database is installed on the master node. And installing and configuring keepaled on the main node and the standby node, and configuring state detection, mysql state change script and notification script in the related configuration files. The keepalive presets active and standby states, and judges whether the condition of the database switching state is database service operation, VIP survival and data disk mounting. When Mysql service stops on the main node, the state of the standby node is switched, the task with the script execution state being active is informed to start and mount the RBD data disk, the Mysql service is started, and the standby node provides service. The ServerNode node of the K3S is connected with a high availability database VIP to access the database.
And deploying a set of lightweight K3S container arrangement clusters on the Ceph distributed storage cluster server, wherein a Servernode node and an Agentnode node are required to be deployed. At least one ServerNode node and one AgentNode node are needed to be respectively arranged in each regional center.
Firstly, a ServerNode node is deployed through script operation provided by authorities, and a url address and a token of cluster access are obtained after deployment. The ServerNode nodes are deployed in the rest of the data centers in the same way. And configuring VIP addresses and port loads to the deployed Servernode nodes in load balancing. Operations through the API are all accessed through the load address. Through official deployment script, url address and token are deployed in each data center to deploy Agentnode. Constitute a high availability K3S cluster.
And writing yaml files for deploying the RGW units, and performing containerized deployment on the RGW units, wherein a configuration file path and a library path of the Ceph cluster are mapped in the deployment files. And (3) deploying pod and at least 2 or more services in each regional center, releasing the services in a Nodeport mode, and configuring a load balancing module to load object storage traffic to corresponding RGW units to form high-availability characteristics.
There is no local area network transmission efficient and stable due to the fact that the transmission of traffic across the machine room is involved. Ceph waits until all copies have been written to complete the IO in order to maintain strong consistency of the data. In order to avoid the instability of read-write performance caused by network delay. In this example, a cache pool is configured for an object storage pool of the Ceph, and a medium of the cache pool uses high-read-write devices such as an SSD or an NVMe SSD. And the working mode of the buffer pool is configured to be a WRITEBACK mode, so that the read-write performance of the whole cluster is ensured.
The client access outside the regional center can load the external object storage access flow through intelligent domain name resolution, so that the purpose of high availability of multiple activities is achieved.
According to yet another aspect of the present invention, there is provided an apparatus for multi-lived deployment of an object storage gateway, comprising: the method comprises the steps of a memory, a processor and an object storage gateway multi-activity deployment program stored on the memory and capable of running on the processor, wherein the object storage gateway multi-activity deployment program is executed by the processor to realize the object storage gateway multi-activity deployment method.
There is also provided a computer storage medium according to the present invention.
The computer storage medium is stored with an object storage gateway multi-activity deployment program, and the object storage gateway multi-activity deployment program realizes the steps of the object storage gateway multi-activity deployment method when being executed by the processor.
The method implemented when the object storage gateway multi-activity deployment program running on the processor is executed may refer to various embodiments of the object storage gateway multi-activity deployment method of the present invention, which are not described herein.
The invention also provides a computer program product.
The computer program product of the present invention comprises an object storage gateway multi-liveness deployment program which, when executed by a processor, implements the steps of an object storage gateway multi-liveness deployment method as described above.
The method implemented when the object storage gateway multi-activity deployment program running on the processor is executed may refer to various embodiments of the object storage gateway multi-activity deployment method of the present invention, which are not described herein.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing is merely exemplary embodiments of the present invention and is not intended to limit the scope of the invention, which is defined by the appended claims.

Claims (10)

1. The method for multi-activity deployment of the object storage gateway is applied to a cross-machine room networking and cross-regional center scene, and comprises the following steps:
s1, performing cross-machine room networking by adopting a networking mode of VXLan over IPSec, and accessing a VXLan network through CE double lines in a cross-regional center scene;
s2, preparing a plurality of servers in a plurality of regional centers respectively, deploying a distributed file system module, and configuring Ceph cluster nodes, wherein the Ceph cluster comprises a MON unit, an MGR unit and an OSD unit;
s3, installing, configuring and starting a MON unit and an MGR unit in the Ceph cluster in a binary installation package deployment mode;
s4, deploying an OSD unit in the Ceph cluster by taking a single server hard disk as a unit;
s5, configuring the Ceph cluster copy policy number into at least 3 copies;
s6, arranging a lightweight container arranging module K3S cluster on a server where Ceph nodes of each regional center are located, deploying at least 3 ServerNode nodes, wherein the three ServerNode nodes are required to be dispersed in each regional center;
s7, selecting two regional centers to build a high-availability database unit connected with the K3S ServerNode, deploying the high-availability database node by adopting mysql+keepaled, configuring vip on the node by the keepaled and providing access for the K3SServernode node;
s8, storing Ceph configuration files and library files on the unified paths of all Ceph nodes, mirroring through an official RGW unit in a K3S cluster, and setting configuration file paths and library file path mapping in a deployment yaml file;
s9, binding vip addresses on the load balancing modules of the regional centers for accessing a plurality of RGW unit services deployed by the regional centers.
2. The method of claim 1, in step 3, at least 2 MON units and at least 2 MGR units are deployed per unit in a Ceph cluster, and the MON units, MGR units are dispersed in the center of each region.
3. The method of claim 1, wherein in step S5, the Ceph cluster copy policy number is configured to 3 copies.
4. The method according to claim 3, wherein in step S5, the Ceph cluster copies configure the fault domain in the unit of the area center, and the distribution of the copies is dispersed.
5. The method of claim 1, wherein in step S6, three AgentNode nodes are deployed after deployment of ServerNode nodes, and the three AgentNode nodes are distributed in each area center and perform cluster registration.
6. The method according to claim 1, wherein in step S7, the shared storage volume provided by the Ceph distributed storage cluster is stored in the node back end to store the database file.
7. The method of claim 1, wherein in step S8, services are distributed in a node port manner, the Replicaset number configuration is greater than or equal to 2, and a plurality of node ports are designated to deploy a plurality of RGW services.
8. The method of claim 1, wherein in step S9, if there are agentenodes nodes with no RGW service allocated, the agentenodes nodes are added to the load balancing pool.
9. An electronic device, comprising: memory, a processor and an object storage gateway multi-liveness deployment program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the object storage gateway multi-liveness deployment method of any one of claims 1 to 7.
10. A computer storage medium having stored thereon an object storage gateway multi-liveness deployment program which, when executed by a processor, implements the steps of the object storage gateway multi-liveness deployment method of any one of claims 1 to 7.
CN202211638959.9A 2022-12-20 2022-12-20 Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium Pending CN116069342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211638959.9A CN116069342A (en) 2022-12-20 2022-12-20 Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211638959.9A CN116069342A (en) 2022-12-20 2022-12-20 Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116069342A true CN116069342A (en) 2023-05-05

Family

ID=86176009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211638959.9A Pending CN116069342A (en) 2022-12-20 2022-12-20 Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116069342A (en)

Similar Documents

Publication Publication Date Title
US6597956B1 (en) Method and apparatus for controlling an extensible computing system
CN110198231B (en) Container network management method and system for multiple tenants and middleware
US7146233B2 (en) Request queue management
US7503045B1 (en) Extensible computing system
CN107707393B (en) Multi-active system based on Openstack O version characteristics
US9389893B2 (en) Method and system for migration of virtual machines and virtual applications between cloud-computing facilities through multiplexed secure tunnels
US7370336B2 (en) Distributed computing infrastructure including small peer-to-peer applications
CN109040276B (en) Method and device for constructing cloud platform, computer storage medium and terminal
CN104579732B (en) Virtualize management method, the device and system of network function network element
US20080250266A1 (en) Logical partitioning of a physical device
US11201930B2 (en) Scalable message passing architecture in a cloud environment
JP2004508616A (en) Method and apparatus for controlling an extensible computing system
US11263037B2 (en) Virtual machine deployment
CN108141373B (en) Federated communication framework for network controllers
CN113504954A (en) Method, system and medium for calling CSI LVM plug-in, dynamic persistent volume provisioning
CN112600903A (en) Elastic virtual network card migration method
CN114615268B (en) Service network, monitoring node, container node and equipment based on Kubernetes cluster
CN116069342A (en) Method for multi-activity deployment of object storage gateway, electronic equipment and storage medium
CN115904608A (en) Control plane configuration
Kosińska et al. The concept of application clustering in cloud computing environments: the need for extending the capabilities of virtual networks
Salbaroli et al. OCP deployment in a public administration data center: the Emilia-Romagna region use case
US11966306B1 (en) Availability zone recovery using virtual private clouds
CN113992683B (en) Method, system, equipment and medium for realizing effective isolation of double networks in same cluster
CN112000606A (en) Computer cluster and infrastructure cluster suitable for deploying application cluster
CN114945023A (en) Network connection multiplexing method, device, equipment and 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