Home Common Problem Master virtual machines in one article

Master virtual machines in one article

Aug 01, 2023 pm 05:33 PM
virtual machine


Master virtual machines in one article

today's Many cutting-edge technologies, such as cloud computing, edge computing and microservices, originated from the concept of virtual machines - decoupling operating systems and software instances from the underlying physical computers.

What is a virtual machine?


Virtual machine refers to a software-simulated virtual machine with complete hardware system functions that runs on a A complete computer system in a completely isolated environment. In a virtual machine, one or more guests can run on a single host.
The origins of virtual machines can be traced back to the early 1960s. Each virtual machine has its own operating system, independent of other virtual machines, even if they are on the same physical host. Virtual machines typically run on servers, but can also run on desktop systems and even embedded platforms. Multiple virtual machines can share the resources of a physical host, including CPU cycles, network bandwidth, and memory.
Virtual machines have made great progress in the past 20 years, and enterprises can use them more effectively through server virtualization. The computing power of physical servers, reducing the number of physical servers and saving data center space.

##How does a virtual machine work?


## Generally speaking, there are two types of virtual machines: program virtual machines (will individual programs) and system virtual machines (completely separating the operating system and applications from the physical computer). Examples of program virtual machines include the Java Virtual Machine, .NET Framework, and Parrot Virtual Machine.
The system virtual machine relies on the hypervisor as a middleman to provide software with access to hardware resources. The hypervisor simulates the computer's CPU, memory, hard disk, network and other hardware resources, creating a resource pool that can allocate resources to individual virtual machines based on their specific needs. Hypervisor can support multiple isolated virtual hardware platforms, enabling virtual machines to run Linux and Windows Server operating systems on the same physical host. In addition, search the official account of the Programming Technology Circle and reply "gift package" in the background to get a surprise gift package.
Well-known companies in this field include VMware (ESX/ESXi), Intel/Linux Foundation (Xen), Oracle (for SPARC MV Server and Oracle VM Server for x86) and Microsoft (Hyper-V).
Desktop computer systems can also use virtual machines. For example, Mac users run virtual Windows systems on their Macs.

##What are the two management programs? Type?


The hypervisor is responsible for managing resources and allocating resources to virtual machines. It can also schedule and adjust how resources are allocated based on how the hypervisor and virtual machines are configured, and can reallocate resources as demand fluctuates. Most hypervisors can be divided into the following two categories:

Type1: Bare metal hypervisor runs directly on the physical host and has direct access to the hardware. This type of hypervisor typically runs on servers and is generally more efficient and performs better than Type 2 hypervisors, making it ideal for server, desktop, and application virtualization. Such hypervisors include Microsoft Hyper-V and VMware ESXi.


##Type2:Sometimes called a managed hypervisor, this type of hypervisor is installed on the host operating system and is responsible for managing the The call of hardware resources, usually deployed on the end user system. Such hypervisors include VMware Workstation and Oracle VirtualBox.


#What are the advantages of virtual machines?

Since the software is separated from the physical host, users can run multiple operations on a single hardware system, thereby saving businesses time, management costs and physical space. Virtual machines can also support legacy applications, reducing or eliminating the need and cost of migrating legacy applications to newer or different operating systems.
Additionally, developers can use virtual machines to test applications in a secure sandbox environment. Developers who want to know whether their applications will run on a new operating system can use virtual machines to test their software without having to purchase new hardware and operating systems upfront. This also helps isolate malware, since the software inside the virtual machine cannot tamper with the host machine and the malware cannot spread.

##What are the disadvantages of virtual machines?


Virtual machines also have some shortcomings. Running multiple virtual machines on a single physical host can result in erratic performance, especially if the infrastructure requirements for a specific application are not met. This also makes them less efficient than physical computers in many situations.
Additionally, if the physical server crashes, all applications running on it will crash.

##What other forms are there? virtualization?


The success of virtual machines in server virtualization has led to the application of virtualization to many other fields , including storage, network and desktop.
Explorations in network virtualization include NaaS (Network as a Service) and NFV (Network Function Virtualization), through commercial servers Replace dedicated network equipment to enable more flexible and scalable services. This is slightly different from SDN (Software Defined Network), which separates the network control plane from the forwarding plane to achieve more automated network resource allocation and policy-based network resource management. VNFs (Virtual Network Functions) are software-based services that can run in an NFV environment, including routing, firewalling, load balancing, WAN acceleration, encryption, and more.

##Virtual machines and containers

The growth of virtual machines has promoted the further development of technologies such as containers, taking this concept one step further. Containers can virtualize a single application and its dependencies. Containers have much less overhead than virtual machines and contain only binaries, libraries, and applications.
牛逼啊!接私活必备的 N 个开源项目!赶快收藏
Copy after login
While some people believe that the development of containers may kill virtual machines, virtual machines have enough capabilities and advantages to push the technology forward. For example, virtual machines still play a big role when it comes to running multiple applications simultaneously or running traditional applications on older operating systems.
In addition, some people think that containers are not as secure as hypervisors because containers only have an operating system shared by applications, while virtual machines The machine can isolate applications and operating systems.
Gary Chen, research manager of IDC’s software-defined computing department, wrote in IDC’s “Global Virtual Machine Software Forecast 2019-2022” Dao: "The virtual machine software market is very resilient and will continue to grow aggressively over the next five years, although the market is very mature and close to saturation."

##Virtual Machines, 5G and Edge Computing


Virtual machines are considered part of new technologies such as 5G and edge computing. For example, virtual desktop infrastructure (VDI) vendors such as Microsoft, VMware and Citrix are looking for ways to extend their VDI systems to work from home as a complement to a post-pandemic hybrid approach to working.
"With VDI, you need extremely low latency because You’re basically sending your keyboard strokes and mouse movements to a remote desktop.” In 2009, Satyanarayanan wrote an article on how to leverage virtual machine-based clouds to provide better processing power to mobile devices at the edge of the Internet. , which promotes the development of edge computing.
In the 5G wireless world, the network slicing process uses SDN and NFV technologies to help install network functions into virtual machines on virtual servers to provide services that once could only run on proprietary hardware.
Like many other technologies in use today, without the concept of the original virtual machine introduced decades ago, these emerging innovation will not develop.

The above is the detailed content of Master virtual machines in one article. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to fix hypervisor errors in Windows 11 How to fix hypervisor errors in Windows 11 Apr 16, 2023 pm 12:37 PM

For many users, Windows has a hidden built-in feature for easily creating and managing virtual machines. This feature is called Hypervisor or Hyper-V. But like other Windows features, this one isn't completely bug-free. In this article, we will show you how to fix Hyper-V issues easily and quickly. So without further ado, let’s jump into the solution and get the virtual machine up and running. Fix 1 – Check if your system supports Hyper-V The first thing you should try is to check if your system supports Hyper-V and is still active. 1. You must restart the system. To do this safely, press Wi once

Install Windows XP ISO on Windows 11 using VirtualBox Install Windows XP ISO on Windows 11 using VirtualBox May 05, 2023 pm 02:25 PM

Windows XP on Windows 11 VirtualBox Virtual Machine The steps given here to install a Windows XP ISO image using VirtualBox are not limited to Windows 11. Users can follow these steps on Linux such as Ubuntu, macOS, Windows 10, 7, or other operating systems they are using and have Virtualbox. Download Windows

How to fix VMMEM high memory and CPU usage How to fix VMMEM high memory and CPU usage Apr 18, 2023 pm 04:40 PM

Vmmem or virtual memory can cause high CPU or memory usage due to various factors. One of the key reasons behind this issue is some resource-intensive processes running in the virtual host. However, if this is not the case and the VM still consumes a lot of system resources in idle mode, it may be a driver failure. This slows down the virtual machine and your work may stop. So, follow the steps below to resolve the issue quickly. Fix 1 – End all resource-intensive processes If you are running some heavy applications or software versions, expect vmmem to use a lot of resources. There is nothing unusual about this. Even if you can kill these processes directly, it will free up more resources for your device. NOTE – You can

Convert VMware to VirtualBox and vice versa Convert VMware to VirtualBox and vice versa Feb 19, 2024 pm 05:57 PM

Virtual machines are an affordable way to experience and use multiple operating systems on a single computer. VMWare and VirtualBox are the two major brands in the virtual machine industry. You can easily convert a VMware virtual machine to a VirtualBox virtual machine and vice versa, giving you the flexibility to switch machines between them without having to recreate them. Migrating a virtual machine from VMWare to VirtualBox or vice versa is not complicated. Just follow the instructions below and it's easy to do. How to convert VMware to VirtualBoxVMwareVM is stored in .vmx format and then converted to .ovf, this is VirtualBox and VMWare

How to install, configure and use the 'Windows Sandbox' feature How to install, configure and use the 'Windows Sandbox' feature Feb 19, 2024 pm 01:00 PM

Windows Sandbox is a feature built into the Windows 11 and Windows 10 operating systems that allows users to install and test unverified applications or visit websites in a lightweight virtual environment while protecting the main system from potential threats. Overall, this system provides a safe and isolated testing environment, similar to a virtual machine, but easier to use. Next, this article will introduce the detailed steps to install, configure and use the Windows Sandbox feature on Windows 11. Introduction to Windows Sandbox Features Windows Sandbox (also known as Windows Sandbox) is essentially a lightweight virtualization solution focused on providing efficient and secure virtual environments. compared to traditional

The server encountered an error, 0x80070003, while creating a new virtual machine. The server encountered an error, 0x80070003, while creating a new virtual machine. Feb 19, 2024 pm 02:30 PM

If you encounter error code 0x80070003 when using Hyper-V to create or start a virtual machine, it may be caused by permission issues, file corruption, or configuration errors. Solutions include checking file permissions, repairing damaged files, ensuring correct configuration, and more. This problem can be solved by ruling out the different possibilities one by one. The entire error message looks like this: The server encountered an error while creating [virtual machine name]. Unable to create new virtual machine. Unable to access configuration store: The system cannot find the path specified. (0x80070003). Some possible causes of this error include: The virtual machine file is corrupted. This can happen due to malware, virus or adware attacks. Although the likelihood of this happening is low, you can't completely

The Best Virtual Machines for Windows 11 (Free and Paid) The Best Virtual Machines for Windows 11 (Free and Paid) Apr 13, 2023 am 11:40 AM

A virtual machine or virtual machine is a piece of software that simulates a computer and replaces the real thing. A VM mimics a computer's hardware and architecture to provide the same functionality. You can run existing applications and services on virtual machines without risking the stability of your regular computer. For example, Windows 11 now has a lot of bugs that can make the experience frustrating. The virtual machine will allow people to try it out without signing up for anything. Read on to learn which is the best Windows 11 virtual machine for your needs and desires. What are the best virtual machines for Windows 11? VMware Workstation VMware Workstation is one of the best virtual machines on the market because of its high

How to solve the problem that win11 virtual machine cannot connect to the network How to solve the problem that win11 virtual machine cannot connect to the network Jan 04, 2024 pm 07:00 PM

Many users have installed virtual machines on the win11 system after updating it, but many of them will be unable to connect to the network. So today I will bring you the solution to the problem that the win11 virtual machine cannot connect to the network. Come and see how to solve it. . What to do if the win11 virtual machine cannot connect to the network 1. First open the virtual machine and click "Edit - Virtual Network Editor - Restore Default Settings" in order. After doing this, it can be used. 2. In fact, in many cases it is due to changes in the network driver that the network cannot operate normally. You only need to reinstall the network module once! 3. If you encounter the problem that the network is suddenly cut off during use, even if the adapter has been configured correctly, the network will still be displayed.