CN108089913B - Virtual machine deployment method of super-fusion system - Google Patents

Virtual machine deployment method of super-fusion system Download PDF

Info

Publication number
CN108089913B
CN108089913B CN201711453293.9A CN201711453293A CN108089913B CN 108089913 B CN108089913 B CN 108089913B CN 201711453293 A CN201711453293 A CN 201711453293A CN 108089913 B CN108089913 B CN 108089913B
Authority
CN
China
Prior art keywords
virtual machine
diskless
server
image template
creating
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
CN201711453293.9A
Other languages
Chinese (zh)
Other versions
CN108089913A (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.)
Innovation Technology Co ltd
Shenzhen Innovation Technology Co ltd
Original Assignee
Innovation Technology Co ltd
Shenzhen Innovation 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 Innovation Technology Co ltd, Shenzhen Innovation Technology Co ltd filed Critical Innovation Technology Co ltd
Priority to CN201711453293.9A priority Critical patent/CN108089913B/en
Publication of CN108089913A publication Critical patent/CN108089913A/en
Application granted granted Critical
Publication of CN108089913B publication Critical patent/CN108089913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45583Memory management, e.g. access or allocation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The application discloses a virtual machine deployment method of a hyper-fusion system, which comprises the following steps: selecting a physical server node from the system, and creating a diskless server on the physical server node; creating a disk mirror image template for an operating system with a specified version; establishing storage configuration parameters for the disk image template on the diskless server, and storing the disk image template into the diskless server according to the storage configuration parameters; when a virtual machine is newly established in the system, the first starting mode of the virtual machine is set as PXE network starting. The invention is beneficial to improving the updating efficiency of the super-fusion system and reducing the maintenance cost of the system.

Description

Virtual machine deployment method of super-fusion system
Technical Field
The invention relates to a computer application technology, in particular to a virtual machine deployment method of a super-fusion system.
Background
The Hyper Converged Infrastructure (HCI) is a Hyper Converged Infrastructure (abbreviated as a Hyper Converged Infrastructure), or a Hyper Converged Infrastructure, which is an architecture that has resources and technologies such as computing, network, storage, and server virtualization in the same set of unit devices (such as x86 servers).
The super-fusion solution integrates server virtualization, network virtualization, storage virtualization and desktop virtualization, and creates a full virtualization platform from a server side to a client side. The distributed data center cloud platform realizes the allocation of resources according to needs and flexible scheduling. The super-fusion system forms server resources into a resource pool through a virtualized super-fusion platform, and all resources can be distributed according to the plan of an administrator. The problem of hardware resource isolation, difficult allotment is solved. By means of a management interface of the virtualization super-fusion platform, all service running states can be easily obtained, and logging and checking can be carried out anywhere and anytime.
In practical application, with the continuous update of an operating system and application software, the virtual desktop cloud in the super-fusion system needs to be updated. At present, Link Clone of VMware is usually adopted to realize upgrading and updating of virtual desktop clouds, and the scheme needs to respectively upgrade and update virtual mirror images of all server nodes, so that for application scenes of a large number of desktop clouds, such as classrooms of schools, libraries and the like, because the updating scheme can only update single desktop clouds in a system one by one, the updating workload is very large, and the updating efficiency is low. In addition, each physical server node in the above scheme has to store a corresponding virtual image, so that the storage performance requirement on the physical server node is also high.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method for deploying a virtual machine in a super-fusion system, which is beneficial to improving the update efficiency of the super-fusion system and reducing the maintenance cost of the system.
In order to achieve the purpose, the technical scheme provided by the invention is as follows:
a method of deploying virtual machines of a hyper-fusion system, comprising:
selecting a physical server node from the system, and creating a diskless server on the physical server node;
creating a disk mirror image template for an operating system with a specified version;
establishing storage configuration parameters for the disk image template on the diskless server, and storing the disk image template into the diskless server according to the storage configuration parameters;
when a virtual machine is newly established in the system, the first starting mode of the virtual machine is set as PXE network starting.
Preferably, the creating a diskless server on the physical server node comprises:
installing a preset server operating system on the physical server node;
and installing diskless software on the physical server node.
Preferably, the creating a diskless server on the physical server node comprises:
and installing a preset server operating system on one virtual machine of the physical server node, and installing diskless software on the virtual machine.
Preferably, the creating a disk image template for the specified version of the operating system includes:
creating a virtual machine in any physical server node in the system, and installing the operating system on the virtual machine, wherein the installation comprises installation of a driver, a system patch and application software.
Preferably, the storage configuration parameters include: a storage directory, a write-back directory, and a mirror file name.
Preferably, the saving the disk image template to the diskless server includes:
establishing a virtual machine on the diskless server, and associating the virtual machine with the mirror image file name and the network card MAC address of the virtual machine;
and storing the disk mirror image template into a file corresponding to the mirror image file name.
In summary, the virtual machine deployment method for the super-fusion system provided by the present invention establishes a disk image template shared by a plurality of virtual machines in the system, and sets the first starting mode of the virtual machines in the system as PXE network start, so that when the virtual desktop cloud in the super-fusion system needs to be updated, only the disk image template needs to be updated and maintained, which is beneficial to reducing the management and maintenance workload of the super-fusion system, improving the updating efficiency of the super-fusion system, and reducing the system maintenance cost. In addition, the invention does not need to store the disk mirror image in each physical server node, thereby greatly reducing the storage performance requirement of the physical server nodes.
Drawings
FIG. 1 is a schematic flow chart of a method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The core idea of the invention is as follows: introducing a pre-boot eXecution Environment (PXE, also called pre-eXecution Environment) technology, establishing a shared single disk image for a virtual machine in a system by using diskless software, and setting a first boot mode of the virtual machine in the system as PXE network boot. Therefore, through the management of the single disk image of the virtual machine, when the operating system and the application program are upgraded, only the patch of the system and the update of the application program need to be carried out on the single disk image, and each virtual machine sharing the disk image can trigger the streaming technology to immediately update the single disk image to the virtual machine by utilizing the PXE network as long as the machine is started or restarted. Therefore, the system patch and the application software can be updated on line in real time, and the management workload and the operation and maintenance cost of the super-fusion system are greatly reduced.
Fig. 1 is a schematic flow chart of a virtual machine deployment method of a hyper-fusion system according to an embodiment of the present invention, as shown in fig. 1, the embodiment mainly includes:
step 101, selecting a physical server node from the system, and creating a diskless server on the physical server node.
The present step is used to create a diskless server in the super-fusion system, and specifically, the diskless server may be created directly by using the whole hardware resource of the selected physical server node, or may be created by using only one virtual machine created on the node. Preferably, the diskless server can be created by the following two methods:
the method comprises the steps that a preset server operating system is installed on a physical server node; and installing diskless software on the physical server node.
And secondly, installing a preset server operating system on one virtual machine of the physical server node, and installing diskless software on the virtual machine.
In the second method, the server is created by using one virtual machine created on the selected physical server node, so that resources of the physical server node can be saved compared with the first method.
In this step, for the selection of the physical server node, any one node in the system may be selected, or may be specified in advance by a system administrator according to actual needs.
In the above method, no matter the diskless server is created on the physical server node or the diskless server is created on the virtual machine, the specific creation method can be implemented by using the prior art, and is not described herein again.
Step 102, a disk image template is created for the operating system with the specified version.
This step is used to create a disk image template, which will be shared by the virtual machines in the system.
Preferably, this step can be implemented by the following method:
creating a virtual machine in any physical server node in the system, and installing the operating system on the virtual machine, wherein the installation comprises installation of a driver, a system patch and application software.
In the method, a designated operating system needs to be installed in one virtual machine in the system, and the installed file forms the disk image template.
Here, the operating system to be installed may be set according to the operating system to be used in the actual virtual machine.
Step 103, creating storage configuration parameters for the disk image template on the diskless server, and storing the disk image template into the diskless server according to the storage configuration parameters.
This step is used to copy the disk image template created in step 102 to the diskless server, so that the disk image template can be obtained from the diskless server when a virtual machine in the system is started.
Here, it is required to create storage configuration parameters on the diskless server through the diskless management interface, where the storage configuration parameters at least include: a storage directory, a write-back directory, and a mirror file name. Then, the disk image template created in step 102 is saved to the file corresponding to the configured image file name.
Preferably, the disk image template may be saved in the diskless server by the following method:
establishing a virtual machine on the diskless server, and associating the virtual machine with the mirror image file name and the network card MAC address of the virtual machine; and storing the disk mirror image template into a file corresponding to the mirror image file name.
And step 104, when a virtual machine is newly established in the system, setting the first starting mode of the virtual machine as PXE network starting.
It should be noted that PXE is a technology developed by Intel corporation, works in a Client/Server network mode, supports a workstation to download an image from a remote Server through a network, and thus supports starting an operating system through the network, during the starting process, a terminal requests the Server to allocate an IP address, and then downloads a start software package to a local memory for execution by using TFTP or MTFTP protocol, and the start software package completes the setting of the terminal basic software, thereby booting the terminal operating system pre-installed in the Server. PXE can boot a variety of operating systems, such as: windows95/98/2000/Windows2003/Windows2008/winXP/win7/win8, linux, etc.
In this step, the first starting mode of the virtual machines in the system needs to be set as a PXE network starting mode, so that when each virtual machine is started, the disk image template is directly triggered to be downloaded from the diskless server, and the disk image template enters the desktop system of the corresponding version. Therefore, when the system is maintained, the virtual machines in the system can use the upgraded operating system and application software only by upgrading the disk image template in the diskless server. For example, if the disk image template is used by 200 virtual machines, the 200 virtual machines are restarted or restarted, and the real-time online update of system subscription and application software is realized. Therefore, the virtual machine deployment method of the embodiment is beneficial to improving the updating efficiency of the super fusion system and greatly reducing the management workload and the operation and maintenance cost of the super fusion system.
In addition, in the above embodiment, by creating the diskless server, the technology that the diskless system writes back to the memory of the workstation can be utilized, so that the user does not need to pay attention to the pressure of the stored input and output on the virtual desktop, and a 10GB network can quickly start the desktop system for 10 seconds, thereby greatly reducing the storage performance requirement of the physical server node.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A method for deploying a virtual machine in a hyper-converged system, comprising:
selecting a physical server node from the system, and creating a diskless server on the physical server node;
creating a disk mirror image template for an operating system with a specified version; the disk mirror image template is formed by files after the operating system is installed;
establishing storage configuration parameters for the disk image template on the diskless server, and storing the disk image template into the diskless server according to the storage configuration parameters;
when a virtual machine is newly established in the system, the first starting mode of the virtual machine is set as PXE network starting, so that when the virtual machine is started, the disk image template is directly triggered to be downloaded from the diskless server and enters a desktop system with a corresponding version.
2. The method of claim 1, wherein creating a diskless server on the physical server node comprises:
installing a preset server operating system on the physical server node;
and installing diskless software on the physical server node.
3. The method of claim 1, wherein creating a diskless server on the physical server node comprises:
and installing a preset server operating system on one virtual machine of the physical server node, and installing diskless software on the virtual machine.
4. The method of claim 1, wherein creating a disk image template for a specified version of an operating system comprises:
creating a virtual machine in any physical server node in the system, and installing the operating system on the virtual machine, wherein the installation comprises installation of a driver, a system patch and application software.
5. The method of claim 1, wherein storing the configuration parameters comprises: a storage directory, a write-back directory, and a mirror file name.
6. The method of claim 5, wherein saving the disk image template to the diskless server comprises:
establishing a virtual machine on the diskless server, and associating the virtual machine with the mirror image file name and the network card MAC address of the virtual machine;
and storing the disk mirror image template into a file corresponding to the mirror image file name.
CN201711453293.9A 2017-12-28 2017-12-28 Virtual machine deployment method of super-fusion system Active CN108089913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711453293.9A CN108089913B (en) 2017-12-28 2017-12-28 Virtual machine deployment method of super-fusion system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711453293.9A CN108089913B (en) 2017-12-28 2017-12-28 Virtual machine deployment method of super-fusion system

Publications (2)

Publication Number Publication Date
CN108089913A CN108089913A (en) 2018-05-29
CN108089913B true CN108089913B (en) 2021-09-17

Family

ID=62180559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711453293.9A Active CN108089913B (en) 2017-12-28 2017-12-28 Virtual machine deployment method of super-fusion system

Country Status (1)

Country Link
CN (1) CN108089913B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558212B (en) * 2018-11-27 2023-07-14 深信服科技股份有限公司 Virtualization management method and system of physical equipment, physical equipment and medium
CN111488198B (en) * 2020-04-16 2023-05-23 湖南麒麟信安科技股份有限公司 Virtual machine scheduling method, system and medium in super fusion environment
CN111857956B (en) * 2020-07-21 2024-03-12 上海云轴信息科技有限公司 Virtual machine starting method and equipment
CN112153131A (en) * 2020-09-15 2020-12-29 山东钢铁集团日照有限公司 Iron and steel quality private cloud platform construction method based on super-fusion technology
CN111966384B (en) * 2020-10-20 2021-01-29 腾讯科技(深圳)有限公司 System updating method, device, equipment and computer readable storage medium
CN112363671B (en) * 2020-10-23 2022-07-05 中国电子科技网络信息安全有限公司 Virtual machine template mirror image storage method based on fusion framework cloud platform
CN112965790B (en) * 2021-03-29 2022-05-31 华云数据控股集团有限公司 PXE protocol-based virtual machine starting method and electronic equipment
CN113504968A (en) * 2021-06-30 2021-10-15 华能山东发电有限公司八角发电厂 Method for building power plant data center
CN113641364B (en) * 2021-07-27 2024-02-02 上海云轴信息科技有限公司 Method and system for deploying super-fusion cloud platform multi-node system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2043320A1 (en) * 2007-09-28 2009-04-01 Deutsche Telekom AG Method and system for automatic and remote server provisioning using virtual machine appliances
CN105278999A (en) * 2015-11-19 2016-01-27 国云科技股份有限公司 Safe and efficient method for deploying virtual machine software

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8103776B2 (en) * 2008-08-29 2012-01-24 Red Hat, Inc. Systems and methods for storage allocation in provisioning of virtual machines
CN102932408B (en) * 2012-09-21 2016-02-03 中国电信股份有限公司 A kind of management method of server cluster and platform
CN105099997A (en) * 2014-05-04 2015-11-25 北京云端时代科技有限公司 Virtual infrastructure-based multimedia desktop delivery method and system
CN105007290B (en) * 2015-05-21 2018-03-20 上海新浩艺软件有限公司 It is a kind of to be directed to the linux system Remote Installation configuring management method without disk server
CN107066287A (en) * 2017-01-14 2017-08-18 郑州云海信息技术有限公司 The method and system of ESXI virtual machine automatic deployment installation systems
CN107370623A (en) * 2017-07-20 2017-11-21 郑州云海信息技术有限公司 A kind of method and device for realizing system installation
CN107483243A (en) * 2017-08-09 2017-12-15 鹤云来科技有限公司 A kind of automatic deployment method and equipment of OpenStack platforms

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2043320A1 (en) * 2007-09-28 2009-04-01 Deutsche Telekom AG Method and system for automatic and remote server provisioning using virtual machine appliances
CN105278999A (en) * 2015-11-19 2016-01-27 国云科技股份有限公司 Safe and efficient method for deploying virtual machine software

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Grid System Installation, Management and Monitoring Application;Cristian Magherusan-Stanciu等;《IEEE》;20111222;25-32 *
一种基于Linux容器的动态迁移方法;姜渠等;《信息技术与信息化》;20151231(第2期);66-68 *
基于Citrix虚拟化技术和PXE无盘Linux的局域网应用平台;郑羽等;《计算机系统应用》;20110715(第07期);155-157 *

Also Published As

Publication number Publication date
CN108089913A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN108089913B (en) Virtual machine deployment method of super-fusion system
US11405274B2 (en) Managing virtual network functions
US10050850B2 (en) Rack awareness data storage in a cluster of host computing devices
US10241774B2 (en) Release lifecycle management system for multi-node application
US11301280B2 (en) System and method for managing a monitoring agent in an operating system of a virtual computing instance
US11146620B2 (en) Systems and methods for instantiating services on top of services
US9304752B2 (en) Software deployment in a distributed virtual machine environment
US9244676B2 (en) Virtual machine based controller and upgrade mechanism
US9335985B2 (en) Desktop image management for virtual desktops
US20130339947A1 (en) Method and system for hypervisor-based service management
US9354858B2 (en) Desktop image management for virtual desktops using on-demand stub creation
CN104714822A (en) Method and system for live update of operating system
US10728169B1 (en) Instance upgrade migration
US9329855B2 (en) Desktop image management for virtual desktops using a branch reflector
CN112445495A (en) Mirroring and recovery method for high-performance computing cluster nodes
US11586447B2 (en) Configuration after cluster migration
US20230385052A1 (en) Obtaining software updates from neighboring hosts in a virtualized computing system
CN113268254A (en) Cluster system installation method and device, electronic equipment and storage medium
US11295018B1 (en) File system modification
CN114281444A (en) Arrangement method for implementing cloud desktop client
CN114281442A (en) Cloud desktop client and method thereof
CN115454580B (en) Node host resource management method and device and computing equipment
CN110830550A (en) Computer cluster and diskless starting method thereof
CN114281354A (en) Cloud desktop upgrading method
CN114281443A (en) Cloud desktop system and method

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518057 Shenzhen Software Park, No. 9, 501, 502, Science and Technology Middle Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Innovation Technology Co., Ltd.

Applicant after: Innovation Technology Co., Ltd.

Address before: 518057 Shenzhen Software Park, No. 9, 501, 502, Science and Technology Middle Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: UIT Storage Technology (Shenzhen) Co., Ltd.

Applicant before: Innovation and Technology Storage Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant