CN103513940B - Virtual machine extends method and the virtual system console of disk size online - Google Patents

Virtual machine extends method and the virtual system console of disk size online Download PDF

Info

Publication number
CN103513940B
CN103513940B CN201310495177.9A CN201310495177A CN103513940B CN 103513940 B CN103513940 B CN 103513940B CN 201310495177 A CN201310495177 A CN 201310495177A CN 103513940 B CN103513940 B CN 103513940B
Authority
CN
China
Prior art keywords
disk
virtual machine
size
extension
space
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310495177.9A
Other languages
Chinese (zh)
Other versions
CN103513940A (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.)
Beijing Teamsun Technology Co Ltd
Original Assignee
Beijing Teamsun Technology 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 Beijing Teamsun Technology Co Ltd filed Critical Beijing Teamsun Technology Co Ltd
Priority to CN201310495177.9A priority Critical patent/CN103513940B/en
Publication of CN103513940A publication Critical patent/CN103513940A/en
Application granted granted Critical
Publication of CN103513940B publication Critical patent/CN103513940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of virtual machine and extend method and the virtual system console of disk size online, the method comprise the steps that console obtains the information of virtual machine extension disk size, the information of described extension disk size includes the identity number of virtual machine and the size of the extension disk space of magnetic disk of virtual machine application, extension disk space size according to described magnetic disk of virtual machine application, in storage disk, an extension disk space is generated based on default allocation rule, identity number according to the virtual machine being resolved to, find the virtual machine of disk size to be extended;Attribute modification according to described extension disk space also preserves the configuration information of described virtual machine, and the extension disk space of described storage disk is distributed to magnetic disk of virtual machine.The invention enables virtual machine when extending disk size online, to need not interrupt the operating system of virtual machine, thus ensure that the continuity of virtual machine business.

Description

Virtual machine extends method and the virtual system console of disk size online
Technical field
The present invention relates to Computer Storage field, be specifically related to a kind of virtual machine and extend the side of disk size online Method and virtual system console.
Background technology
Virtualization is that the physical resource of server is invented logical resource, allows a physical server become several The most up to a hundred mutually isolated virtual servers of platform, thus improve the utilization rate of hardware resource, simplify system Management, it is achieved Server Consolidation, user can be met various new business with minimum cost or activate business Need, therefore suffer from the whole world and pay close attention to the most widely.
Virtual machine refer to by software simulate have complete hardware system function, to operate in one completely isolated Complete computer in environment, is by entities such as one or more processors, internal memory or storage devices After resource collection gets up, the virtual platform being established on actual resource.
Due to virtual machine be framework on actual resource, therefore user use virtual machine time be likely encountered resource Not enough situation, the situation that i.e. magnetic disk of virtual machine capacity is not enough.In prior art, at the magnetic to virtual machine When dish capacity is extended, realize by increasing space on the basis of the former disk file of virtual machine, operation The disk management of system just can identify the disk after extension after only restarting system, this is the most very possible Cause service disconnection, cause unnecessary loss to enterprise.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of virtual machine to extend the method for disk size and virtual online System control position, the problem solving to need to restart VME operating system during virtual machine extension disk size.
On the one hand, embodiments provide a kind of method that virtual machine extends disk size online, described Method includes:
Console obtains the information of virtual machine extension disk size, and the information of described extension disk size includes void The identity number of plan machine and the size of the extension disk space of magnetic disk of virtual machine application;
Console resolves the information of described extension disk size, according to the extension magnetic of described magnetic disk of virtual machine application Disk space size, generates an extension disk space based on default allocation rule in storage disk;
Console according to described in the identity number of virtual machine that is resolved to, find disk size to be extended Virtual machine;
Console according to the attribute modification of described extension disk space the configuration information that preserves described virtual machine, The extension disk space of described storage disk is distributed to magnetic disk of virtual machine.
Further, the information of described console acquisition virtual machine extension disk size includes:
Console detects the utilization rate of the disk size of each virtual machine;
When console detects that the utilization rate of the disk space capacity of virtual machine exceedes setting threshold value, trigger shape Become the information of the extension disk size of described virtual machine.
Further, console resolves the information of described extension disk size, according to described magnetic disk of virtual machine Shen Extension disk space size please, generates an extension disk based on default allocation rule empty in storage disk Between include:
Console resolve described extension disk size information, obtain described virtual machine identity number and The extension disk space size of magnetic disk of virtual machine application;
Whether the disk size after console judges the extension of described magnetic disk of virtual machine exceedes described magnetic disk of virtual machine Rated capacity;
When the disk size after magnetic disk of virtual machine extends is less than described rated capacity, console detection storage magnetic The size of the residual memory space of dish;
Console judges whether the residual memory space of storage disk is more than the extension disk of magnetic disk of virtual machine application The size in space;
When the residual memory space of storage disk is more than the size of the extension disk space of magnetic disk of virtual machine application Time, console controls described storage disk generation one and magnetic disk of virtual machine apllied extension disk size is big Little identical extension disk space.
Further, described storage disk includes any one in storage device, hard disk or disk array.
On the other hand, embodiments provide a kind of virtual system console, including:
Acquiring unit, for obtaining the information of virtual machine extension disk size, the letter of described extension disk size Breath includes the identity number of virtual machine and the size of the extension disk space of magnetic disk of virtual machine application;
Resolution unit, for resolving the information of described extension disk size, according to described magnetic disk of virtual machine application Extension disk space size, based on default allocation rule storage disk in generate one extension disk space;
Search unit, for the identity number according to the virtual machine being resolved to, find disk to be extended to hold The virtual machine of amount;
Amendment dispensing unit, is used for the attribute modification according to described extension disk space and preserves described virtual machine Configuration information, the extension disk space of described storage disk is distributed to magnetic disk of virtual machine.
Further, described acquiring unit includes:
First detection sub-unit, for detecting the utilization rate of the disk size of each virtual machine;
Triggers unit, for exceeding setting threshold value when the utilization rate of disk space capacity virtual machine being detected Time, trigger the information of the extension disk size forming described virtual machine.
Further, resolution unit includes:
Resolve subelement, for resolving the information of described extension disk size, obtain the identity of described virtual machine The extension disk space size of identification number and magnetic disk of virtual machine application;
First judgment sub-unit, for judging whether the disk size after the extension of described magnetic disk of virtual machine exceedes institute State the rated capacity of magnetic disk of virtual machine;
Second detection sub-unit, the disk size after extending when magnetic disk of virtual machine is less than described rated capacity Time, the size of the residual memory space of detection storage disk;
Second judgment sub-unit, for judging that whether the residual memory space storing disk is more than magnetic disk of virtual machine The size of the extension disk space of application;
Disk space generates subelement, for the residual memory space when storage disk more than magnetic disk of virtual machine Shen During the size of extension disk space please, control described storage disk and generate one and magnetic disk of virtual machine and applied for The identical extension disk space of extension disk size size.
Further, described storage disk includes any one in storage device, hard disk or disk array.
The present invention obtains the information of virtual machine extension disk size by console, by resolving described extension magnetic The information of dish capacity, according to the extension disk space size of described magnetic disk of virtual machine application, based on default distribution Rule generates an extension disk space at storage disk, according to the identity number of the virtual machine being resolved to, Finding the virtual machine of disk size to be extended, console is according to the attribute modification of described extension disk space and protects After depositing the configuration information of virtual machine, the extension disk space of storage disk is distributed to magnetic disk of virtual machine, thus Virtual machine is made to need not restart VME operating system when extending disk size online, it is ensured that virtual The continuity of machine business.
Accompanying drawing explanation
The exemplary embodiment of the present invention will be described in detail by referring to accompanying drawing below, make the common skill of this area Art personnel become apparent from the above-mentioned and other feature and advantage of the present invention, in accompanying drawing:
Fig. 1 is the method flow diagram that the virtual machine of first embodiment of the invention extends disk size online;
Fig. 2 is the method flow diagram that the virtual machine of second embodiment of the invention extends disk size online;
Fig. 3 is the structure chart of the virtual system console of third embodiment of the invention.
Detailed description of the invention
The present invention is described in further detail with embodiment below in conjunction with the accompanying drawings.It is understood that this Specific embodiment described by place is used only for explaining the present invention, rather than limitation of the invention.The most also need Be noted that for the ease of describing, accompanying drawing illustrate only part related to the present invention and not all in Hold.
The virtual machine of the embodiment of the present invention extends the method for disk size online and virtual system console can be transported Row in the virtual environment being provided with virtual machine, this virtual environment including but not limited to, such as: The virtual system software that one software company InnoTek of VirtualBox(Germany is developed, was received by Sun later Purchase, be renamed as Sun Virtual Box, can virtual system include the various version of Windows, Mac OS X, Linux, OpenBSD, Solaris, IBM OS2 and Android4.0 etc. operating system), VMware The virtual machine that mono-environment of Workstation(is the same with real computer, can run Linux various simultaneously Release, the various version of Dos, Windows and Unix etc.), VirtualPC(can be on a PC Run multiple operating system simultaneously, without restarting systems, can switch between operating system, should Operating system can be DOS, Windows95, Windows98, Windows ME, Windows2000, Windows XP, Windows Server2003, UNIX and Linux etc.).
Figure 1 illustrates the first embodiment of the present invention.
Fig. 1 be the virtual machine according to first embodiment of the invention extend disk size method online realize flow process, The method is applicable to include in the virtual system of console and at least one virtual machine, console perform, This realizes flow process, and details are as follows:
Step 110, console obtain the information of virtual machine extension disk size, the letter of described extension disk size Breath includes the identity number of virtual machine and the size of the extension disk space of magnetic disk of virtual machine application.
In embodiments of the present invention, before setting up virtual machine, the supervising device of virtual machine preferably can limit The disk amount that virtual machine is maximum, and magnetic disk of virtual machine use percentage can be detected, thus monitor virtual machine Resource service condition, when the disk utilization rate of virtual machine exceedes setting threshold value, will trigger extension disk and hold The information of amount, such as: the rated capacity of magnetic disk of virtual machine is 8G, when the disk utilization rate of virtual machine is more than 80% Time, the disk of virtual machine will trigger the behavior of extension disk automatically, sends extension disk to supervising device and holds The information of amount, wherein, the information of described extension disk size includes the identity number of virtual machine and virtual The size of the extension disk space of machine disk application, the full name of the identity number of described virtual machine is general Account (Virtual identity electronic identification is called for short ID), being commonly called as of ID is " network body Part card ", it is a kind of Internet authentication agreement, there is uniqueness and information non-repudiation, according to virtual The identity number of machine, can uniquely find the virtual machine needing to extend disk size.
Step 120, console resolve the information of described extension disk size, according to described magnetic disk of virtual machine application Extension disk space size, based on default allocation rule storage disk generate one extension disk space.
In the present embodiment, when virtual machine sends the information of extension disk size, console can be according to described The extension disk space size of magnetic disk of virtual machine application, based on default allocation rule to storage disk application one Extension disk space, e.g. identical with the extension disk space size of magnetic disk of virtual machine application disk space, Or the space that the extension disk space size that can also is that and apply for is in the ratio of setting.Storage disk is generated Disk space be automatically mounted in magnetic disk of virtual machine, thus expand the disk size of virtual machine, described storage Disk can be preferably any one in storage device, hard disk or disk array, and wherein, described storage sets For including, but are not limited to, such as: magnetic tape station, tape library, disk array, the SUN network storage, NAS The network storage, the storage of IP SAN network, VTL, CD server and CD server etc., described hard disk (Hard Disk Drive, is called for short HDD) include, but are not limited to, such as: solid state hard disc (SSD), mechanical hard disk And hybrid hard disk (HHD) etc., described disk array (Redundant Arrays of Inexpensive (HDD) Disks, is called for short RAID) it is to utilize array mode to make disk group, coordinate the design of data dispersed arrangement, Thus promoting the security of data, described disk array includes, but are not limited to, such as: circumscribed disk battle array Row cabinet, internal connecting type magnetic disc array card or the mode utilizing software emulation etc..
Step 130, console, according to the identity number of the virtual machine being resolved to, find disk to be extended to hold The virtual machine of amount.
In the present embodiment, according to the identity number of the virtual machine being resolved to, described identity number It is the unique identity of virtual machine, can be only according to the identity of virtual machine in extension disk size information One virtual machine finding disk size to be extended.
Step 140, console are according to the attribute modification of described extension disk space and preserve joining of described virtual machine Confidence ceases, and the extension disk space of described storage disk is distributed to magnetic disk of virtual machine.
In the present embodiment, console, according to the attribute of described extension disk space, is revised and is preserved according to body The configuration information of the virtual machine of the disk size to be extended that part identification information finds, will extend the configuration of disk Information is added in the configuration information of magnetic disk of virtual machine, and described configuration information can include the title of virtual machine, body Part mark, memory size, disk size and virtual device information, thus the extension disk that will store disk is empty Between distribute to magnetic disk of virtual machine.
The method that the virtual machine that the present embodiment provides extends disk size online, by resolving virtual machine extension magnetic The information of dish capacity, after resolving the information of described extension disk size, by revising the configuration information of virtual machine, The configuration information of extension disk is added in magnetic disk of virtual machine, thus by the extension disk space of storage disk Distribute to magnetic disk of virtual machine, in the process, it is not necessary to restart VME operating system, it is ensured that empty The continuity of plan machine business.
Figure 2 illustrates the second embodiment of the present invention.
Fig. 2 be the virtual machine according to second embodiment of the invention extend disk size method online realize flow process, The method is applicable to include in the virtual system of console and at least one virtual machine, console perform, This realizes flow process, and details are as follows:
Step 210, console detect the utilization rate of the disk size of each virtual machine.
Step 220, detect that the utilization rate of the disk space capacity of virtual machine exceedes setting threshold value when console Time, trigger the information of the extension disk size forming described virtual machine.
Step 230, console resolve the information of described extension disk size, obtain the identity mark of described virtual machine Know number and the extension disk space size of magnetic disk of virtual machine application.
After step 240, console judge the extension of described magnetic disk of virtual machine, whether disk size exceedes described virtual machine The rated capacity of disk, the most then can send the information that extension is failed, if it is not, then perform step 250.
When the disk size after magnetic disk of virtual machine extends is more than rated capacity, console sends virtual machine extension Rear disk size is more than the information of rated capacity, it is impossible to the disk size of EVM(extended virtual machine);Work as magnetic disk of virtual machine When disk size after extension is less than rated capacity, perform step 250.
The size of the residual memory space of step 250, console detection storage disk.
Described storage disk can be any one in storage device, hard disk or disk array.
Step 260, console judge that whether the residual memory space storing disk is more than magnetic disk of virtual machine application The size of extension disk space, the most then perform step 270, if it is not, then can send the information that extension is failed.
When the remanence disc storage space storing disk is less than the extension disk space of magnetic disk of virtual machine application, Console sends the information that storage disk residual memory space is not enough, and the operation of EVM(extended virtual machine) disk size is lost Lose;When the residual memory space storing disk is more than the extension disk space of magnetic disk of virtual machine application, perform Step 270.
Step 270, console control described storage disk and generate one and magnetic disk of virtual machine apllied extension magnetic The extension disk space that dish amount of capacity is identical.
The identity number of the virtual machine that step 280, basis are resolved to, finds the void of disk size to be extended Plan machine.
Step 290, console are according to the attribute modification of described extension disk space and preserve joining of described virtual machine Confidence ceases, and the extension disk space of storage disk is distributed to magnetic disk of virtual machine.
In the present embodiment, described configuration information includes that the title of virtual machine, identity number, internal memory hold Amount, disk size and virtual device information, when EVM(extended virtual machine) disk, first according to described extension disk In capacity information, the identity number of virtual machine, finds the virtual machine of disk size to be extended, then basis The attribute of described extension disk space, revises and preserves the configuration information of virtual machine, will during amendment configuration information The configuration information of extension disk joins in the configuration information of magnetic disk of virtual machine, and virtual machine is joined according to amended Confidence ceases, and finds extension disk, automatically by the extension magnetic of storage disk in hard disk management or volume manager Disk space is mounted in magnetic disk of virtual machine, it is achieved virtual machine extends the purpose of disk size online.
The method that the virtual machine that the present embodiment provides extends disk size online, will not occur magnetic disk of virtual machine Shen Disk space please is more than the situation of storage disk residual memory space, and is not required to when extending disk size VME operating system to be restarted, it is ensured that the continuity of virtual machine business.
Figure 3 illustrates the third embodiment of the present invention.
Fig. 3 is the structure chart of the virtual system console according to third embodiment of the invention.This virtual system control Platform processed is applicable to include in the virtual system of at least one virtual machine, as it is shown on figure 3, described in the present embodiment Virtual system console specifically include: acquiring unit 31, resolution unit 32, search unit 33 and amendment Dispensing unit 34.
Wherein, acquiring unit 31 is for obtaining the information of virtual machine extension disk size, and described extension disk holds The information of amount includes the big of the extension disk space of the identity number of virtual machine and magnetic disk of virtual machine application Little.Resolution unit 32 is for resolving the information of described extension disk size, according to described magnetic disk of virtual machine application Extension disk space size, based on default allocation rule storage disk in generate one extension disk space. Search unit 33 and be used for the identity number according to the virtual machine being resolved to, find disk size to be extended Virtual machine.Amendment dispensing unit 34 for the attribute modification according to described extension disk space and preserves described void The configuration information of plan machine, distributes to magnetic disk of virtual machine by the extension disk space of described storage disk.
In the present embodiment, described configuration information can include the title of virtual machine, identity number, internal memory Capacity, disk size and virtual device information, when EVM(extended virtual machine) disk, first according to described extension magnetic The identity number of virtual machine in dish capacity information, finds the virtual machine of disk size to be extended, the most again Revise and preserve the configuration information of virtual machine, during amendment configuration information, the configuration information of storage disk is joined In the configuration information of magnetic disk of virtual machine, virtual machine is according to amended configuration information, at hard disk management or volume Manager finds storage disk, automatically the extension disk space of storage disk is mounted in magnetic disk of virtual machine, Realize virtual machine and extend the purpose of disk size online.
In the third embodiment, described acquiring unit 31 preferably comprises the steps that
First detection sub-unit 311, for detecting the utilization rate of the disk size of each virtual machine.
Triggers unit 312, for exceeding setting threshold when the utilization rate of disk space capacity virtual machine being detected During value, trigger the information of the extension disk size forming described virtual machine.
On the basis of such scheme, described resolution unit 32 preferably may particularly include:
Resolve subelement 321, for resolving the information of described extension disk size, obtain the body of described virtual machine Part identification number and the extension disk space size of magnetic disk of virtual machine application.
First judgment sub-unit 322, after being used for judging the extension of described magnetic disk of virtual machine, whether disk size exceedes institute State the rated capacity of magnetic disk of virtual machine.
Second detection sub-unit 323, the disk size after extending when magnetic disk of virtual machine is less than rated capacity Time, the size of the residual memory space of detection storage disk.
Further, described storage disk can be any one in storage device, hard disk or disk array.
Second judgment sub-unit 324, for judging that whether the residual memory space storing disk is more than virtual machine magnetic The space of the extension capacity of dish application.
When the residual memory space storing disk is less than the extension disk space of magnetic disk of virtual machine application, send The information that storage disk residual memory space is not enough, the operation failure of EVM(extended virtual machine) disk size;Work as storage When the residual memory space of disk is more than the space of the extension capacity of magnetic disk of virtual machine application, described storage disk Generate the disk space of and magnetic disk of virtual machine apllied extension disk formed objects.
Disk space generates subelement 325, for the residual memory space when storage disk more than magnetic disk of virtual machine During the space extending capacity applied for, described storage disk generates one and the apllied extension of magnetic disk of virtual machine The disk space that disk size is identical.
The virtual machine that the embodiment of the present invention provides extends method and the virtual system control and monitor console of disk size online, Obtain the information of virtual machine extension disk size by console and resolve the information of described extension disk size, Extension disk space size according to magnetic disk of virtual machine application, based on the life in storage disk of default allocation rule Become an extension disk space, further according to the identity number of virtual machine, find disk size to be extended Virtual machine, revise and preserve the configuration information of magnetic disk of virtual machine according to the space attribute of described extension disk after, The extension disk space of storage disk is distributed to magnetic disk of virtual machine, hereby it is achieved that magnetic disk of virtual machine capacity Online extension, and the virtual machine that provides of the embodiment of the present invention extends method and the monitoring dress of disk size online Put and need not restart VME operating system, it is ensured that the continuity of virtual machine business.
Obviously, it will be understood by those skilled in the art that each module or each step of the above-mentioned present invention can be used General calculating device realizes, and they can concentrate on single calculating device, or is distributed in multiple meter Calculating on the network that device is formed, alternatively, they can come with the executable program code of computer installation Realize, performed by calculating device such that it is able to be stored in storing in device, or by them respectively It is fabricated to each integrated circuit modules, or the multiple modules in them or step are fabricated to single integrated electricity Road module realizes.So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for this area skill For art personnel, the present invention can have various change and change.All institutes within spirit and principles of the present invention Any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (8)

1. the method that a virtual machine extends disk size online, it is characterised in that described method includes:
Console obtains the information of virtual machine extension disk size, and the information of described extension disk size includes void The identity number of plan machine and the size of the extension disk space of magnetic disk of virtual machine application;
Console resolves the information of described extension disk size, according to the extension magnetic of described magnetic disk of virtual machine application Disk space size, generates an extension disk space based on default allocation rule in storage disk;
Console, according to the identity number of the virtual machine being resolved to, finds the virtual of disk size to be extended Machine;
Console according to the attribute modification of described extension disk space the configuration information that preserves described virtual machine, The extension disk space of described storage disk is distributed to magnetic disk of virtual machine.
Virtual machine the most according to claim 1 extends the method for disk size online, and its feature exists In, described console obtains the information of virtual machine extension disk size and includes:
Console detects the disk size utilization rate of each virtual machine;
When console detects that the utilization rate of the disk space capacity of virtual machine exceedes setting threshold value, trigger shape Become the information of the extension disk size of described virtual machine.
Virtual machine the most according to claim 1 extends the method for disk size online, and its feature exists In, console resolves the information of described extension disk size, according to the extension magnetic of described magnetic disk of virtual machine application Disk space size, generates an extension disk space in storage disk based on default allocation rule and includes:
Console resolve described extension disk size information, obtain described virtual machine identity number and The extension disk space size of magnetic disk of virtual machine application;
Whether the disk size after console judges the extension of described magnetic disk of virtual machine exceedes described magnetic disk of virtual machine Rated capacity;
When the disk size after magnetic disk of virtual machine extends is less than described rated capacity, console detection storage magnetic The size of the residual memory space of dish;
Console judges whether the residual memory space of storage disk is more than the extension disk of magnetic disk of virtual machine application The size in space;
When the residual memory space of storage disk is more than the size of the extension disk space of magnetic disk of virtual machine application Time, console controls described storage disk generation one and magnetic disk of virtual machine apllied extension disk size is big Little identical extension disk space.
Virtual machine the most according to claim 1 extends the method for disk size online, and its feature exists In, described storage disk includes any one in hard disk or disk array.
5. a virtual system console, it is characterised in that including:
Acquiring unit, for obtaining the information of virtual machine extension disk size, the letter of described extension disk size Breath includes the identity number of virtual machine and the size of the extension disk space of magnetic disk of virtual machine application;
Resolution unit, for resolving the information of described extension disk size, according to described magnetic disk of virtual machine application Extension disk space size, in storage disk, generate an extension disk based on default allocation rule empty Between;
Search unit, for the identity number according to the virtual machine being resolved to, find disk to be extended to hold The virtual machine of amount;
Amendment dispensing unit, is used for the attribute modification according to described extension disk space and preserves described virtual machine Configuration information, the extension disk space of described storage disk is distributed to magnetic disk of virtual machine.
Virtual system console the most according to claim 5, it is characterised in that described acquiring unit Including:
First detection sub-unit, for detecting the utilization rate of the disk size of each virtual machine;
Triggers unit, for exceeding setting threshold value when the utilization rate of disk space capacity virtual machine being detected Time, trigger the information of the extension disk size forming described virtual machine.
Virtual system console the most according to claim 5, it is characterised in that described resolution unit Including:
Resolve subelement, for resolving the information of described extension disk size, obtain the identity of described virtual machine The extension disk space size of identification number and magnetic disk of virtual machine application;
First judgment sub-unit, for judging whether the disk size after the extension of described magnetic disk of virtual machine exceedes institute State the rated capacity of magnetic disk of virtual machine;
Second detection sub-unit, the disk size after extending when magnetic disk of virtual machine is less than described rated capacity Time, the size of the residual memory space of detection storage disk;
Second judgment sub-unit, for judging that whether the residual memory space storing disk is more than magnetic disk of virtual machine The size of the extension disk space of application;
Disk space generates subelement, for the residual memory space when storage disk more than magnetic disk of virtual machine Shen During the size of extension disk space please, control described storage disk and generate one and magnetic disk of virtual machine and applied for The identical extension disk space of extension disk size size.
Virtual system console the most according to claim 5, it is characterised in that described storage disk Including any one in hard disk or disk array.
CN201310495177.9A 2013-10-21 2013-10-21 Virtual machine extends method and the virtual system console of disk size online Active CN103513940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310495177.9A CN103513940B (en) 2013-10-21 2013-10-21 Virtual machine extends method and the virtual system console of disk size online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310495177.9A CN103513940B (en) 2013-10-21 2013-10-21 Virtual machine extends method and the virtual system console of disk size online

Publications (2)

Publication Number Publication Date
CN103513940A CN103513940A (en) 2014-01-15
CN103513940B true CN103513940B (en) 2016-09-07

Family

ID=49896740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310495177.9A Active CN103513940B (en) 2013-10-21 2013-10-21 Virtual machine extends method and the virtual system console of disk size online

Country Status (1)

Country Link
CN (1) CN103513940B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461698A (en) * 2014-12-29 2015-03-25 成都致云科技有限公司 Dynamic virtual disk mounting method, virtual disk management device and distributed storage system
CN105808312B (en) * 2014-12-30 2019-08-06 华为技术有限公司 A kind of method and apparatus supplying virtual volume
CN105607868A (en) * 2015-12-14 2016-05-25 华为数字技术(成都)有限公司 Method and apparatus for capacity expansion of storage array
CN106126115A (en) * 2016-06-15 2016-11-16 浪潮电子信息产业股份有限公司 A kind of method and device of the disk of EVM(extended virtual machine)
CN106168885B (en) * 2016-07-18 2019-09-24 浪潮(北京)电子信息产业有限公司 A kind of method and system of the logical volume dynamic capacity-expanding based on LVM
CN107800730B (en) * 2016-08-30 2021-01-29 阿里巴巴集团控股有限公司 Capacity expansion method and device for virtual disk
CN107844260A (en) * 2016-09-19 2018-03-27 深圳市深信服电子科技有限公司 A kind of method and device of magnetic disk of virtual machine space dilatation
CN106708428B (en) * 2016-11-21 2018-06-29 平安科技(深圳)有限公司 Data virtualization storage method and device
CN108153578B (en) * 2016-12-05 2022-02-25 北京国双科技有限公司 Method and device for adding disk to virtual machine
CN107479837A (en) * 2017-08-30 2017-12-15 郑州云海信息技术有限公司 The method and apparatus of virtual machine dilatation in cloud data system
CN107562520A (en) * 2017-09-07 2018-01-09 郑州云海信息技术有限公司 The method and apparatus of the internal memory of dilatation virtual machine
CN107632791A (en) * 2017-10-10 2018-01-26 郑州云海信息技术有限公司 The distribution method and system of a kind of memory space
CN107729122A (en) * 2017-10-16 2018-02-23 郑州云海信息技术有限公司 A kind of virtual machine management method and device
CN109189339B (en) * 2018-08-28 2021-08-20 郑州云海信息技术有限公司 Automatic configuration cache acceleration method under storage system
CN109753342A (en) * 2018-11-19 2019-05-14 顺丰科技有限公司 Virtual machine on-line rapid estimation method, apparatus, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8949295B2 (en) * 2006-09-21 2015-02-03 Vmware, Inc. Cooperative memory resource management via application-level balloon
CN101876884B (en) * 2009-11-30 2012-02-01 英业达股份有限公司 Volume extension method of virtual hard disk
CN102063473B (en) * 2010-12-21 2012-10-10 南京壹进制信息技术有限公司 Method for expanding storage space on line
CN102681889B (en) * 2012-04-27 2015-01-07 电子科技大学 Scheduling method of cloud computing open platform

Also Published As

Publication number Publication date
CN103513940A (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN103513940B (en) Virtual machine extends method and the virtual system console of disk size online
US8874954B1 (en) Compatibility of high availability clusters supporting application failover with shared storage in a virtualization environment without sacrificing on virtualization features
US9122652B2 (en) Cascading failover of blade servers in a data center
US8086896B2 (en) Dynamically tracking virtual logical storage units
US10346248B2 (en) Failure resistant volume creation in a shared storage environment
US10656877B2 (en) Virtual storage controller
US9521194B1 (en) Nondeterministic value source
US20200319912A1 (en) Transitioning volumes between storage virtual machines
US9116861B2 (en) Cascading failover of blade servers in a data center
US11221785B2 (en) Managing replication state for deleted objects
US8903982B2 (en) Computer system, management server and configuration information acquisition method
US11409711B2 (en) Barriers for dependent operations among sharded data stores
US11567899B2 (en) Managing dependent delete operations among data stores
US20230384932A1 (en) Electronic storage system
US10353786B2 (en) Virtualization substrate management device, virtualization substrate management system, virtualization substrate management method, and recording medium for recording virtualization substrate management program
US20210165768A1 (en) Replication Barriers for Dependent Data Transfers between Data Stores
CN115878374B (en) Namespace backup data for tenant assignment
US10628055B2 (en) Management of storage replication consistency groups using automatic replication group identifiers
CN110209550A (en) Fault handling method, device, electronic equipment and the storage medium of storage medium
US20160197994A1 (en) Storage array confirmation of use of a path
US10990286B1 (en) Parallel upgrade of nodes in a storage system
US8700832B1 (en) Automated addition of file based hardware and file based access services in a data storage system
US9143410B1 (en) Techniques for monitoring guest domains configured with alternate I/O domains
US11237914B2 (en) Intelligent handling of consistency level of virtual machines
US20200159706A1 (en) Object Storage System with Control Entity Quota Usage Mapping

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant