CN109889364B - Cloud platform configuration method and device - Google Patents

Cloud platform configuration method and device Download PDF

Info

Publication number
CN109889364B
CN109889364B CN201811635202.8A CN201811635202A CN109889364B CN 109889364 B CN109889364 B CN 109889364B CN 201811635202 A CN201811635202 A CN 201811635202A CN 109889364 B CN109889364 B CN 109889364B
Authority
CN
China
Prior art keywords
configuration
production environment
environment
configuration data
cloud platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811635202.8A
Other languages
Chinese (zh)
Other versions
CN109889364A (en
Inventor
王雪松
张凤国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Open Distance Education Center Co ltd
Original Assignee
Beijing Open Distance Education Center Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Open Distance Education Center Co ltd filed Critical Beijing Open Distance Education Center Co ltd
Priority to CN201811635202.8A priority Critical patent/CN109889364B/en
Publication of CN109889364A publication Critical patent/CN109889364A/en
Application granted granted Critical
Publication of CN109889364B publication Critical patent/CN109889364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a cloud platform configuration method and a cloud platform configuration device, wherein the method comprises the following steps: respectively managing configuration centers of a production environment, a pre-production environment and a test environment; acquiring configuration data of the production environment through a configuration center of the production environment; acquiring configuration data of the pre-production environment through a configuration center of the pre-production environment; and acquiring configuration data of the test environment through a configuration center of the test environment. The invention can uniformly manage the service and the application configuration in the cloud platform in different environments and different clusters, can be pushed to the service and application end in real time after the service and application configuration is modified, and the micro-service configuration center has the characteristics of standard authority, flow control and the like.

Description

Cloud platform configuration method and device
Technical Field
The invention relates to the technical field of computers, in particular to a cloud platform configuration method and device.
Background
At present, with the innovative progress of computer technology and network technology, particularly the progress of virtualization technology, and the innovation and development of new concepts and new schemes, a foundation is laid for the promotion of a cloud platform.
In the prior art, cloud platforms deployed in different environments cannot be uniformly configured effectively.
Disclosure of Invention
The embodiment of the invention provides a cloud platform configuration method and device. The method aims to solve the problem that cloud platforms deployed in different environments in the prior art cannot be effectively configured in a unified mode. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
According to a first aspect of the embodiments of the present invention, there is provided a cloud platform configuration method, including:
respectively managing configuration centers of a production environment, a pre-production environment and a test environment;
acquiring configuration data of the production environment through a configuration center of the production environment;
acquiring configuration data of the pre-production environment through a configuration center of the pre-production environment;
and acquiring configuration data of the test environment through a configuration center of the test environment.
Optionally, the step of managing the configuration centers of the production environment, the pre-production environment and the test environment respectively includes:
and respectively managing one or more information in accounts, authorities and clusters of configuration centers of the production environment, the pre-production environment and the test environment.
Optionally, the obtaining configuration data of the production environment through a configuration center of the production environment includes:
configuration data of the production environment is obtained through a database associated with a configuration center of the production environment.
Optionally, the obtaining, by the configuration center of the pre-production environment, configuration data of the pre-production environment includes:
obtaining configuration data of the pre-production environment through a database associated with a configuration center of the pre-production environment,
optionally, obtaining configuration data of the test environment through a configuration center of the test environment includes:
and acquiring configuration data of the test environment through a database associated with a configuration center of the test environment.
According to a second aspect of an embodiment of the present invention, there is provided a cloud platform configuration apparatus, including:
the configuration center management end is used for managing the configuration centers of the production environment, the pre-production environment and the test environment;
the production environment configuration server is used for acquiring configuration data of a production environment;
the pre-production environment configuration server is used for acquiring configuration data of a pre-production environment;
and the test environment configuration server is used for acquiring the configuration data of the test environment.
Optionally, the configuration center management end is configured to manage one or more information of accounts, permissions, and clusters of the configuration centers in the production environment, the pre-production environment, and the test environment.
Optionally, the production environment configuration server further includes a production environment database, and the production environment database is further configured to obtain configuration data of the production environment.
Optionally, the pre-production environment configuration server further includes a pre-production environment database, and the pre-production environment database is further configured to obtain configuration data of the pre-production environment.
Optionally, the test environment configuration server further includes a test environment database, and the test environment database is further configured to obtain configuration data of the test environment.
According to the technical scheme disclosed by the embodiment of the invention, the new concept, the new mode and the new tool of the micro-service configuration center are used on the cloud platform, the service and the configuration of the application in different environments and different clusters in the cloud platform can be uniformly managed, the configuration of the service and the application can be pushed to the service and application end in real time after being modified, and the micro-service configuration center has the characteristics of standard authority, flow control and the like. The production efficiency of operation and maintenance of the application and the service on the cloud platform is improved; the normalization and the safety of the configuration data of the application and the service are ensured; the configuration and release of the application and the service are both subjected to version management, and the rollback of the configuration can be conveniently supported according to the needs; the service end of the micro-service configuration center can monitor the use conditions of the application and the service instance on the cloud platform in real time; the operation cost of the cloud platform is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart of a cloud platform configuration method disclosed in an embodiment of the present invention;
fig. 2 is a flowchart of another cloud platform configuration method disclosed in an embodiment of the present invention;
fig. 3 is a schematic diagram of a cloud platform configuration apparatus according to an embodiment of the present invention.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the invention to enable those skilled in the art to practice them. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of embodiments of the invention encompasses the full ambit of the claims, and all available equivalents of the claims. Embodiments may be referred to, individually or collectively, herein by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the structures, products and the like disclosed by the embodiments, the description is relatively simple because the structures, the products and the like correspond to the parts disclosed by the embodiments, and the relevant parts can be just described by referring to the method part.
The embodiment of the invention discloses a cloud platform configuration method, as shown in fig. 1, comprising the following steps:
s101, respectively managing configuration centers of a production environment, a pre-production environment and a test environment;
s102, acquiring configuration data of the production environment through a configuration center of the production environment;
s103, acquiring configuration data of the pre-production environment through a configuration center of the pre-production environment;
and S104, acquiring configuration data of the test environment through a configuration center of the test environment.
Optionally, S101 may further include:
s1011, managing one or more information in accounts, authorities and clusters of configuration centers of the production environment, the pre-production environment and the test environment respectively.
Optionally, S102 may further include:
and S1021, acquiring configuration data of the production environment through a database associated with the configuration center of the production environment.
Optionally, S103 may further include:
s1031, obtaining the configuration data of the pre-production environment through the database associated with the configuration center of the pre-production environment,
optionally, S104 may further include:
s1041, obtaining the configuration data of the test environment through the database associated with the configuration center of the test environment.
For example, as shown in fig. 2, a configuration center management end and a database are deployed in a production environment, and are responsible for managing configuration data of the production environment, a pre-production environment, and a test environment, and managing and maintaining information such as an account number, an authority, a cluster, and the like.
And deploying the admin service, the config service and a database in a production environment.
And deploying admin services and config services and a database in a pre-production environment.
And deploying admin service and config service and a database in a test environment.
Services and applications of the production environment in the cloud platform read configuration data from a configuration center of the production environment.
Services and applications of the pre-production environment in the cloud platform read configuration data from a configuration center of the pre-production environment.
Services and applications of the test environment in the cloud platform read configuration data from a configuration center of the test environment.
The embodiment of the invention discloses an application method of a micro-service configuration center technology in a cloud platform, wherein a server side of the micro-service configuration center is deployed in a distributed deployment mode and comprises a distributed deployment database, and the micro-service configuration center is respectively deployed in different environments; creating items and distributing authority at a server side of the micro-service configuration center, creating configuration items and releasing the configuration items; the service and the application in the cloud platform are used as a client of the configuration center, and configuration information is obtained from the server of the configuration center in real time.
According to the technical scheme disclosed by the embodiment of the invention, the new concept, the new mode and the new tool of the micro-service configuration center are used on the cloud platform, the service and the configuration of the application in different environments and different clusters in the cloud platform can be uniformly managed, the configuration of the service and the application can be pushed to the service and application end in real time after being modified, and the micro-service configuration center has the characteristics of standard authority, flow control and the like. The production efficiency of operation and maintenance of the application and the service on the cloud platform is improved; the normalization and the safety of the configuration data of the application and the service are ensured; the configuration and release of the application and the service are both subjected to version management, and the rollback of the configuration can be conveniently supported according to the needs; the service end of the micro-service configuration center can monitor the use conditions of the application and the service instance on the cloud platform in real time; the operation cost of the cloud platform is reduced.
The embodiment of the present invention further discloses a cloud platform configuration device 20, which includes:
a configuration center management end 201, configured to manage configuration centers of a production environment, a pre-production environment and a test environment;
a production environment configuration server 202 for acquiring configuration data of a production environment;
a pre-production environment configuration server 203, configured to obtain configuration data of a pre-production environment;
the testing environment configuration server 204 is configured to obtain configuration data of a testing environment.
Optionally, the configuration center management end 201 is configured to manage one or more information in accounts, permissions, and clusters of the configuration centers in the production environment, the pre-production environment, and the test environment.
Optionally, the production environment configuration server 202 further includes a production environment database, and the production environment database is further configured to obtain configuration data of the production environment.
Optionally, the pre-production environment configuration server 203 further includes a pre-production environment database, and the pre-production environment database is further configured to obtain configuration data of the pre-production environment.
Optionally, the testing environment configuration server 204 further includes a testing environment database, and the testing environment database is further configured to obtain configuration data of the testing environment.
The embodiment of the invention can carry out unified safety management, configuration project management, authority distribution, environment management, version control and the like on the configuration of the service and the application in the cloud platform.
The technical scheme disclosed by the embodiment of the invention adopts a uniform micro-service configuration center; managing different deployment environments using a configuration center; and the configuration center client acquires specific configuration items according to the information of the application ID, the environment ID, the cluster ID and the name space. The configuration of the application and the service in the cloud platform under different environments can be supported for unified management.
It is to be understood that the present invention is not limited to the procedures and structures described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A cloud platform configuration method, comprising:
deploying a configuration center in a production environment, deploying the configuration center in a pre-production environment and deploying the configuration center in a test environment;
deploying a configuration center management end in a production environment, and managing configuration centers of the production environment, a pre-production environment and a test environment respectively;
the method comprises the steps that the service and the application of a production environment in a cloud platform obtain configuration data of the production environment through a configuration center of the production environment;
the method comprises the steps that services and applications of a pre-production environment in a cloud platform obtain configuration data of the pre-production environment through a configuration center of the pre-production environment;
and services and applications of the testing environment in the cloud platform acquire configuration data of the testing environment through a configuration center of the testing environment.
2. The method of claim 1, wherein managing the configuration centers of the production environment, the pre-production environment, and the test environment, respectively, comprises:
and respectively managing one or more information in the accounts, the authorities and the clusters of the configuration centers of the production environment, the pre-production environment and the test environment.
3. The method of claim 1, wherein obtaining configuration data for the production environment through a configuration center for the production environment comprises:
and acquiring the configuration data of the production environment through a database associated with the configuration center of the production environment.
4. The method of claim 1, wherein obtaining configuration data of the pre-production environment through a configuration center of the pre-production environment comprises:
and acquiring the configuration data of the pre-production environment through a database associated with the configuration center of the pre-production environment.
5. The method of claim 1, wherein obtaining configuration data for the test environment through a configuration center for the test environment comprises:
and acquiring the configuration data of the test environment through a database associated with the configuration center of the test environment.
6. A cloud platform configuration apparatus, comprising:
the configuration center management end is used for managing the configuration centers of the production environment, the pre-production environment and the test environment;
the production environment configuration server is used for acquiring the configuration data of the production environment and providing the configuration data for the service and the application of the production environment in the cloud platform;
the pre-production environment configuration server is used for acquiring configuration data of the pre-production environment and providing the configuration data to services and applications of the pre-production environment in the cloud platform;
and the test environment configuration server is used for acquiring the configuration data of the test environment and providing the configuration data for the service and the application of the test environment in the cloud platform.
7. The apparatus of claim 6, wherein:
and the configuration center management terminal is used for managing one or more information in accounts, authorities and clusters of the configuration centers of the production environment, the pre-production environment and the test environment.
8. The apparatus of claim 6, wherein the production environment configuration server further comprises a production environment database, the production environment database further configured to obtain configuration data of the production environment.
9. The apparatus of claim 6, wherein the pre-production environment configuration server further comprises a pre-production environment database, the pre-production environment database further configured to obtain configuration data of the pre-production environment.
10. The apparatus of claim 6, wherein the test environment configuration server further comprises a test environment database, and wherein the test environment database is further configured to obtain configuration data of the test environment.
CN201811635202.8A 2018-12-29 2018-12-29 Cloud platform configuration method and device Active CN109889364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811635202.8A CN109889364B (en) 2018-12-29 2018-12-29 Cloud platform configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811635202.8A CN109889364B (en) 2018-12-29 2018-12-29 Cloud platform configuration method and device

Publications (2)

Publication Number Publication Date
CN109889364A CN109889364A (en) 2019-06-14
CN109889364B true CN109889364B (en) 2022-10-14

Family

ID=66925499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811635202.8A Active CN109889364B (en) 2018-12-29 2018-12-29 Cloud platform configuration method and device

Country Status (1)

Country Link
CN (1) CN109889364B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8090677B2 (en) * 2005-03-18 2012-01-03 Microsoft Corporation Method and system for altering the configuration of a data warehouse
US9875269B1 (en) * 2014-03-12 2018-01-23 Sprint Communications Company L.P. Collaborative editing in self-contained single page applications
US9749446B1 (en) * 2015-03-16 2017-08-29 Symantec Corporation Method for consolidated environment computing
US9880837B2 (en) * 2015-06-24 2018-01-30 Vmware, Inc. Artifact manager for release automation
CN106528170A (en) * 2016-11-25 2017-03-22 上海找钢网信息科技股份有限公司 Software package release method and system based on multi-language environment
CN107483225B (en) * 2017-07-04 2020-11-13 北京奥鹏远程教育中心有限公司 Application method and device of Docker on education cloud platform
CN107621944A (en) * 2017-09-22 2018-01-23 天翼电子商务有限公司 Continuous integrating pipeline system and its method based on automation O&M

Also Published As

Publication number Publication date
CN109889364A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN107666525B (en) Method and device for IP allocation of cluster container
US20160216958A1 (en) Modular system including management and deployment of software updates and revisions
US8806471B2 (en) Upgrade and downgrade in package update operations
US20100262632A1 (en) Data transfer from on-line to on-premise deployment
US20110126168A1 (en) Cloud plarform for managing software as a service (saas) resources
CN102298647B (en) Inspection and allocation system and method of data file
US8578337B2 (en) Method and system for quality assurance subscription service
US9009696B2 (en) Generating encoded identifications of selected subsets of installed software packages on a client machine
JP2022062705A (en) Computer-implemented methods, computer systems and programs for generating blockchain-implemented data migration audit trail (blockchain-implemented data migration audit trail)
US20060075001A1 (en) System, method and program to distribute program updates
US20080244047A1 (en) Method for implementing management software, hardware with pre-configured software and implementing method thereof
EP1526453A2 (en) A system and method for providing user controlled migration of a client computer
CN104317610A (en) Method and device for automatic installation and deployment of hadoop platform
US11256544B2 (en) Redistributing update resources during update campaigns
US10515193B2 (en) Secure large volume feature license provisioning system
US20090100158A1 (en) Backup and Recovery System for Multiple Device Environment
CN1882911A (en) A method in a network of the delivery of files
US20200167444A1 (en) Systems and methods for software license management
CN112994945A (en) Automatic deployment method and device of trusted cloud platform
US9959113B2 (en) Managing versions of software packages
US9772834B2 (en) Exportable encoded identifications of networked machines
CN104199695A (en) Automatic upgrading method of Web applications
US20030192039A1 (en) Configuration management system & method
CN109889364B (en) Cloud platform configuration method and device
CN101924794B (en) Internet based method for monitoring total software operation quantity in real time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant