TWI472931B - Use virtual pool management to quickly generate virtual machines - Google Patents
Use virtual pool management to quickly generate virtual machines Download PDFInfo
- Publication number
- TWI472931B TWI472931B TW101141493A TW101141493A TWI472931B TW I472931 B TWI472931 B TW I472931B TW 101141493 A TW101141493 A TW 101141493A TW 101141493 A TW101141493 A TW 101141493A TW I472931 B TWI472931 B TW I472931B
- Authority
- TW
- Taiwan
- Prior art keywords
- virtual machine
- pool
- virtual
- template
- generating
- Prior art date
Links
- 238000000034 method Methods 0.000 claims description 55
- 230000009471 action Effects 0.000 claims description 31
- 230000008569 process Effects 0.000 claims description 25
- 238000003860 storage Methods 0.000 claims description 8
- 239000004744 fabric Substances 0.000 claims description 6
- 230000010076 replication Effects 0.000 claims description 6
- 108090000623 proteins and genes Proteins 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 2
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 claims 3
- 230000002159 abnormal effect Effects 0.000 claims 1
- 238000012790 confirmation Methods 0.000 claims 1
- 238000011176 pooling Methods 0.000 claims 1
- 238000007726 management method Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000002360 preparation method Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 239000011232 storage material Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Description
本發明針對雲端維運系統中供裝子系統,具體而言,係為提供供裝子系統使用本方法來產生可供客戶端使用的虛擬機。特別是一種關於利用虛擬池來管控產生虛擬機的流程,製作完成可提供客戶服務的虛擬機。The present invention is directed to a supply subsystem in a cloud maintenance system, and in particular, to provide a supply subsystem to use the method to generate a virtual machine for use by a client. In particular, a process for utilizing a virtual pool to manage the generation of virtual machines, and completing a virtual machine that provides customer service.
因為網路頻寬的充裕、雲端運算技術和虛擬化技術的日益成熟,使得者能夠運用雲端服務營運商提出的虛擬化平台,將需要使用的應用服務及儲存空間都放在虛擬化平台上,使用者只需要採用精簡型(Thin Client)的電腦主機透過網路存取遠端資源池(雲端服務營運商提供實際硬體資源中的儲存裝置、運算能力與各種應用程式),以達到節省資源。雲端服務營運商提供供裝及維運服務,使用者透過網路隨時可以申租和退租,當程序需要更多的資源來執行時,即時申租多個虛擬機,當工作量沒有如預期的多,即時退租,節省成本;使用者不用知道硬體資源的配置和知識,這些硬體資源的配置由雲端服務營運商所管理,如此方便又節能,使得越來越多使用者利用虛擬機執行程序完成原本在本端主機上所要執行的工作。Because of the abundance of network bandwidth, the maturity of cloud computing technology and virtualization technology, it is possible to use the virtualization platform proposed by cloud service operators to put the application services and storage space to be used on the virtualization platform. Users only need to use a thin client computer to access remote resource pools through the network (cloud service operators provide storage devices, computing power and various applications in real hardware resources) to save resources. . The cloud service provider provides the equipment for loading and unloading. The user can apply for rent and lease at any time through the network. When the program needs more resources to execute, it can rent multiple virtual machines at once, when the workload is not as expected. More, instant rent-off, cost savings; users do not need to know the configuration and knowledge of hardware resources, the configuration of these hardware resources is managed by cloud service operators, so convenient and energy-saving, making more and more users use virtual The machine execution program completes the work to be performed on the local host.
然而,對於雲端服務營運商而言,面對越來越 多的使用者提出申租虛擬機的服務,如何有效快速的提供虛擬機給予客戶?如何保證客戶申租的虛擬機是有品質的?However, for cloud service operators, the face is getting more and more Many users propose to rent a virtual machine service, how to effectively and quickly provide virtual machines to customers? How to ensure that the virtual machine that the customer is renting is quality?
本案發明人鑑於上述雲端服務營運商的虛擬機供裝需求,經過不斷的實驗與執行程序改進後,終於成功研發完成此一利用虛擬池管理快速產生虛擬機之方法。In view of the above-mentioned cloud service provider's virtual machine supply and demand requirements, the inventor of the present invention finally succeeded in researching and developing this method of rapidly generating a virtual machine by using virtual pool management after continuous experiment and execution program improvement.
本案發明人鑑於上述習用方式所衍生的各項缺點,乃亟思加以改良創新,並經苦心孤詣潛心研究後,終於成功研發完成本發明。In view of the shortcomings derived from the above-mentioned conventional methods, the inventors of the present invention succeeded in research and development to complete the present invention after improving and innovating, and after painstaking research.
本發明之主要目的在於幫助雲端服務供應商營運中虛擬機供裝子系統得到可供裝使用的虛擬機,且能夠快速的為客戶提供服務。當客戶提出大量的虛擬機服務要求時,也能夠有效率的管理可提供服務的虛擬機,迅速的將已配置完成的虛擬機提供給客戶進行租用。The main purpose of the present invention is to help a virtual machine supply subsystem in a cloud service provider operation obtain a virtual machine that can be used for installation, and can quickly provide services to customers. When the customer proposes a large number of virtual machine service requirements, it can also efficiently manage the virtual machine that can provide the service, and quickly provide the configured virtual machine to the customer for lease.
本發明之次要目的為提供有品質的虛擬機,當系統為了追求快速的供裝服務,通常就會缺乏品質,將複製完成的虛擬機提供給客戶使用,客戶開始使用虛擬機時,則必須自行完成快速建置服務、設定網路組態服務、系統更新服務,客戶所得到的虛擬機毫無品質可言。為了提供高品質的服務,利用虛擬池的管理,經過多重驗證的虛擬機才能進入可提供服務的虛擬池,進而被挑選出,以提供系統有品 質保障的虛擬機。The secondary purpose of the present invention is to provide a quality virtual machine. When the system pursues a fast provisioning service, it usually lacks quality, and the copied virtual machine is provided to the customer. When the customer starts to use the virtual machine, the user must The self-completed rapid build service, the network configuration service, and the system update service are completed, and the virtual machine obtained by the customer has no quality at all. In order to provide high-quality services, virtual pool management can be used to enter virtual pools that can provide services, and then selected to provide system quality. Quality guaranteed virtual machine.
為達成上述發明主要目的,本發明為快速的提供供裝系統可供客戶使用的虛擬機,為達到加快速度的目的,在一挑選可複製的模版過程中,判別模版負載量(Task loading)是加速模版進行複製的關鍵,利用較低負載量的模版來做複製,降低頻繁的I/O存取次數帶來的風險;將所有作業系統初始化資料一次寫入虛擬機開關機標準化流程,來更新作業系統的結構配置,可減少提供供裝系統完整的虛擬機的時間。In order to achieve the above-mentioned main object of the invention, the present invention provides a virtual machine for quickly providing a supply system for a customer. To achieve the purpose of speeding up, in determining a replica template, the task loading is determined. The key to speeding up the replication of templates is to use a lower-loaded template for replication, reducing the risk of frequent I/O accesses; writing all operating system initialization data to the virtual machine on-off machine standardization process to update The structural configuration of the operating system reduces the time it takes to provide a complete virtual machine for the system.
為達成上述發明之次要目的,本發明透過虛擬池的管理,三個虛擬池都有不同生產目的,預備池為生產目的,離線池為預備服務目的,上線池則顧名思義為上線目的,虛擬機透過這三個連續性的虛擬池步驟,供裝系統可在上線池得到可提供服務的虛擬機,耗費較少的時間在搜尋可服務的虛擬機,並因為虛擬機行為的區分,能夠進入上線池的虛擬機皆是經過多重驗證之後,所得到的產物,更是品質的保證。In order to achieve the secondary purpose of the above invention, the three virtual pools have different production purposes through the management of the virtual pool, the reserve pool is for production purposes, the offline pool is for preliminary service purposes, and the online pool is as the name suggests, the virtual machine Through these three consecutive virtual pool steps, the provisioning system can obtain the serviceable virtual machine in the online pool, spend less time searching for the serviceable virtual machine, and can enter the online line because of the differentiation of the virtual machine behavior. The virtual machines in the pool are the products obtained after multiple verifications, and the quality is guaranteed.
在上線池裡可提供服務的虛擬機皆為關機狀態,可減少虛擬池的資源浪費,並藉由此資源管理,增加正在複製中的模版和已使用中的虛擬機可使用的資源。The virtual machines that can be served in the online pool are all powered off, which can reduce the waste of resources in the virtual pool, and by this resource management, increase the resources that are being copied and the resources that can be used by the virtual machines in use.
綜合以上所述,此系統提供較少的製作新虛擬機時間,並且利用虛擬池的管理得到較有品質的虛擬機服務。In summary, the system provides less time to create new virtual machines and utilizes virtual pool management to get better quality virtual machine services.
本發明係為一個製作與管理虛擬機之流程方法,圖1為本發明之利用虛擬池管理快速產生虛擬機之方法之實施於一供裝系統內產生新的虛擬機之虛擬池管理示意圖。圖1係為發明的完整表示,以說明以虛擬池做為虛擬機管理的最主要方法,並執行不同的實作動作。The present invention is a process for fabricating and managing a virtual machine. FIG. 1 is a schematic diagram of a virtual pool management for generating a new virtual machine in a provisioning system by using a virtual pool management method for quickly generating a virtual machine. Figure 1 is a complete representation of the invention to illustrate the virtual pool as the primary method of virtual machine management and to perform different implementation actions.
如圖1所示,其中包括一個提供客戶供裝服務之產品資源管理的系統執行者101,一個預先安裝完畢支援的各種作業系統之虛擬機模版102,更可包含以下OS:Windows XP、Win7、Windows2008、Fedora、CentOS、Ubuntu;一個新虛擬機存放處103,新產生的虛擬機可放置於此叢集中(cluster),一預備虛擬池運作過程模組之預備池104,一離線虛擬池運作過程模組之離線池105,一上線虛擬池運作過程模組之上線池106。As shown in FIG. 1, the system executor 101 includes a product resource management system for providing customer service services, a virtual machine template 102 of various operating systems supported in advance, and the following OS: Windows XP, Win7, Windows2008, Fedora, CentOS, Ubuntu; a new virtual machine storage 103, the newly generated virtual machine can be placed in the cluster, a preparation pool 104 of the virtual pool operation process module, an offline virtual pool operation process The offline pool 105 of the module, the online pool 106 of the online virtual pool operation process module.
供裝子系統利用提供客戶供裝服務之產品資源管理的系統執行者101來做為執行命令發送者,同時也是接收回應者,由流程中接收到各種回覆訊息時可到處理錯誤訊息模組114得知系統執行者101下一步該做何種回應。在預先安裝完畢支援的各種作業系統之虛擬機模版102中利用雜湊表單之最低模版負載量找出由系統執行者101需要之作業系統模版,進入預備虛擬池運作過程之預備池104,進行複製虛擬機的動作107、標準化虛擬機的動作108和作業系統更新的動作109。這些動作函式皆由 虛擬機功能動作函式庫提供。The provisioning subsystem utilizes the system executor 101 that provides product resource management of the customer's provisioning service as the sender of the execution command, and also the recipient of the response. When receiving various reply messages in the process, the processing error message module 114 can be processed. Know what response the system performer 101 should do next. The virtual machine template 102 of the various operating systems supported in advance is used to find the operating system template required by the system executor 101 by using the minimum template load of the hash form, and enter the preliminary pool 104 of the preliminary virtual pool operation process to perform the copy virtual The action 107 of the machine, the action 108 of the standardized virtual machine, and the action 109 of the operating system update. These action functions are all The virtual machine function action library is provided.
完成上述動作後進入離線虛擬池之離線池105運作過程,由儲存資料設備裝置113得知虛擬機名稱以進行搜尋虛擬機的動作110和重置虛擬機名稱的動作111並儲存回儲存資料設備裝置113。After the above actions are completed, the offline pool 105 of the offline virtual pool is operated, and the virtual machine name is learned by the storage material device 113 to perform the action 110 of searching for the virtual machine and the action 111 of resetting the virtual machine name and storing it back to the storage device device 113. .
完成上述動作後進入上線虛擬池的運作過程之上線池106,提供客戶端需求供裝服務的動作112由系統執行者101依照客戶需求供裝完成。After the above actions are completed, the line pool 106 is accessed through the operation process of the online virtual pool, and the action 112 for providing the client demand supply service is completed by the system performer 101 according to the customer requirements.
製作與管理虛擬機方法提供產生新虛擬機進到上線池106,完成作業系統的組構建置,即完成一個新的虛擬機產生過程。The method of making and managing a virtual machine provides a new virtual machine to enter the online pool 106, completes the group construction of the operating system, that is, completes a new virtual machine generation process.
當客戶提出申裝虛擬機的需求時,系統執行者101才會因應客戶的訂單在上線池106做提供客戶端需求供裝服務的動作112,此為供裝(Provision)系統流程並不屬於本發明之內。When the customer requests the application of the virtual machine, the system executor 101 will perform the action 112 of providing the client demand for the service in the online pool 106 in response to the customer's order. This is not a copy of the provisioning system process. Within the invention.
圖2為本發明之利用虛擬池管理快速產生虛擬機之方法預備虛擬池階段中運作程序之流程圖。如圖2所示,虛擬機經過此流程的管控,才能進入到虛擬機離線池等候。2 is a flow chart of a method for preparing a virtual pool in a virtual pool by using a virtual pool to quickly generate a virtual machine. As shown in Figure 2, after the virtual machine is controlled by this process, it can enter the virtual machine offline pool to wait.
本方法選定特定的作業系統來當複製的基因,將此作業系統的名稱傳送給系統執行者,系統執行者在已建立完成的虛擬機模版群內尋找指定的模版,模版群中的模版名稱皆會內含作業系統名稱。若找不到,則將錯誤訊息回應給系統執行者,然後離開程序。找到相同作業系統的模版,並得到這些模版的工作負載量,儲存於模版雜湊表單中,利用雜湊 表單的定義-不能在關鍵詞(Key)存在相同字串,只有不同的模版名稱才能存在雜湊表單中,若尋找到相同字串的模版,擁有較小負載量值的後者會替換掉擁有較大負載量值的前者,優點是能夠減少雜湊表單內的模版數量,增快比較雜湊表單內負載量值的速度。The method selects a specific operating system to copy the gene, and transmits the name of the operating system to the system executor. The system executor searches for the specified template in the established virtual machine template group, and the template names in the template group are all The name of the operating system is included. If not found, the error message is returned to the system executor and then the program is left. Find the templates of the same operating system and get the workload of these templates, store them in the template hash form, and use the hash The definition of the form - can not exist in the keyword (Key) the same string, only different template names can exist in the hash form, if you find the template of the same string, the latter with a smaller load value will replace the larger The former of the load value has the advantage of reducing the number of templates in the hash form and increasing the speed of comparing the load values in the hash form.
舉例說明:在模版群中有多個以windows 2008為命名的模版,當找到一個以windows2008命名的模版時就與在雜湊表單中的Key比較,是否有以windows2008命名key之資料,若有則比較兩者之負載量,若新的windows2008模版有較小的負載量,則會取代原本存在雜湊表單中的模版負載量值,以此類推,在雜湊表單中即會記錄目前模版群中各模版名稱之最小負載量。For example: there are multiple templates named after Windows 2008 in the template group. When you find a template named after Windows 2008, compare it with the Key in the hash form. Is there any data named by windows2008? If there is any comparison The load of the two, if the new windows2008 template has a small load, it will replace the template load value in the original hash form, and so on, in the hash form will record the template name in the current template group The minimum load.
接著先設定虛擬機的複製規格、配置組態和儲存數據,做為複製的依據;與在模板雜湊表單中尋找且比較負載量得到負載量最小的模板複製基因,同時產生新的虛擬機密碼後,與系統執行者要設定的新虛擬機名稱一起存到資料庫中,以備在離線池查詢更改之用。Then set the virtual machine's replication specifications, configuration configuration and storage data as the basis for replication; look for the template replication gene in the template hash form and compare the load to get the least load, and generate a new virtual machine password. , stored in the database along with the name of the new virtual machine to be set by the system executor, in case the query is changed in the offline pool.
以程式語言的特性-多執行序(Thread)的功能,另外產生複製的執性序,原本系統執行者的執行序利用執行序休眠(Sleep)來等待新產生的虛擬機的狀態進到離線池,其中的等待時間經過實驗後,得到最短等待時間,若新虛擬機成功進到離線池,則此流程結束。另外產生複製的程序過程以配置設定為 開始,依照模板的作業系統,建置網際網路基本協定和快速系統建置規格,並設定屬於微軟作業系統的關機指令,開始進行模板複製動作,並將新名稱一併寫入新產生的虛擬機中,系統會回復作業結果,判斷複製是否成功,若不成功,則將錯誤訊息回應給系統執行者,離開程序。In the function of the programming language - the function of multiple execution (Thread), in addition, the execution order of the copy is executed. The execution sequence of the original system performer uses the execution sequence sleep (Sleep) to wait for the state of the newly generated virtual machine to enter the offline pool. After the waiting time has passed the experiment, the minimum waiting time is obtained. If the new virtual machine successfully enters the offline pool, the process ends. In addition, the process of generating the copy is configured to be configured as Start, according to the template operating system, establish the Internet basic protocol and rapid system implementation specifications, and set the shutdown command belonging to the Microsoft operating system, start the template copy action, and write the new name to the newly generated virtual In the machine, the system will reply to the job result and judge whether the copy is successful. If it is not successful, it will respond to the system executor and leave the program.
若複製成功,則開始對新產生的虛擬機進行機器規格建置動作,此作業系統規格建置的動作在一開始複製的流程中已完成設定,將所有需要的規格建置寫入新產生的虛擬機中,當寫入規格建置若不成功,則將錯誤訊息回應給系統執行者,離開程序。若寫入成功,則開始對新產生的虛擬機進行機器的開機(Power on)動作,若開機不成功,將錯誤訊息回應給系統執行者,離開程序。If the copying is successful, the machine specification operation of the newly generated virtual machine is started. The operation of the specification of the operating system is completed in the process of copying at the beginning, and all required specifications are written and newly written. In the virtual machine, if the write specification is not successful, the error message is returned to the system executor and the program is left. If the writing is successful, the machine starts to power on the newly generated virtual machine. If the startup is unsuccessful, the error message is sent to the system executor and the program is left.
若開機成功,新產生的虛擬機會依照規格建置開始做快速系統建置更新,不同作業系統的虛擬機系統建置的花費時間不同,當執行快速系統建置更新完成後,則進行虛擬機關機動作,若不成功,則將錯誤訊息回應給系統執行者,離開程序。若關機成功,新產生的虛擬機進入到離線池,系統執行者程序因新產生的虛擬機進到離線池,結束此流程程序。If the booting is successful, the newly created virtual machine starts to do the rapid system setup update according to the specification. The virtual machine system of different operating systems takes different time to build. When the quick system setup update is completed, the virtual machine is executed. The action, if unsuccessful, responds to the system executor with an error message and leaves the program. If the shutdown is successful, the newly generated virtual machine enters the offline pool, and the system executor program ends the process procedure because the newly generated virtual machine enters the offline pool.
圖3為本發明之利用虛擬池管理快速產生虛擬機之方法之離線虛擬池階段中運作程序之流程圖。如圖3所示,虛擬機經過此流程的管控,才能進入到虛擬機上線池等候,提供系統執行者做供裝服 務。FIG. 3 is a flowchart of an operation procedure in an offline virtual pool stage of a method for rapidly generating a virtual machine by using a virtual pool management according to the present invention. As shown in Figure 3, after the virtual machine is controlled by this process, it can enter the virtual machine to wait for the line pool to provide the system performer to make the service. Business.
當新產生的虛擬機進入離線虛擬池階段,代表虛擬機基本設定皆已完成,此離線池流程的規畫為虛擬機的品質和過程查驗,再一次確認虛擬機的查核動作,以確保可提供之虛擬機的完整性。When the newly generated virtual machine enters the offline virtual pool stage, the basic settings of the virtual machine are completed. The process of the offline pool process is to check the quality and process of the virtual machine, and the virtual machine check operation is confirmed again to ensure that the virtual machine can be provided. The integrity of the virtual machine.
判斷預備池和離線池是否存在,若不存在,則將錯誤訊息回應給執行者,離開程序。此判斷是要確保新產生的虛擬機有進入預備池和離線池,經過兩個虛擬池的管控,系統執行者未接收到任何錯誤訊息,以確保此虛擬機的品質。接著判斷要設定的虛擬機名稱是否重複,若重複,則將錯誤訊息回應給系統執行者,離開程序。接著判斷原本的模版是否存在,此為確認複製過程是否有異常產生,若不存在,則是有異常產生,將錯誤訊息回應給系統執行者,離開程序。Determine whether the reserve pool and offline pool exist. If it does not exist, respond to the executor with an error message and leave the program. This judgment is to ensure that the newly created virtual machine has entered the reserve pool and the offline pool. After the control of the two virtual pools, the system executor does not receive any error message to ensure the quality of the virtual machine. Then, it is judged whether the name of the virtual machine to be set is repeated. If it is repeated, the error message is returned to the system executor and the program is left. Then, it is determined whether the original template exists. This is to confirm whether there is an abnormality in the copy process. If it does not exist, an exception is generated, and the error message is sent to the system executor to leave the program.
判斷一切正常後,利用儲存於資料庫中之已知的名稱搜尋新建立虛擬機,判斷新建立的虛擬機是否存在,若不存在,則將錯誤訊息回應給系統執行者,離開程序。以系統執行者要設定的名稱對新建立的虛擬機做更名的動作,判斷更名是否成功,若不成功,則將錯誤訊息回應給執行者,離開程序。之後進行新更名的虛擬機進到上線池,當新的虛擬機進到上線池,本方法完成虛擬機製作。After determining that everything is normal, use the known name stored in the database to search for the newly created virtual machine to determine whether the newly created virtual machine exists. If it does not exist, the error message is returned to the system executor and the program is left. The name of the newly created virtual machine is renamed by the name set by the system executor to determine whether the rename is successful. If it is unsuccessful, the error message is returned to the executor and the program is left. After that, the newly renamed virtual machine enters the online pool. When the new virtual machine enters the online pool, the method completes the virtual machine production.
利用將模版快速複製虛擬機且建置組構的預備池來確定產生符合需求的虛擬機;接下來在離線池對虛擬機搜尋及重新更名過程,完成確保到達上 線池的虛擬機為可開機服務的虛擬機。Use the template to quickly copy the virtual machine and build the preparation pool of the fabric to determine the virtual machine that meets the requirements; then in the offline pool to search for the virtual machine and re-name the process, complete the ensured arrival The virtual machine of the line pool is a virtual machine that can be powered on.
本發明為了得到有效率的虛擬機生產流程,在程序上擁有以下特點,分項說明:In order to obtain an efficient virtual machine production process, the present invention has the following features in the program:
1.本發明利用選擇負載量(Loading)最輕的,執行的工作數(Tasks)最少的作業系統模板來縮短複製虛擬機的速度,此種選擇方法可集中資源加快複製速度。1. The present invention shortens the speed of copying virtual machines by selecting the operating system template with the least load and the minimum number of executions (Tasks). This selection method can concentrate resources to speed up the copying speed.
2.本發明利用多個雜湊表格(Hash Map Table)來管控選取模版和複製的程序,可降低模版需求的數量,並增快比較負載量的速度。2. The present invention utilizes a plurality of Hash Map Tables to control the selection of templates and copying programs, which reduces the number of template requirements and increases the speed of comparing loads.
3.本發明藉由只設定一次作業系統組構,包含了執行許客證(License)設定、基礎網路(NIC)設定和作業系統使用名稱(Product Id)的設定等,經過作業系統組構重置動作後,作業系統回應一次訊息,節省了多次設定與多次回應之等待時間。3. The present invention includes the execution of a license system configuration, a basic network (NIC) setting, and a work system use name (Product Id) setting, etc., by operating system organization. After the reset action, the operating system responds to a message, saving the waiting time for multiple settings and multiple responses.
4.本發明利用程式語言多執行序特性,同步執行複製虛擬機、設定作業系統組構及等待回覆的行為,進行多個虛擬機的複製,縮短提供虛擬機給使用者的時間。4. The present invention utilizes a multi-execution feature of a program language to synchronously execute a function of copying a virtual machine, setting a job system fabric, and waiting for a reply, and copying a plurality of virtual machines to shorten the time for providing the virtual machine to the user.
5.本發明利用程式語言同步(synchronized)方法來達成資料鎖定機制,同時能夠存取資料的只有一個執行序,所以使用多執行序也可以確保資料的一致性和完整性。5. The present invention utilizes a program language synchronized method to achieve a data locking mechanism, and at the same time has access to only one execution order of the data, so the use of multiple execution sequences can also ensure data consistency and integrity.
6.本發明利用三個不同功能階段的虛擬池來管控新產生的虛擬機,從預備池經離線池到上線池是有順序性的,且是連續性的,利用虛擬池的管理, 經過層層流程確認虛擬池和虛擬機的存在,可確保客戶從上線池的供裝得到最有品質的虛擬機。6. The present invention utilizes three virtual pools of different functional phases to manage the newly generated virtual machines. The backup pools from the standby pool to the online pool are sequential and continuous, and the management of the virtual pool is utilized. Confirming the existence of virtual pools and virtual machines through a layered process ensures that customers get the most quality virtual machines from the online pool.
上列詳細說明乃針對本發明之一可行實施例進行具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。The detailed description of the present invention is intended to be illustrative of a preferred embodiment of the invention, and is not intended to limit the scope of the invention. The patent scope of this case.
綜上所述,本案不僅於技術思想上確屬創新,並具備習用之傳統方法所不及之上述多項功效,已充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請貴局核准本件發明專利申請案,以勵發明,至感德便。To sum up, this case is not only innovative in terms of technical thinking, but also has many of the above-mentioned functions that are not in the traditional methods of the past. It has fully complied with the statutory invention patent requirements of novelty and progressiveness, and applied for it according to law. Approved this invention patent application, in order to invent invention, to the sense of virtue.
101‧‧‧系統執行者101‧‧‧System executor
102‧‧‧模版102‧‧‧Template
103‧‧‧新產生的虛擬機103‧‧‧Newly created virtual machine
104‧‧‧預備池104‧‧‧Preparation pool
105‧‧‧離線池105‧‧‧ offline pool
106‧‧‧上線池106‧‧‧Online pool
107‧‧‧複製虛擬機的動作107‧‧‧Reproduction of virtual machine actions
108‧‧‧標準化虛擬機的動作108‧‧‧Standard virtual machine action
109‧‧‧作業系統更新的動作109‧‧‧Action system update action
110‧‧‧搜尋虛擬機的動作110‧‧‧Search for virtual machine actions
111‧‧‧重置虛擬機名稱的動作111‧‧‧Remove the name of the virtual machine
112‧‧‧提供客戶端需求供裝服務的動作112‧‧‧Providing actions for client demanding services
113‧‧‧提供儲存功能之設備113‧‧‧Devices providing storage functions
114‧‧‧處理錯誤訊息模組114‧‧‧Processing error message module
S201~ S220‧‧‧流程步驟S201 ~ S220‧‧‧ Process steps
S301~ S309‧‧‧流程步驟S301 ~ S309‧‧‧ Process steps
圖1為本發明之利用虛擬池管理快速產生虛擬機之方法之實施於一供裝系統內產生新的虛擬機之虛擬池管理示意圖。FIG. 1 is a schematic diagram of virtual pool management for implementing a method for rapidly generating a virtual machine by using a virtual pool to generate a new virtual machine in a provisioning system.
圖2為本發明之利用虛擬池管理快速產生虛擬機之方法預備虛擬池階段中運作程序之流程圖。2 is a flow chart of a method for preparing a virtual pool in a virtual pool by using a virtual pool to quickly generate a virtual machine.
圖3為本發明之利用虛擬池管理快速產生虛擬機之方法之離線虛擬池階段中運作程序之流程圖。FIG. 3 is a flowchart of an operation procedure in an offline virtual pool stage of a method for rapidly generating a virtual machine by using a virtual pool management according to the present invention.
圖4為為本發明之利用虛擬池管理快速產生虛擬機之系統之示意圖。4 is a schematic diagram of a system for rapidly generating a virtual machine using virtual pool management according to the present invention.
101‧‧‧系統執行者101‧‧‧System executor
102‧‧‧模版102‧‧‧Template
103‧‧‧新產生的虛擬機103‧‧‧Newly created virtual machine
104‧‧‧預備池104‧‧‧Preparation pool
105‧‧‧離線池105‧‧‧ offline pool
106‧‧‧上線池106‧‧‧Online pool
107‧‧‧複製虛擬機的動作107‧‧‧Reproduction of virtual machine actions
108‧‧‧標準化虛擬機的動作108‧‧‧Standard virtual machine action
109‧‧‧作業系統更新的動作109‧‧‧Action system update action
110‧‧‧搜尋虛擬機的動作110‧‧‧Search for virtual machine actions
111‧‧‧重置虛擬機名稱的動作111‧‧‧Remove the name of the virtual machine
112‧‧‧提供客戶端需求供裝服務的動作112‧‧‧Providing actions for client demanding services
113‧‧‧提供儲存功能之設備113‧‧‧Devices providing storage functions
114‧‧‧處理錯誤訊息模組114‧‧‧Processing error message module
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW101141493A TWI472931B (en) | 2012-11-08 | 2012-11-08 | Use virtual pool management to quickly generate virtual machines |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW101141493A TWI472931B (en) | 2012-11-08 | 2012-11-08 | Use virtual pool management to quickly generate virtual machines |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201418996A TW201418996A (en) | 2014-05-16 |
| TWI472931B true TWI472931B (en) | 2015-02-11 |
Family
ID=51294333
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW101141493A TWI472931B (en) | 2012-11-08 | 2012-11-08 | Use virtual pool management to quickly generate virtual machines |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI472931B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090210875A1 (en) * | 2008-02-20 | 2009-08-20 | Bolles Benton R | Method and System for Implementing a Virtual Storage Pool in a Virtual Environment |
| CN102291445A (en) * | 2011-08-04 | 2011-12-21 | 上海龙照电子有限公司 | Cloud computing management system based on virtual resources |
| WO2012109870A1 (en) * | 2011-08-01 | 2012-08-23 | 华为技术有限公司 | Virtual resource management method, system and device |
| CN102681899A (en) * | 2011-03-14 | 2012-09-19 | 金剑 | Virtual computing resource dynamic management system of cloud computing service platform |
-
2012
- 2012-11-08 TW TW101141493A patent/TWI472931B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090210875A1 (en) * | 2008-02-20 | 2009-08-20 | Bolles Benton R | Method and System for Implementing a Virtual Storage Pool in a Virtual Environment |
| CN102681899A (en) * | 2011-03-14 | 2012-09-19 | 金剑 | Virtual computing resource dynamic management system of cloud computing service platform |
| WO2012109870A1 (en) * | 2011-08-01 | 2012-08-23 | 华为技术有限公司 | Virtual resource management method, system and device |
| CN102291445A (en) * | 2011-08-04 | 2011-12-21 | 上海龙照电子有限公司 | Cloud computing management system based on virtual resources |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201418996A (en) | 2014-05-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113220416B (en) | Cluster node expansion system based on cloud platform, implementation method and operation method | |
| CN103810023B (en) | The intelligent deployment method of Distributed Application and system in a kind of cloud platform | |
| CN111027921A (en) | Business processing method and device, electronic equipment and storage medium | |
| US8370802B2 (en) | Specifying an order for changing an operational state of software application components | |
| CN110971700B (en) | Method and device for realizing distributed lock | |
| US9146965B2 (en) | Information processor, privilege management method, program, and recording medium | |
| CN103226493B (en) | The dispositions method and system of multi-operation system service | |
| US20050060704A1 (en) | Managing processing within computing environments including initiation of virtual machines | |
| CN103425472B (en) | STE dynamic generating system based on cloud computing and its implementation | |
| CN104852965B (en) | A kind of user account project management method and system | |
| CN104461744A (en) | Resource allocation method and device | |
| JP2011095871A (en) | Program distribution method and operation management device | |
| CN112925555A (en) | Model management method, device, equipment and storage medium | |
| CN106681956A (en) | Method and device for operating large-scale computer cluster | |
| CN103064717B (en) | A kind of apparatus and method of parallel installation of software for cluster system | |
| CN106506191A (en) | Automatic deployment and maintenance method of Redis service based on virtualization platform | |
| CN116974689A (en) | Cluster container scheduling method, device, equipment and computer readable storage medium | |
| WO2019027597A1 (en) | Workflows management framework | |
| CN102096606A (en) | Virtual machine migration method, device and system | |
| CN103389909B (en) | Rendering farm node virtualization deployment system and application thereof | |
| TWI472931B (en) | Use virtual pool management to quickly generate virtual machines | |
| CN119718681A (en) | A Slurm cluster service-oriented dynamic management method, system, medium, and product | |
| CN114647501A (en) | Mycat system deployment, operation and maintenance method, device, equipment and storage medium | |
| CN114676291B (en) | A database system and a control method of the database system | |
| CN114764379B (en) | Application software access switching method, device and computer-readable storage medium |