Documente Academic
Documente Profesional
Documente Cultură
vCenter Server provides a central administration point for ESXi hosts and virtual machines
Up to 1,000 hosts per vCenter Server instance Up to 10,000 powered-on virtual machines per vCenter Server instance
Manage
VMware vSphere
VMware vSphere
VMware vSphere
vCenter Architecture
* *
ESXi host
ESXi host
ESXi host
distributed services
Additional Services : Update manager Orchestrator
database server
core services
VMware ESX/ESXi management
vSphere API
Deployed as a virtual appliance that runs the SuSE Linux operating system Reasons to use this deployment option:
No operating system license required Simple configuration using web browser Offers same user experience as Windows-based deployment
-OR-
Can be deployed on a physicial host or virtual machine Reasons to use this deployment option:
physical host
VMware vSphere 5: Quick Start Video Series
Staff trained only on Windows operating systems Prefer to use a physical host
Before beginning the vCenter Server installation, make sure that the following prerequisites are met: Ensure that vCenter Server hardware and software requirements are met. Ensure that the vCenter Server system belongs to a domain rather than a workgroup. Create a vCenter Server database, unless you are using the default database.
Hardware requirements (physical or virtual machine): Number of CPUs Two 64-bit CPUs or one 64-bit dual-core processor Processor 2.0GHz or higher Intel or AMD processor* Memory 4GB RAM minimum* Disk storage 4GB minimum* Networking Gigabit connection recommended * Higher if database runs on the same machine Software requirements: 64-bit operating system is required. See VMware Product Interoperability Matrixes at http://partnerweb.vmware.com/comp_guide2/sim/interop_matrix.php
Microsoft SQL Server 2008 R2 Express Oracle 10g R2 and 11g IBM DB2 9.5 and 9.7
DEMO
Use the VMware vCenter Installer to install vCenter Server and its components.
Install vCenter Server. Install VMware vSphere Update Manager
DEMO
DEMO
The vCenter Server Installation wizard asks for the following data.
Parameter User name and organization License key Database information SYSTEM account information Destination folder Standalone or join a Linked Mode group Ports JVM memory Ephemeral port configuration Description User identification Evaluation or valid license key Default database or remote database connection information User for running the vCenter Server service Software location Standalone instance or enable two or more vCenter Server inventories to be visible from the vSphere Client Ports used for communicating with client interfaces and managed hosts JVM memory configuration for the vCenter Server Web service Select if vCenter Server will manage hosts that power on more than 2000 virtual machines simultaneously
DEMO
After vCenter Server is installed, a number of services start upon reboot and can be managed from the Windows Control Panel (Administrative Tools > Services).
DEMO
To log in to vCenter Server: Launch the vSphere Client Enter the hostname or IP address of the vCenter Server system Windows user and password (Optional) Use your Windows session credentials.
Datacenter Object
To add an ESXi host to the vCenter Server inventory, use the Add Host wizard and specify: Fully qualified domain name User name and password Lockdown mode enabled
All AMD Opteron processors All Intel Xeon 3000/3200, 3100/3300, 5100/5300, 5200/5400, 5500/5600, 7100/7300, 7200/7400, and 7500 processors Up to 160 logical CPUs (cores or hyperthreads)
Memory 2GB RAM minimum One or more Ethernet controllers: Gigabit or 10Gb Ethernet controllers are supported. For best performance and security, use separate Ethernet controllers for the management network and the virtual machine networks. A SCSI adapter, Fibre Channel adapter, converged network adapter, iSCSI adapter, or internal RAID controller A SCSI disk, Fibre Channel LUN, iSCSI disk, or RAID LUN with unpartitioned space: SATA, SCSI, SAS
Disk storage:
Required/ Optional
Required Required Optional Optional Optional Optional Optional Optional Optional
Default Selection
None None U.S. English None DHCP Calculated based on IP address Based on IP address and subnet mask Based on IP address and subnet mask None
Comments
VLAN ID Range: 0 through 4094 Configure a static IP address or use DHCP to configure the network. IP address, subnet mask, gateway, and DNS network settings can be changed after installation. Secondary DNS server can also be defined. Must contain between 6 and 64 characters.
Installing ESXi
You must have the ESXi 5.0 ISO file on CD or DVD media. Boot from the CD or DVD to start the ESXi installer. Make sure that you select a disk that is not formatted with VMware vSphere VMFS.
Choose a volume that has not been formatted with VMFS.
VMware ESXi
Supported for Fibre Channel SAN Supported for iSCSI and FCoE for certain qualified storage adapters
SAN connections must be made through a switched topology unless the array is certified
for direct-connect.
The ESXi host must have exclusive access to its own boot LUN. Use different LUNs for VMFS datastores and boot partitions.
boot LUN
VMware vSphere 5: Quick Start Video Series
2012 VMware Inc. All rights reserved
Installing ESXi
DEMO
DEMO
Switching to DCUI
DEMO
DCUI
DEMO
Virtual Switches
vSphere virtual networking supports two types of virtual switches: vNetwork standard switches vNetwork distributed switches
Both types of virtual switches are modelled after physical Ethernet switches
NOTE:
You may at times see these referred to by their former names: Standard Virtual Switches and Distributed Virtual Switches.
Provide network connectivity to virtual machines Provides network connectivity for IP storage (NFS and iSCSI), vMotion, VMware FT, and the ESXi management network
VMkernel ports
vMotion
Prod
TestDev
DMZ
Mgmt.
Directs network traffic between virtual machines and links to external networks. NIC Teaming combines the bandwidth of multiple network adapters and balances traffic among them. It can also handle physical network interface card (NIC) failover.
Physical NIC
NOTE: vSphere labels physical NICs with names such as vmnic0. These are also sometimes referred to as uplinks.
VMware vSphere 5: Quick Start Video Series
2012 VMware Inc. All rights reserved
Physical Switch
External World
DEMO
DEMO
For each physical adapter, speed and duplex can be changed. You might need to set the speed and duplex for certain NIC and switch combinations.
DEMO
VLANs
ESXi supports 802.1Q VLAN tagging. Virtual switch tagging is one of three tagging policies supported. Packets from a virtual machine are tagged as they exit the virtual switch. Packets are untagged as they return to the virtual machine. Affect on performance is minimal. ESXi provides VLAN support by giving a port group a VLAN ID
DEMO
Storage Overview
datastore types
NFS
File system
storage technology
Direct Attached
Fibre Channel
FCoE
iSCSI
NAS
Storage Protocol
(for virtual machine swap files)
Datastore
A datastore is a logical storage unit that can use disk space on one physical device, or span several physical devices. host host Datastores are used to hold: Virtual machine files Templates ISOs Types of datastores: VMFS Network File System (NFS)
Datastore
VMware vSphere 5: Quick Start Video Series
DEMO
To create a VMFS datastore, use the Add Storage wizard: Select the storage type, Disk/LUN. Select an available LUN.
Specify a datastore name. Specify the datastore size: use full or partial LUN.
DEMO
Right-click the datastore in the hosts Summary tab or click the Storage link in the Configuration tab.
DEMO
Illustrate how to give a virtual machine a virtual disk that resides in a VMFS datastore.
Virtual disk allocation140GB Available datastore capacity 100GB Used storage capacity 80GB
An overcommitted datastore can occur when there are many thin-provisioned virtual disks that use close to their maximum allotted disk space. Actively monitor your datastore capacity: Alarms assist through notifications:
Actively manage your datastore capacity: Increase datastore capacity when necessary. Use vSphere Storage vMotion to mitigate space usage issues on a particular datastore.
DEMO
Show how to create a thin provisioned virtual disk in an existing virtual machine. Show how to determine whether a disk is thick or thin.
DEMO
Typical Configuration
DEMO
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
DEMO
DEMO
VMware Tools
Features of VMware Tools include:
DEMO
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.
Templates and cloning are techniques used to rapidly provision virtual machines. Both techniques duplicate existing virtual machines. When using either technique, guest customization can be performed.
VMware recommends customization of a clones guest operating system to prevent software and network conflicts. During cloning or deploying from template, you have the option of running the Guest Customization wizard. The wizard lets you create a specification that you can use to prepare the guest operating systems of virtual machines. Specifications can be stored in the vCenter database. You can edit specifications in the Customization Specifications Manager.
DEMO
Using Templates
A template is a master copy of a virtual machine used to create and provision new virtual machines. The template is an image that typically includes a guest operating system, a set of applications, and a specific virtual machine configuration.
Creating a Template
DEMO
Clone the virtual machine to a template. The virtual machine can either be powered on or powered off. Convert the virtual machine to a template. The virtual machine must be powered off.
Viewing Templates
DEMO
Two ways to view templates: Use the VMs and Templates inventory view. Use the Virtual Machines tab in the Hosts and Clusters inventory view.
DEMO
To deploy a virtual machine, you must provide such information as the virtual machine name, inventory location, host, datastore, and guest operating system customization data.
DEMO
Updating a Template
DEMO
To update a template: 1. Convert the template to a virtual machine. 2. Place the virtual machine on an isolated network to prevent user access. 3. Make appropriate changes to the virtual machine. 4. Convert the virtual machine to a template.
Cloning is an alternative to deploying a virtual machine. A clone is an exact copy of the virtual machine. The virtual machine being cloned can either be powered on or powered off.
DEMO
DEMO
vSphere HA protects against three types of failures ESXi host failures Guest OS failures Application failures
virtual machine A virtual machine A virtual machine B virtual machine C virtual machine D
If a host fails, vSphere HA restarts the affected virtual machines on other hosts.
ESXi host
ESXi host
ESXi host
= vSphere HA cluster
vCenter Server
VMware vSphere 5: Quick Start Video Series
= Heartbeat
virtual machine A
VMware tools
virtual machine C
VMware tools
virtual machine E
VMware tools
virtual machine B
VMware tools
virtual machine D
VMware tools
virtual machine F
VMware tools
If a virtual machine stops sending heartbeats, vSphere HA resets the virtual machine. Requires VMware Tools.
ESXi host
ESXi host
ESXi host
= vSphere HA cluster
vCenter Server
VMware vSphere 5: Quick Start Video Series
= Heartbeat
application
virtual machine A
application
virtual machine C
application
virtual machine E
application
virtual machine B
application
virtual machine D
application
virtual machine F
If an application fails, vSphere HA restarts the affected virtual machine on the same host. Requires VMware Tools.
ESXi host
ESXi host
ESXi host
= vSphere HA cluster
vCenter Server
VMware vSphere 5: Quick Start Video Series
= Heartbeat
Enabling vSphere HA
DEMO
Enable vSphere HA by creating a cluster or modifying a vSphere Distributed Resource Scheduler (DRS) cluster.
DEMO
DEMO
Host Isolation response determines what happens to virtual machines when a host loses the management network but continues running.
DEMO
Reset a virtual machine if its VMware Tools heartbeat or VMware Tools application heartbeats are not received.
DEMO
How much CPU and memory resources is the cluster using now? How much reserved capacity remains?
DEMO
Before changing the networking configuration on the ESXi hosts (adding port groups, removing vSwitches): Deselect Enable Host Monitoring. Place the host in maintenance mode. These steps prevent unwanted attempts to fail over virtual machines.
Best Practices
Maintenance mode before shutdown/reboot Uncheck checkbox before performing maintenance on heartbeat network Redundant heartbeat network
Best Practices
You can use NIC teaming to create a redundant heartbeat network on ESXi hosts.
vMotion Migration
A vMotion migration moves a powered-on virtual machine from one host to another. vMotion can be used to: Improve overall hardware utilization Allow continued virtual machine operation while accommodating scheduled hardware downtime Allow vSphere Distributed Resource Scheduler (DRS) to balance virtual machines across hosts
VMware vSphere 5: Quick Start Video Series
2012 VMware Inc. All rights reserved
VM A
A virtual machine must not have a connection to a virtual device (such as a CD-ROM or floppy drive) with a local image mounted. A virtual machine must not have a connection to an internal vSwitch (vSwitch with zero uplink adapters). A virtual machine must not have CPU affinity configured. If the virtual machines swap file is not accessible to the destination host, vMotion must be able to create a swap file accessible to the destination host before migration can begin. If a virtual machine uses an RDM, the RDM must be accessible by the destination host.
Source and destination hosts must have: Visibility to all storage (Fibre Channel, iSCSI, or NAS) used by the virtual machine At least a Gigabit Ethernet network:
Four concurrent vMotion migrations on a 1Gbps network Eight concurrent vMotion migrations on a 10Gbps network
Title
DEMO
Demonstrate creating vmkernel ports on both hosts Demonstrate successful vMotion migration
DEMO
DEMO
One way to identify CPU characteristics is to use the VMware CPU identification utility.
DEMO
There are several methods which can be used to address vMotion CPU compatibility requirements: Procure servers with identical CPUs Compatibility masking in the vSphere Client Enhanced vMotion Compatibility (EVC)