CN108710527A - A kind of virtual machine template management system, method based on xen - Google Patents
A kind of virtual machine template management system, method based on xen Download PDFInfo
- Publication number
- CN108710527A CN108710527A CN201810311187.5A CN201810311187A CN108710527A CN 108710527 A CN108710527 A CN 108710527A CN 201810311187 A CN201810311187 A CN 201810311187A CN 108710527 A CN108710527 A CN 108710527A
- Authority
- CN
- China
- Prior art keywords
- template
- node
- agent end
- information
- system server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A kind of virtual machine template management system based on xen, including resource pool and storage pool, including template system server-side and node-agent end, template system server-side stores the template for having multi version, only store newest version template, template system server-side management node agent side in node-agent end;System includes template renewal module, template import modul, template removing module and template polling module;Template system server-side passes through network communication connecting node agent side, node-agent end passes through NFS mode connection resources pond, node-agent end is the template storage point of resource pool, and resource pool possesses from the storage pool belonged to, and resource pool is attached by ISCSI agreements or FC modes with storage pool.The present invention completes multinode by Template Manager system, and automation synchronization template is realized in the virtual machine template management of more resource pools, solves the problems, such as that template version management is nonstandard.
Description
Technical field
The present invention relates to virtual machine technique fields more particularly to a kind of virtual machine template based on xen to manage system, side
Method.
Background technology
XenServer is still the virtualization product that many cloud quotient use at present, and the virtual machine for cloud quotient is usually logical
Virtual machine template generation is crossed, then consigns to client after a series of processing.For multiple template, multiple cloud nodes
Virtualized environment, synchronization template manage the template of different editions to different cloud nodes, need to consume certain O&M resource
It completes.
XenServer platforms provide NFS storage modes, virtual machine introducting interface and xencenter, pass through
The virtual machine introducting interface of xencenter xen api can complete the importing of virtual machine template, but official is simultaneously at present
The scheme for not providing Template Manager needs manual synchronization's template and administrative template, can not automate synchronization template, be susceptible to
The confusion of version.
Invention content
It is an object of the invention to propose a kind of virtual machine template management system, method based on xen, pass through Template Manager
System completes multinode, and automation synchronization template is realized in the virtual machine template management of more resource pools, solves template version management not
The problem of specification.
For this purpose, the present invention uses following technical scheme:
A kind of virtual machine template management system based on xen, including resource pool and storage pool, including template system server-side
With node-agent end, template system server-side storage has a template of multi version, different templates by different paths and
(there are different xenserver versions for production environment for identifier differentiation;Making period different template;Different application or difference
The template of operating system), newest version template is only stored at the node-agent end, described in the template system server-side management
Node-agent end;
The system comprises template renewal module, template import modul, template removing module and template polling modules;
The template system server-side connects the node-agent end by network communication, and the node-agent end passes through
NFS modes connect the resource pool, and the node-agent end is the template storage point of the resource pool, and the resource pool possesses certainly
The storage pool belonged to, the resource pool are attached by ISCSI agreements or FC modes with the storage pool.
The technical program is based on xenserver virtual platforms, and each node-agent end is managed by template system server-side.And
Node-agent end can be interacted with xenserver resource pools, realize virtual machine template management operation.
The multiple functions of Template Manager meet the needs of actual production, while also achieving the effect of automatic synchronization template.
Preferably, the template renewal module includes actively triggering update module and clocked flip update module;
The update module that actively triggers is for after the template system server-side has updated new template, actively triggering
Update, by new template renewal to the node-agent end;
The clocked flip update module is used for after the template system server-side has updated new template, the active
Update module failure is triggered, when can not complete actively to update, node-agent end clocked flip update, from the template system
Server-side obtains new Template Information.
Preferably, the template import modul is used for when the resource pool needs more new template, from the node-agent
End imports template.
Preferably, the template removing module is used to need the template or modification mould of undercarriage legacy version when the resource pool
When plate, the template in the resource pool is deleted;
The template polling module is for checking whether the Template Information of the resource pool is considered changing.
A kind of virtual machine template management method based on xen, including resource pool and storage pool, including template system server-side
With node-agent end, the template system server-side is attached interaction by network communication and the node-agent end, described
Node-agent end is attached interaction by NFS modes and the resource pool, and the resource pool passes through ISCSI agreements or the side FC
Formula is attached interaction with the storage pool;
The method includes template renewal function, template import feature, templates to delete function and template inspection function, described
Template renewal includes timing more new function and actively triggers more new function.
Multinode, the virtual machine template management of more resource pools are completed by Template Manager system..
Preferably, after the template system server-side has updated new template, the active triggering more new function is actively
The update for triggering template, by new template renewal to the node-agent end;
Including actively triggering the newer process of template:
Step A:The template system server-side initiates template renewal request, and sends update list and check information to institute
State node-agent end, after the node-agent end receives template renewal request, verify local template whether with the template system
Server-side is consistent;
Step B:If the check results of local template are consistent, it is not necessarily to more new template;If local check results are inconsistent,
The node-agent end obtains update list, then to the template system server-side downloads template;
Step C:After the completion of the downloads template of the node-agent end, download list and check information, the node generation are returned
Whether consistent with the template system server-side manage the local template of end verification, if unanimously, the template system server synchronization
Simultaneously database is recorded in information;If inconsistent, re-download template, and verified, if verification to the template downloaded and
The template system server-side is consistent, then the template system server synchronization information and database is recorded, and completes template more
Newly.
Preferably, after the template system server-side has updated new template, the active triggering update disabler
When, timing more new function timing more new template, by new template renewal to the node-agent end;
Include the process of periodically more new template:
Step a:The node-agent end setting timing update template function, the node-agent end timing are obtained by interface
Take template list and check information;
Step b:According to check information verify the node-agent end template whether with the template system server-side
Unanimously, if unanimously, being not necessarily to more new template, if inconsistent, the node-agent end obtains update list;
Step c:It, to the template system server-side downloads template, completes to download according to update list in the node-agent end
Afterwards, download list and check information are returned;
Step d:According to check information verify the node-agent end template whether with the template system server-side one
It causes, if unanimously, simultaneously database is recorded in the template system server synchronization information;If inconsistent, template is re-downloaded,
And verified again, it is described if the template at verification to the node-agent end is consistent with the template system server-side
Simultaneously database is recorded in template system server synchronization information.
Preferably, when the resource pool needs the template or modification template of undercarriage legacy version, work(is deleted by template
It can carry out deletion template operation;
Process including deleting template:
The template system server-side initiates template removal request, after the node-agent end receives template removal request,
It obtains and deletes template list;
The node-agent end examines whether NFS connections survive, if NFS connections are not survived, it is different to return to NFS connections
Normal information;If the NFS connections survival, the node-agent end checks the template situation of the resource pool, that is, checks and want
The template of deletion whether there is in the resource pool;
It is not present in the resource pool to the template of deletion, then returns to the information that template is not present;To the mould of deletion
Plate is present in the resource pool, then the node-agent end calls Xen-api to delete template by ssh protocol remotes;
The node-agent end checks whether that completing template deletes, if template is not deleted, returns to error message;If
Template has been deleted, then the node-agent end, which obtains, deletes information and be back to the template system service by information is deleted
End, the template system server-side, which receives, deletes information, completes synchronizing information and database is recorded.
Preferably, check whether the Template Information of the resource pool is considered changing by the template inspection function;
Include the process of template inspection:
The template system server-side initiates template inspection request, and the node-agent termination, which receives the template inspection, asks
It asks, and obtains template list and Template Information;
Xen-api inspection templates, the node-agent end is called to check institute by ssh protocol remotes in the node-agent end
The template situation for stating resource pool checks that the resource pool whether there is the template of wanted inspection;
If the template of wanted inspection is not present in the resource pool, the information that template is not present is returned;If the resource pool
In the presence of the template of wanted inspection, then the node-agent end obtains Template Information;
Acquired Template Information is compared by the node-agent end, and whether judge templet information is altered, if not having
There is change, then returns to the normal information of template;If being altered, the node-agent end obtains abnormal Template Information, and will be different
Normal Template Information is back to the template system server-side;
The template system server-side receives abnormal Template Information, and database is recorded in abnormal Template Information, makes
Alarm prompt.
Preferably, the template import feature is used for when the resource pool needs more new template, from the node-agent
End imports template;
The process imported including template:
The template system server-side initiates template and imports request, and the node-agent termination receives template and imports request,
It obtains template and imports list, and check whether NFS connections survive;
If NFS connections are not survived, the information of NFS connection exceptions is returned;If NFS connections are survived, the node-agent
End checks the storage pool, checks whether the storage pool meets importing and require;
If the storage pool is unsatisfactory for importing and require, the information of the storage pool inadequate resource is returned;If the storage
Pond, which meets to import, to be required, then the node-agent end checks the template situation of resource pool, that is, checks in the resource pool whether deposit
In the template of legacy version;
If there are the template of legacy version in the resource pool, the first template of backup legacy version, the then node-agent
Xen-api is called to import template by ssh protocol remotes in end;If the template of legacy version, the section is not present in the resource pool
Point agent side directly calls Xen-api to import template by ssh protocol remotes;
Check template whether import success, if check template import it is unsuccessful, return mistake information;If checking
Template imports successfully, then the node-agent end obtains Template Information and Template Information is back to the template system service
End, the template system server synchronization Template Information are simultaneously recorded in data, finally delete the template of legacy version.
Beneficial effects of the present invention:
1, multinode, the virtual machine template management of more resource pools are completed by Template Manager system;
2, it solves template version and manages Problem;
3, the expense of human of completion multinode synchronization template is solved the problems, such as;
4, automation synchronization template, hardware and software platform administrative template are completed.
Description of the drawings
Fig. 1 is the system framework figure of the present invention;
Fig. 2 is the active triggering update flow chart of the present invention;
Fig. 3 is the timing update flow chart of the present invention;
Fig. 4 is the importing template flow chart of the present invention;
Fig. 5 is the deletion template flow chart of the present invention;
Fig. 6 is the inspection template flow chart of the present invention.
Specific implementation mode
Technical solution to further illustrate the present invention below with reference to the accompanying drawings and specific embodiments.
A kind of virtual machine template based on xen of the present embodiment manages system, as shown in Figure 1, including resource pool and storage
Pond, including template system server-side and node-agent end, the template system server-side storage has the template of multi version, different
(there are different xenserver versions for production environment by different paths and identifier differentiation for template;Making period is different
Template;The template of different application or different operating system), newest version template, the mould are only stored in the node-agent end
Plate server of the system manages the node-agent end;
The system comprises template renewal module, template import modul, template removing module and template polling modules;
The template system server-side connects the node-agent end by network communication, and the node-agent end passes through
NFS modes connect the resource pool, and the node-agent end is the template storage point of the resource pool, and the resource pool possesses certainly
The storage pool belonged to, the resource pool are attached by ISCSI agreements or FC modes with the storage pool.
The technical program is based on xenserver virtual platforms, and each node-agent end is managed by template system server-side.And
Node-agent end can be interacted with xenserver resource pools, realize virtual machine template management operation.
The multiple functions of Template Manager meet the needs of actual production, while also achieving the effect of automatic synchronization template.
Preferably, the template renewal module includes actively triggering update module and clocked flip update module;
The update module that actively triggers is for after the template system server-side has updated new template, actively triggering
Update, by new template renewal to the node-agent end;
The clocked flip update module is used for after the template system server-side has updated new template, the active
Update module failure is triggered, when can not complete actively to update, node-agent end clocked flip update, from the template system
Server-side obtains new Template Information.
Preferably, the template import modul is used for when the resource pool needs more new template, from the node-agent
End imports template.
Preferably, the template removing module is used to need the template or modification mould of undercarriage legacy version when the resource pool
When plate, the template in the resource pool is deleted;
The template polling module is for checking whether the Template Information of the resource pool is considered changing.
A kind of virtual machine template management method based on xen, including resource pool and storage pool, including template system server-side
With node-agent end, the template system server-side is attached interaction by network communication and the node-agent end, described
Node-agent end is attached interaction by NFS modes and the resource pool, and the resource pool passes through ISCSI agreements or the side FC
Formula is attached interaction with the storage pool;
The method includes template renewal function, template import feature, templates to delete function and template inspection function, described
Template renewal includes timing more new function and actively triggers more new function.
Multinode, the virtual machine template management of more resource pools are completed by Template Manager system..
Preferably, as shown in Fig. 2, after the template system server-side has updated new template, the active triggering is more
New function actively triggers the update of template, by new template renewal to the node-agent end;
Including actively triggering the newer process of template:
Step A:The template system server-side initiates template renewal request, and sends update list and check information to institute
State node-agent end, after the node-agent end receives template renewal request, verify local template whether with the template system
Server-side is consistent;
Step B:If the check results of local template are consistent, it is not necessarily to more new template;If local check results are inconsistent,
The node-agent end obtains update list, then to the template system server-side downloads template;
Step C:After the completion of the downloads template of the node-agent end, download list and check information, the node generation are returned
Whether consistent with the template system server-side manage the local template of end verification, if unanimously, the template system server synchronization
Simultaneously database is recorded in information;If inconsistent, re-download template, and verified, if verification to the template downloaded and
The template system server-side is consistent, then the template system server synchronization information and database is recorded, and completes template more
Newly.
Preferably, as shown in figure 3, after the template system server-side has updated new template, the active triggering is more
When new function fails, timing more new function timing more new template, by new template renewal to the node-agent end;
Include the process of periodically more new template:
Step a:The node-agent end setting timing update template function, the node-agent end timing are obtained by interface
Take template list and check information;
Step b:According to check information verify the node-agent end template whether with the template system server-side
Unanimously, if unanimously, being not necessarily to more new template, if inconsistent, the node-agent end obtains update list;
Step c:It, to the template system server-side downloads template, completes to download according to update list in the node-agent end
Afterwards, download list and check information are returned;
Step d:According to check information verify the node-agent end template whether with the template system server-side one
It causes, if unanimously, simultaneously database is recorded in the template system server synchronization information;If inconsistent, template is re-downloaded,
And verified again, it is described if the template at verification to the node-agent end is consistent with the template system server-side
Simultaneously database is recorded in template system server synchronization information.
Preferably, as shown in figure 5, when the resource pool needs the template or modification template of undercarriage legacy version, pass through
Template deletes function and carries out deletion template operation;
Process including deleting template:
The template system server-side initiates template removal request, after the node-agent end receives template removal request,
It obtains and deletes template list;
The node-agent end examines whether NFS connections survive, if NFS connections are not survived, it is different to return to NFS connections
Normal information;If the NFS connections survival, the node-agent end checks the template situation of the resource pool, that is, checks and want
The template of deletion whether there is in the resource pool;
It is not present in the resource pool to the template of deletion, then returns to the information that template is not present;To the mould of deletion
Plate is present in the resource pool, then the node-agent end calls Xen-api to delete template by ssh protocol remotes;
The node-agent end checks whether that completing template deletes, if template is not deleted, returns to error message;If
Template has been deleted, then the node-agent end, which obtains, deletes information and be back to the template system service by information is deleted
End, the template system server-side, which receives, deletes information, completes synchronizing information and database is recorded.
Preferably, as shown in fig. 6, checking whether the Template Information of the resource pool is recognized by the template inspection function
For change;
Include the process of template inspection:
The template system server-side initiates template inspection request, and the node-agent termination, which receives the template inspection, asks
It asks, and obtains template list and Template Information;
Xen-api inspection templates, the node-agent end is called to check institute by ssh protocol remotes in the node-agent end
The template situation for stating resource pool checks that the resource pool whether there is the template of wanted inspection;
If the template of wanted inspection is not present in the resource pool, the information that template is not present is returned;If the resource pool
In the presence of the template of wanted inspection, then the node-agent end obtains Template Information;
Acquired Template Information is compared by the node-agent end, and whether judge templet information is altered, if not having
There is change, then returns to the normal information of template;If being altered, the node-agent end obtains abnormal Template Information, and will be different
Normal Template Information is back to the template system server-side;
The template system server-side receives abnormal Template Information, and database is recorded in abnormal Template Information, makes
Alarm prompt.
Preferably, as shown in figure 4, the template import feature is used for when the resource pool needs more new template, from institute
It states node-agent end and imports template;
The process imported including template:
The template system server-side initiates template and imports request, and the node-agent termination receives template and imports request,
It obtains template and imports list, and check whether NFS connections survive;
If NFS connections are not survived, the information of NFS connection exceptions is returned;If NFS connections are survived, the node-agent
End checks the storage pool, checks whether the storage pool meets importing and require;
If the storage pool is unsatisfactory for importing and require, the information of the storage pool inadequate resource is returned;If the storage
Pond, which meets to import, to be required, then the node-agent end checks the template situation of resource pool, that is, checks in the resource pool whether deposit
In the template of legacy version;
If there are the template of legacy version in the resource pool, the first template of backup legacy version, the then node-agent
Xen-api is called to import template by ssh protocol remotes in end;If the template of legacy version, the section is not present in the resource pool
Point agent side directly calls Xen-api to import template by ssh protocol remotes;
Check template whether import success, if check template import it is unsuccessful, return mistake information;If checking
Template imports successfully, then the node-agent end obtains Template Information and Template Information is back to the template system service
End, the template system server synchronization Template Information are simultaneously recorded in data, finally delete the template of legacy version.
The technical principle of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain the present invention's
Principle, and it cannot be construed to limiting the scope of the invention in any way.Based on the explanation herein, the technology of this field
Personnel would not require any inventive effort the other specific implementation modes that can associate the present invention, these modes are fallen within
Within protection scope of the present invention.
Claims (10)
1. a kind of virtual machine template based on xen manages system, including resource pool and storage pool, it is characterised in that:
Including template system server-side and node-agent end, the template system server-side storage has the template of multi version, described
Newest version template is only stored at node-agent end, and the template system server-side manages the node-agent end;
The system comprises template renewal module, template import modul, template removing module and template polling modules;
The template system server-side connects the node-agent end by network communication, and the node-agent end passes through the side NFS
Formula connects the resource pool, and the node-agent end is the template storage point of the resource pool, and the resource pool possesses from category
The storage pool, the resource pool are attached by ISCSI agreements or FC modes with the storage pool.
2. a kind of virtual machine template based on xen manages system according to claim 1, it is characterised in that:The template is more
New module includes actively triggering update module and clocked flip update module;
The update module that actively triggers is for after the template system server-side has updated new template, actively triggering more
Newly, by new template renewal to the node-agent end;
The clocked flip update module is used for after the template system server-side has updated new template, the active triggering
Update module fails, when can not complete actively to update, node-agent end clocked flip update, from the template system service
End obtains new Template Information.
3. a kind of virtual machine template based on xen manages system according to claim 1, it is characterised in that:The template is led
Enter module for when the resource pool needs more new template, template to be imported from the node-agent end.
4. a kind of virtual machine template based on xen manages system according to claim 1, it is characterised in that:The template is deleted
Except module is used to, when the resource pool needs the template or modification template of undercarriage legacy version, delete the mould in the resource pool
Plate;
The template polling module is for checking whether the Template Information of the resource pool is considered changing.
5. a kind of virtual machine template management method based on xen, including resource pool and storage pool, it is characterised in that:Including template
Server of the system and node-agent end, the template system server-side are attached by network communication and the node-agent end
Interaction, the node-agent end are attached interaction by NFS modes and the resource pool, and the resource pool is assisted by ISCSI
View or FC modes are attached interaction with the storage pool;
The method includes template renewal function, template import feature, templates to delete function and template inspection function, the template
Update includes timing more new function and actively triggers more new function.
6. a kind of virtual machine template management method based on xen according to claim 5, it is characterised in that:When the template
After server of the system has updated new template, the active triggering more new function actively triggers the update of template, by new template
Update the node-agent end;
Including actively triggering the newer process of template:
Step A:The template system server-side initiates template renewal request, and sends update list and check information to the section
Point agent side, after the node-agent end receives template renewal request, verify local template whether with the template system service
End is consistent;
Step B:If the check results of local template are consistent, it is not necessarily to more new template;If local check results are inconsistent, described
Node-agent end obtains update list, then to the template system server-side downloads template;
Step C:After the completion of the downloads template of the node-agent end, download list and check information, the node-agent end are returned to
Whether the local template of verification is consistent with the template system server-side, if unanimously, the template system server synchronization information
And database is recorded;If inconsistent, re-download template, and verified, if verification to the template downloaded with it is described
Template system server-side is consistent, then the template system server synchronization information and database is recorded, and completes template renewal.
7. a kind of virtual machine template management method based on xen according to claim 5, it is characterised in that:When the template
After server of the system has updated new template, when the active triggering updates disabler, timing more new function timing update mould
Plate, by new template renewal to the node-agent end;
Include the process of periodically more new template:
Step a:The node-agent end setting timing update template function, the node-agent end timing obtain mould by interface
Panel table and check information;
Step b:Whether the template that the node-agent end is verified according to check information is consistent with the template system server-side,
If consistent, it is not necessarily to more new template, if inconsistent, the node-agent end obtains update list;
Step c:The node-agent end, to the template system server-side downloads template, is completed after downloading according to update list,
Return to download list and check information;
Step d:Whether the template that the node-agent end is verified according to check information is consistent with the template system server-side, if
Unanimously, then the template system server synchronization information and database is recorded;If inconsistent, template is re-downloaded, and again
Once verified, if the template at verification to the node-agent end is consistent with the template system server-side, the template
Simultaneously database is recorded in server of the system synchronizing information.
8. a kind of virtual machine template management method based on xen according to claim 5, it is characterised in that:When the resource
When pond needs the template or modification template of undercarriage legacy version, function is deleted by template and carries out deletion template operation;
Process including deleting template:
The template system server-side initiates template removal request, after the node-agent end receives template removal request, obtains
Delete template list;
The node-agent end examines whether NFS connections survive, if NFS connections are not survived, returns to NFS connection exceptions
Information;If the NFS connections survival, the node-agent end checks the template situation of the resource pool, that is, checking will delete
Template whether there is in the resource pool;
It is not present in the resource pool to the template of deletion, then returns to the information that template is not present;It is deposited to the template of deletion
It is the resource pool, then the node-agent end calls Xen-api to delete template by ssh protocol remotes;
The node-agent end checks whether that completing template deletes, if template is not deleted, returns to error message;If template
It has been be deleted that, then the node-agent end, which obtains, deletes information and be back to the template system server-side, institute by information is deleted
It states template system server-side and receives deletion information, complete synchronizing information and database simultaneously is recorded.
9. a kind of virtual machine template management method based on xen according to claim 5, it is characterised in that:Pass through the mould
Plate inspection function checks whether the Template Information of the resource pool is considered changing;
Include the process of template inspection:
The template system server-side initiates template inspection request, and the node-agent termination receives the template inspection request,
And obtain template list and Template Information;
Xen-api inspection templates, the node-agent end is called to check the money by ssh protocol remotes in the node-agent end
The template situation in source pond checks that the resource pool whether there is the template of wanted inspection;
If the template of wanted inspection is not present in the resource pool, the information that template is not present is returned;If the resource pool exists
The template of wanted inspection, then the node-agent end obtain Template Information;
Acquired Template Information is compared by the node-agent end, and whether judge templet information is altered, if not changing
It is dynamic, then return to the normal information of template;If being altered, the node-agent end obtains abnormal Template Information, and by abnormal mould
Plate information is back to the template system server-side;
The template system server-side receives abnormal Template Information, and database is recorded in abnormal Template Information, makes alarm
Prompt.
10. a kind of virtual machine template management method based on xen according to claim 5, it is characterised in that:The template is led
Enter function for when the resource pool needs more new template, template to be imported from the node-agent end;
The process imported including template:
The template system server-side initiates template and imports request, and the node-agent termination receives template and imports request, obtains
Template imports list, and checks whether NFS connections survive;
If NFS connections are not survived, the information of NFS connection exceptions is returned;If NFS connections are survived, the node-agent end inspection
The storage pool is looked into, checks whether the storage pool meets importing and require;
If the storage pool is unsatisfactory for importing and require, the information of the storage pool inadequate resource is returned;If the storage pool is full
Foot, which imports, to be required, then the node-agent end checks the template situation of resource pool, that is, is checked in the resource pool with the presence or absence of old
The template of version;
If there are the template of legacy version in the resource pool, the first template of backup legacy version, then the node-agent end is logical
Crossing ssh protocol remotes calls Xen-api to import template;If the template of legacy version, the node generation is not present in the resource pool
Manage end directly calls Xen-api to import template by ssh protocol remotes;
Check template whether import success, if check template import it is unsuccessful, return mistake information;If checking template
It imports successfully, then the node-agent end obtains Template Information and Template Information is back to the template system server-side, institute
It states template system server synchronization Template Information and is recorded in data, finally delete the template of legacy version.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810311187.5A CN108710527A (en) | 2018-04-09 | 2018-04-09 | A kind of virtual machine template management system, method based on xen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810311187.5A CN108710527A (en) | 2018-04-09 | 2018-04-09 | A kind of virtual machine template management system, method based on xen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108710527A true CN108710527A (en) | 2018-10-26 |
Family
ID=63866468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810311187.5A Pending CN108710527A (en) | 2018-04-09 | 2018-04-09 | A kind of virtual machine template management system, method based on xen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108710527A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704161A (en) * | 2019-09-27 | 2020-01-17 | 联想(北京)有限公司 | Virtual machine creation method and device and computer equipment |
CN113065323A (en) * | 2021-03-17 | 2021-07-02 | 平安普惠企业管理有限公司 | Method, device and equipment for importing contract template data and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905232A (en) * | 2012-12-28 | 2014-07-02 | 鸿富锦精密工业(深圳)有限公司 | Virtual-machine management system and method |
CN104461693A (en) * | 2014-12-11 | 2015-03-25 | 中标软件有限公司 | Virtual machine updating method and virtual machine updating system under desktop cloud computing environment |
CN105468372A (en) * | 2015-11-20 | 2016-04-06 | 深圳市深信服电子科技有限公司 | Virtual machine template mirror image management method and system and virtual machine migration method and system |
-
2018
- 2018-04-09 CN CN201810311187.5A patent/CN108710527A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103905232A (en) * | 2012-12-28 | 2014-07-02 | 鸿富锦精密工业(深圳)有限公司 | Virtual-machine management system and method |
CN104461693A (en) * | 2014-12-11 | 2015-03-25 | 中标软件有限公司 | Virtual machine updating method and virtual machine updating system under desktop cloud computing environment |
CN105468372A (en) * | 2015-11-20 | 2016-04-06 | 深圳市深信服电子科技有限公司 | Virtual machine template mirror image management method and system and virtual machine migration method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704161A (en) * | 2019-09-27 | 2020-01-17 | 联想(北京)有限公司 | Virtual machine creation method and device and computer equipment |
CN110704161B (en) * | 2019-09-27 | 2022-05-31 | 联想(北京)有限公司 | Virtual machine creation method and device and computer equipment |
CN113065323A (en) * | 2021-03-17 | 2021-07-02 | 平安普惠企业管理有限公司 | Method, device and equipment for importing contract template data and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9075536B1 (en) | Enhanced software application platform | |
US11429369B2 (en) | Distributed upgrade in virtualized computing environments | |
KR102443172B1 (en) | System and method for supporting patching in a multitenant application server environment | |
CN104253866B (en) | Software deployment method, system and the relevant device of virtual network function network element | |
CN109194538B (en) | Testing method, device, server and storage medium based on distributed coordination | |
CN103226493B (en) | The dispositions method and system of multi-operation system service | |
KR101676042B1 (en) | Method and system for deploying non-backward compatible server versions in a client/server computing environment | |
CN107205057A (en) | A kind of game resource update method, device and client | |
WO2015131696A1 (en) | Method and device for virtual network function management | |
CN103067484A (en) | Method and system upgrading application program automatically | |
CN106790432A (en) | A kind of Oftware updating method and device | |
CN105653329A (en) | Application management method, apparatus and system | |
CN108089913A (en) | A kind of virtual machine deployment method of super emerging system | |
CN113220422B (en) | Method and system for modifying Pod network interface based on operation of CNI plug-in K8s | |
EP4050850A1 (en) | Service upgrading method, device and system | |
CN108710527A (en) | A kind of virtual machine template management system, method based on xen | |
CN106603319A (en) | Fault processing method, management server, and logic server | |
US8612799B2 (en) | Method and apparatus of backing up subversion repository | |
CN115292026A (en) | Management method, device and equipment of container cluster and computer readable storage medium | |
CN101212342B (en) | Multi-version network element network management method | |
CN106713030B (en) | Software source management method and software function management system based on security management and control | |
CN104104701A (en) | Online service configuration updating method and system | |
CN116149713B (en) | Program upgrading method and device for all-level equipment under tree-type heterogeneous network | |
CN109218462A (en) | A kind of IP distribution method of cloud data center physical host | |
CN108540408A (en) | A kind of management method and system of the distributed virtual switch based on Openstack |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181026 |