Day 1 - 2 Vsphere Design and Deploy Agenda
Day 1 - 2 Vsphere Design and Deploy Agenda
Day 1 - 2 Vsphere Design and Deploy Agenda
3
Before we Start Please note
Do you know HCL ??
Do you Know Compatibility Matrix ??
Did you ever hear about Vmware Interoperability matrix ??
If you are Vmware partner !! Do you know the Salesforce ??
You should have the following tools in your ToolBox
Capacity Planning Tools (VMware Capacity Planner - Microsoft Assessment and Planning Toolkit MAP
Ongoing Capacity Management (esxtop vscsiStats )
Performance Benchmarking Tools (Vmmark )
Performance Simulation Tools (Prime97 Iometer - I/O Analyzer Iperf)
4
Design Factors
Availability
HA, database clustering, load balancing, etc
Manageability
Windows vs. Appliance (Linux based) vCenter, web client, command line tools, etc
Performance
Virtual machine resources, network speed, storage backend, etc
Security
User roles/permissions, lockdown mode, etc
6
Architecture Overview
8
High-Level VMware vSphere Architectural Overview
VMware vSphere
Availability Scalability
Manage VMware vSphere vMotion
DRS and DPM
Application VMware vSphere Storage
vMotion Hot Add
Services VMware vSphere High Over
Availability Commitment
VMware vSphere FT
VMware Data Recovery
Content Library
Cluster
Storage Network
vSphere VMFS
VMware Virtual Standard vSwitch
Infrastructure ESXi ESXi ESXi Volumes Distributed vSwitch
Services VMware vSAN VMware NSX
Thin Provisioning VMware vSphere
Network I/O Control
vSphere Storage I/O
Control
9
Physical Resources
VMware ESXi
ESXi 6.5
11
ESXi Architecture
CLI Commands
for Configuration
ESXi Host
And Support
Agentless Agentless
Systems Hardware
Management Monitoring
VMkernel
13
Components of ESXi (cont.)
Direct Console User Interface
Low-level configuration and management interface, accessible through the console of the server, used
primarily for initial basic configuration
Virtual Machine Monitor
Process that provides the execution environment for a virtual machine, as well as a helper process
known as VMX. Each running virtual machine has its own VMM and VMX process
VMware Agents (hostd and vpxa)
Used to enable high-level VMware Infrastructure management from remote applications
14
ESXi 6.5 System Requirements
When installing or upgrading to ESXi 6.5, ensure that the host meets these minimum hardware
configurations supported by ESXi 6.5 :
Compatible hardware:
Ensure your hardware is compliant on the VMware Compatibility Guide. This includes:
System compatibility - I/O compatibility (Network and HBA cards) - Storage compatibility
Compatible CPU:
Your hosts must have a supported and compatible processor. VMware ESXi 6.5 requires:
A host with 2 or more CPU cores - A 64-bit x86 processor released -To support 64-bit virtual machines,
support for hardware virtualization (Intel VT-x or AMD RVI) must be enabled on x64 CPUs.
Sufficient memory: Your hosts must have at least 4 GB of RAM, 8 GB of RAM is recommended to take
advantage of all features and run virtual machines in a typical production environment.
Sufficient network adapters: Your host has one or more Gigabit or faster Ethernet controllers.
15
ESXi 6.0 System Requirements
Storage requirements
1 Gigabyte+ boot device: Installing or upgrading to ESXi 6.5 requires a minimum of a 1 GB boot
device.
4 GB extra for scratch partition: When booting from a local disk, a SAN or an iSCSI LUN, a 5.2
GB disk is required to allow for the creation of the VMFS volume and a 4 GB scratch partition on
the boot device.
16
LOOK AT the Architecture Design
17
ESXi Best Practices
For in depth ESXi and other component practices, read the Performance Best Practices Guide
(http://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/vmware-
perfbest-practices-vsphere6-5-white-paper.pdf or
http://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/vmware-
perfbest-practices-vsphere6-0-white-paper.pdf)
Always set up the VMware vSphere Syslog Collector (Windows) / VMware Syslog Service
(Appliance) to remotely collect and store the ESXi log files
Always set up the VMware vSphere ESXi Dump Collector Service to allow dumps to be
remotely collected in the case of a VMkernel failure
Ensure that only the firewall ports required by running services are enabled in the Security
profile
Ensure the management network is isolated from the general network (VLAN) to decrease the
attack surface of the hosts
Ensure the management network has redundancy through NIC Teaming or by having multiple
management interfaces
Ensure that the ESXi Shell and SSH connectivity are not permanently enabled
18
Virtual Machines
Virtual Machines
Virtual Machine
The software computer and consumer of
resources that ESXi is in charge of App App App
VMs are containers that can run any almost
Operating System
any operating system and application.
Segregated environment which does not
cross boundaries unless via network or Network /
CPU RAM Disk
otherwise permitted through SDK access Video Cards
20
Virtual Machine Architecture
Virtual machines consist of files stored on a vSphere VMFS or NFS datastore
Configuration file (.vmx)
Swap files (.vswp)
BIOS files (.nvram)
Log files (.log)
Template file (.vmtx)
Raw device map file (<VM_name>-rdm.vmdk)
Disk descriptor file (.vmdk)
Disk data file (VM_name>-flat.vmdk)
Suspend state file (.vmss)
Snapshot data file (.vmsd)
Snapshot state file (.vmsn)
Snapshot disk file (<VM_name>-delta.vmdk)
21
LOOK AT the Architecture Design first
22
Virtual Machine Best Practices
Virtual machines should always run VMware Tools to ensure that the correct drivers are
installed for virtual hardware
Right-size VMs to ensure that they use only required hardware. If VMs are provisioned with an
over-allocation of resources that are not used, ESXi host performance and capacity is reduced
Any devices not being used should be disconnected from VMs (CD-ROM/DVD, floppy, and so
on)
If NUMA is used on ESXi, VMs should be right-sized to the size of the NUMA nodes on the host
to avoid performance loss
VMs should be stored on shared storage to allow for the maximum vSphere vMotion
compatibility and vSphere High Availability configurations in a cluster
Memory/CPU reservations should not be used regularly because they reserve the resource and
can prevent the VMware vSphere Hypervisor from being able to take advantage of over
commitment technologies
VMs partitions should be aligned to the storage array partition alignment
Storage and Network I/O Control can dramatically help VM performance in times of contention
23
VMware vCenter Server
VMware vCenter 6.5
vCenter is the management platform for
vSphere environments
Provides much of the feature set that comes
with vSphere, such as vSphere High
Availability
Also provides SDK access into the
environment for solutions such as VMware
vRealize Automation
vCenter Server is available in two flavors
vCenter for Windows
vCenter Server Appliance
A single vCenter Server running version 6.5
can manage
2000 hosts
25,000 virtual machines
25
vCenter 6.5 Architecture
All services are
In vCenter 6.5, the architecture has changed dramatically compared to 5.x provided from eit
Provided by Platform Services Controllers a
VMware vCenter Single Sign-On
Platform Service
Controller or
License service
vCenter Serve
Lookup service VMware Directory Services
instance
VMware Certificate Authority
Provided by vCenter Server Service
vCenter Server
VMware vSphere Web Client
VMware vSphere Auto Deploy
VMware vSphere ESXi Dump Collector
vSphere Syslog Collector on Windows and vSphere Syslog Service for
VMware vCenter Server Appliance
vSphere Update Manager (included with appliance only)
26
Minimum requirements for the VMware vCenter Server 6.x Appliance
27
Other Considerations
The VCSA with embedded PSC requires the following hardware resources (disk can be thin
provisioned)Tiny (up to 10 hosts, 100 VMs) 2 CPUs, 10 GB RAM.
Small (up to 100 hosts, 1000 VMs) 4 CPUs, 16 GB RAM.
Medium (up to 400 hosts, 4000 VMs) 8 CPUs, 24 GB RAM.
Large (up to 1000 hosts, 10,000 VMs) 16 CPUs, 32 GB RAM.
X-Large (up to 2000 hosts, 35,000 VMs) 24 CPUs, 48 GB RAM new to v6.5.
Where the PSC is deployed as a separate appliance this requires 2 CPUs, 4 GB RAM, 60 GB
disk.
Environments with ESXi host(s) with more than 512 LUNs and 2048 paths should be sized
large or x-large.
28
VMware vSphere 6.5 Configuration Maximums
VMware Virtual Machine Maximums
vCenter Server
30
vCenter Server 6.5 with an Embedded Platform Services
Controller
31
vCenter Server 6.5 with an External Platform Services Controller
32
vCenter 6.5 Architecture (cont.)
These architectures are Recommended
Enhanced Linked Mode is a major feature that impacts the architecture
When using Enhanced Linked Mode it is recommended to use an external Platform Service Controller
For details about architectures that VMware recommends and the Implications of using them, see
VMware KB article, List of Recommended topologies for vSphere 6.x (2108548)
(http://kb.vmware.com/kb/2108548)
Virtual Machine or Server Virtual Machine or Server
Platform Services
Controller
Virtual Machine or Server
Load Balancer
vCenter Server
35
Platform Services Controller Instances Across Two Sites
You can use a third-party load balancer per site to configure Platform Services Controller high
availability with automatic failover for this site
36
vCenter 6.5 Architecture (cont.)
Enhanced Linked Mode has the following maximums
The architecture should also adhere to these maximums to be supported
Maximum Platform Services Controllers per vSphere site (behind a single load balancer) 4
37
vCenter Architecture vCenter Server Components
Platform Services
Controller (Including
vCenter Single Sign-On)
ESXi hosts
Migration
Support!
39
vCenter Best Practices
Verify that vCenter, the Platform Services Controller, and any database have adequate CPU,
memory, and disk resources available
Verify that the proper inventory size is configured during the installation
Minimize latency between components (vCenter and Platform Services Controller) by
minimizing network hops between components
External databases should be used for large deployments
If using Enhanced Linked Mode, VMware recommends having external Platform Services
Controllers
Verify that DNS is configured and functional for all components
Verify that time is correct on vCenter and all other components in the environment
VMware vSphere Update Manager for Windows should be installed on a separate system if
inventory is large
40
vCenter Best Practices
-The performance of vCenter Server is dependent in large part on the number of managed
entities
-keep to a minimum the number of network hops between the vCenter Server system and the
vCenter Server database.
- network latency between vCenter Server and the hosts it manages can impact the
performance of operations involving those hosts.
- vSphere Web Client Server and the vCenter Inventory Service can be run on the same system
as vCenter Server but, for maximum performance on heavily-loaded vCenter systems, consider
running the vSphere Web Client Server on a separate system.
41
vCenter High Availability
vCenter Architecture Overview
A vCenter HA cluster consists of three vCenter Server Appliance instances. The first instance,
initially used as the Active node, is cloned twice to a Passive node and to a Witness node.
Together, the three nodes provide an active-passive failover solution.
1. Active
1. Runs the active vCenter Server Appliance instance
2. Uses a public IP address for the management interface
3. Uses the vCenter HA network for replication of data to the Passive node.
4. Uses the vCenter HA network to communicate with the Witness node
2. Passive
1. Is initially a clone of the Active node
2. Constantly receives updates from and synchronizes state with the Active node over the vCenter HA
network
3. Automatically takes over the role of the Active node if a failure occurs
3. Witness
1. Is a lightweight clone of the Active node
2. Provides a quorum to protect against a split-brain situations
43
Native vCenter High Availability
vCenter vCenter
DB and File
Required network configuration (Active)
Replication
(Passive)
Private IP Private IP
eth0 public network
eth1 private network (added during configuration)
need to re-login
44
vCenter High Availability
45
vCenter HA Hardware and Software Requirements
46