Professional Documents
Culture Documents
Vmware Integration: Brkdct-2868
Vmware Integration: Brkdct-2868
BRKDCT-2868
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 3
Migration
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 4
OS OS OS
Virtual
Machines
VM Vi
Virtualization
li i Layer
L
Physical Hardware
CPU …
ESX Server Host
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 5
VMware HA Clustering
App1 App2
ESX Host
H t1 ESX Host
H t2 ESX Host 3
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 6
App1
App1 App2 App3 App4 App5 App2
ESX Host
H t1 ESX Host
H t2 ESX Host 3
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. Cisco Confidential 7
Agenda
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 8
vNIC vSwitch0
VM_LUN_0007
vmnic0
VM_LUN_0005
vNIC
vmnic1
Virtual Ports
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 9
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 10
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 11
vSwitch Creation
vNICs
vswitch
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 12
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 13
No ESX configuration
Virtual NIC’s
required as the server is
not tagging
VMkernel ESX
NIC VSwitch A VSwitch B The number of VLAN’s
Server supported is limited to
VMkernel the number of physical
NIC’s
C s in tthe
e se
server
e
Physical NIC’s
Physical
Switches VLAN 100 VLAN 200
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 14
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 17
vSwitch Uplinks
NIC Teaming
NIC Teaming
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 18
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Design Example
2 NICs, VLAN 1 and 2, Active/Standby
802.1q 802.1q
Port-Group 1 Vlan 1,2 Vlan 1,2
VLAN 2
vSwitch0
Port-Group 2
VLAN 1
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 20
CBS-left CBS-right
VMNIC0 VMNIC1
Port-Group1 Port-Group2
vSwitch0
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 22
ESX server
vmnic0 vmnic1
vSwitch
Port-Group
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Active/Active
IP-Based Load Balancing
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 24
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 25
CBS-left CBS-right
Port-Group1 Port-Group2
vSwitch1
802.1q 802.1q
Vlan 1,2 Vlan 1,2
vmnic0 vmnic1
vSwitch0
Port-Group 1
VLAN 2
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Broadcast/Multicast/Unknown Unicast
Forwarding in Active/Active (2)
802.1q 802.1q
Vlan 1,2 Vlan 1,2
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 28
E.g. HSRP?
NIC1 NIC2
vSwitch
VM1 VM2
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Catalyst1 Catalyst2
802.1q
1 802.1q
2
ESX server1
VMNIC1 VMNIC2
vSwitch
VM5 VM7
.5 .7
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 30
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 31
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 32
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 33
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Trunks
VMNIC1 VMNIC2
Port-Group Port-Group Port-Group
1 2 3
vSwitch 0
Global
Active/Active
VST
Service
VM1 VM2 VM Kernel
Console
HBA1 HBA2
Active/Standby Active/Standby
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public Vmnic1/vmnic2 Vmnic2/vmnic1 36
Trunks
VMNIC1 VMNIC2
Port-Group Port-Group Port-Group
1 2 3
vSwitch 0
Global
Active/Standby
Vmnic1/vmnic2
VST
Service
VM1 VM2 VM Kernel
Console
HBA1 HBA2
Active/Standby Active/Standby
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public Vmnic2/vmnic1 Vmnic2/vmnic1 37
Trunkfast 802.1q:
BPDU guard Production,
SC, VMKernel No Blocked Port,
No Loop
Catalyst1 Catalyst2
vSwitch vSwitch
ESX server1 ESX server 2
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Rapid PVST+
Trunkfast
BPDU guard
Typical Spanning-Tree
V-Shape Topology
802.1q:
802 1q: All NICs are used
Production, 802.1q Traffic distributed
SC, VMKernel On all links
1 4
2 3
vSwitch
ESX server1 ESX server 2 vSwitch
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 39
VMNIC1
Redundant Production
VMNIC2 VMNIC3 ESX Server
VC cannot
Active/Active control ESX Host Isolates VMKernel
Vmnic1/vmnic2 vswitch
HBA1 HBA2
If this is part of a DRS cluster
It prevents automatic migration
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 40
Redundant SC and
P d ti
Production SC, VMK
SC VMKernelSC
l swaps to vmnic4
VMKernel Connectivity
VLANs VLANs
All links
Production andused
Management
Active/Active
Vmnic1/vmnic3G
Go through
h h chipset
hi 2 vswitch
“Dedicated NICs” for SC VMKernel
Production swaps to vmnic2
and Management
And VMKernel Go through chipset1
Port-Group 1
Production
Service Traffic
VM Kernel
Console
Continues on vmnic1
HBA1 HBA2
Active/Standby Active/Standby
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public Vmnic2/vmnic4 Vmnic4/vmnic2 41
Trunkfast 802.1q:
BPDU guard Production, No Blocked Port,
SC, VMKernel No Loop
Catalyst1 Catalyst2
q
802.1q: 802.1q:
Production SC and VMKernel
1 2 7 8
3 6
4 5
ESX server1 ESX server 2
vSwitch vSwitch
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Trunkfast
BPDU guard
Typical Spanning-Tree
V-Shape Topology
Catalyst1 Catalyst2
802.1q:
802 1q
Production 802.1q:
SC and VMKernel
1 2
3 6 7 8
4 5
vSwitch vSwitch
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 43
How About?
802.1q: Secondary
root Production, SC, VMKernel root
Trunkfast
BPDU guard
Typical Spanning-Tree
V-Shape Topology
Catalyst1 Catalyst2
802.1q:
802 1q
Production 802.1q:
SC and VMKernel
1 2
3 6 7 8
ESX server1 4 5 ESX server 2
vSwitch vSwitch
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 44
802.1q:
802.1q:
6 8 SC, VMKernel
Production
1 3 7
2 5
4
vSwitch vSwitch
ESX server1 ESX server 2
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 45
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 46
Virtual
Machines
…
ESX Server Host
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 47
VMotion L2 Design
Rack1
Rack10
vmnic0 vmnic2
vmnic0 vmnic1 vmnic2 vmnic3
vSwitch0 vSwitch2
vSwitch0 vSwitch1 vSwitch2
vmkernel
vmkernel Service
console
ESX Host 1
ESX Host 2 VM4 VM5 VM6
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Recommendations:
EMC/Legato AAM based
Have 2 Service Console on
HA Agent runs in every host redundant
d d paths
h
Heartbeats Unicast UDP port Avoid losing SAN access (e.g. via
~8042 (4 UDP ports opened) iSCSI)
Hearbeats run on the Service Make sure you know before hand
Console ONLY if DRS is activated too!
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 49
HA clustering (2)
Prod 10.0.100.0
vmnic0 vmnic0
VM1 VM2
VM1 VM2
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 51
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 52
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 53
VD1 VD2
VD3 VD4 VD5
Provides services such as snapshots
VSCSI VSCSI
Disklib Disklib
ESX
VMFS Storage Stack ESX
VMFS Storage Stack
LVM LVM Provisions logical containers
SAN switch
Clustered host-based VM and filesystem
Analogous to how VI3 virtualizes servers
Looks like a SAN to VMs
LUN 1 LUN 2 LUN 3 A network of LUNs
Presented to a network of VMs
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 54
VMFS1
LUN1
The LUN(s) are presented to an ESX Server cluster via standard LUN masking and zoning
VMFS is a clustered volume manager and filesystem that arbitrates access to the shared LUN
Data is still protected so that only the right application has access. The point of control moves from the SAN to the vmkernel,
but there is no loss of security.
ESX Server creates virtual machines (VMs), each with their own virtual disk(s)
The virtual disks are really files on VMFS
Each VM has a virtual LSI SCSI adapter in its virtual HW model
Each VM sees virtual disk(s) as local SCSI targets – whether the virtual disk files sit on local storage, iSCSI, or fiber channel
VMFS makes sure that only one VM is accessing a virtual disk at one time
With VMotion, CPU state and memory are transferred from one host to another but the virtual disks stay still
VMFS manages the transfer of access from source to destination ESX Server
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Datastores
VMFS Vols ESX Server
(LUNs)
Storage Array
Physical
disks
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 56
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 57
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 58
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 59
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 60
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 61
iSCSI—Considerations
Uses standard NAS infrastructure
Best Practice to
Have dedicated LAN/VLAN to isolate from other network
traffic
Use GbE or faster network
Use multiple NICs or iSCSI HBAs
Use iSCSI HBA for performance environments
Use SW initiator for cost sensitive environments
Supports all VI 3 features
Vmotion, DRS, HA
ESX boot from HW initiator only
VCB is in experimental support today – full support shortly
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 62
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 64
iSCSI vs. FC
What is the trade off?
File system vs. LUN snapshots (host or array vs. Vmware VMFS
snapshots) – which to pick?
Scalability (factors to consider)
# hosts, dynamic adding of capacity, practical vs. physical limits
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 66
Ease of provisioning
Ease of on-going management
Performance optimization
Scalability – Head room to grow
Function of 3rd Party services
Remote Mirroring
Backups
Enterprise Systems Management
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 69
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 70
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 71
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 72
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 73
RAW VMFS
RAW may give better Leverage templates and
performance quick provisioning
RAW means more LUNs Fewer LUNs means you
More provisioning time don’t have to watch Heap
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 75
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 76
IP
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 77
VM VM VM VM VM VM
FC FC SCSI
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 79
array “LUN
LUN masking and mapping”,
mapping , it is
Virtual
Serve
Storage Array
Hypervisor
Mapping
FC
HW
pWWN-P FC
pWWN-P
FC FC FC FC
FC
NP_Port
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 81
maintained within a
VMFS file RDM
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 82
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 83
Q and A
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 84
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 85
Recommended Reading
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 86
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 87
BRKDCT-2868
14490_04_2008_c2 © 2008 Cisco Systems, Inc. All rights reserved. Cisco Public 88