CN105808317A - Cloud computing platform virtual machine editing management method - Google Patents

Cloud computing platform virtual machine editing management method Download PDF

Info

Publication number
CN105808317A
CN105808317A CN201610127188.5A CN201610127188A CN105808317A CN 105808317 A CN105808317 A CN 105808317A CN 201610127188 A CN201610127188 A CN 201610127188A CN 105808317 A CN105808317 A CN 105808317A
Authority
CN
China
Prior art keywords
virtual machine
configuration
described virtual
user
new
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
Application number
CN201610127188.5A
Other languages
Chinese (zh)
Other versions
CN105808317B (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.)
China Standard Software Co Ltd
Original Assignee
China Standard Software 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 China Standard Software Co Ltd filed Critical China Standard Software Co Ltd
Priority to CN201610127188.5A priority Critical patent/CN105808317B/en
Publication of CN105808317A publication Critical patent/CN105808317A/en
Application granted granted Critical
Publication of CN105808317B publication Critical patent/CN105808317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors

Abstract

The invention discloses a cloud computing platform virtual machine editing management method, which modifies configuration of a virtual machine aiming at the existing virtual machine. The method comprises the steps of constructing and sending a virtual machine configuration editing request, wherein the virtual machine configuration editing request comprises the number of the virtual machine and the new configuration information template of the virtual machine; receiving the virtual machine configuration editing request and acquiring the number of the virtual machine and the new configuration information template of the virtual machine from the virtual machine configuration editing request; authorizing current configuration editing operation; and editing configuration of the virtual machine according to the number of the virtual machine and the new configuration information template of the virtual machine. Compared with the prior art, the method provided by the invention can modify the configuration of the existing virtual machine, thus being capable of editing and managing the virtual machine more flexibly, thereby further expanding the applicability of the cloud computing platform, and improving user experience.

Description

A kind of cloud computing platform virtual machine editorial management method
Technical field
The present invention relates to computer realm, in particular relate to a kind of cloud computing platform virtual machine editorial management method.
Background technology
Cloud computing is a kind of method of emerging shared architecture, and it, by calculating task distribution on the resource pool that a large amount of computers are constituted, enables various application system to obtain computing power, memory space and various software service as required.The bottom of cloud computing needs Intel Virtualization Technology support.By Intel Virtualization Technology, cloud computing can realize using flexibly and efficiently resource, thus providing the user quality services.
In the process realizing cloud computing, a very crucial application technology is exactly virtual machine technique.Virtual machine (VirtualMachine) refer to by software simulate there is complete hardware system function, the complete computer that operates in a completely isolated environment.In the prior art, the use of virtual machine, usually first at cloud computing platform virtual machine constructor, then runs virtual machine in client.But, cloud computing platform of the prior art is all without providing virtual machine editting function, once after virtual machine builds up, it is impossible to the configuration of virtual machine is modified, and the management of virtual machine is dumb, it is impossible to meet user's request.
Summary of the invention
In order to improve the motility of Virtual Machine Manager, the invention provides a kind of cloud computing platform virtual machine editorial management method, the configuration of described virtual machine is revised for an already present virtual machine, the configuration of described virtual machine includes resources of virtual machine configuration, virtual machine network configuration, magnetic disk of virtual machine configuration and/or virtual machine user configuration, wherein:
Construct and send virtual machine configuration edit requests, described virtual machine configuration edit requests comprises the numbering of described virtual machine and the newly configured information model of described virtual machine, and described newly configured information model comprises new resources configuration template, new network configuration template, new disk configuration template and/or new user's configuration template;
Receive described virtual machine configuration edit requests and obtain the numbering of described virtual machine and the newly configured information model of described virtual machine from described virtual machine configuration edit requests;
For being currently configured edit operation mandate;
Described virtual machine is carried out configuration editor by numbering and the newly configured information model of described virtual machine according to described virtual machine.
In one embodiment, according to the numbering of described virtual machine and described new resources configuration template, described virtual machine is carried out resource distribution editor, wherein:
Whether the new resources configuration detecting described virtual machine exceedes user's quota;
If the new resources configuration of described virtual machine exceedes described user's quota, then report an error return, terminates this edit operation;
If the new resources configuration of virtual machine is not above described user's quota, then the resource distribution of described virtual machine is modified.
In one embodiment, according to the numbering of described virtual machine and described new resources configuration template, described virtual machine is carried out resource distribution editor, wherein:
The new resources configuration template of numbering according to described virtual machine and described virtual machine revises the resource distribution of described virtual machine, and revises virtual machine described in data base and the information of described virtual machine place main frame;
If revising described data base success, then return the operating result of editor's resources of virtual machine, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
In one embodiment, according to the numbering of described virtual machine and described new network configuration template, described virtual machine is carried out network configuration editor, wherein:
The new network configuration template of numbering according to described virtual machine and described virtual machine revises the network information of described virtual machine, and revises virtual machine described in data base and the information of the used network of described virtual machine;
If revising described data base success, then return the operating result of editor's virtual machine network, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
In one embodiment, according to the numbering of described virtual machine and described new network configuration template, described virtual machine is carried out network configuration editor, wherein:
According to described new network configuration template generation for updating the pre-configured script of network configuration;
Generating the virtual optical disk image file comprising described pre-configured script, wherein, described virtual optical disk image file runs automatically when described virtual machine activation.
In one embodiment, according to the numbering of described virtual machine and described new disk configuration template, described virtual machine is carried out disk configuration editor, wherein:
Whether the new disk configuration detecting described virtual machine exceedes user's quota;
If the new disk configuration of described virtual machine exceedes described user's quota, then report an error return, terminates this edit operation;
If the new disk configuration of virtual machine is not above described user's quota, then the dish of described virtual machine is configured and modify.
In one embodiment, according to the new disk configuration template of the numbering of described virtual machine and described virtual machine, the disk configuration of described virtual machine is modified, including:
The new disk configuration template of numbering according to described virtual machine and described virtual machine revises the disk configuration of described virtual machine, and revises virtual machine described in data base and the information of disk that described virtual machine uses;
If revising described data base success, then return the operating result of editor's resources of virtual machine, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
In one embodiment, according to new user's configuration template of the numbering of described virtual machine and described virtual machine, user's configuration of described virtual machine is modified, including:
Numbering and the user of new user's configuration template described virtual machine of amendment of described virtual machine according to described virtual machine configure, and revise the information of virtual machine described in data base;
If revising described data base success, then return the operating result of editor's virtual machine user configuration, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
In one embodiment, described virtual machine is carried out user configure editor according to the numbering of described virtual machine and described new user's configuration template, wherein:
Generate according to described new user's configuration template and be used for updating the pre-configured script of user configured user;
Generating the virtual optical disk image file comprising the pre-configured script of described user, wherein, described virtual optical disk image file runs automatically when described virtual machine activation.
In one embodiment, the original configuration information template of described virtual machine is preserved when described virtual machine being carried out configuration editor.
Compared with prior art, already present virtual machine can be carried out configuration modification by the method according to the invention, thus editorial management virtual machine more flexibly, and then further expands the suitability of cloud computing platform, improves Consumer's Experience.
The further feature of the present invention or advantage will be set forth in the following description.Further, the Partial Feature of the present invention or advantage will be become apparent by description, or be appreciated that by implementing the present invention.The purpose of the present invention and certain advantages can be realized by step specifically noted in description, claims and accompanying drawing or be obtained.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, is provided commonly for explaining the present invention with embodiments of the invention, is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 and Fig. 2 is resource distribution editing process figure according to an embodiment of the invention;
Fig. 3 and Fig. 4 is network configuration editing process figure according to an embodiment of the invention;
Fig. 5 and Fig. 6 is that disk configures editing process figure according to an embodiment of the invention;
Fig. 7 and Fig. 8 is that user configures editing process figure according to an embodiment of the invention.
Detailed description of the invention
Embodiments of the present invention are described in detail below with reference to drawings and Examples, the enforcement personnel of the present invention can fully understand how application technology means are to solve technical problem for the present invention whereby, and reach the process that realizes of technique effect and be embodied as the present invention according to the above-mentioned process that realizes.As long as it should be noted that do not constitute conflict, each embodiment in the present invention and each feature in each embodiment can be combined with each other, and the technical scheme formed is all within protection scope of the present invention.
In order to improve the motility of Virtual Machine Manager, the invention provides a kind of cloud computing platform virtual machine editorial management method.Concrete, the configuration of virtual machine is revised for an already present virtual machine, its process is mainly:
Constructing and send virtual machine configuration edit requests, virtual machine configuration edit requests mainly comprises the numbering of virtual machine and the newly configured information model of virtual machine;
Receive described virtual machine configuration edit requests and obtain the numbering of virtual machine and the newly configured information model of virtual machine from virtual machine configuration edit requests;
For being currently configured edit operation mandate;
Virtual machine is carried out configuration editor by numbering and the newly configured information model of virtual machine according to virtual machine.
The configuration of virtual machine mainly includes resources of virtual machine configuration, virtual machine network configuration, magnetic disk of virtual machine configuration and/or virtual machine user configuration.The method of the present invention mainly includes editor's resources of virtual machine, virtual machine network, magnetic disk of virtual machine and virtual machine user configuration information.Namely in the present invention, newly configured information model mainly comprises new resources configuration template, new network configuration template, new disk configuration template and/or new user's configuration template;
Concrete, resources of virtual machine editor can edit the resource allocation information such as virutal machine memory capacity, processor (CPU) check figure.By one virtual machine of webpage (WEB) management platform editor, revise the resource of its distribution, submit the request of editor's resources of virtual machine to.Request is passed to the rear end of cloud computing platform by system, and rear end is called the function of editor's resources of virtual machine and processed.The result of process is returned to user by the rear end of cloud computing platform, completes editor's resources of virtual machine operation.
Virtual machine network editor can add virtual network, delete virtual network.By one virtual machine of WEB management platform editor, revise its network, submit the request of editor's virtual machine network to.Request is passed to the rear end of cloud computing platform by system, and rear end is called the function of editor's virtual machine network and processed.The result of process is returned to user by the rear end of cloud computing platform, completes editor's virtual machine network operation.
Magnetic disk of virtual machine editor can add virtual disk, delete virtual disk, and disk can be data disks and CD.By one virtual machine of WEB management platform editor, revise the configuration of its disk, submit the request of editor's magnetic disk of virtual machine to.Request is passed to the rear end of cloud computing platform by system, and rear end is called the function of editor's magnetic disk of virtual machine and processed.The result of process is returned to user by the rear end of cloud computing platform, completes editor's magnetic disk of virtual machine operation.
Virtual machine user editor can revise virtual machine title, increase the password of dummy machine system user name, setting and amendment system user name.By one virtual machine of WEB management platform editor, revise its user profile, submit the request of editor's virtual machine user to.Request is passed to the rear end of cloud computing platform by system, and rear end is called the function of editor's virtual machine user and processed.The result of process is returned to user by the rear end of cloud computing platform, completes editor's virtual machine user operation.
Further, in order to non-editing mode can be return back to when preventing editing process from makeing mistakes, in an embodiment of the present invention, the original configuration information template of virtual machine is preserved when described virtual machine being carried out configuration editor.So, after edit operation, if there is system mistake or user, edited result is not approved, then saved virtual machine original configuration information template can be utilized to re-start editor to return back to non-editing mode.
Next based on accompanying drawing, resources of virtual machine according to an embodiment of the invention is configured, virtual machine network configures, magnetic disk of virtual machine configures and the editing process of virtual machine user configuration information is respectively described.Step shown in the flow chart of accompanying drawing can perform in the computer system comprising such as one group of computer executable instructions.Although illustrate the logical order of each step in flow charts, but in some cases, it is possible to perform shown or described step with the order being different from herein.
(1) editor's resources of virtual machine configuration
Cloud computing platform is edited an already present virtual machine, revises the resource of its distribution, the information such as including virutal machine memory, CPU core number.The main flow of editor's resources of virtual machine is as shown in Figure 1.
Step S10 is first carried out, generates new resources configuration template.Concrete, in an embodiment of the present invention, manager logs in WEB management platform, opens virtual machine editing dialog frame, editor's resources of virtual machine configuration, clicks confirming button.
Then perform step S11, generate the request of editor's resources of virtual machine.Concrete, in an embodiment of the present invention, generate the request of the editor's resources of virtual machine comprising virtual machine numbering (id), new resources configuration template (template).
Then perform step S12, send the request of editor's resources of virtual machine.Concrete, in an embodiment of the present invention, the rear end that user's request is passed to cloud computing platform by system is (concrete, in an embodiment of the present invention, system is by using HTML (Hypertext Markup Language) (HTTP, HyperTextTransferProtocol) agreement is as remote procedure call (RPC, RemoteProcedureCallProtocol) mechanism (xmlrpc request) transmission that makes requests on of host-host protocol.
Then perform step S13, receive the request of editor's resources of virtual machine and carry out the editor of resource distribution based on request.Concrete, in an embodiment of the present invention, after service end obtains request, the function calling editor's resources of virtual machine processes.
Finally perform step S14, return edited result.The result of process is returned to user by the rear end of cloud computing platform, completes editor's resources of virtual machine operation.
Further, in an embodiment of the present invention, the S13 of above-mentioned steps edits the flow process of function of resources of virtual machine as shown in Figure 2.
Function is first carried out step S20, obtains virtual machine numbering and new resources configuration template.That is, virtual machine id, new resources configuration information template are obtained from xmlrpc asking.
Then perform step S21, preserve the original resource distribution template of virtual machine.
Then perform step S22, authorization, edit the authorization (in an alternative embodiment of the invention, step S21 and S22 can simultaneously perform or execution order can exchange) of resources of virtual machine for user.
Performing step S23 afterwards, whether the new resources configuration of detection virtual machine exceedes user's quota (licence limit), if the new resources of virtual machine exceed the licensed limit, then performs step S28, and report an error return, terminates this edit operation;If the new resources of virtual machine are not above licence limit, then perform step S24, amendment resources of virtual machine configuration.
Step S25 is performed, the information of virtual machine and this virtual machine place main frame in amendment data base while performing step S24.Next performing step S26, whether Test database is successfully modified, if amendment data base's success, then performs step S27, returns the operating result of editor's resources of virtual machine, terminate this edit operation;If amendment failed database, then performing step S28, report an error return, terminates this edit operation.
(2) editor's virtual machine network configuration
Cloud computing platform is edited an already present virtual machine, revises its network, add or delete network.The main flow of editor's virtual machine network is as shown in Figure 3.
Step S30 is first carried out, generates new network configuration template.Concrete, in an embodiment of the present invention, manager logs in WEB management platform, opens virtual machine editing dialog frame, editor's virtual machine network configuration, clicks confirming button.
Then perform step S31, generate the request of editor's virtual machine network.Concrete, in an embodiment of the present invention, generate the request of the editor's virtual machine network comprising virtual machine numbering (id), new network configuration template (template).
Then perform step S32, send the request of editor's virtual machine network.Concrete, in an embodiment of the present invention, the rear end of cloud computing platform (concrete, in an embodiment of the present invention, system asks the transmission made requests on by xmlrpc) is passed in user's request by system.
Then perform step S33, receive the request of editor's virtual machine network and carry out the editor of network configuration based on request.Concrete, in an embodiment of the present invention, after service end obtains request, the function calling editor's virtual machine network processes.
Finally perform step S34, return edited result.The result of process is returned to user by the rear end of cloud computing platform, completes the operation of editor's virtual machine network configuration.
Further, in an embodiment of the present invention, the S33 of above-mentioned steps edits the flow process of function of virtual machine network as shown in Figure 4.
Function is first carried out step S40, obtains virtual machine numbering and new network configuration masterplate.That is, virtual machine id, new network configuration information template are obtained from xmlrpc asking.
Then perform step S41, preserve the original network configuration template of virtual machine.
Then perform step S42, authorization, edit the authorization (in an alternative embodiment of the invention, step S41 and S42 can simultaneously perform or execution order can exchange) of virtual machine network for user.
Perform step S43, amendment virtual machine network configuration afterwards.
Step S44 is performed, the information of virtual machine and the used network of this virtual machine in amendment data base while performing step S43.Next performing step S45, whether Test database is successfully modified, if amendment data base's success, then performs step S46, returns the operating result of editor's virtual machine network, terminate this edit operation;If amendment failed database, then performing step S47, report an error return, terminates this edit operation.
In the process performing step S43 and S44, in an embodiment of the present invention, perform step S441, generate virtual optical disk image file.Concrete, first according to new network configuration template generation for updating the pre-configured script of network configuration;Then generating the virtual optical disk image file comprising pre-configured script, wherein, virtual optical disk image file runs automatically when virtual machine activation.
So, when virtual machine runs (step S442), can automatically run virtual optical disk image file (step S443), namely automatically perform pre-configured script (step S444), thus can automatically carry out network configuration (step S445).
(3) editor's magnetic disk of virtual machine configuration
Editing an already present virtual machine in cloud computing platform, revise its disk, add or delete disk, disk can be data disks and CD.The main flow of editor's magnetic disk of virtual machine is as shown in Figure 5.
Step S50 is first carried out, generates new disk configuration template.Concrete, in an embodiment of the present invention, manager logs in WEB management platform, opens virtual machine editing dialog frame, editor's magnetic disk of virtual machine configuration, clicks confirming button.
Then perform step S51, generate the request of editor's magnetic disk of virtual machine.Concrete, in an embodiment of the present invention, generate the request of the editor's magnetic disk of virtual machine comprising virtual machine numbering (id), new disk configuration template (template).
Then perform step S52, send the request of editor's magnetic disk of virtual machine.Concrete, in an embodiment of the present invention, the rear end of cloud computing platform (concrete, in an embodiment of the present invention, system asks the transmission made requests on by xmlrpc) is passed in user's request by system.
Then perform step S53, receive the request of editor's magnetic disk of virtual machine and carry out the editor of disk configuration based on request.Concrete, in an embodiment of the present invention, after service end obtains request, the function calling editor's magnetic disk of virtual machine processes.
Finally perform step S54, return edited result.The result of process is returned to user by the rear end of cloud computing platform, completes editor's magnetic disk of virtual machine operation.
Further, in an embodiment of the present invention, the S53 of above-mentioned steps edits the flow process of function of magnetic disk of virtual machine as shown in Figure 6.
Function is first carried out step S60, obtains virtual machine numbering and new disk configuration template.That is, virtual machine id, new disk configuration information template are obtained from xmlrpc asking.
Then perform step S61, preserve the original disk configuration template of virtual machine.
Then perform step S62, authorization, edit the authorization (in an alternative embodiment of the invention, step S61 and S62 can simultaneously perform or execution order can exchange) of magnetic disk of virtual machine for user.
Performing step S63 afterwards, whether the new disk configuration of detection virtual machine exceedes user's quota (licence limit), if the new disk configuration of virtual machine exceedes user's quota, then performs step S68, and report an error return, terminates this edit operation;If the new disk configuration of virtual machine is not above licence limit, then perform step S64, amendment magnetic disk of virtual machine configuration.
Step S65 is performed, the information of virtual machine and the used disk of this virtual machine in amendment data base while performing step S64.Next performing step S66, whether Test database is successfully modified, if amendment data base's success, then performs step S67, returns the operating result of editor's magnetic disk of virtual machine, terminate this edit operation;If amendment failed database, then performing step S28, report an error return, terminates this edit operation.
(4) editor's virtual machine user configuration
Cloud computing platform is edited an already present virtual machine, revises its user profile, including amendment virtual machine title, the password increasing dummy machine system user name, setting and amendment system user name.The main flow of editor's virtual machine user is as shown in Figure 7.
Step S70 is first carried out, generates new user's configuration template.Concrete, in an embodiment of the present invention, manager logs in WEB management platform, opens virtual machine editing dialog frame, editor's virtual machine user configuration, clicks confirming button.
Then perform step S71, generate the request of editor's virtual machine user.Concrete, in an embodiment of the present invention, generate the request of the editor's virtual machine user comprising virtual machine numbering (id), new user's configuration template (template).
Then perform step S72, send the request of editor's virtual machine user.Concrete, in an embodiment of the present invention, the rear end of cloud computing platform (concrete, in an embodiment of the present invention, system asks the transmission made requests on by xmlrpc) is passed in user's request by system.
Then perform step S73, receive the request of editor's virtual machine user and carry out user configured editor based on request.Concrete, in an embodiment of the present invention, after service end obtains request, the function calling editor's virtual machine user processes.
Finally perform step S74, return edited result.The result of process is returned to user by the rear end of cloud computing platform, completes the operation of editor's virtual machine user configuration.
Further, in an embodiment of the present invention, the S73 of above-mentioned steps edits the flow process of function of virtual machine user as shown in Figure 8.
Function is first carried out step S80, obtains virtual machine numbering and new user's configuration template.That is, virtual machine id, new user configuration information template are obtained from xmlrpc asking.
Then perform step S81, preserve the original user's configuration template of virtual machine.
Then perform step S82, authorization, edit the authorization (in an alternative embodiment of the invention, step S81 and S82 can simultaneously perform or execution order can exchange) of virtual machine user for user.
Perform step S83, amendment virtual machine user configuration afterwards.
Step S84, virtual machine information in amendment data base is performed while performing step S83.Next performing step S85, whether Test database is successfully modified, if amendment data base's success, then performs step S86, returns the operating result of editor's virtual machine user, terminate this edit operation;If amendment failed database, then performing step S87, report an error return, terminates this edit operation.
In the process performing step S83 and S84, in an embodiment of the present invention, perform step S841, generate virtual optical disk image file.Concrete, first generate according to new user's configuration template and be used for updating user configured pre-configured script;Then generating the virtual optical disk image file comprising pre-configured script, wherein, virtual optical disk image file runs automatically when virtual machine activation.
So, when virtual machine runs (step S842), can automatically run virtual optical disk image file (step S843), namely automatically perform pre-configured script (step S844), thus can automatically carry out user's configuration (step S845).
The virtual machine editorial management method of this patent can accomplish to exist the resource of virtual machine, network, disk and user configuration edit.Wherein, resources of virtual machine editor can edit the information such as virutal machine memory, CPU core number;Virtual machine network editor can add virtual network, delete virtual network;Magnetic disk of virtual machine editor can add disk, delete disk, and disk can be data disks and CD;Virtual machine user editor can revise virtual machine title, increase the password of dummy machine system user name, setting and amendment system user name.The problem this method solving virtual machine editor, improves the motility of virtual machine configuration, improves Consumer's Experience.
While it is disclosed that embodiment as above, but described content is only to facilitate the embodiment understanding the present invention and adopt, is not limited to the present invention.Method of the present invention also can have other various embodiments.When without departing substantially from essence of the present invention, those of ordinary skill in the art are when can make various corresponding change or deformation according to the present invention, but these change accordingly or deform the scope of the claims that all should belong to the present invention.

Claims (10)

1. a cloud computing platform virtual machine editorial management method, it is characterized in that, revise the configuration of described virtual machine for an already present virtual machine, the configuration of described virtual machine includes resources of virtual machine configuration, virtual machine network configuration, magnetic disk of virtual machine configuration and/or virtual machine user configuration, wherein:
Construct and send virtual machine configuration edit requests, described virtual machine configuration edit requests comprises the numbering of described virtual machine and the newly configured information model of described virtual machine, and described newly configured information model comprises new resources configuration template, new network configuration template, new disk configuration template and/or new user's configuration template;
Receive described virtual machine configuration edit requests and obtain the numbering of described virtual machine and the newly configured information model of described virtual machine from described virtual machine configuration edit requests;
For being currently configured edit operation mandate;
Described virtual machine is carried out configuration editor by numbering and the newly configured information model of described virtual machine according to described virtual machine.
2. method according to claim 1, it is characterised in that described virtual machine is carried out resource distribution editor according to the numbering of described virtual machine and described new resources configuration template, wherein:
Whether the new resources configuration detecting described virtual machine exceedes user's quota;
If the new resources configuration of described virtual machine exceedes described user's quota, then report an error return, terminates this edit operation;
If the new resources configuration of virtual machine is not above described user's quota, then the resource distribution of described virtual machine is modified.
3. method according to claim 1 and 2, it is characterised in that described virtual machine is carried out resource distribution editor according to the numbering of described virtual machine and described new resources configuration template, wherein:
The new resources configuration template of numbering according to described virtual machine and described virtual machine revises the resource distribution of described virtual machine, and revises virtual machine described in data base and the information of described virtual machine place main frame;
If revising described data base success, then return the operating result of editor's resources of virtual machine, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
4. the method according to any one of claim 1-3, it is characterised in that described virtual machine is carried out network configuration editor according to the numbering of described virtual machine and described new network configuration template, wherein:
The new network configuration template of numbering according to described virtual machine and described virtual machine revises the network information of described virtual machine, and revises virtual machine described in data base and the information of the used network of described virtual machine;
If revising described data base success, then return the operating result of editor's virtual machine network, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
5. the method according to any one of claim 1-4, it is characterised in that described virtual machine is carried out network configuration editor according to the numbering of described virtual machine and described new network configuration template, wherein:
According to described new network configuration template generation for updating the pre-configured script of network configuration;
Generating the virtual optical disk image file comprising described pre-configured script, wherein, described virtual optical disk image file runs automatically when described virtual machine activation.
6. the method according to any one of claim 1-5, it is characterised in that described virtual machine is carried out disk configuration editor according to the numbering of described virtual machine and described new disk configuration template, wherein:
Whether the new disk configuration detecting described virtual machine exceedes user's quota;
If the new disk configuration of described virtual machine exceedes described user's quota, then report an error return, terminates this edit operation;
If the new disk configuration of virtual machine is not above described user's quota, then the dish of described virtual machine is configured and modify.
7. the method according to any one of claim 1-6, it is characterised in that the disk configuration of described virtual machine is modified according to the new disk configuration template of the numbering of described virtual machine and described virtual machine, including:
The new disk configuration template of numbering according to described virtual machine and described virtual machine revises the disk configuration of described virtual machine, and revises virtual machine described in data base and the information of disk that described virtual machine uses;
If revising described data base success, then return the operating result of editor's resources of virtual machine, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
8. the method according to any one of claim 1-7, it is characterised in that user's configuration of described virtual machine is modified according to new user's configuration template of the numbering of described virtual machine and described virtual machine, including:
Numbering and the user of new user's configuration template described virtual machine of amendment of described virtual machine according to described virtual machine configure, and revise the information of virtual machine described in data base;
If revising described data base success, then return the operating result of editor's virtual machine user configuration, terminate this edit operation;
If revising described failed database, then report an error return, terminates this edit operation.
9. the method according to any one of claim 1-8, it is characterised in that described virtual machine is carried out user configure editor according to the numbering of described virtual machine and described new user's configuration template, wherein:
Generate according to described new user's configuration template and be used for updating the pre-configured script of user configured user;
Generating the virtual optical disk image file comprising the pre-configured script of described user, wherein, described virtual optical disk image file runs automatically when described virtual machine activation.
10. the method according to any one of claim 1-9, it is characterised in that preserve the original configuration information template of described virtual machine when described virtual machine being carried out configuration editor.
CN201610127188.5A 2016-03-07 2016-03-07 Cloud computing platform virtual machine editing management method Active CN105808317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610127188.5A CN105808317B (en) 2016-03-07 2016-03-07 Cloud computing platform virtual machine editing management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610127188.5A CN105808317B (en) 2016-03-07 2016-03-07 Cloud computing platform virtual machine editing management method

Publications (2)

Publication Number Publication Date
CN105808317A true CN105808317A (en) 2016-07-27
CN105808317B CN105808317B (en) 2020-01-10

Family

ID=56466767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610127188.5A Active CN105808317B (en) 2016-03-07 2016-03-07 Cloud computing platform virtual machine editing management method

Country Status (1)

Country Link
CN (1) CN105808317B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754191A (en) * 2020-06-08 2020-10-09 中国建设银行股份有限公司 Automatic change method based on cloud platform and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662727A (en) * 2012-04-05 2012-09-12 北京天地云箱科技有限公司 Virtual machine creating method and virtual machine creating device
CN102917052A (en) * 2012-10-18 2013-02-06 曙光信息产业(北京)有限公司 Method for distributing resources in cloud computing system
CN104424431A (en) * 2013-08-30 2015-03-18 腾讯科技(深圳)有限公司 Method and device for resetting virtual machine user login password
CN104503772A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Operating system installation and test environment establishment method and device based on virtual machine
CN104699508A (en) * 2015-03-25 2015-06-10 南京大学 System and method for quickly arranging and updating virtual environment in cloud computing platform
CN105373417A (en) * 2015-11-04 2016-03-02 浪潮(北京)电子信息产业有限公司 Method and system for virtual machine management in cloud computing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662727A (en) * 2012-04-05 2012-09-12 北京天地云箱科技有限公司 Virtual machine creating method and virtual machine creating device
CN102917052A (en) * 2012-10-18 2013-02-06 曙光信息产业(北京)有限公司 Method for distributing resources in cloud computing system
CN104424431A (en) * 2013-08-30 2015-03-18 腾讯科技(深圳)有限公司 Method and device for resetting virtual machine user login password
CN104503772A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Operating system installation and test environment establishment method and device based on virtual machine
CN104699508A (en) * 2015-03-25 2015-06-10 南京大学 System and method for quickly arranging and updating virtual environment in cloud computing platform
CN105373417A (en) * 2015-11-04 2016-03-02 浪潮(北京)电子信息产业有限公司 Method and system for virtual machine management in cloud computing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754191A (en) * 2020-06-08 2020-10-09 中国建设银行股份有限公司 Automatic change method based on cloud platform and related equipment

Also Published As

Publication number Publication date
CN105808317B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
US9778924B2 (en) Platform for enabling creation and use of an API for a specific solution
US11693642B2 (en) Method and system for cross-platform deployment
US11265394B2 (en) Systems and methods for a bidirectional multi-function communication module
KR101795592B1 (en) Control method of access to cloud service for business
US11010138B2 (en) System and method for programmatically converting interface specification to generic plug-in code
CN110781505B (en) System construction method and device, retrieval method and device, medium and equipment
CN108984202B (en) Electronic resource sharing method and device and storage medium
CN105791249A (en) Third-party application processing method, device and system
CN110889108B (en) spark task submitting method and device and server
WO2021093672A1 (en) Method for embedding external system, workflow system, device and computer readable storage medium
CN105808317A (en) Cloud computing platform virtual machine editing management method
US20080228927A1 (en) Server directed browsing
CN112445473A (en) Client layout method and device, storage medium and electronic equipment
US7412495B2 (en) Method, system, and article of manufacture for a server side application
CN108733377B (en) JS interaction method for webpage end and mobile phone end in App
KR102425978B1 (en) Composite web UI provision system in cloud service platform
US20230244519A1 (en) Cloud Platform and Cloud Platform-Based Program Code Processing Method
KR20220068077A (en) Homepage production system with economical production cost and easy modification
CN114363307B (en) Information processing method and system
Aryal MERN stack with modern web practices
CN115951884A (en) Information processing method and device and micro front end architecture system
KR102258241B1 (en) Server side data component for support of development and management and method for perform the data component
CN111695986B (en) Method and device for controlling accumulated gold image
CN107038382B (en) Authority control method and system based on file descriptor and session
KR20110024478A (en) Homepage manufacture system and method that design cording for program include

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