vmug boston - building a vmware network for nfs storage
TRANSCRIPT
Who is Chris Wahl? • VMware Certified Design Expert (VCDX) #104 ▫ Data Center and Network Virtualization
• Tech, Lab, Certs, Reviews, Videos ▫ WahlNetwork.com
• CCNA Data Center & vCloud Courses ▫ Pluralsight.com
• Virtualization User Podcast as a Service ▫ VUPaaS.com
Networking for VMware Administrators Paperback, Kindle, eBook, EPUB, MOBI, PDF 100% of my profits go to Alzheimer’s Association
Hypervisors Break Block Storage • The “IO Blender” • Remediation Tricks ▫ vSphere APIs for Array Integration (VAAI) ▫ Atomic Test and Set (ATS) ▫ Virtual Volumes
• OS & Apps Don’t Speak Block
Default Gateway 10.10.10.1 /24
Routing Choices
10.10.10.10 /24 20.20.20.20 /24 30.30.30.30 /24
vmk0 vmk1 vmk2
Routing Table
Data Network
10.10.10.50? 20.20.20.50? 40.40.40.50?
Building an IP Storage Network
IP Storage Port Group Active / Active Uplinks
vmnic1 vmnic2
IP Storage Network 30.30.30.0 /24
vmk1 30.30.30.50 /24
Building an IP Storage Network
IP Storage Port Group Active / Active Uplinks
vmnic1 vmnic2
IP Storage Network 30.30.30.0 /24
vmk1 30.30.30.50 /24
Building an IP Storage Network
IP Storage Port Group Active / Active Uplinks
vmnic1 vmnic2
IP Storage Network 30.30.30.0 /24
vmk1 30.30.30.50 /24
Hash Algorithm • Source and Destination Variation ▫ MAC Address (Layer 2) ▫ IP Address (Layer 3) ▫ Port (Layer 4) ▫ VLAN ID
Hash Results • Changes? ▫ IP Address ▫ MAC Address ▫ Port Number ▫ VLAN ID
• Nope ▫ Same hash results
vmnic1 vmnic2
Storage Target 30.30.30.60 /24
vmk1 30.30.30.50 /24
Multiple Uplinks with IO • Two Methods Available ▫ Link Aggregation + Virtual IPs ▫ Multiple VLANs + Virtual IPs
• Virtual IPs (VIPs) ▫ Storage Array Support Required ▫ Occasionally “Virtual Interfaces (VIFs)”
Least Significant Bit (Not Magic) 2 Uplinks
– Last bit
– 0,1
3 to 4 Uplinks
– Last 2 bits
– 00, 01, 10, 11
5 to 8 Uplinks
– Last 3 bits
– 000,001,010,etc
Link Aggregation Framework • Binary 0 ▫ vmnic1
• Binary 1 ▫ vmnic2
• Single Volume ▫ (Double Mount)
vmnic1 vmnic2
VIP-1 30.30.30.60 /24
vmk1 30.30.30.50 /24
VIP-2 30.30.30.61 /24
Datastore1 Datastore2 Volume1
Link Aggregation Framework • Binary 0 ▫ vmnic1
• Binary 1 ▫ vmnic2
• Two Volumes ▫ Unique mounts
vmnic1 vmnic2
VIP-1 30.30.30.60 /24
vmk1 30.30.30.50 /24
VIP-2 30.30.30.61 /24
Datastore1 Datastore2 Volume1 Volume2
Multiple VLAN Framework • VLAN 30 ▫ vmnic1
• VLAN 40 ▫ vmnic2
vmnic1 vmnic2
VIP-1 30.30.30.60 /24
VIP-2 40.40.40.60 /24
Datastore1 Datastore2 Volume1
vmk2 40.40.40.50 /24
vmk1 30.30.30.50 /24
Multiple VLAN Framework • VLAN 30 ▫ vmnic1
• VLAN 40 ▫ vmnic2
vmnic1 vmnic2
VIP-1 30.30.30.60 /24
VIP-2 40.40.40.60 /24
Datastore1 Datastore2
vmk2 40.40.40.50 /24
vmk1 30.30.30.50 /24
Volume1 Volume2