CN105187250B - A kind of method and system for disposing node based on component template - Google Patents
A kind of method and system for disposing node based on component template Download PDFInfo
- Publication number
- CN105187250B CN105187250B CN201510623433.7A CN201510623433A CN105187250B CN 105187250 B CN105187250 B CN 105187250B CN 201510623433 A CN201510623433 A CN 201510623433A CN 105187250 B CN105187250 B CN 105187250B
- Authority
- CN
- China
- Prior art keywords
- disposed
- component
- node
- component template
- template
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000005538 encapsulation Methods 0.000 claims description 3
- 238000013507 mapping Methods 0.000 abstract description 2
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0843—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
This application provides a kind of methods for disposing node based on component template, receive deployment request instruction, and the deployment request instruction includes that component to be disposed identifies;Component to be disposed is created according to the component mark to be disposed;By the component package to be disposed at component template;Determine node to be disposed;In the form of task, the node to be disposed is disposed using the component template.In the application, by the component package of all pending deployment at component template, treats deployment node using the component template and disposed, can disposably complete mapping out the work for node, deployment is efficient.
Description
Technical field
This application involves cloud data center deployment node field, more particularly to a kind of sides disposing node based on component template
Method and system.
Background technology
With the development of technology, the method that people dispose node to cloud data center is increasingly paid close attention to.
The method of existing cloud data center deployment node is generally disposed using artificial deployment or by program, but
It is that a software one software is needed dispose, has seriously affected deployment efficiency.
Therefore, how efficiently to carry out deployment to the node of cloud data center is that those skilled in the art need to solve at present
The technical issues of.
Invention content
Technical problems to be solved in this application are to provide a kind of method and system for disposing node based on component template, solution
It has determined and a software one software is needed dispose in the prior art, the very low problem of deployment efficiency.
Its concrete scheme is as follows:
A method of node being disposed based on component template, this method includes:
Deployment request instruction is received, the deployment request instruction includes that component to be disposed identifies;
Component to be disposed is created according to the component mark to be disposed;
By the component package to be disposed at component template;
Determine node to be disposed;
In the form of task, the node to be disposed is disposed using the component template.
Above-mentioned method further includes:
In the form of log recording, the process disposed to the node to be disposed using the component template is carried out
Record, wherein the record includes the mark of the component template.
Above-mentioned method further includes:
According to the component template mark recorded in the record, to the component in the component template and the component template
It is updated operation.
Above-mentioned method, when it is described wait dispose node include the node being newly added when, further include:
The node of the new addition is authenticated.
Above-mentioned method, the node to the new addition are authenticated, including:
Obtain the username and password of the node of the new addition;
Judge whether the username and password is correct;
When the username and password is correct, the node of the new addition passes through certification.
A kind of system for disposing node based on component template, the system include:
Receiving unit, for receiving deployment request instruction, the deployment request instruction includes that component to be disposed identifies;
Creating unit creates component to be disposed for component mark to be disposed according to;
Encapsulation unit, for by the component package to be disposed at component template;
Determination unit, for determining node to be disposed;
Deployment unit, in the form of task, being disposed to the node to be disposed using the component template.
Above-mentioned system further includes:
Recording unit is used in the form of log recording, to being carried out to the node to be disposed using the component template
The process of deployment is recorded, wherein the record includes the mark of the component template.
Above-mentioned system further includes:
Updating unit, for being identified according to the component template recorded in the record, to the component template and described group
Component in part template is updated operation.
Above-mentioned system further includes in the determination unit:
Authentication unit is authenticated for the node to the new addition.
Above-mentioned system, the authentication unit include:
Acquiring unit, the username and password of the node for obtaining the new addition;
Judging unit, for judging whether the username and password is correct;
Certification subelement, for when the username and password is correct, the node of the new addition to pass through certification.
In a kind of method based on component template deployment node provided by the present application, deployment request instruction, the portion are received
Administration's request instruction includes that component to be disposed identifies;Component to be disposed is created according to the component mark to be disposed;It will
The component package to be disposed is at component template;Determine node to be disposed;In the form of task, the component template pair is utilized
The node to be disposed is disposed.In the application, by the component package of all pending deployment at component template, using described
Component template is treated deployment node and is disposed, and mapping out the work for node can be disposably completed, and deployment is efficient.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of flow chart of embodiment of the method for disposing node based on component template of the application;
Fig. 2 is a kind of structural schematic diagram of system embodiment for disposing node based on component template of the application;
Fig. 3 is that one kind of the application being based on component template deployment node specific implementation block diagram.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
In the application, by building component template, quick, safety, batch deployment node is realized in the form of task.
With reference to figure 1, a kind of flow chart of embodiment of the method that disposing node based on component template of the application is shown, it can be with
Include the following steps:
Step S101:Deployment request instruction is received, the deployment request instruction includes that component to be disposed identifies.
When needing the node to cloud data center to dispose, deployment request instruction, the deployment request instruction are received
Include that component to be disposed identifies, there are one components to identify for each component.
Step S102:Component to be disposed is created according to the component mark to be disposed.
It can be effectively prevented from repetition according to component mark and create the same component, may be implemented once to create and component mark
Sensible corresponding component can use the component everywhere.
Step S103:By the component package to be disposed at component template.
The all components of establishment are packaged, are existed in the form of component template, in this way, component template reality can be passed through
Now batch deployment node.
Step S104:Determine node to be disposed.
Determine the node for needing to carry out the deployment of components in cloud data center.
Step S105:In the form of task, the node to be disposed is disposed using the component template.
In the form of task, by the mission dispatching of deployment of components to each node, each node receives the deployment issued and appoints
After business, according to the component template of acquisition into the installation of shape component.
In a kind of method based on component template deployment node provided by the present application, the component of all pending deployment is sealed
Component template is dressed up, deployment node is treated using the component template and is disposed, can disposably complete the deployment work of node
Make, deployment is efficient.
In the application, further include:
In the form of log recording, the process disposed to the node to be disposed using the component template is carried out
Record, wherein the record includes the mark of the component template.
According to the component template mark recorded in the record, to the component in the component template and the component template
It is updated operation.
In the application, all historical records disposed to each node are recorded, so as to more by historical record
The new component template so that the deployment of node is met the needs of users in real time.
In the application, when described when it includes the node being newly added to dispose node, further include:
The node of the new addition is authenticated.
When have it is new carry out the node disposed and be added when, need whether the node being newly added under verification meets carry out portion
The condition of administration when only meeting deployment conditions, can just carry out deployment operation.
The node to the new addition is authenticated, including:
Obtain the username and password of the node of the new addition.
Judge whether the username and password is correct.
When the username and password is correct, the node of the new addition passes through certification.
It is corresponding with a kind of method that embodiment of the method that being disposed node based on component template is provided of above-mentioned the application, ginseng
See Fig. 2, present invention also provides a kind of system embodiments for disposing node based on component template, in the present embodiment, the system
Including:
Receiving unit 201, for receiving deployment request instruction, the component mark disposed request instruction and include to be disposed
Know.
Creating unit 202 creates component to be disposed for component mark to be disposed according to.
Encapsulation unit 203, for by the component package to be disposed at component template.
Determination unit 204, for determining node to be disposed.
Deployment unit 205 is used in the form of task, using the component template to node carry out the to be disposed portion
Administration.
In the application, further include:
Recording unit is used in the form of log recording, to being carried out to the node to be disposed using the component template
The process of deployment is recorded, wherein the record includes the mark of the component template.
Updating unit, for being identified according to the component template recorded in the record, to the component template and described group
Component in part template is updated operation.
Further include in the determination unit:
Authentication unit is authenticated for the node to the new addition.
The authentication unit includes:
Acquiring unit, the username and password of the node for obtaining the new addition;
Judging unit, for judging whether the username and password is correct;
Certification subelement, for when the username and password is correct, the node of the new addition to pass through certification.
During specific implementation, as shown in figure 3, including deployment assembly management, deployment template management, deployment task pipe
Reason, deployment log management and entity authentication management.
Assembly management is disposed, many components repeat to create when establishment primarily directed to deployment template, in order to save people
Power resource and based on once creating the principle used everywhere, design deployment assembly management, can the actual conditions based on user to group
Part is adjusted.
Deployment template management, package assembling construct a deployment template, will pass through template batch deployment node.
Deployment task management, it is characterized in that all node deployments will finally provide the user with deployment in the form of task
Service, task directly application template can dispose node.
Log management is disposed, it is characterized in that all historical records of record sea of clouds deployment node can lead to history note so as to sea of clouds
Record update deployment template.
Entity authentication management, it is characterized in that the username and password by providing node, this can be managed by being O&M module
Node.
This mode based on component template disposes the mode of node, avoids manually-operated error, improves application
The reliability of software deployment so that the deployment way of application software is more convenient, quick.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight
Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description
See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that
A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit is realized can in the same or multiple software and or hardware when application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
It is realized by the mode of software plus required general hardware platform.Based on this understanding, the technical solution essence of the application
On in other words the part that contributes to existing technology can be expressed in the form of software products, the computer software product
It can be stored in a storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are used so that a computer equipment
(can be personal computer, server either network equipment etc.) executes the certain of each embodiment of the application or embodiment
Method described in part.
Detailed Jie has been carried out to a kind of method and system for disposing node based on component template provided herein above
It continues, specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above example is only
It is to be used to help understand the method for this application and its core ideas;Meanwhile for those of ordinary skill in the art, according to this Shen
Thought please, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage
Solution is the limitation to the application.
Claims (10)
1. a kind of method for disposing node based on component template, which is characterized in that this method includes:
Deployment request instruction is received, the deployment request instruction includes that component to be disposed identifies;
Component to be disposed is created according to the component mark to be disposed;
By the component package to be disposed at component template;
Determine node to be disposed;
In the form of task, the node to be disposed is disposed using the component template.
2. according to the method described in claim 1, it is characterized in that, further including:
In the form of log recording, the process disposed to the node to be disposed using the component template is remembered
Record, wherein the record includes the mark of the component template.
3. according to the method described in claim 2, it is characterized in that, further including:
According to the component template mark recorded in the record, the component in the component template and the component template is carried out
Update operation.
4. according to the method described in claim 1, it is characterized in that, when the node to be disposed includes the node being newly added
When, further include:
The node of the new addition is authenticated.
5. according to the method described in claim 4, it is characterized in that, the node to the new addition is authenticated, including:
Obtain the username and password of the node of the new addition;
Judge whether the username and password is correct;
When the username and password is correct, the node of the new addition passes through certification.
6. a kind of system for disposing node based on component template, which is characterized in that the system includes:
Receiving unit, for receiving deployment request instruction, the deployment request instruction includes that component to be disposed identifies;
Creating unit creates component to be disposed for component mark to be disposed according to;
Encapsulation unit, for by the component package to be disposed at component template;
Determination unit, for determining node to be disposed;
Deployment unit, in the form of task, being disposed to the node to be disposed using the component template.
7. system according to claim 6, which is characterized in that further include:
Recording unit is used in the form of log recording, to being disposed to the node to be disposed using the component template
Process recorded, wherein the record includes the mark of the component template.
8. system according to claim 7, which is characterized in that further include:
Updating unit, for being identified according to the component template recorded in the record, to the component template and the assembly mould
Component in plate is updated operation.
9. system according to claim 6, which is characterized in that further include in the determination unit:
Authentication unit, for being authenticated to the node being newly added.
10. system according to claim 9, which is characterized in that the authentication unit includes:
Acquiring unit, the username and password of the node for obtaining the new addition;
Judging unit, for judging whether the username and password is correct;
Certification subelement, for when the username and password is correct, the node of the new addition to pass through certification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510623433.7A CN105187250B (en) | 2015-09-25 | 2015-09-25 | A kind of method and system for disposing node based on component template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510623433.7A CN105187250B (en) | 2015-09-25 | 2015-09-25 | A kind of method and system for disposing node based on component template |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105187250A CN105187250A (en) | 2015-12-23 |
CN105187250B true CN105187250B (en) | 2018-11-06 |
Family
ID=54909104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510623433.7A Active CN105187250B (en) | 2015-09-25 | 2015-09-25 | A kind of method and system for disposing node based on component template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105187250B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109560952B (en) * | 2017-09-27 | 2021-04-09 | 华为技术有限公司 | Network slice management method and equipment |
CN108563505A (en) * | 2018-04-04 | 2018-09-21 | 上海有云信息技术有限公司 | A kind of service chaining method of combination, device, server and storage medium |
CN110865827B (en) * | 2018-08-27 | 2023-04-25 | 阿里巴巴集团控股有限公司 | Data updating method, device and system |
CN109656582A (en) * | 2018-12-25 | 2019-04-19 | 浪潮电子信息产业股份有限公司 | A kind of server batch deployment system, method, equipment and medium |
CN112770326B (en) * | 2019-10-21 | 2023-05-09 | 阿里巴巴集团控股有限公司 | LoRa gateway deployment method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681825A (en) * | 2011-03-09 | 2012-09-19 | 北京航空航天大学 | System and method for managing service run container |
CN104317642A (en) * | 2014-09-28 | 2015-01-28 | 华为技术有限公司 | Method and device for configuring software in cloud calculation environment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9575735B2 (en) * | 2005-12-27 | 2017-02-21 | International Business Machines Corporation | Application template creation and management |
CN101453367B (en) * | 2007-11-30 | 2011-12-28 | 华为技术有限公司 | Software deployment method and system, software deployment server and user server |
-
2015
- 2015-09-25 CN CN201510623433.7A patent/CN105187250B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681825A (en) * | 2011-03-09 | 2012-09-19 | 北京航空航天大学 | System and method for managing service run container |
CN104317642A (en) * | 2014-09-28 | 2015-01-28 | 华为技术有限公司 | Method and device for configuring software in cloud calculation environment |
Also Published As
Publication number | Publication date |
---|---|
CN105187250A (en) | 2015-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105187250B (en) | A kind of method and system for disposing node based on component template | |
EP3178198B1 (en) | Secure cloud based multi-tier provisioning | |
CN102571948B (en) | Cloud-computing-based platform as a service (PaaS) platform system and implementation method thereof | |
CN103369022B (en) | Method and system for communication with memory device | |
US8260931B2 (en) | Secure provisioning of resources in cloud infrastructure | |
CN105262780B (en) | A kind of authority control method and system | |
CN104243154A (en) | Server user authority centralized control system and server use authority centralized control method | |
CN105027108A (en) | Instance host configuration | |
CN104811433A (en) | Distributed IoT (Internet of Things) solution scheme of C/S configuration | |
WO2016169166A1 (en) | Virtual machine scheduling method and device | |
CN103685463A (en) | Access control method and system in cloud computing system | |
CN103475726A (en) | Virtual desktop management method, server and client side | |
CN106886434A (en) | A kind of Distributed Application installation method and device | |
CN107547595A (en) | cloud resource scheduling system, method and device | |
CN106656927A (en) | Method and device for enabling Linux account to be added to AD domain | |
CN106331003A (en) | Method and device for accessing application portal system on cloud desktop | |
CN105843725B (en) | A kind of monitoring method and device of IaaS platforms | |
CN104580081A (en) | Integrated SSO (single sign on) system | |
CN103401859B (en) | A kind of method of protocol conversion and protocol converter | |
CN104835004A (en) | Guest room information management method and system | |
CN103902310B (en) | Scheduling system and method for starting of virtual machines | |
CN104991826B (en) | A kind of virtual machine deployment method and device | |
CN112491848B (en) | Method and equipment for supporting extensible secure docking of third-party system | |
CN104967515B (en) | A kind of identity identifying method and server | |
CN102868558A (en) | Multi-device software upgrading method and multi-device software upgrading system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |