Recall what is a virtual machine?

Source: Internet
Author: User

 

What is a virtual machine?

 

Virtual Machine

Like physical machines, virtual machines are software computers that run operating systems and applications. A virtual machine contains a set of specifications and configuration files supported by the host's physical resources. Each virtual machine has a virtual device that provides the same functionality as the physical hardware, and is better at portability, manageability, and security.

Virtual machines include various types of files stored on supported storage devices. Key Files that constitute virtual machines include configuration files, Virtual Disk Files, NVRAM settings files, and log files. You can configure virtual machine settings through vsphere Web client or vsphere client. No key file is required.

If one or more snapshots exist or you have added a bare device ing (RDM), the VM can contain more files.

File types include:

Configuration file (<Virtual Machine Name>. vmx)

Swap file (<Virtual Machine Name>. vswp)

BiOS file (<Virtual Machine Name>. NVRAM)

Log File (VMware. Log)

Disk descriptor file (<Virtual Machine Name>. vmdk)

Disk Data File (<Virtual Machine Name>. Flat-vmdk)

Pending status file (<Virtual Machine Name>. VMSS)

Snapshot data file (<Virtual Machine Name>. vmsd)

Snapshot status file (<Virtual Machine Name>. vmsn)

Template File (<Virtual Machine Name>. vctx)

Snapshot disk file (<Virtual Machine Name>-Delta. vmdk)

Raw device ing file (<Virtual Machine Name>-RDM. vmdk)

Why use virtual machines

Physical Machine

Difficult to move or copy

Restricted by a specific set of hardware components

The lifecycle is usually short.

Hardware upgrades are cumbersome

Virtual Machine

Virtual Machine Concept: A group of discrete data files.

Easy to move and copy

Encapsulated in a file

Independent of physical hardware

Easy to manage

Isolated from other virtual machines

Not Affected by hardware changes

Support older applications

Server Integration

Virtual infrastructure

The infrastructure supporting virtual machines must have at least two software layers: The virtualization layer and the management layer. In vsphere, esxi provides virtualization to aggregate host hardware as a set of standardized resources and provide them to virtual machines. You can run virtual machines on an independent esxi host or an esxi host managed by vcenter server.

Vcenter server can be used to add resources of multiple hosts to the pool and manage these resources. It can also effectively monitor and manage physical and virtual infrastructure. You can manage resources of virtual machines, set up virtual machines, Schedule Tasks, collect statistics logs, and create templates.

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/1C/wKioL1QPAkaBiwY8AAIcB_HmIpE267.jpg "Title =" snap1.jpg "alt =" wkiol1qpakabiwy8aaicb_hmipe267.jpg "/>

Virtual Machine Lifecycle

You can use multiple methods to create a virtual machine and deploy it to your data center. You can create a single virtual machine and install the client operating system and VMware Tools. You can clone or create a template from an existing virtual machine or deploy an ovf template.

You can use vsphere Web Client and sphere client to create virtual machine wizard and Virtual Machine Attribute Editor to add, configure, or remove hardware, options, and resources of most virtual machines. You can use performance charts in the vsphere client to monitor CPU, memory, disk, network, and storage metrics. Snapshots can be used to capture the status of virtual machines, including the Virtual Machine memory, settings, and virtual disks. If needed, you can roll back to the status of the previous virtual machine.

You can use vsphere vapp to manage multiple applications. You can use vsphere update manager to perform coordinated upgrades to upgrade the Virtual Hardware and VMware Tools of the virtual machines in the list.

If you no longer need a virtual machine, you can remove it from the list but not from the data storage, or delete the virtual machine and all its files.

Virtual Machine Resource Sharing

CPU Virtualization

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/49/1A/wKiom1QPAvejJjSMAAF-WQpXvbw662.jpg "Title =" snap3.jpg "alt =" wKiom1QPAvejJjSMAAF-WQpXvbw662.jpg "/>

Memory Virtualization

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/1C/wKioL1QPAx3gfXN9AAFhl7eHpH8900.jpg "Title =" snap4.jpg "alt =" wkiol1qpax3gfxn9aafhl7ehph8900.jpg "/>

Physical and virtual networks

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/49/1A/wKiom1QPAzKxwSGzAAGK49K6-EE542.jpg "Title =" snap5.jpg "alt =" wKiom1QPAzKxwSGzAAGK49K6-EE542.jpg "/>

Physical file system and VmVMWare Vsphere Vmfs

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/49/1A/wKiom1QPA1-zCVV3AAHB5-KZLZ4161.jpg "Title =" snap6.jpg "alt =" wKiom1QPA1-zCVV3AAHB5-KZLZ4161.jpg "/>

Recall what is a virtual machine?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.