Professional Documents
Culture Documents
Module 3
Course Introduction Introduction to Virtualization Virtual Machines VMware vCenter Server Configure and Manage Virtual Networks Configure and Manage Virtual Storage Managing Virtual Machines
Data Protection Access & Authentication Control Resource Management and Monitoring High Availability Scalability Patch Management Installing vSphere Components
3-2
2011 VMware Inc. All rights reserved
Importance
A virtual machine is a set of virtual hardware on which a supported guest operating system and its applications run. You can create a virtual machine in a number of ways. Choosing the correct method can help you save time and make the deployment process manageable and scalable.
3-3
2011 VMware Inc. All rights reserved
Module Lessons
Lesson 1: Lesson 2:
3-4
2011 VMware Inc. All rights reserved
3-5
2011 VMware Inc. All rights reserved
Learner Objectives
After this lesson, you should be able to do the following: Describe a virtual machine. Display a virtual machines files. List the virtual machine hardware.
3-6
2011 VMware Inc. All rights reserved
virtual machine
MyVM.vmx
guestOS = winnetstandard
3-7
2011 VMware Inc. All rights reserved
VM Folder
Configuration file Swap files BIOS file Log files Disk descriptor file Disk data file Suspend state file Snapshot data file Snapshot state file Template file Snapshot disk file Raw device map file
(<VM_name>.vmx) (<VM_name>. vswp) (<VM_name>. nvram) (vmware.log) (<VM_name>. vmdk) (<VM_name>. flat-vmdk) (<VM_name>. vmss) (<VM_name>. vmsd) (<VM_name>. vmsn) (<VM_name>.vmtx) (<VM_name> -delta.vmdk) (<VM_name>.-rdm.vmdk)
3-8
2011 VMware Inc. All rights reserved
3-9
2011 VMware Inc. All rights reserved
Click the Storage Views tab. Select Show All Virtual Machine Files from the menu.
3-10
2011 VMware Inc. All rights reserved
3-11
2011 VMware Inc. All rights reserved
Up to 32 virtual CPUs (vCPUs): Depends on the number of licensed CPUs on a host and the number of processors supported by a guest operating system Up to 1TB maximum memory size: Depends on the amount the guest operating system will be told that it has
3-12
2011 VMware Inc. All rights reserved
Virtual Disk
Sample virtual disk definition: Virtual disk size: 4GB 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: Independent persistent or nonpersistent Disk provisioning policy: Thick or thin provision
VMware vSphere: Install, Configure, Manage Revision A 3-13
2011 VMware Inc. All rights reserved
Other Devices
CD/DVD drive: Connect to CD-ROM, DVD, or ISO image. USB 3.0: Smart card readers. Floppy drive: Connect to floppy or floppy image. Generic SCSI devices (such as tape libraries): Can be connected to additional SCSI adapters
3-15
2011 VMware Inc. All rights reserved
VM console icon
VM console
3-16
2011 VMware Inc. All rights reserved
3-17
2011 VMware Inc. All rights reserved
3-18
2011 VMware Inc. All rights reserved
Learner Objectives
After this lesson, you should be able to do the following: Create a virtual machine:
Configure the virtual machine options Install the guest operating system into the virtual machine Install VMware Tools into the guest operating system
3-19
2011 VMware Inc. All rights reserved
Methods for creating virtual machines: Use the Create New Virtual Machine wizard Import a virtual appliance
3-20
2011 VMware Inc. All rights reserved
3-21
2011 VMware Inc. All rights reserved
Information needed for a typical configuration: Virtual machine name and inventory location Location in which to place the virtual machine (cluster, host, resource pool) Datastore on which to store the virtual machines files Guest operating system and version Disk parameters for creating a new virtual disk:
Allocate and commit space on demand (Thin Provisioning) Support clustering features such as Fault Tolerance
3-22
2011 VMware Inc. All rights reserved
Virtual disk allocation140GB Available datastore capacity 100GB Used storage capacity 80GB
3-23
2011 VMware Inc. All rights reserved
Whether to store the virtual disk with the virtual machine or in a different datastore Virtual device node (for example, SCSI(0:0)) Mode-independent (persistent and nonpersistent)
For both the typical and the custom configurations: You can edit virtual machine settings before completing the task.
scsi0:0
scsi0:0
Raw Device Mapping (RDM) allows you to store virtual machine data directly on a LUN. The mapping file is stored on a VMware vSphere VMFS datastore that points to the raw LUN.
3-25
2011 VMware Inc. All rights reserved
3-26
2011 VMware Inc. All rights reserved
VMware Tools
Features of VMware Tools include:
Install VMware Tools into the guest operating system.
Device drivers:
SVGA display vmxnet/vmxnet3 Balloon driver for memory management Sync driver for quiescing I/O Improved mouse
Virtual machine heartbeat Time synchronization Ability to shut down virtual machine Adds additional choices to Perfmon DLL.
3-27
Virtual Appliances
Preconfigured virtual machines: Usually designed for a single purpose (for example, a safe browser or firewall) Deployed as an OVF template Available from the VMware Virtual Appliance Marketplace: http://www.vmware.com/appliances Use the VMware vSphere Client to upload appliances into VMware vCenter Server or an VMware ESXi host.
3-28
2011 VMware Inc. All rights reserved
Another way to deploy a virtual appliance or any virtual machine stored in OVF format: Deploy from an OVF template.
3-29
2011 VMware Inc. All rights reserved
Lab 3
In this lab, you will create, import, and prepare virtual machines for use. 1. Create a virtual machine. 2. Install a guest operating system in a virtual machine. 3. Identify a virtual machines disk format and usage statistics. 4. Install VMware Tools on a virtual machine installed with a Windows operating system. 5. Enable time synchronization between a virtual machine and an ESXi host 6. Copy programs from CDROM to your virtual machine.
3-30
2011 VMware Inc. All rights reserved
Configure the virtual machine options Install the guest operating system into the virtual machine Install VMware Tools into the guest operating system
3-31
2011 VMware Inc. All rights reserved
Key Points
Virtual machines can be provisioned using different methods. You can use the vSphere Client to create virtual machines using the Add Virtual Machine wizard or by deploying an OVF template.
Questions?
3-32
2011 VMware Inc. All rights reserved