Tải bản đầy đủ (.pptx) (34 trang)

VSICM6 m03 virtualmachines

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (963.38 KB, 34 trang )

Creating Virtual Machines
Module 3

© 2015 VMware Inc. All rights reserved.


You Are Here

9.

7.

Virtual Machine Management

10. Software-Defined Data Center

8.

Resource Management and Monitoring

11.

9.

vSphere HA and vSphere Fault Tolerance

Course Introduction

Creating Virtual Machines

12. vCenter Server



10. Host Scalability

13. Configuring and Managing Virtual Networks

11.

14. Configuring and Managing Virtual Storage

12. Installing vSphere Components

vSphere Update Manager and Host Maintenance

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-2


Importance
You can create a virtual machine in several ways. Choosing the correct method can help you save time and make the
deployment process manageable and scalable.
Bạn có thể tạo một máy ảo theo một số cách. Chọn đúng phương pháp có thể giúp bạn tiết kiệm thời gian và
làm cho quá trình triển khai có thể quản lý và mở rộng được.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-3



Module Lessons
Lesson 1:

Virtual Machine Concepts

Lesson 2:

Creating a Virtual Machine

Bài 1: Khái niệm máy ảo
Bài 2: Tạo máy ảo

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-4


Lesson 1:
Virtual Machine Concepts

3-5
© 2015 VMware Inc. All rights reserved.


Learner Objectives
By the end of this lesson, you should be able to meet the following objectives:




Identify the files that make up a virtual machine



Compare virtual machine hardware version 11 to other versions



Describe the elements of a virtual machine



View the console of a virtual machine

Vào cuối bài học này, bạn sẽ có thể đạt được các mục tiêu sau:



Xác định các tệp tạo nên một máy ảo



So sánh phần cứng máy ảo phiên bản 11 với các phiên bản khác



Mơ tả các phần tử của máy ảo




Xem giao diện điều khiển của một máy ảo

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-6


About Virtual Machine Files
A virtual machine consists of a set of related files.
Máy ảo bao gồm một tập hợp các tệp liên quan.

Configuration file

VM_name.vmx Tập tin cấu hình

Swap files

VM_name.vswp Trao đổi tệp
vmx-VM_name.vswp

BIOS file

VM_name.nvram

Nhập xuất

Log files


vmware.log

VM

Template file

VM_name.vmtx

folder

Raw device map file

VM_name-rdm.vmdk

Disk descriptor file

VM_name.vmdk

Disk data file

VM_name-flat.vmdk

Suspend state file

VM_name.vmss

Snapshot data file

VM_name.vmsd


Snapshot state file

VM_name.vmsn

Snapshot disk file

VM_name-delta.vmdk

lưu lại tập tin bộ nhớ tạm

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-7


About Virtual Machine Virtual Hardware

2 IDE Controller
Devices

Up to 3

Up to 32

Parallel Ports

Serial/Com ports

VMCI Controller


AHCI
Controller

1 USB Controller
20 Devices

Up to 10
NICs
1 Floppy Controller
2 Devices
Hardware

Virtual Machine

3D
Up to 4 SCSI Adapters

Up to
4 TB of RAM

15 Devices
per Adapter

Up to 128 vCPUs

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-8



Virtual Hardware Versions
The virtual hardware version determines the operating system functions that a virtual machine supports. Do not use a version that is higher than supported by
the VMware product.
Phiên bản phần cứng ảo xác định các chức năng của hệ điều hành mà máy ảo hỗ trợ. Không sử dụng phiên bản cao hơn sản phẩm VMware hỗ trợ.

Product Version

Hardware Version

VMware ESXi™ 6 and later

11

ESXi 5.5 and later

10

ESXi 5.1 and later

9

ESXi 5.0 and later

8

ESXi/ESX 4.0 and later

7


VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-9


About Virtual Hardware Version 11
Virtual hardware version 11 provides several features and benefits.
Phiên bản phần cứng ảo 11 cung cấp một số tính năng và lợi ích.
Features

Benefits

xHCI controller updated to version 1.0

USB 3 support for Mac OS X 10.8, Windows Server 2012, and Windows 8 operating systems.

Windows VMXNET3 driver support

Supports large receive offload, resulting in reduced associated CPU costs by reducing network packet
processing.

Enhanced NUMA feature

Hot-add local memory is distributed across all NUMA nodes.

Guest authentication

Support for Windows 2000 and later, Linux kernels 2.4 and later, and Solaris operating systems.


HGFS shared folder feature

Number of reboots is reduced by installing VMware Tools™.

Increased vCPU capacity

Hardware version 11 virtual machines can support up to 128 virtual CPUs.

Increased RAM capacity

Hardware version 11 virtual machines support up to 4 TB of RAM.

Increased serial port configuration

Hardware version 11 virtual machines can be configured with up to 32 serial ports.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-10


About CPU and Memory
You can add, change, or configure CPU and memory resources to improve virtual machine performance.
The maximum number of vCPUs that you can assign to a virtual machine depends on:



The number of logical CPUs on the host




The host license



The type of installed guest operating system

A virtual machine running on an ESXi 6 host can have up to 128 vCPUs.
Maximum memory size for a virtual machine depends on:



The host’s physical memory



The virtual machine's compatibility setting

The maximum memory size of a virtual machine
with ESXi 6 compatibility running on ESXi 6
is 4,080 GB.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-11



About Virtual Disks
A virtual machine usually has a least one virtual disk.
Một máy ảo thường có ít nhất một đĩa ảo.

Sample virtual disk definition:
Virtual disk size:

8 GB

Datastore:

MyVMFS

Virtual disk node:

0:0

Virtual storage adapter:

LSI Logic SAS

Virtual disk files:

Server1.vmdk and Server1-flat.vmdk

Default disk mode:

Snapshots allowed

Optional disk mode:

Disk provisioning policy:

Independent: Persistent or Nonpersistent
Thick Provision Lazy Zeroed, Thick Provision
Eager Zeroed, or Thin Provision

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-12


a

About Thick-Provisioned Virtual Disks

Thick provisioning sử dụng tất cả không gian đĩa đã xác định khi tạo
Host

đĩa ảo:
- Đĩa máy ảo tiêu thụ tất cả dung lượng, như được xác định khi tạo,
bất kể lượng dữ liệu trong hệ thống tệp của hệ điều hành khách.
Eager zeroed or lazy zeroed:

Thick

Thin

Thin


- Mọi khối trong một đĩa được cấp phép dày có số 0 háo hức đều
được điền sẵn số 0.
Virtual

- Mọi khối trong đĩa được cấp phép dày có số 0 lười biếng được lấp

Disks

đầy bằng số 0 khi dữ liệu được ghi vào khối.

Datastores

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-13


About Thin-Provisioned Virtual Disks

Cung cấp mỏng cho phép các máy ảo sử dụng không gian lưu trữ khi
cần thiết:
Host
Host

- Đĩa máy ảo chỉ tiêu thụ dung lượng cần thiết để chứa các tệp hiện
tại.
- Một máy ảo ln nhìn thấy kích thước đĩa được cấp phát đầy đủ.
Thick


- Bạn có thể kết hợp các định dạng dày và mỏng.

Thin

Thin

- Báo cáo và cảnh báo đầy đủ giúp quản lý phân bổ và dung lượng.
- Sử dụng hiệu quả hơn dung lượng lưu trữ:

Virtual
Disks

- Phân bổ đĩa ảo 140 GB
- Dung lượng kho dữ liệu có sẵn 100 GB
- Dung lượng lưu trữ đã sử dụng 80 GB

Datastores

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-14


About Network Virtual Machine Configuration
ESXi networking features:



Provide communication between virtual machines on the same host, between virtual machines on different hosts, and between virtual and physical machines




Enable management of ESXi hosts

ã

Enable communication between VMkernel services (NFS, iSCSI, or VMware vSpheređ vMotion®) and the physical network

When you configure networking for a virtual machine, you select or change a network adapter type, a network connection, and whether to connect to the network when the
virtual machine powers on.

Các tính năng mạng ESXi:





Cung cấp giao tiếp giữa các máy ảo trên cùng một máy chủ, giữa các máy ảo trên các máy chủ khác nhau và giữa các máy ảo và vật lý
Cho phép quản lý các máy chủ ESXi
Cho phép giao tiếp giữa các dịch vụ VMkernel (NFS, iSCSI hoặc VMware vSphere® vMotion®) và mạng vật lý

Khi bạn định cấu hình mạng cho một máy ảo, bạn chọn hoặc thay đổi loại bộ điều hợp mạng, kết nối mạng và có kết nối với mạng khi máy ảo bật
nguồn hay không.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-15



About Network Adapters. Giới thiệu về bộ điều hợp mạng

ype. Whenever possible, select VMXNET3.

ols.

điều hợp. Bất cứ khi nào có thể, hãy chọn VMXNET3.

hách.

VMware Tools.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-16


.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-17


About the Virtual Machine Console
The virtual machine console provides the mouse, keyboard, and screen features to control the virtual machine.
Bảng điều khiển máy ảo cung cấp các tính năng chuột, bàn phím và màn hình để điều khiển máy ảo.


vSphere Web Client

vSphere Client
VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-18


Review of Learner Objectives
You should be able to meet the following objectives:



Identify the files that make up a virtual machine



Compare virtual machine hardware version 11 to other versions



Describe the elements of a virtual machine



View the console of a virtual machine

Bạn sẽ có thể đáp ứng các mục tiêu sau:




Xác định các tệp tạo nên một máy ảo



So sánh phần cứng máy ảo phiên bản 11 với các phiên bản khác



Mơ tả các phần tử của máy ảo



Xem bảng điều khiển của một máy ảo

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-19


Lesson 2:
Creating a Virtual Machine

3-20
© 2015 VMware Inc. All rights reserved.



Learner Objectives
By the end of this lesson, you should be able to meet the following objectives:



Create, provision, and remove a virtual machine



Compare and contrast the types of virtual disk provisioning



Explain the importance of VMware Tools



Describe how to import a virtual appliance OVF template

ã

Discuss how to use VMware vCloudđ Air to create a virtual machine from a template

Vào cuối bài học này, bạn sẽ có thể đạt được các mục tiêu sau:



Tạo, cung cấp và xóa máy ảo




So sánh và đối chiếu các loại cung cấp đĩa ảo



Giải thích tầm quan trọng của VMware Tools



Mơ tả cách nhập mẫu OVF của thit b o

ã

Tho lun v cỏch s dng VMware vCloudđ Air ™ để tạo máy ảo từ mẫu

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-21


About Provisioning Virtual Machines
You can create virtual machines in several ways:



Use the New Virtual Machine wizard to create virtual machines.




Deploy virtual machines, virtual appliances, and vApps stored in Open Virtual Machine Format (OVF).



Use a CentOS, Linux, or Windows template in a vCloud Air catalog to create virtual machines.

Bạn có thể tạo máy ảo theo một số cách:



Sử dụng trình hướng dẫn Máy ảo Mới để tạo máy ảo.



Triển khai máy ảo, thiết bị ảo và vApp được lưu trữ ở Định dạng máy ảo mở (OVF).



Sử dụng mẫu CentOS, Linux hoặc Windows trong danh mục vCloud Air để tạo máy ảo.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-22


Creating Virtual Machines with the New Virtual Machine Wizard
You can use the New Virtual Machine wizard in the vSphere Web Client to create a virtual machine
Bạn có thể sử dụng trình hướng dẫn Máy ảo Mới trong vSphere Web Client để tạo một máy ảo.


VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-23


New Virtual Machine Wizard

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-24


Installing the Guest Operating System
Installing a guest operating system in your virtual machine is like installing it on a physical computer.
Cài đặt hệ điều hành khách trong máy ảo của bạn giống như cài đặt nó trên một máy tính vật lý.

VMware vSphere: Install, Configure, Manage
© 2015 VMware Inc. All rights reserved.

3-25


Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×