vmug boston - building a vmware network for nfs storage

35

Upload: chris-wahl

Post on 18-Jul-2015

156 views

Category:

Technology


1 download

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

Social Media

What is a Network File System? A combination of animal, vegetable, and mineral

A Protocol NFS Client

NFS Server

File System (EXT, FAT, ZFS, NTFS)

IP

A Protocol Client Daemon

Server Daemon

Shared Folder(s)

IP

Remote Procedure Calls (RPC)

IP

Procedures create commit read write remove rename

NFS Datastore

Datastore VM Files

UUID

ESXi Host ESXi Host ESXi Host

IP or DNS Path

Virtual Machine Perspective

VMware vSCSI Controller

VMware Virtual Disk Device

NFS Support

NFS Support Caveats • NFS within Guest OS • NFS as Back-End Protocol (vSphere) ▫ Exchange is Fussy

NFS Versions

NFS 4.1

Block, File, and Object Why should we care?

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

Pre-Virtualization Server Server Server

LUN LUN LUN

Storage Array

LUN

Post-Virtualization (Block) Server Server Server

Blocks Blocks Blocks

Hypervisor

Storage Array

Volume

Post-Virtualization (File) Server Server Server

Files Files Files

Hypervisor

Storage Array

Network Design Building castles in the sky

Routing Table

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

IP Storage Tips • Dedicated VMK(s) • Dedicated VLAN(s) • Avoid Routing • iSCSI VMK Binding

The End?

Let’s connect @ChrisWahl WahlNetwork.com Pluralsight.com YouTube.com/WahlNetwork