CN105430043A - Virtualized-instance-oriented launch configuration implementation method - Google Patents
Virtualized-instance-oriented launch configuration implementation method Download PDFInfo
- Publication number
- CN105430043A CN105430043A CN201510710959.9A CN201510710959A CN105430043A CN 105430043 A CN105430043 A CN 105430043A CN 201510710959 A CN201510710959 A CN 201510710959A CN 105430043 A CN105430043 A CN 105430043A
- Authority
- CN
- China
- Prior art keywords
- user
- configuration
- startup
- type
- request
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Abstract
The invention discloses a virtualized-instance-oriented launch configuration implementation method, and belongs to the technical field of computer software. The method is based on pre-established user types, authority, instance types, launch configuration, and association between transformation strategies, users do not need to understand enforceable launch configuration detailed information, matched instances can be automatically created and launched, and domain knowledge required by the launch of virtualized instances is greatly reduced. On the other hand, agency is not employed in the method, resource providers directly launch the instances, the executing efficiency can be improved, and the problem of performance bottleneck due to agency in the condition of high load is avoided. In the multi-tenant environment with cloud calculation, the users of different types can implement automatic and optimal launch configuration which satisfies user requirement and authority permission, and the virtualized instances of different types are created and launched.
Description
Technical field
Start the implementation method of configuration when virtual example creates and starts under the present invention relates to a kind of cloud computing environment, belong to computer software technical field.
Background technology
Along with the development of cloud computing and Internet technology, increasing application system and service operate on cloud platform, allow user be conducted interviews by the Internet.Based on cloud computing technology, increasing content providers, service provider outwards provide the service of the various ways such as content and application by the mode of the many tenants of cloud meter.Platform provider provides multiple physical/virtual resource (as: cpu, internal memory, disk etc.) and infrastructure, and provides resilient expansion mechanism to meet user at different time to service and the different demands of resource.Platform user rents the resource of provider, and pays according to the service condition of resource, saves the expense buying and safeguard software and hardware and infrastructure.
Under the cloud computing environment of many tenants, user needs the application of being disposed and being issued oneself by establishment calculating crunode example or database instance.In order to create and start these examples, user is necessary for a large amount of configuration parameters created needed for example and arranges appropriate parameter value or span, in order to describe the startup configuration of user-selected object instance, startup configures the content related to and comprises: the Machine Type creating the image file needed for example, running example, the network environment at example place, user's voucher, secure group and placement group etc.
Due to not domain expert, the user of cloud computing platform does not understand the semantic and use scenes of the startup configuration parameter of example usually, cannot to the startup configuration parameter value of goal systems and ambient As optimum.Therefore, cloud platform user needs to be configured by the startup of the virtual example that sought support to expert usually, otherwise the example created cannot reach allocation optimum.The a lot of Dou Shi enterprise and company of client of cloud platform, by enterprises application system or the service operation that externally provides in the virtualized environment of cloud platform, usual customer wishes to ensure that each user in enterprise or application can both use optimum parameter configuration.But existing system cannot make client's convenience, carry out appropriate optimum configurations to respective virtual example accurately, also cannot ensure that dissimilar user and system have different rights of using to virtual example and resource.
Summary of the invention
Because the above-mentioned defect of prior art, technical problem to be solved by this invention is to provide the automatic implementation method that a kind of virtual example starts configuration, can make client under many tenants cloud computing environment for the virtual example of every type or resource provide one or more to start configuration.
For achieving the above object, the invention provides a kind of startup configuration implementation method of Virtual example, comprise the following steps:
Step one, for every type example setting start configuration;
Virtual example types set expression is I={i
1, i
2..., i
m, wherein, i
j(1≤j≤m) is jth type example; For i
j, be the startup configuration set C (i that its setting is corresponding
j)={ c
1, c
2..., c
n, wherein c
kthe kth kind of what (1≤k≤n) was corresponding is current j class example starts configuration; Configuration c is started, definition c={p for often kind
1, p
2..., p
o, i.e. wherein p
l(1≤l≤o) represents the configuration parameter started in configuration c;
Step 2, QoS characteristic corresponding to each configuration c is expressed as c (QoS)={ q
1, q
2..., q
r, wherein q
a(1≤a≤r) represents that the startup of instant example configures a kind of qos value that can reach;
Step 3, set different user types, set up user type and start associating between configuration with the difference of different instances type, namely for often kind of user type u, if the kth kind can implementing jth class example in user type u starts configuration, then be expressed as <u, i
j, c
k>, and all startup configuration sets that end user type u can implement are expressed as C (u);
Step 4, set one group of switching strategy T={t
1, t
2..., t
s, according to type and authority, the example types of application and the QoS characteristic of expectation of active user, user asked the startup configuration comprised to carry out the setting of parameter value or span; Switching strategy t
b(1≤b≤s) with example types, start configuration, user type, QoS, user type and startup configures associates, QoS and startup configuration be associated as foundation, for user selects the example startup meeting the corresponding types of user right and QoS demand to configure;
Step 5, in multi-tenant environment, start configuration for active user implements correct virtual example:
5.1, the request of certain type Virtual example of startup that user submits to is received;
5.2, analyzing and processing is carried out to startup request, therefrom extract and configure relevant data message to starting, comprising: user identifier, session data and initiate the address of request;
5.3, according to the data message extracted in step 5.2, the startup configuration stated in the user type of current initiation request, virtual instance type and request is determined;
5.4, based on step 5.3 obtain data message, with preset in step 3 user type and start configuration be associated as foundation, analyzes and check active user apply for startup example whether correct;
5.5, implement current startup configuration, start virtual example;
5.6, take to revise measure accordingly, comprise the following steps:
If be 5.6.1 set to allow for active user be automatically configured adjustment and perform, then by the switching strategy corresponding to the user type that presets in step 4 and virtual resource type combination, by the amendment of automation and the mode of replacement, the startup configuration parameter value do not met the demands in request or span are converted to correct value or span, then perform step 5.5.
Automatically be configured adjustment if be 5.6.2 set to not allow for active user and perform, then pointing out the startup configuration error in user's current request, and providing correct startup configuration for user, if user confirms and accept, then execution step 5.5; Otherwise executive termination.
Described step 5.4 is divided into following steps:
5.4.1 determine whether the startup configuration stated during user asks is corresponding with following information, comprising: active user's type, virtual instance type, startup configuration parameter value or range of parameter values;
5.4.2 according to user type information, analyze and confirm the access rights that user has and level of security;
5.4.3 according to authority and the level of security of user, correct startup configuration parameter value or parameter value scope that current class user has is analyzed;
5.4.4 analyze active user and whether there is the authority starting current type example, if confirm that the example types that user asks to start is correct with configuration, use the startup configuration of correspondence in user's request to perform step 5.5, otherwise perform step 5.6.
The invention has the beneficial effects as follows: adopt method of the present invention, under cloud computing, multi-tenant environment, can make dissimilar user implement automation, meet consumers' demand and authority license optimum start configuration, and create and start dissimilar virtual example.Based on the association between the user type set up in advance, authority, example types, startup configuration and switching strategy, user is without the need to understanding enforceable startup configuration detail information, can automatically create and start and its example coincide, greatly reduce the domain knowledge started needed for virtual example.On the other hand, this method without the need to using agency, but directly starts example by resource provider, can improve execution efficiency, avoids in high load situations by acting on behalf of the performance bottleneck problem caused.
Accompanying drawing explanation
Fig. 1 is that virtual example starts configuration enforcement technical scheme.
Fig. 2 is the startup configuration implementation process that user asks to start example.
Fig. 3 is embodiment explanation.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described:
As shown in Figure 1 to Figure 3, a kind of startup configuration implementation method of Virtual example, comprises the following steps:
Step one, for every type example setting start configuration;
Virtual example types set expression is I={i
1, i
2..., i
m, as calculating crunode example, database instance etc., wherein, i
j(1≤j≤m) is jth type example; For i
j, be the startup configuration set C (i that its setting is corresponding
j)={ c
1, c
2..., c
n, wherein c
kthe kth kind of what (1≤k≤n) was corresponding is current j class example starts configuration; Configuration c is started, definition c={p for often kind
1, p
2..., p
o, i.e. wherein p
l(1≤l≤o) represents the configuration parameter started in configuration c; Such as: image file, the Machine Type of running example, example place network environment, user certificate, secure group, and placement group etc.
Step 2, often kind of startup configuration have optimal properties respectively in different QoS index, such as: efficiency optimization, throughput are optimum, the response time is the most excellent, QoS characteristic corresponding for each configuration c are expressed as c (QoS)=(q
1, q
2..., q
r, wherein q
a(1≤a≤r) represents that the startup of instant example configures a kind of qos value that can reach;
Step 3, set different user types, set up user type and start associating between configuration with the difference of different instances type, namely for often kind of user type u, if the kth kind can implementing jth class example in user type u starts configuration, then be expressed as <u, i
j, c
k>, and all startup configuration sets that end user type u can implement are expressed as C (u);
Step 4, set one group of switching strategy T={t
1, t
2..., t
s, according to type and authority, the example types of application and the QoS characteristic of expectation of active user, user asked the startup configuration comprised to carry out the setting of parameter value or span; Switching strategy t
b(1≤b≤s) with example types, start configuration, user type, QoS, user type and startup configures associates, QoS and startup configuration be associated as foundation, for user selects the example startup meeting the corresponding types of user right and QoS demand to configure;
Step 5, in multi-tenant environment, start configuration for active user implements correct virtual example:
5.1, the request of certain type Virtual example of startup that user submits to is received;
5.2, analyzing and processing is carried out to startup request, therefrom extract and configure relevant data message to starting, comprising: user identifier, session data and initiate the address of request;
5.3, according to the data message extracted in step 5.2, the startup configuration stated in the user type of current initiation request, virtual instance type and request is determined;
5.4, based on step 5.3 obtain data message, with preset in step 3 user type and start configuration be associated as foundation, analyzes and check active user apply for startup example whether correct;
5.5, implement current startup configuration, start virtual example;
5.6, take to revise measure accordingly, comprise the following steps:
If be 5.6.1 set to allow for active user be automatically configured adjustment and perform, then by the switching strategy corresponding to the user type that presets in step 4 and virtual resource type combination, by the amendment of automation and the mode of replacement, the startup configuration parameter value do not met the demands in request or span are converted to correct value or span, then perform step 5.5.
Automatically be configured adjustment if be 5.6.2 set to not allow for active user and perform, then pointing out the startup configuration error in user's current request, and providing correct startup configuration for user, if user confirms and accept, then execution step 5.5; Otherwise executive termination.
Described step 5.4 is divided into following steps:
5.4.1 determine whether the startup configuration stated during user asks is corresponding with following information, comprising: active user's type, virtual instance type, startup configuration parameter value or range of parameter values;
5.4.2 according to user type information, analyze and confirm the access rights that user has and level of security;
5.4.3 according to authority and the level of security of user, correct startup configuration parameter value or parameter value scope that current class user has is analyzed;
5.4.4 analyze active user and whether there is the authority starting current type example, if confirm that the example types that user asks to start is correct with configuration, use the startup configuration of correspondence in user's request to perform step 5.5, otherwise perform step 5.6.
Fig. 3 describes an example under many tenants resource environment, wherein there are 2 dissimilar users with different access authority, i.e. user A and user B, startup that each user has at least one associated configuration, these start configuration and are used for arranging the parameter starting example or access and use when sharing virtual resource.In this example, each user can transmit a request to the interface of key-course by network, and the explorer of key-course or other assemblies can one or more examples of log-on data layer.
In this example, key-course is the virtualization layer be made up of software and hardware assembly in essence, and bear control and management operation, these operations comprise: resource provision, resilient expansion, example copy.Key-course in this embodiment includes a Web service layer, is made up of other assemblies such as Web server, application server and relevant softwares.Web service layer also comprises one group of API and is used for receiving the call request to Web service.
When user A sends the request starting example A, according to startup described in the invention configuration implementation process (step 5.1-5.6), the address etc. that explorer extracts user ID, session data and initiates request from request starts configuration relevant information; Then the information of these information and customer data base is contrasted, analyze and confirm the access rights that user has and level of security; Then the data message extracted, determines the startup configuration stated in the user type of current initiation request, virtual instance type and request, and determines whether user A can use startup configuration to start example A; When determining that user has authority, explorer pulls corresponding configuration parameter value from starting configuration database, then initiates request to data Layer, starts the example of a type A in data Layer.
Similar, category-B type user can use and start configuration B establishment example, and lack of competence is implemented to start configuration A.In this example, user B sends the request implementing to start configuration A.Requirement analysis in same employing the present invention and processing procedure, the information in explorer inspection customer data base also finds that user B does not have the authority using and start configuration A establishment and startup example.In this case, explorer adopts different corresponded manners according to different situations, comprising: 1) do not state due to user's request and implement correct startup configuration, explorer can select the request refusing request user; 2) can under the condition of receiving feedback information user, explorer sends information to user B, inform that the configuration that user B describes and its authority are not inconsistent, then require that user sends a new request, describe and correct be configured to user and use configuration B to create a new example.In other embodiment, system can to user B transmission response, and inform that user needs to use correct startup configuration B to start corresponding example, this operates or cancels operation to be then confirmed to be execution by user.When user selects to confirm to use startup configuration B, explorer pulls from starting configuration database the configuration parameter value that corresponding startup configures B automatically according to the identity of user B and authority, then initiate request to data Layer, in data Layer, start the example of a type B.The example B that Fig. 3 is represented by dotted lines, this is due in an embodiment, and only have when the authority of user B is consistent with the configuration parameter corresponding to the example needing to start, this embodiment can correctly start.
More than describe preferred embodiment of the present invention in detail.Should be appreciated that those of ordinary skill in the art just design according to the present invention can make many modifications and variations without the need to creative work.Therefore, all technical staff in the art, all should by the determined protection range of claims under this invention's idea on the basis of existing technology by the available technical scheme of logical analysis, reasoning, or a limited experiment.
Claims (2)
1. a startup configuration implementation method for Virtual example, is characterized in that comprising the following steps:
Step one, for every type example setting start configuration;
Virtual example types set expression is I={i
1, i
2..., i
m, wherein, i
j(1≤j≤m) is jth type example; For i
j, be the startup configuration set C (i that its setting is corresponding
j)={ c
1, c
2..., c
n, wherein c
kthe kth kind of what (1≤k≤n) was corresponding is current j class example starts configuration; Configuration c is started, definition c={p for often kind
1, p
2..., p
o, i.e. wherein p
1(1≤l≤o) represents the configuration parameter started in configuration c;
Step 2, QoS characteristic corresponding to each configuration c is expressed as c (QoS)={ q
1, q
2..., q
r, wherein q
α(1≤α≤r) represents that the startup of instant example configures a kind of qos value that can reach;
Step 3, set different user types, set up user type and start associating between configuration with the difference of different instances type, namely for often kind of user type u, if the kth kind can implementing jth class example in user type u starts configuration, then be expressed as <u, i
j, c
k>, and all startup configuration sets that end user type u can implement are expressed as C (u);
Step 4, set one group of switching strategy T={t
1, t
2..., t
s, according to type and authority, the example types of application and the QoS characteristic of expectation of active user, user asked the startup configuration comprised to carry out the setting of parameter value or span; Switching strategy t
b(1≤b≤s) with example types, start configuration, user type, QoS, user type and startup configures associates, QoS and startup configuration be associated as foundation, for user selects the example startup meeting the corresponding types of user right and QoS demand to configure;
Step 5, in multi-tenant environment, start configuration for active user implements correct virtual example:
5.1, the request of certain type Virtual example of startup that user submits to is received;
5.2, analyzing and processing is carried out to startup request, therefrom extract and configure relevant data message to starting, comprising: user identifier, session data and initiate the address of request;
5.3, according to the data message extracted in step 5.2, the startup configuration stated in the user type of current initiation request, virtual instance type and request is determined;
5.4, based on step 5.3 obtain data message, with preset in step 3 user type and start configuration be associated as foundation, analyzes and check active user apply for startup example whether correct;
5.5, implement current startup configuration, start virtual example;
5.6, take to revise measure accordingly, comprise the following steps:
If be 5.6.1 set to allow for active user be automatically configured adjustment and perform, then by the switching strategy corresponding to the user type that presets in step 4 and virtual resource type combination, by the amendment of automation and the mode of replacement, the startup configuration parameter value do not met the demands in request or span are converted to correct value or span, then perform step 5.5.
Automatically be configured adjustment if be 5.6.2 set to not allow for active user and perform, then pointing out the startup configuration error in user's current request, and providing correct startup configuration for user, if user confirms and accept, then execution step 5.5; Otherwise executive termination.
2. the startup configuration implementation method of a kind of Virtual example as claimed in claim 1, is characterized in that: described step 5.4 is divided into following steps:
5.4.1 determine whether the startup configuration stated during user asks is corresponding with following information, comprising: active user's type, virtual instance type, startup configuration parameter value or range of parameter values;
5.4.2 according to user type information, analyze and confirm the access rights that user has and level of security;
5.4.3 according to authority and the level of security of user, correct startup configuration parameter value or parameter value scope that current class user has is analyzed;
5.4.4 analyze active user and whether there is the authority starting current type example, if confirm that the example types that user asks to start is correct with configuration, use the startup configuration of correspondence in user's request to perform step 5.5, otherwise perform step 5.6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710959.9A CN105430043B (en) | 2015-10-29 | 2015-10-29 | A kind of starting configuration implementation method of Virtual example |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510710959.9A CN105430043B (en) | 2015-10-29 | 2015-10-29 | A kind of starting configuration implementation method of Virtual example |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105430043A true CN105430043A (en) | 2016-03-23 |
CN105430043B CN105430043B (en) | 2019-04-16 |
Family
ID=55507980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510710959.9A Active CN105430043B (en) | 2015-10-29 | 2015-10-29 | A kind of starting configuration implementation method of Virtual example |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105430043B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021062512A1 (en) * | 2019-10-02 | 2021-04-08 | Ormuco Inc. | System and method for processing user requests by a plurality of networked computing devices |
WO2022068796A1 (en) * | 2020-09-30 | 2022-04-07 | 华为云计算技术有限公司 | Cloud platform and cloud platform-based program code processing method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374146A (en) * | 2007-08-24 | 2009-02-25 | 赛门铁克公司 | Access to virtual representation of physical computer system based on requirement |
CN102479100A (en) * | 2010-11-26 | 2012-05-30 | 中国科学院软件研究所 | Pervasive computing environment virtual machine platform and creation method thereof |
US20140047437A1 (en) * | 2012-08-09 | 2014-02-13 | Jiatai Wu | Virtual instance reconfiguration |
CN104536805A (en) * | 2014-12-25 | 2015-04-22 | 曙光云计算技术有限公司 | Resource providing system and method of virtualization platform |
US20150134777A1 (en) * | 2013-11-12 | 2015-05-14 | Fujitsu Limited | Control method, information processing system, and recording medium |
-
2015
- 2015-10-29 CN CN201510710959.9A patent/CN105430043B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374146A (en) * | 2007-08-24 | 2009-02-25 | 赛门铁克公司 | Access to virtual representation of physical computer system based on requirement |
CN102479100A (en) * | 2010-11-26 | 2012-05-30 | 中国科学院软件研究所 | Pervasive computing environment virtual machine platform and creation method thereof |
US20140047437A1 (en) * | 2012-08-09 | 2014-02-13 | Jiatai Wu | Virtual instance reconfiguration |
US20150134777A1 (en) * | 2013-11-12 | 2015-05-14 | Fujitsu Limited | Control method, information processing system, and recording medium |
CN104536805A (en) * | 2014-12-25 | 2015-04-22 | 曙光云计算技术有限公司 | Resource providing system and method of virtualization platform |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021062512A1 (en) * | 2019-10-02 | 2021-04-08 | Ormuco Inc. | System and method for processing user requests by a plurality of networked computing devices |
WO2022068796A1 (en) * | 2020-09-30 | 2022-04-07 | 华为云计算技术有限公司 | Cloud platform and cloud platform-based program code processing method |
Also Published As
Publication number | Publication date |
---|---|
CN105430043B (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110282975A1 (en) | Techniques for dynamic cloud-based edge service computing | |
EP3313023B1 (en) | Life cycle management method and apparatus | |
US9519777B2 (en) | Techniques for controlling authentication | |
EP3805961B1 (en) | Systems and method for authenticating users of a data processing platform from multiple identity providers | |
CN113169952B (en) | Container cloud management system based on block chain technology | |
US10135803B2 (en) | Dynamic identity switching | |
US10104185B1 (en) | Policy-based container cotenancy | |
US8793759B2 (en) | Authentication collaboration system and ID provider device | |
US10104053B2 (en) | System and method for providing annotated service blueprints in an intelligent workload management system | |
US20070250365A1 (en) | Grid computing systems and methods thereof | |
US10296440B2 (en) | Multi-tenant aware debugging methods and systems | |
US20100299366A1 (en) | Systems and Methods for Generating Cloud Computing Landscapes | |
US8578460B2 (en) | Automating cloud service reconnections | |
EP1967993A1 (en) | Dynamic workflow resource authentication and discovery | |
US20200257776A1 (en) | Request authorization using recipe-based service coordination | |
CN110113369A (en) | A kind of method for authenticating of based role permission control | |
US11831495B2 (en) | Hierarchical cloud computing resource configuration techniques | |
US9237156B2 (en) | Systems and methods for administrating access in an on-demand computing environment | |
CN105430043A (en) | Virtualized-instance-oriented launch configuration implementation method | |
CN113177179A (en) | Data request connection management method, device, equipment and storage medium | |
CN102238037B (en) | Cooperative target strategy detailing method | |
CN109861982A (en) | A kind of implementation method and device of authentication | |
CN115604103A (en) | Configuration method and device of cloud computing system, storage medium and electronic equipment | |
US20210256600A1 (en) | Connector leasing for long-running software operations | |
CN114462003A (en) | Server user permission control method and device under multi-type test environment |
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 |