CN108664268A - A kind of template character management method of cloud platform application cluster - Google Patents
A kind of template character management method of cloud platform application cluster Download PDFInfo
- Publication number
- CN108664268A CN108664268A CN201810449649.XA CN201810449649A CN108664268A CN 108664268 A CN108664268 A CN 108664268A CN 201810449649 A CN201810449649 A CN 201810449649A CN 108664268 A CN108664268 A CN 108664268A
- Authority
- CN
- China
- Prior art keywords
- application cluster
- type
- role
- cluster
- mirror image
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to cloud platform application management technical field, especially a kind of template character management method of cloud platform application cluster.The present invention is mirrored to using cloud platform mirror image management interface upload application cluster in the mirrored storage of cloud platform;Application cluster dictionary is initialized, including the Role Information under application cluster type, application cluster type;It calls mirror image management interface to obtain the mark for needing mirror image, the mark of the configuration script and mirror image that are used inside the version number of role, role inside application cluster type, application cluster, role is established into mapping relations;The above map information is packaged into interface, service is externally provided.The template of management application cluster and the attribute of self-defined cluster template can be facilitated through the invention.
Description
Technical field
The present invention relates to cloud platform application management technical field, the template role of especially a kind of cloud platform application cluster manages
Reason method.
Background technology
With the maturation of cloud platform technology, many applications all move in cloud platform, wherein also containing many application collection
Group's system;Such as data-base cluster, big data analysis cluster, Web service cluster etc..There there is no cloud platform in traditional group system
Good mirror image management function usually does a little marks to distinguish the mirror image that group system uses, without forming spy on mirror image
The management of fixed cluster template metadata;The reuse of inconvenient cluster template and the quick definition of cluster.For these problems,
A kind of application cluster Template Manager method of cloud platform is needed, user is allowed to be easy to carry out the upload of application cluster mirror image, and
Obtain the template metadata information of application cluster.
Invention content
It, can be with present invention solves the technical problem that be to provide a kind of application cluster template character management method of cloud platform
The Mirror Info of application cluster used and the convenient template that application cluster is externally provided in effectively self-defined management cloud platform
Service.
The present invention solve above-mentioned technical problem technical solution be:
The method is will to make inside the version number of role, role inside application cluster type, application cluster, role
The mark of configuration script and the application cluster mirror image of upload establishes mapping relations;Map information is packaged into interface externally to carry
For service.
The method includes the following steps:
Step 1:Initialize the node Role Information under application cluster type, application cluster type;
Step 2:Call upload mirror image interface by the mirror image that application cluster uses upload to cloud platform mirror image management in
And obtain image banner;
Step 3:The configuration that role inside application cluster type, application cluster, role version number, role inside are used
Script establishes mapping relations with image banner;
Step 4:The above map information is packaged into interface, service is externally provided.
Using the node Role Information under the formal definition application cluster type of dictionary, application cluster type;Allow addition,
Delete relevant application cluster type, application cluster node Role Information;
Role Information includes the node type of cluster under the type of cluster, certain type;It can be gathered around under the cluster of some type
There are many node type role definitions;Cluster lower node type possesses version information, supports the definition of miscellaneous editions.
The calling uploads mirror image interface, and uploading mirror image template by application cluster initiates, it would be desirable to cluster mirror image on
It passes in cloud platform, while image banner is recorded in application cluster mirror site;The cluster mirror site not used is supported to delete
Operation, when deletion, can also remove the mirror image in the management of the mirror image in cloud platform.
The described mapping relations of establishing are to configure application cluster type, the role inside application cluster, role version number, match
The relationship for setting script and image banner supports the configuration of multiple roles and version number;It is convenient in cluster portion to define configuration script
Automatic loading configuration file completes initial configuration information when administration;By the node role under group type and group type with
And version information is at most only able to find only one image banner symbol;Section all under the type can be found by group type
Point role.
The external offer service is the mirror image for obtaining the template metadata information of application cluster in dictionary, and upload
Information;The increase, deletion, modification interface of relationship are externally provided mapping, while Web page being provided, is integrated into cloud management platform.
The present invention can the effectively self-defined Mirror Info used, the self-defined cluster mould for managing application cluster in cloud platform
The attribute of plate;The convenient Template Service that application cluster is externally provided.The present invention allows user to be easy to carry out application cluster mirror image
It uploads, and obtains the template metadata information of application cluster.
Description of the drawings
The following further describes the present invention with reference to the drawings:
Fig. 1 is flow chart of the present invention.
Specific implementation mode
As shown in Figure 1, specific implementation process of the present invention is as follows:
1, the Role Information under initialization application cluster type, application cluster type
(1) using the node Role Information under the formal definition application cluster type of dictionary, application cluster type
Wherein dictionary code defines group type, such as
DictKey fields are master, and dictType is cluster Spark
DictKey fields are slave, and dictType is cluster Spark
It represents group type Spark and possesses master, slave principal and subordinate roles
(2) interface service is externally provided
Allow to add, delete relevant application cluster type, application cluster node Role Information
2, upload mirror image interface is called to upload to the mirror image that application cluster uses in the mirror image management of cloud platform and obtain
Take image banner
The method of calling of openstack mirror image management interfaces SDK is encapsulated, calls SDK to upload mirror image, check that mirror image uploads shape
State, the information for describing mirror image and the mark for obtaining mirror image.
3, the configuration script for using the role inside application cluster type, application cluster, role version number, role inside
Mapping relations are established with image banner
Using following structural information come enough structure mapping relations
Wherein type is the type of application cluster, and node is the character types of application cluster type lower node, and version is
The version number (for example, Spark2.0.0, Spark2.0.1 etc.) of node, configScript are step to be used under node
File path;ImageId is image banner, and wherein configuration script supports the form of file path name;
4, interface service is externally provided
The template metadata information of application cluster in dictionary is obtained, and the Mirror Info uploaded, establishes the above upper mapping
Relationship, externally provides mapping the increase, deletion, modification interface of relationship, while providing Web page, is integrated into cloud management platform.
Whole flow process terminates.
Claims (6)
1. a kind of character management method of cloud platform application cluster template, it is characterised in that:The method is by application cluster
The application cluster mirror for the configuration script and upload that the version number of role, role inside type, application cluster, role inside use
The mark of picture establishes mapping relations;Map information is packaged into interface, service is externally provided.
2. according to the method described in claim 1, it is characterized in that:The method includes the following steps:
Step 1:Initialize the node Role Information under application cluster type, application cluster type;
Step 2:Upload mirror image interface is called to upload to the mirror image that application cluster uses in the mirror image management of cloud platform and obtain
Take image banner;
Step 3:The configuration script that role inside application cluster type, application cluster, role version number, role inside are used
Mapping relations are established with image banner;
Step 4:The above map information is packaged into interface, service is externally provided.
3. according to the method described in claim 1, it is characterized in that:Using the formal definition application cluster type of dictionary, application
Node Role Information under group type;Allow to add, delete relevant application cluster type, application cluster node role letter
Breath;
Role Information includes the node type of cluster under the type of cluster, certain type;It can possess under the cluster of some type more
Kind node type role definition;Cluster lower node type possesses version information, supports the definition of miscellaneous editions.
4. according to the method described in claim 2, it is characterized in that:The calling uploads mirror image interface, by application cluster
Mirror image template is passed to initiate, it would be desirable to cluster mirror image upload in cloud platform, while application cluster mirror image is recorded in image banner
In library;Support the cluster mirror site delete operation that does not use, when deletion can also remove the mirror in the mirror image management in cloud platform
Picture.
5. according to the method described in claim 2, it is characterized in that:The mapping relations of establishing are configuration application cluster classes
The relationship of role, role version number, configuration script and image banner inside type, application cluster, support multiple roles and version
This number configuration;It defines the convenient loading configuration file automatic in clustered deploy(ment) of configuration script and completes initial configuration information;It is logical
The node role crossed under group type and group type and version information are at most only able to find only one image banner symbol;
Node role all under the type can be found by group type.
6. according to the method described in claim 2, it is characterized in that:The external offer service is obtained in dictionary using collection
Group template metadata information, and upload Mirror Info;The increase, deletion, modification interface of relationship are externally provided mapping, together
When Web page is provided, be integrated into cloud management platform.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810449649.XA CN108664268A (en) | 2018-05-11 | 2018-05-11 | A kind of template character management method of cloud platform application cluster |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810449649.XA CN108664268A (en) | 2018-05-11 | 2018-05-11 | A kind of template character management method of cloud platform application cluster |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108664268A true CN108664268A (en) | 2018-10-16 |
Family
ID=63779226
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810449649.XA Pending CN108664268A (en) | 2018-05-11 | 2018-05-11 | A kind of template character management method of cloud platform application cluster |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108664268A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103310000A (en) * | 2013-06-25 | 2013-09-18 | 曙光信息产业(北京)有限公司 | Metadata management method |
CN105653372A (en) * | 2015-12-30 | 2016-06-08 | 中电科华云信息技术有限公司 | Cloud platform-based method for realizing multi-virtualization hybrid management and scheduling |
-
2018
- 2018-05-11 CN CN201810449649.XA patent/CN108664268A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103310000A (en) * | 2013-06-25 | 2013-09-18 | 曙光信息产业(北京)有限公司 | Metadata management method |
CN105653372A (en) * | 2015-12-30 | 2016-06-08 | 中电科华云信息技术有限公司 | Cloud platform-based method for realizing multi-virtualization hybrid management and scheduling |
Non-Patent Citations (2)
Title |
---|
WEIXIN_33719619: "一种数据字典表的创建方式", 《HTTPS://BLOG.CSDN.NET/WEIXIN_33719619/ARTICLE/DETAILS/85825972》 * |
菜鸟码农阿庆: "Openstack之glance镜像组件介绍", 《HTTPS://BLOG.CSDN.NET/I_NCLUDE/ARTICLE/DETAILS/78109044》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107766042A (en) | A kind of visual data manager and device of the model file based on CSAR | |
US20120109915A1 (en) | Document management system, method for controlling the same, and storage medium | |
CN102663125B (en) | Method and system for collecting microblog contents to make electronic document | |
CN106569900A (en) | Application processing method and device | |
CN103051652B (en) | A kind of mobile terminal cloud computing distribution platform | |
CN113535176A (en) | Page generation method and device | |
CN104267947A (en) | Method and device for editing popup picture | |
CN105518673B (en) | Managing data ingestion | |
CN109375914A (en) | Information remote exchange method and system | |
CN105824517A (en) | Implementation method and apparatus of desktop | |
CN104268163A (en) | Method and system for acquiring network management network element configuration interface | |
CN115526160A (en) | Rich text processing method, device and equipment and storage medium | |
CN114548056A (en) | Rich text editing method, device and equipment | |
CN108664268A (en) | A kind of template character management method of cloud platform application cluster | |
CN107395770B (en) | Data synchronization method and device | |
TWI546727B (en) | Computer accessible storage medium and method for cross-platform synchronizing attributes of files | |
CN105791556A (en) | Method for quickly releasing storage space of mobile terminal | |
CN113641719A (en) | Data processing method, data processing device, computer and storage medium | |
CN107357836B (en) | VNF package and method and device for deleting mirror image file referenced by VNF package | |
CN101374307B (en) | Method and apparatus for updating digital content information of mobile equipment | |
KR102204047B1 (en) | Apparatus and method for managing application storage area of mobile terminal | |
CN107885582B (en) | Heterogeneous container cluster migration method and controller | |
CN108595160B (en) | Method and storage medium for calling native object by JS | |
KR102040392B1 (en) | Method for providing augmented reality contents service based on cloud | |
CN112235643B (en) | Operating system user protocol operation management method of intelligent equipment |
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 | ||
CB02 | Change of applicant information |
Address after: 19 / F, Cloud Computing Center, Chinese Academy of Sciences, No.1 Kehui Road, Songshanhu high tech Industrial Development Zone, Dongguan City, Guangdong Province, 523000 Applicant after: G-CLOUD TECHNOLOGY Co.,Ltd. Address before: 523808 No. 14 Building, Songke Garden, Songshan Lake Science and Technology Industrial Park, Dongguan City, Guangdong Province Applicant before: G-CLOUD TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181016 |
|
RJ01 | Rejection of invention patent application after publication |