VMware ESX Server system architecture

xiaoxiao2021-03-06  41

The VMware ESX server consists of the resource manager and service console, and its architecture is the implementation of hardware resources to deploy in a fully isolated environment.

The system architecture diagram is shown below, including the following three parts:

VMware virtual layer, this layer provides an ideal hardware environment and virtual resource manager for underlying physical resources, which divides CPU, memory, network bandwidth, and disk space to each virtual machine hardware interface component, including device drivers, etc.

virtual

The VMware virtualization layer brings hardware virtualization to the standard Intel server platform. The virtualization layer is common among VMware desktop and server products, providing a consistent platform for development, testing, delivery and support of application workloads from the developer desktop to the workgroup to the Data center.

As with mainframe virtualization, the VMware virtual machine offers complete hardware virtualization; the guest operating system and applications (those operating inside a virtual machine) can never directly determine which specific underlying physical resources they are accessing, such as which CPU they are running on in a multiprocessor system or which physical memory is mapped to their pages The virtualization of the CPU incorporates direct execution:. non-privileged instructions are executed by the hardware CPU without overheads introduced by emulation.

The virtualization layer provides an idealized physical machine that is isolated from other virtual machines on the system It provides the virtual devices that map to shares of specific physical devices;. These devices include virtualized CPU, memory, I / O buses, network interfaces, storage Adapters and Devices, Human Interface Devices, Bios and Others.

Each virtual machine runs its own operating system and applications; they can not talk to each other or leak data, other than via networking mechanisms similar to those used to connect separate physical machines This isolation leads many users of VMware software to build internal firewalls or other. Network isolation Environments, Allowing Some Virtual Machines To Connect To The Outside While Others Are Connected Only Via Virtual Networks THROUGH Other VIRTUAL MACHINES.CPU Virtual

Each virtual machine appears to run on its own CPU, or set of CPUs, fully isolated from other virtual machines, with its own registers, translation lookaside buffer, and other control structures. Most instructions are directly executed on the physical CPU, allowing compute- Intensive Workloads to Run At Near-Native Speed. privileged instructions area performed Safely by the patented and patent-pending technology in the Virtualization Layer.

Memory virtual

While a contiguous memory space is visible to each virtual machine, the physical memory allocated may not be contiguous. Instead, noncontiguous physical pages are remapped efficiently and presented to each virtual machine. Some of the physical memory of a virtual machine may in fact be mapped to shared pages, or to pages that are unmapped or swapped out. This virtual memory management is performed by ESX Server without the knowledge of the guest operating system and without interfering with its memory management subsystem.

Disk virtual

Support of disk devices in ESX Server is an example of the product's hardware independence. Each virtual disk is presented as a SCSI drive connected to a SCSI adapter. This device is the only disk storage controller used by the guest operating system, despite the wide variety of SCSI, RAID and Fibre Channel adapters that might actually be used in the system.This abstraction makes virtual machines at once more robust and more transportable. There is no need to worry about the variety of potentially destabilizing drivers that may need to be installed on Guest Operating Systems, and The File That Encapsulates A Virtual Disk Is Identical No Matter What Underlying Controller or Disk Drive Is Used.

VMware ESX Server can be used effectively with storage area networks (SANs). ESX Server supports QLogic and Emulex host bus adapters, which allow an ESX Server computer to be connected to a SAN and to see the disk arrays on the SAN.

Network virtual

You may define up to four virtual network cards within each virtual machine. Each virtual network card has its own MAC address and may have its own IP address (or multiple addresses) as well. Virtual network interfaces from multiple virtual machines may be connected to a Virtual switch. Each Virtual Switch May Be configured as a purely virtual network with no connection to a physical lan via one or more of the physical nics on the host machine.

Internal virtual Ethernet (VMNETS)

VMnet connections may be used for high-speed networking between virtual machines, allowing private, cost-effective connections between virtual machines. The isolation inherent in their design makes them especially useful for supporting network topologies that normally depend on the use of additional hardware to provide security and isolation.For example, an effective firewall can be constructed by configuring one virtual machine on an ESX Server system with two virtual Ethernet adapters, one bound to a vMnic (giving it a connection to a physical network) and the other bound to a VMnet. Other virtual machines would be connected only to the VMnet. By running filtering software in the dual-homed virtual machine, a user can construct an effective firewall without the need for additional hardware and with high-performance virtual networking between the virtual machines.

.

Virtual overview

ESX Server Virtualizes The Resources of The Physical System for Use by The Virtual Machines.

In the preceding example, each virtual machine is configured with one CPU, an allocation of memory and disk, and two virtual Ethernet adapters. In reality, they share the same physical CPU and access noncontiguous pages of memory (with part of the memory of one Of The Virtual Machines Currently Swapped to Disk. Their Virtual Disks Are Acrely Set Up as Files On A Common File System.

Each of these example virtual machines has two virtual NICs. Virtual NICs 1a and 2a are attached to the virtual switch that is bound to physical NICs 1a and 2a. Virtual NICs 1b and 2b are attached to a purely virtual switch. Software compatibility

In the VMware ESX Server architecture, guest operating systems interact only with the standard x86-compatible virtual hardware presented by the virtualization layer. This provides the capability for VMware to support any x86-compatible operating system. In practice, however, VMware supports a subset of x86-compatible operating systems that are tested throughout the product development cycle. VMware documents the installation and operation of these guest operating systems and trains its technical personnel in their support.

Because applications interact only with their guest operating system, and not the underlying virtual hardware, once operating system compatibility with the virtual hardware is established, application compatibility is not an issue.

Service console

Service console function

The ESX Server system management functions and interfaces are implemented in the service console. These include the HTTP, SNMP and API interfaces described above, as well as other support functions such as authentication and low-performance device access. The service console is also installed as a first component and is used to bootstrap the ESX Server installation and configuration, as well as to boot the system and initiate execution of the virtualization layer and resource manager. In ESX Server, the service console is implemented using a modified Linux distribution.

Service Console Process and File

The service console provides a control API that allows the virtual machines and resource allocations to be managed. The administrator may controls via pages also access these accessed through the Web server running in the service console.In addition to the Web server, the following processes and Services Involved in The Management of An Esx Server System Run in The Service Console:

Server daemon (vmserverd) - Performs actions in the service console on behalf of the VMware Remote Console and the Web-based VMware Management Interface Authentication daemon (vmauthd) -. Authenticates remote users of the management interface and remote consoles using the username / password database . Any other authentication store that can be accessed using the Pluggable authentication Module (PAM) capabilities present in the service console may also be used. This permits the use of passwords from a Windows domain controller, LDAP or RADIUS server, or similar central authentication store to be used with VMware ESX Server for remote access SNMP server (ucd-snmpd) -. Implements the SNMP data structures and traps an administrator can use to integrate an ESX Server system into an SNMP-based system management tool In addition to these VMware. -supplied Services, The Service Console Can Be Used to Run Other System Wide or Hardware-Dependent Management Tools. There Include Hardware-Specific HEA LTH MONITORS (SUCH AS IBM Director, HP Insight Manager and ", Full-System Backup and disaster recovery software, and clustering and high availability products.

转载请注明原文地址:https://www.9cbs.com/read-54798.html

New Post(0)