CN114237811A - Slimming client server virtualization method and virtual slimming client server - Google Patents
Slimming client server virtualization method and virtual slimming client server Download PDFInfo
- Publication number
- CN114237811A CN114237811A CN202111317937.8A CN202111317937A CN114237811A CN 114237811 A CN114237811 A CN 114237811A CN 202111317937 A CN202111317937 A CN 202111317937A CN 114237811 A CN114237811 A CN 114237811A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- virtual
- client
- layer
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45591—Monitoring or debugging support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for virtualizing a slimming client server; the method comprises the following steps: s1, downloading the virtual machine management software: s2, establishing a virtual machine through a virtual machine manager; s3, establishing a mirror image cloud storage pool for each virtual machine; s4, carrying out performance detection on the virtual machine; s5, completing detection, and realizing the running use of the virtual machine; the virtual server is effectively established, the virtual server can be quickly and simply established, the working efficiency is improved, the virtual server can be effectively detected, the virtual server can be determined to be effectively operated and used, the cloud storage pool can be mirrored, the storage capacity of the virtual server is improved, the storage pressure is reduced, the data information can be effectively prevented from being lost, the safety of the data information is improved, the resources can be fully distributed, and the utilization rate of the resources is well filled.
Description
Technical Field
The invention belongs to the technical field of virtual servers, and particularly relates to a slimming client server virtualization method and a virtual slimming client server.
Background
A virtual host or a shared host, also called a virtual server, is a method for implementing multi-domain services on a single host or a host group, and can operate a plurality of websites or services. The virtual hosts are completely independent and can be managed by users, the virtual does not mean that the virtual hosts do not exist, but means that the space is extended from the servers of the entity, and the hardware system of the virtual hosts can be based on a server cluster or a single server. The technology is a technology which is used by an internet server and saves the hardware cost of the server, the virtual host technology is mainly applied to multiple services such as HTTP, FTP, EMAIL and the like, a certain or all service contents of one server are logically divided into a plurality of service units and are externally represented as a plurality of servers, and therefore the hardware resources of the servers are fully utilized. If the partitioning is system level, it is called a virtual server, however, there are still various problems with the various virtual servers on the market.
Although the thin client server virtualization method and the virtual thin client server disclosed by the grant publication No. CN102457512B achieve good scalability, solve the problems of large energy consumption and space occupation caused by large service scale, and the problems that many machines are difficult to maintain and have low reliability, the method and the virtual thin client server virtualization method do not solve the problems that the existing virtual server cannot effectively connect the virtual server, cannot detect and store the virtual server, and the like.
Disclosure of Invention
The present invention is directed to a method for virtualizing a client server for slimming and a virtual client server for slimming, so as to solve the problems mentioned in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a method for virtualizing a client server for slimming comprises the following steps:
s1, downloading the virtual machine management software: downloading virtual machine management software on the local physical server, and decompressing at the local physical server between downloading the virtual machine management software to generate a virtual machine manager:
s2, establishing a virtual machine through the virtual machine manager: when a virtual machine manager is used for establishing a virtual machine, the name of the virtual machine needs to be established, then a memory is selected, an operating system is selected for the virtual machine, network configuration is carried out, then a disk is established for the virtual machine, and finally the setting of the attribute of the virtual machine is realized;
s3, establishing a mirror image cloud storage pool for each virtual machine: when the virtual machine is used, the cloud storage pool is established for the virtual machine through mirror image storage, so that the pressure of data storage caused by the use of the virtual machine is reduced, and the loss of data information is reduced through the establishment of the mirror image cloud storage pool, and the modification processing is facilitated;
s4, carrying out performance detection on the virtual machine: the method comprises the steps that a desktop virtualization system is started on a virtual machine and a client machine respectively, connection between the client and a server is established, the client sends a timing request to the server connected with the client, the time of the client system is kept to be the same as that of the virtual machine, the uplink starting time T1 of keyboard and mouse event data is kept, after the uplink of the data is finished, the client presets the downlink starting time T2 and drawing time interval T of desktop data to the virtual machine connected with the client, the downlink of the data is finished, the virtual machine transmits recorded data to the client, the client starts a data performance analysis module, the uplink success rate of keyboard and mouse data and the downlink screen similarity of the desktop data are calculated, and the complete transmission time of each test image in the downlink process is estimated;
s5, completing detection, and realizing the operation and use of the virtual machine: after the performance of the virtual machines is detected, the virtual machines are operated and used, a plurality of virtual machines are established according to requirements, parameters and attributes are set for the virtual machines respectively, and then the virtual machines are operated and used.
Preferably, the virtual machine management software adopts a VMware virtual machine manager, and the VMware virtual machine manager comprises the following modules:
the VMware ESX Server is the basis of a dynamic self-optimization IT infrastructure, and abstracts a processor, a memory, a storage and network resources into a virtual machine;
the VMware Virtual Machine File System is a high-performance cluster File System and allows a plurality of installed ESX servers to simultaneously access the same Virtual Machine storage;
VMware virtual symmetric multiprocessing improves the performance of a virtual machine by letting a single virtual machine use a plurality of physical processors simultaneously, and supports virtualization of most processors and resource-intensive enterprise application programs;
the VirtualCenter provides the possibility of centralized management and automation of operations, by which virtual machines are rapidly deployed and the performance of physical servers and virtual machines are monitored in order to analyze the performance of the physical servers and the running virtual machines;
vmware DRS dynamically allocates and balances computing capacity across sets of hardware resources aggregated into a logical resource pool;
VMware VMotion keeps the IT environment running normally, provides unprecedented flexibility and availability to meet the ever-increasing needs of services and end users;
the VMware HA provides easy-to-use, cost-effective, high availability for applications running in virtual machines.
Preferably, the VMware virtual machine manager further includes a VMware consistent backed up tool, the VMware consistent backed up tool accelerates Backup and recovery by using a virtualization technology, reduces a load on an ESX Server, enables the ESX Server to run more virtual machines, fully utilizes strong processing capabilities of four virtual CPUs and a 16GB memory, and simultaneously supports iSCSI and NAS storage, and the VMware consistent backed up tool performs data Backup directly on a virtual layer on a bottom layer, thereby avoiding performing Backup on each virtual machine, and improving management of IT resources.
Preferably, the name of the virtual machine established in S2 is to be consistent with the system host name, and the attribute settings of the virtual machine include a memory, a CPU, and a new CD/DVD.
Preferably, the mirror image cloud storage pool in S3 is established, and the LXC tool starts the container, so that the storage container of the docker mirror image can be written in, and when the mirror image cloud storage pool is established, the cloud storage gateway provides the shared address and sets the mounting manner, where the mounting manner includes a read-write manner and a read-only manner, and the cloud storage gateway further provides the mounting path.
Preferably, the mirror image cloud storage pool includes a lower layer, an upper layer, a workdir layer and a mergedir layer, where the lower layer, that is, the mirror image layer, is a read-only layer; the upper right layer of the lower layer is the upper layer, the upper layer is a read-write layer of the container, the upper layer adopts a real-writing copying mechanism, namely the file is copied from the lower layer only when some files need to be modified, and then all modifying operations modify the copy of the upper layer; the upper layer is provided with the workbench layer in parallel, the workbench layer has the function of serving as an intermediate layer, namely, when a copy in the upper layer is modified, the copy is firstly put into the workbench layer and then is moved from the workbench layer to the upper layer; the merger layer is the unified view layer, integration of all data in the upper layer and the lower layer is seen from the merger layer, then the docker exec enters the container, and a file system which is the unified view layer of the merger layer is seen.
Preferably, the data uploading process in S4 is as follows:
after the client is successfully connected with the virtual machine end of the client, an NTP protocol is adopted, a timing request is sent to the virtual machine end of the client, the system time of the client is adjusted to be the same as that of the virtual machine end, and the accuracy range is 0-1 ms;
after timing is finished, the client side agrees with the virtual machine side, the key mouse event data uplink starting time T1 and the time T1 are reached, the client side starts a key mouse simulation module and sends the key mouse event to the virtual machine side system client side;
and starting a keyboard and mouse capture module at the virtual machine end, and recording the keyboard and mouse events received on the virtual machine.
Preferably, the resource demand calculation formula of the virtual machine is as follows:
wherein the content of the first and second substances,for virtual machinesIn thatThe frequency of the CPU at the time of day,for virtual machinesIn thatThe utilization rate of the CPU at the time of day,for virtual machinesThe number of cores of the CPU is increased,the number of floating point operations per cycle;
wherein the content of the first and second substances,for virtual machinesIn thatThe amount of data received by the network card every second at the moment,for virtual machinesIn thatThe network card does not send the data amount in seconds at the moment.
Then, the probability of the physical machine resource computation amount occupied by the computation amount of the three types of resource requirements of each deficiency-type simulation machine is computed and normalized, and the probability computation formula is as follows:
in, inFor virtual machinesThe CPU operand, the disk operand, and the I/0 operand of (Z) is a virtual machineThe number of virtual machines of the physical machine in which the virtual machine is located,for virtual machinesCPU operand probability, disk operand probability, and I/0 operand probability.
A virtual slimming client server, the basic function module of the virtual machine management system at least comprises: the system comprises a virtual machine creating module, a virtual machine deleting module, a dynamic virtual machine configuration modifying module, a virtual machine starting and closing control module, a virtual machine network setting module, a server network configuration module, a dynamic migration module, a virtual machine state monitoring module, a virtual machine snapshot module, a virtual machine cloud data storage module, a virtual machine detection module and a virtual machine backup module.
Preferably, the virtual machines are built on physical network cards on a physical server, and the physical network cards configure at least two groups of network cards for each virtual machine.
Compared with the prior art, the invention has the beneficial effects that:
the virtual server is effectively established, the virtual server can be quickly and simply established, the working efficiency is improved, the virtual server can be effectively detected, the virtual server can be determined to be effectively operated and used, the cloud storage pool can be mirrored, the storage capacity of the virtual server is improved, the storage pressure is reduced, the data information can be effectively prevented from being lost, the safety of the data information is improved, the resources can be fully distributed, and the utilization rate of the resources is well filled.
Drawings
FIG. 1 is a schematic view of a step flow structure of the present invention;
FIG. 2 is a schematic diagram of the system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, the present invention provides a technical solution: a method for virtualizing a client server for slimming comprises the following steps:
s1, downloading the virtual machine management software: downloading virtual machine management software on the local physical server, and decompressing at the local physical server between downloading the virtual machine management software to generate a virtual machine manager:
s2, establishing a virtual machine through the virtual machine manager: when a virtual machine manager is used for establishing a virtual machine, the name of the virtual machine needs to be established, then a memory is selected, an operating system is selected for the virtual machine, network configuration is carried out, then a disk is established for the virtual machine, and finally the setting of the attribute of the virtual machine is realized;
s3, establishing a mirror image cloud storage pool for each virtual machine: when the virtual machine is used, the cloud storage pool is established for the virtual machine through mirror image storage, so that the pressure of data storage caused by the use of the virtual machine is reduced, and the loss of data information is reduced through the establishment of the mirror image cloud storage pool, and the modification processing is facilitated;
s4, carrying out performance detection on the virtual machine: the method comprises the steps that a desktop virtualization system is started on a virtual machine and a client machine respectively, connection between the client and a server is established, the client sends a timing request to the server connected with the client, the time of the client system is kept to be the same as that of the virtual machine, the uplink starting time T1 of keyboard and mouse event data is kept, after the uplink of the data is finished, the client presets the downlink starting time T2 and drawing time interval T of desktop data to the virtual machine connected with the client, the downlink of the data is finished, the virtual machine transmits recorded data to the client, the client starts a data performance analysis module, the uplink success rate of keyboard and mouse data and the downlink screen similarity of the desktop data are calculated, and the complete transmission time of each test image in the downlink process is estimated;
s5, completing detection, and realizing the operation and use of the virtual machine: after the performance of the virtual machines is detected, the virtual machines are operated and used, a plurality of virtual machines are established according to requirements, parameters and attributes are set for the virtual machines respectively, and then the virtual machines are operated and used.
In order to improve the use effect of the virtual machine manager and improve the operation capability of the virtual machine manager, in this embodiment, it is preferable that the virtual machine management software adopts a VMware virtual machine manager, and the VMware virtual machine manager includes the following modules:
the VMware ESX Server is the basis of a dynamic self-optimization IT infrastructure, and abstracts a processor, a memory, a storage and network resources into a virtual machine;
the VMware Virtual Machine File System is a high-performance cluster File System and allows a plurality of installed ESX servers to simultaneously access the same Virtual Machine storage;
VMware virtual symmetric multiprocessing improves the performance of a virtual machine by letting a single virtual machine use a plurality of physical processors simultaneously, and supports virtualization of most processors and resource-intensive enterprise application programs;
the VirtualCenter provides the possibility of centralized management and automation of operations, by which virtual machines are rapidly deployed and the performance of physical servers and virtual machines are monitored in order to analyze the performance of the physical servers and the running virtual machines;
vmware DRS dynamically allocates and balances computing capacity across sets of hardware resources aggregated into a logical resource pool;
VMware VMotion keeps the IT environment running normally, provides unprecedented flexibility and availability to meet the ever-increasing needs of services and end users;
the VMware HA provides easy-to-use, cost-effective, high availability for applications running in virtual machines.
In order to improve the Backup capability of the virtual machine manager and improve the management of resources, in this embodiment, preferably, the VMware virtual machine manager further includes a VMware consistent backed up tool, the VMware consistent backed up tool accelerates Backup and recovery by using a virtualization technology, reduces a load on an ESX Server, enables the ESX Server to run more virtual machines, fully utilizes the powerful processing capabilities of four virtual CPUs and a 16GB memory, and simultaneously supports iSCSI and NAS storage, and the VMware consistent backed up tool directly performs data Backup on a virtual layer on a bottom layer, thereby avoiding performing Backup on each virtual machine, and improving the management of IT resources.
In order to implement connection to the virtual server, in this embodiment, it is preferable that the name of the virtual machine established in S2 is kept consistent with the system host name, and the attribute setting of the virtual machine includes a memory, a CPU, and a new CD/DVD.
In order to reduce the storage pressure of the virtual server, in this embodiment, preferably, the creating of the mirror image cloud storage pool in S3 starts the container through the LXC tool, so that the storage container of the docker image can be written in, and when the mirror image cloud storage pool is created, the cloud storage gateway provides the shared address and sets the mount mode, where the mount mode includes a read-write mode and a read-only mode, and the cloud storage gateway further provides a mount path.
In order to implement the operation capability of the mirror image cloud storage pool, in this embodiment, preferably, the mirror image cloud storage pool includes a lower layer, an upper layer, a workdir layer, and a mergedir layer, where the lower layer, that is, the mirror image layer, is a read-only layer; the upper right layer of the lower layer is the upper layer, the upper layer is a read-write layer of the container, the upper layer adopts a real-writing copying mechanism, namely the file is copied from the lower layer only when some files need to be modified, and then all modifying operations modify the copy of the upper layer; the upper layer is provided with the workbench layer in parallel, the workbench layer has the function of serving as an intermediate layer, namely, when a copy in the upper layer is modified, the copy is firstly put into the workbench layer and then is moved from the workbench layer to the upper layer; the merger layer is the unified view layer, integration of all data in the upper layer and the lower layer is seen from the merger layer, then the docker exec enters the container, and a file system which is the unified view layer of the merger layer is seen.
In order to implement the detection on the virtual server and the upload of the data information, in this embodiment, preferably, the data upload process in S4 is as follows:
after the client is successfully connected with the virtual machine end of the client, an NTP protocol is adopted, a timing request is sent to the virtual machine end of the client, the system time of the client is adjusted to be the same as that of the virtual machine end, and the accuracy range is 0-1 ms;
after timing is finished, the client side agrees with the virtual machine side, the key mouse event data uplink starting time T1 and the time T1 are reached, the client side starts a key mouse simulation module and sends the key mouse event to the virtual machine side system client side;
and starting a keyboard and mouse capture module at the virtual machine end, and recording the keyboard and mouse events received on the virtual machine.
In order to improve the resource utilization capability of the virtual server, in this embodiment, preferably, the resource requirement calculation formula of the virtual machine is as follows:
wherein the content of the first and second substances,for virtual machinesIn thatThe frequency of the CPU at the time of day,for virtual machinesIn thatThe utilization rate of the CPU at the time of day,for virtual machinesThe number of cores of the CPU is increased,the number of floating point operations per cycle;
wherein the content of the first and second substances,for virtual machinesIn thatThe amount of data received by the network card every second at the moment,for virtual machinesIn thatThe network card does not send the data amount in seconds at the moment.
Then, the probability of the physical machine resource computation amount occupied by the computation amount of the three types of resource requirements of each deficiency-type simulation machine is computed and normalized, and the probability computation formula is as follows:
whereinFor virtual machinesThe CPU operand, the disk operand, and the I/0 operand of (Z) is a virtual machineThe number of virtual machines of the physical machine in which the virtual machine is located,for virtual machinesCPU operand probability, disk operand probability, and I/0 operand probability.
A virtual slimming client server, the basic function module of the virtual machine management system at least comprises: the system comprises a virtual machine creating module, a virtual machine deleting module, a dynamic virtual machine configuration modifying module, a virtual machine starting and closing control module, a virtual machine network setting module, a server network configuration module, a dynamic migration module, a virtual machine state monitoring module, a virtual machine snapshot module, a virtual machine cloud data storage module, a virtual machine detection module and a virtual machine backup module.
In order to implement the establishment of the virtual server, in this embodiment, preferably, the virtual machine is established on a physical network card on a physical server, and the physical network card configures at least two groups of network cards for each virtual machine.
The working principle and the using process of the invention are as follows:
firstly, downloading the management software of the virtual machine: downloading virtual machine management software on the local physical server, and decompressing at the local physical server between downloading the virtual machine management software to generate a virtual machine manager:
secondly, establishing a virtual machine through a virtual machine manager: when a virtual machine manager is used for establishing a virtual machine, the name of the virtual machine needs to be established, then a memory is selected, an operating system is selected for the virtual machine, network configuration is carried out, then a disk is established for the virtual machine, and finally the setting of the attribute of the virtual machine is realized;
thirdly, establishing a mirror image cloud storage pool for each virtual machine: when the virtual machine is used, the cloud storage pool is established for the virtual machine through mirror image storage, so that the pressure of data storage caused by the use of the virtual machine is reduced, and the loss of data information is reduced through the establishment of the mirror image cloud storage pool, and the modification processing is facilitated;
fourthly, performance detection is carried out on the virtual machine: the method comprises the steps that a desktop virtualization system is started on a virtual machine and a client machine respectively, connection between the client and a server is established, the client sends a timing request to the server connected with the client, the time of the client system is kept to be the same as that of the virtual machine, the uplink starting time T1 of keyboard and mouse event data is kept, after the uplink of the data is finished, the client presets the downlink starting time T2 and drawing time interval T of desktop data to the virtual machine connected with the client, the downlink of the data is finished, the virtual machine transmits recorded data to the client, the client starts a data performance analysis module, the uplink success rate of keyboard and mouse data and the downlink screen similarity of the desktop data are calculated, and the complete transmission time of each test image in the downlink process is estimated;
and step five, completing detection, and realizing the running use of the virtual machine: after the performance of the virtual machines is detected, the virtual machines are operated and used, a plurality of virtual machines are established according to requirements, parameters and attributes are set for the virtual machines respectively, and then the virtual machines are operated and used.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (9)
1. A method for virtualizing a client server for slimming is characterized in that: the method comprises the following steps:
s1, downloading the virtual machine management software: downloading virtual machine management software on the local physical server, and decompressing at the local physical server between downloading the virtual machine management software to generate a virtual machine manager:
s2, establishing a virtual machine through the virtual machine manager: when a virtual machine manager is used for establishing a virtual machine, the name of the virtual machine needs to be established, then a memory is selected, an operating system is selected for the virtual machine, network configuration is carried out, then a disk is established for the virtual machine, and finally the setting of the attribute of the virtual machine is realized;
s3, establishing a mirror image cloud storage pool for each virtual machine: when the virtual machine is used, the cloud storage pool is established for the virtual machine through mirror image storage, so that the pressure of data storage caused by the use of the virtual machine is reduced, and the loss of data information is reduced through the establishment of the mirror image cloud storage pool, and the modification processing is facilitated;
s4, carrying out performance detection on the virtual machine: the method comprises the steps that a desktop virtualization system is started on a virtual machine and a client machine respectively, connection between the client and a server is established, the client sends a timing request to the server connected with the client, the time of the client system is kept to be the same as that of the virtual machine, the uplink starting time T1 of keyboard and mouse event data is kept, after the uplink of the data is finished, the client presets the downlink starting time T2 and drawing time interval T of desktop data to the virtual machine connected with the client, the downlink of the data is finished, the virtual machine transmits recorded data to the client, the client starts a data performance analysis module, the uplink success rate of keyboard and mouse data and the downlink screen similarity of the desktop data are calculated, and the complete transmission time of each test image in the downlink process is estimated;
s5, completing detection, and realizing the operation and use of the virtual machine: after the performance of the virtual machines is detected, the virtual machines are operated and used, a plurality of virtual machines are established according to requirements, parameters and attributes are set for the virtual machines respectively, and then the virtual machines are operated and used;
the virtual machine management software adopts a VMware virtual machine manager, and the VMware virtual machine manager comprises the following modules:
the VMware ESX Server is the basis of a dynamic self-optimization IT infrastructure, and abstracts a processor, a memory, a storage and network resources into a virtual machine;
the VMware Virtual Machine File System is a high-performance cluster File System and allows a plurality of installed ESX servers to simultaneously access the same Virtual Machine storage;
VMware virtual symmetric multiprocessing improves the performance of a virtual machine by letting a single virtual machine use a plurality of physical processors simultaneously, and supports virtualization of most processors and resource-intensive enterprise application programs;
the VirtualCenter provides the possibility of centralized management and automation of operations, by which virtual machines are rapidly deployed and the performance of physical servers and virtual machines are monitored in order to analyze the performance of the physical servers and the running virtual machines;
vmware DRS dynamically allocates and balances computing capacity across sets of hardware resources aggregated into a logical resource pool;
VMware VMotion keeps the IT environment running normally, provides unprecedented flexibility and availability to meet the ever-increasing needs of services and end users;
the VMware HA provides easy-to-use, cost-effective, high availability for applications running in virtual machines.
2. The slimming client server virtualization method of claim 1, wherein: the VMware virtual machine manager also comprises a VMware Consolidated Backup tool, the VMware Consolidated Backup tool accelerates Backup and recovery by using virtualization technology, reduces load on an ESX Server, enables the ESX Server to run more virtual machines, fully utilizes strong processing capacity of four virtual CPUs and a 16GB memory, simultaneously supports iSCSI and NAS storage, and directly performs data Backup on a virtual layer at a bottom layer, avoids performing Backup on each virtual machine, and improves management of IT resources.
3. The slimming client server virtualization method of claim 1, wherein: the name of the virtual machine established in S2 is to be consistent with the system host name, and the attribute settings of the virtual machine include a memory, a CPU, and a new CD/DVD.
4. The slimming client server virtualization method of claim 1, wherein: the mirror image cloud storage pool in the S3 is established, and the LXC tool starts the container, so that the storage container of the docker image can be written in, and when the mirror image cloud storage pool is established, the cloud storage gateway provides the shared address and sets the mounting mode, where the mounting mode includes read-write and read-only modes, and the cloud storage gateway further provides a mounting path.
5. The slimming client server virtualization method of claim 4, wherein: the mirror image cloud storage pool comprises a lower layer, an upper layer, a workdir layer and a mergedir layer, wherein the lower layer, namely the mirror image layer, is a read-only layer; the upper right layer of the lower layer is the upper layer, the upper layer is a read-write layer of the container, the upper layer adopts a real-writing copying mechanism, namely the file is copied from the lower layer only when some files need to be modified, and then all modifying operations modify the copy of the upper layer; the upper layer is provided with the workbench layer in parallel, the workbench layer has the function of serving as an intermediate layer, namely, when a copy in the upper layer is modified, the copy is firstly put into the workbench layer and then is moved from the workbench layer to the upper layer; the merger layer is the unified view layer, integration of all data in the upper layer and the lower layer is seen from the merger layer, then the docker exec enters the container, and a file system which is the unified view layer of the merger layer is seen.
6. The slimming client server virtualization method of claim 1, wherein: the data uploading process in S4 is as follows:
after the client is successfully connected with the virtual machine end of the client, an NTP protocol is adopted, a timing request is sent to the virtual machine end of the client, the system time of the client is adjusted to be the same as that of the virtual machine end, and the accuracy range is 0-1 ms;
after timing is finished, the client side agrees with the virtual machine side, the key mouse event data uplink starting time T1 and the time T1 are reached, the client side starts a key mouse simulation module and sends the key mouse event to the virtual machine side system client side;
and starting a keyboard and mouse capture module at the virtual machine end, and recording the keyboard and mouse events received on the virtual machine.
7. The slimming client server virtualization method of claim 1, wherein: the resource demand calculation formula of the virtual machine is as follows:
wherein the content of the first and second substances,for virtual machine i at time t CPU frequency, Cu(t) is the CPU utilization of virtual machine i at time t,is the core number, C, of the iCPU of the virtual machinefnThe number of floating point operations per cycle;
wherein the content of the first and second substances,the amount of data received by the network card per second at time t for virtual machine i,the data amount sent by the virtual machine i at the time t by the network card is no second.
Then, the probability of the physical machine resource computation amount occupied by the computation amount of the three types of resource requirements of each deficiency-type simulation machine is computed and normalized, and the probability computation formula is as follows:
wherein u isiIs the CPU computation, disk computation, I/0 computation of the virtual machine I, Z is the virtual machine number of the physical machine where the virtual machine I is located, PiThe probability of the CPU operand, the probability of the disk operand and the probability of the I/0 operand of the virtual machine I are shown.
8. A virtual slimming client server characterized by: the basic functional modules of the virtual machine management system at least comprise: the system comprises a virtual machine creating module, a virtual machine deleting module, a dynamic virtual machine configuration modifying module, a virtual machine starting and closing control module, a virtual machine network setting module, a server network configuration module, a dynamic migration module, a virtual machine state monitoring module, a virtual machine snapshot module, a virtual machine cloud data storage module, a virtual machine detection module and a virtual machine backup module.
9. The virtual slimming client server of claim 8, wherein: the virtual machines are built on physical network cards on a physical server, and the physical network cards are provided with at least two groups of network cards for each virtual machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111317937.8A CN114237811A (en) | 2021-11-09 | 2021-11-09 | Slimming client server virtualization method and virtual slimming client server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111317937.8A CN114237811A (en) | 2021-11-09 | 2021-11-09 | Slimming client server virtualization method and virtual slimming client server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114237811A true CN114237811A (en) | 2022-03-25 |
Family
ID=80748697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111317937.8A Pending CN114237811A (en) | 2021-11-09 | 2021-11-09 | Slimming client server virtualization method and virtual slimming client server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114237811A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115629842A (en) * | 2022-10-31 | 2023-01-20 | 鞍钢股份有限公司 | Virtualization method of width modulation server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080201711A1 (en) * | 2007-02-15 | 2008-08-21 | Amir Husain Syed M | Maintaining a Pool of Free Virtual Machines on a Server Computer |
CN102779090A (en) * | 2011-05-12 | 2012-11-14 | 中国科学院计算技术研究所 | Performance measuring method and system for desktop virtualization systems |
CN104144173A (en) * | 2013-05-06 | 2014-11-12 | 上海宏第网络科技有限公司 | Campus cloud platform system and method based on distributed virtual service technology |
CN113076170A (en) * | 2021-06-03 | 2021-07-06 | 统信软件技术有限公司 | Remote assistance method, system, device, computing equipment and storage medium |
CN113568787A (en) * | 2021-09-23 | 2021-10-29 | 统信软件技术有限公司 | Power failure protection method, computing device and storage medium |
-
2021
- 2021-11-09 CN CN202111317937.8A patent/CN114237811A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080201711A1 (en) * | 2007-02-15 | 2008-08-21 | Amir Husain Syed M | Maintaining a Pool of Free Virtual Machines on a Server Computer |
US20160162321A1 (en) * | 2007-02-15 | 2016-06-09 | Citrix Systems, Inc. | Associating Virtual Machines on a Server Computer with Particular Users on an Exclusive Basis |
CN102779090A (en) * | 2011-05-12 | 2012-11-14 | 中国科学院计算技术研究所 | Performance measuring method and system for desktop virtualization systems |
CN104144173A (en) * | 2013-05-06 | 2014-11-12 | 上海宏第网络科技有限公司 | Campus cloud platform system and method based on distributed virtual service technology |
CN113076170A (en) * | 2021-06-03 | 2021-07-06 | 统信软件技术有限公司 | Remote assistance method, system, device, computing equipment and storage medium |
CN113568787A (en) * | 2021-09-23 | 2021-10-29 | 统信软件技术有限公司 | Power failure protection method, computing device and storage medium |
Non-Patent Citations (3)
Title |
---|
无: "VMware与时俱进", 《网络世界》, pages 1 * |
涂剑飞等: "仿真系统的部署与实施", 《视听界(广播电视技术)》, pages 123 - 126 * |
陈小娇等: "云计算中虚拟机资源分配算法", 《计算机应用研究》, pages 2584 - 2587 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115629842A (en) * | 2022-10-31 | 2023-01-20 | 鞍钢股份有限公司 | Virtualization method of width modulation server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11550630B2 (en) | Monitoring and automatic scaling of data volumes | |
US11216314B2 (en) | Dynamic reallocation of resources in accelerator-as-a-service computing environment | |
US10776174B2 (en) | Managing hosted resources across different virtualization platforms | |
CN111488241B (en) | Method and system for realizing agent-free backup and recovery operation in container arrangement platform | |
US10379759B2 (en) | Method and system for maintaining consistency for I/O operations on metadata distributed amongst nodes in a ring structure | |
US8819390B1 (en) | Speculative reads | |
US7577959B2 (en) | Providing on-demand capabilities using virtual machines and clustering processes | |
US10452665B2 (en) | Methods and systems to reduce time series data and detect outliers | |
US9286344B1 (en) | Method and system for maintaining consistency for I/O operations on metadata distributed amongst nodes in a ring structure | |
US20130091334A1 (en) | Method for data backup, device and system | |
US11055568B2 (en) | Method and system that measure application response time | |
CN106777394B (en) | Cluster file system | |
US11886898B2 (en) | GPU-remoting latency aware virtual machine migration | |
US9755986B1 (en) | Techniques for tightly-integrating an enterprise storage array into a distributed virtualized computing environment | |
US10579419B2 (en) | Data analysis in storage system | |
CN111552540A (en) | Resource synchronization method based on VMware cloud platform and super-fusion cloud platform | |
US11940895B2 (en) | Methods and systems for intelligent sampling of application traces | |
CN114237811A (en) | Slimming client server virtualization method and virtual slimming client server | |
US11397711B1 (en) | Proxy-based database scaling | |
US20210286647A1 (en) | Embedded persistent queue | |
US20210067599A1 (en) | Cloud resource marketplace | |
US20200310658A1 (en) | Machine learning for local caching of remote data in a clustered computing environment | |
US20190087234A1 (en) | Cohesive clustering in virtualized computing environment | |
Dell | ||
US20230131954A1 (en) | Automated Data Center Expansion |
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 |