Академический Документы
Профессиональный Документы
Культура Документы
.
, ,
.
Netwell NetApp.
NetApp
VMware vSphere
Vaughn Stewart, Larry Touchette, Mike Slisinger, Peter Learmonth,
Sitakanta Chaudhury, Julian Cates, NetApp
2010 | TR-3749 | Version 3.0
:
NetApp
NetApp
VMware vSphere 4.x 5.0.
Ethernet (iSCSI, NFS, FCoE),
, ,
NetApp vCenter NetApp Virtual
Storage Console 2.x.
1 .................................................................................................................................................. 7
1.1 ............................................................................................................................ 7
1.2 .................................................................................................................................. 7
1.3 ........................................................................................................................... 8
1.4 ........................................................................................................................ 8
2 VMware ................................................................................................... 8
2.1 .......................................................... 8
2.2 ................................................................. 9
2.3 '80/20' ................................................................................................................................. 9
......................................................................................... 9
( ) ............................................... 9
2.4 VMFS..............................................................................................................................10
Spanned VMFS............................................................................................................11
VMFS LUN NetApp.......................................................................................................11
2.5 NFS .................................................................................................................................12
NFS NetApp .................................................................................................................12
2.6 Raw Device Mapping ........................................................................................................................13
RDM LUN NetApp ...........................................................................................................................13
2.7 ......................................................................14
2.8 VMware ........................................................................................15
Thick ...........................................................................................................15
Thin ............................................................................................................16
Eager Zeroed Thick ....................................................................................16
2.9 ..........................................................................17
2.10 Thin Provisioning .................................................................................................18
Thin Provisioning NetApp .....................................................................................................18
2.11 .............................................................................18
VMFS RDM LUN ........................................................................20
NFS.................................................................20
VMware .........................................................................................21
2.12 vStorage Array Integration VMware vSphere .............................................................................21
vStorage APIs for Array Integration (VAAI) .........................................................................................21
Storage I/O Control (SIOC) ..................................................................................................................22
....................................................................23
2
3 .................................................................................................25
......................................................25
3.1 SAN NAS .................................................................................................25
3.2 Fibre Channel ............................................................................................26
........................................................................................................26
......................................................................................26
3.3 Ethernet.....................................................................27
VLAN Tagging 802.1Q...................................................................................................................27
Flow Control ........................................................................................................................................27
Spanning Tree ....................................................................................................................29
IP- .................................................................................................30
Jumbo Frames .................................................................................................................30
Ethernet .................................................32
NetApp Virtual Interfaces (EtherChannel)...........................................................................................32
3.4 Cisco Nexus 1000V VNetwork Distributed Switch............................................................................33
Cisco Nexus 1000V System VLAN ........................................................................................................33
Jumbo Frames .................................................................................................................33
3.5 IP-, ..............................34
3.6 Multiswitch Link Aggregation .................................................36
MSLA .........................................................................................................................36
.....................................................................................................................36
IP- NetApp................................................................37
VMkernel ESX/ESXi ............................................41
3.7 Ethernet- ...............................43
Single Mode.........................................................................................................................................43
Single Mode EtherChannel .............................................................43
Single Mode EtherChannel ...................................................................43
multimode .........................................................44
.....................................................................................44
VMkernel .............................................................................................................44
ESX iSCSI ......................................45
ESX NFS........................................46
............................................................................................................................46
IP- NetApp................................................................46
VMkernel ESX/ESXi ............................................50
3
7.1 , ......................................................................95
7.2 NetApp ...........................................................96
8 vSphere 5............................................................................................................................99
8.1 VMware ESXi ....................................................................................................................................99
8.2 VMware vCenter Server ...................................................................................................................99
8.3 ..............................................................................................................100
8.4 Host Profiles ...................................................................................................................................101
9 vSphere 5 ............................................................................................................................101
9.1 ..................................................................................................101
9.2 VMFS 5............................................................................................................................................103
9.3 NFS vSphere 5 .......................................................................................................104
NFS Heap Memory ..............................................104
..................................................................................104
IP- NFS ............................................104
9.4 Storage Distributed Resource Scheduler (Storage DRS) ................................................................105
Datastore Cluster (PODs) ..................................................................................................................105
Storage DRS ..............................................107
.....................................................................................................108
(Affiity Rules) Maintenance Mode......................................109
SDRS Data ONTAP................109
NetApp Snapshot SDRS ..................................................................................................................110
NetApp SDRS ........................................................................................................110
NetApp Datastore Thin Provisioning SDRS.....................................................................................111
9.5 vSphere Storage I/O Control ..........................................................................................................111
10 vSphere 5 ....................................................................................................................112
10.1 vSphere Standard vSwitches ........................................................................................................112
MTU/Jumbo Frames ..........................................................................................................................112
Flow Control ......................................................................................................................................113
10.2 Multiple TCP Sessions iSCSI...........................................................114
11 ...............................................................................................................................................120
12 .............................................................................................121
...................................................................................................................................................121
NetApp ..................................................................................................................................................121
VMware .................................................................................................................................................122
13 ............................................................................................................................123
6
1
Virtual Infrastructure
1.1
NetApp
, .
, ,
, ,
,
.
NetApp
VMware vSphere. NetApp VMware
2001 . NetApp
Data ONTAP ESX/ESXi Server.
.
.
1.2
, , ,
. NetApp VMware ,
, , , ,
,
,
, . NetApp ,
( )
.
NetApp VMware vSphere. ,
,
NetApp, NetApp c vSphere.
: NetApp vSphere Data ONTAP
7.3.1.1 . Data ONTAP,
.
, NetApp professional services
, .
7
, .
1.3
, NetApp
Technical Library ,
, VMware Virtual Infrastructure.
, , VMware ESX/ESXi Server 4.0,
vCenter Server 4.0, NetApp Data ONTAP 7G.
, ,
.
1.4
, TR-3749, ,
NetApp, NetApp ,
VMware.
,
-, .
, TR-3880: CLI Configuration Processes
for NetApp and VMware vSphere Storage Arrays Running Data ONTAP and ESX/ESXi Server.
.
2 VMware
Virtual Infrastructure
2.1
VMware ESX
: VMware Virtual Machine File System (VMFS),
Network-attached Storage (NAS), , raw
device mappings (RDM). ,
VMware ,
VMware, High-Availability (HA), Distribution Resource
Scheduler (DRS), VMotion, Fault Tolerance (FT).
.
VMware
, .
.
2.2
, ,
.
, ,
(datastore). - ,
,
.
, , ,
.
VMware NetApp .
,
,
. SAN NAS,
, ,
.
, Fibre Channel (FC) Ethernet (NFS, iSCSI, FCoE),
NetApp ,
,
, .
, , .
2.3 '80/20'
80/20, 80%
. 20%
business-critical, , , ,
, .
.
.
VM
-, VM
.
,
().
( )
.
-.
9
, .
, ,
.
NFS,
, , SAN,
VM.
; ,
NFS / VMFS.
, ,
, ,
80/20, NetApp VMware
, ,
.
2.4 VMFS
VMware Virtual Machine File System (VMFS)
,
. VMFS LUN-, Fibre Channel,
iSCSI, Fibre Channel over Ethernet (FCoE). VMFS LUN-
ESX .
, ,
, VMFS.
NetApp ,
,
VM.
, . ,
, -
,
- .
Spanned VMFS
VMware VMFS, LUN-
, spanned datastore. spanned datastore
2TB LUN,
- (I/O queues)
LUN. ,
LUN ( ), - .
NetApp, OS Data ONTAP
, NetApp
spanned VMFS datastores.
2.5 NFS
vSphere NFS
ESX.
VMFS. NFS, NetApp,
, ,
.
3 . , ,
VMFS,
- (I/O queue), NetApp FAS.
3) ESX, NFS.
NFS NetApp
VMware NFS NetApp
, ,
,
, , , Fibre Channel.
VM
. NFS,
,
, ,
, . NFS,
VMware WAFL,
NetApp.
12
VM, , VM
, thin provisioning ,
,
, .
NetApp , Site Recovery Manager (SRM),
SnapManager for Virtual Infrastructure (SMVI), Rapid Cloning Utility (RCU), Virtual Storage Console
(VSC).
SCSI, VM.
MSCS VMware.
NetApp RDM thin provisioning
, , ,
SnapDrive,
SnapManager, RDM LUN FlexClone.
:
, MSCS,
Most Recently Used (MRU). Round Robin (RR)
VMware RDM LUN MSCS.
2.7
.
. VMware
VMware ESX and ESXi Server Configuration Guide.
1) .
LUN-
LUN/ NAS
queue
depth LUN
FC/FCoE
VMFS RDM
256
iSCSI
VMFS RDM
256
NFS
NetApp WAFL
64
64TB
64TB
16TB 100TB*
2TB 512b
2TB 512b
16TB 100TB*
64
64
N/A
4 8Gb FC 10Gb
1 10Gb Ethernet
1 10Gb Ethernet
Ethernet
* 100TB 64-bit aggregates
NetApp.
2) VMware.
VMotion
Storage VMotion
VMware HA
DRS
VCB
MSCS VM
Fault Tolerance
FC/FCoE
, RDM
Shared LUN
, eager-zeroed
thick VMDK
Virtual Mode RDM**
iSCSI
GOS
, eager-zeroed
thick VMDK
Virtual Mode RDM**
NFS
, eager-zeroed
thick VMDK
*
N/A
14
HBA
* VM NetApp NFS
** NetApp SnapDrive for Windows virtual-mode RDM devices
3) NetApp.
Thin Provisioning
FC/FCoE
RDM
iSCSI
RDM
NFS
SANscreen VM Insight
SnapDrive OS
*
ESX Host Utilities/VSC 2.0
VMDK
NDMP
FC/FCoE
RDM
RDM
VCB
iSCSI
RDM
RDM
VCB
VCB,
Windows
VCB,
Windows
NFS
VM
VM
VCB, VIC File
Explorer
VCB,
VM
2.8 VMware
,
vSphere. , , , ,
.
Thick
,
VM. ,
. VMDK
. , , , ,
, , .
,
, .
15
5) thick VMDK .
Thin
thick, ,
. ,
VMDK (chunks),
. VMFS 1MB 8MB (
), NFS 4KB.
VMFS , SCSI locks
, .
, , ,
.
6) thin VMDK .
thick, thin VMDK . ,
.
, ,
.
thick thin- , ,
- ,
,
, , thin,
.
Eager Zeroed Thick
thick,
; , thick thin, eager-zeroed thick
,
.
16
2.9
NetApp ,
, VMware thin-provisioning.
FAS data deduplication thin provisioning VMFS RDM LUN
FAS. NetApp, , ESX.
: , NetApp NFS, thin-provisioned
VMDK VMware.
2.11
VMware
(VM templates). VM template
VM (.vmx) (.vmdk),
, -,
.
,
, ,
18
.
VM. 9
vSphere.
9) .
NetApp FAS data deduplication.
NetApp FAS data deduplication,
VMware ,
. , ,
NetApp FAS , ,
.
,
VMware.
NetApp FAS , , CPU ESX.
. 10
vSphere.
,
,
. , NetApp
OS ,
.
19
10) .
VMFS RDM LUN
LUN- .
LUN ,
LUN- . ,
,
LUN-, ,
LUN- .
, LUN-, NetApp LUN
thin provisioning. ,
, VMware
, LUN, LUN-
, , (thick-) thinprovisioned. NetApp Virtual Storage Console (VSC) VI
.
NetApp , thin-provisioned LUN-,
FlexVol, thin provision , 2x
LUN. LUN- , FlexVol
(quota). , LUN FlexVol
aggregate
NFS
LUN-, NFS,
VMware.
VI.
- .
20
VMware
NetApp vCenter plug-ins, VMware ,
, .
5.
VAAI .
VAAI NetApp, Data ONTAP
8.0.1 ( . VAAI Data ONTAP ESX/ESXi. 2.0 Virtual Storage
Console , VAAI .
21
resource shares , .
22
iSCSI, NFS. VM
VM . . 13
, vSphere 4.1.
ESX/ESXi
Datastore
(throughput)
(latency)
vCenter
ESXTOP*
FC, iSCSI, NFS 4.1
4.1
24
Storage Adapter
(throughput)
FC
4.1
4.0+
(latency)
Storage Path
(throughput)
FC
4.1
4.0+
(latency)
LUN
(throughput)
FC, iSCSI
4.0+
4.0+
(latency)
VM
Datastore
(throughput)
FC, iSCSI, NFS 4.1
4.1
(latency)
Virtual Disk
(throughput)
FC, iSCSI, NFS 4.1
4.1
(latency)
* esxtop ESXi vSphere CLI resxtop.
3
Virtual Infrastructure
. ,
Ethernet, .
Ethernet . -, Fibre Channel , Fibre
Channel Protocol (FCP). ,
. -,
Ethernet (
converged networks) Ethernet
, , .
:
25
26
3.3 Ethernet
10GBE Data Center Ethernet (DCE)
NetApp Data ONTAP VMware ESX/ESXi 4, 10GbE. 10GbE
, ,
, blade-.
VMware compatibility guide.
VLAN Tagging 802.1Q
VLAN,
VLAN VLAN- VLAN
tagging.
, , , ,
blade-, VLAN- . channel
ESX .
VLAN-, IP- VLAN . NetApp ,
- VLAN, VMkernel IP-
VMotion VLAN.
VLAN- VLAN tagging , IP-
. NFS IP-, IP
storage VLAN. NetApp
iSCSI / VLAN.
, IP-. VLAN-
, ,
.
Flow Control
Flow control
, ,
. Flow control
ESX/ESXi, FAS, .
, 10GbE, NetApp flow control (send
off receive off), .
27
, Gigabit Ethernet,
, NetApp flow control
, ESX NetApp,
send.
Flow control FAS
FilerView or NetApp System Manager ( . 16). , X1139A/X1140A Unified Target
Adapter flow control full.
16) NetApp System Manager > Edit Network Interface >Advanced settings > Flow Control.
flow control ESX ESXi ethtool
esxcfg-module, NIC ESX.
ethtool :
[root@esx8 ~]# ethtool -A vmnic2 autoneg off rx off tx off
:
[root@esx8 ~]# ethtool -a vmnic2
Pause parameters for vmnic2:
Autonegotiate: off
RX:
off
TX:
off
28
autonegotiate RX TX.
, autonegotiate (flow
control), , .
/etc/rc.local .
flow control vSphere, esxcfg-module
Intel e1000, VMware KB 1013413.
NetApp flow control
send off receive off.
( 10G Ethernet)
, ESX FAS Desired ,
, send off receive on.
IP-
, , NetApp IP-
, .
.
Jumbo Frames
Ethernet, maximum transmission unit (MTU)
. MTU 1500 .
,
. jumbo frame, 9000 .
jumbo frames ,
ESX ,
.
:
jumbo frames
, ,
. ( ) jumbo frames (, ,
NetApp ESX), jumbo frames ( Ethernet).
, jumbo frames,
VLAN trunking, - . Ethernet
, , Ethernet header (18 ),
VLAN tag (4 , VLAN). , jumbo frames (
)
Ethernet ( 9000 ). ,
, VLAN, 9018
9022 ( VLAN tagging). - ,
( Ethernet)
.
, ,
9216 . ,
, Ethernet
, (18 ), VLAN tag (4 ),
.
jumbo frame
, ,
, .
30
MTU vSwitch.
MTU MTU,
, vSwitch.
3. :
vicfg-vswitch -l
, esxcfg- vicfg-
. , , ,
, ESX SSH ( )
vSphere CLI ( Windows Linux, appliance
VM: vSphere Management Assistant, vMA) ESX ESXi. vMA
esxcfg-* vicfg-* command. vMA
vSphere CLI :
vMA: www.vmware.com/appliances/directory/178973
vSphere CLI: www.vmware.com/support/developer/vcli/
1.
2.
3.
4.
Ethernet
NetApp IP-
IP- ,
VLAN. ESX vSwitch
NIC. ESX VMkernel vSwitch.
VMware HA ESX
(service console port).
NetApp
VMkernel . , default gateway
VMkernel storage network. NFS service console port
VMkernel ESX.
IP-c , VMkernel, vmkping.
NFS,
:
vmkping <NFS IP address>.
NetApp Virtual Interfaces (EtherChannel)
(VIF), NetApp EtherChannel,
.
, VIF . VIF-
, ,
, .
NetApp VIF :
LACP (IEEE 802.3ad). NetApp active-passive
VIF, single-mode VIF, . NetApp VIF
VIF-
VIF .
Multimode VIF EtherChannel. multimode VIF
, VIF, .
, ,
. , ,
MAC-
. , VIF
.
LACP VIF (IEEE 802.3ad) EtherChannel. LACP VIF
, multimode
VIF, .
32
LACP VIF
.
, , ,
, ,
EtherChannel. LACP VIF ,
static multimode VIF,
. standard multimode VIF
(link loss).
Multimode LACP EtherChannels, IP. IP- , MAC,
TCP/UDP*.
NetApp IP-
, , , ,
IP- .
single-mode VIF .
,
, standby. single-mode VIF
, , VIF,
. , single-mode VIF.
VIF TR-3802
33
3.5 IP-,
, ,
IP-.
Ethernet multiswitch link aggregation (MSLA).
, Cisco Nexus (virtual port channels),
Cisco Catalyst 3750 series (cross-stack EtherChannel), Cisco Catalyst 6500 series VSS
1440 (multichassis EtherChannel), .
3.6 .
34
21) IP-.
3.7 .
35
36
37
38
39
40
41
3.7 Ethernet
IP multiswitch link aggregation,
.
,
.
IP- ,
,
.
Single Mode
, single-mode ,
single-mode (active-passive) EtherChannel VIF. VIF
IP-, ,
IP- . vif favor ,
VIF
. ,
- .
Single Mode EtherChannel
(
).
.
. non-EtherChannel.
ESX/ESXi multiswitch hop.
Single Mode EtherChannel
VMkernel IP storage ports.
- IP .
43
44
32) EtherChannel.
ESX iSCSI
ESX ( NIC),
, , .
multipathing VMware,
VMkernel.
, .
45
ESX NFS
ESX (- NIC),
, , ,
, .
. ,
. EtherChannel .
, ,
, ,
, NetApp. ,
.
, single-mode
EtherChannel VIF, IP-.
NSM.
47
48
49
51
52
9. ESX ESXi :
esxcli swiscsi nic add n <VMkernel ID> -d <Virtual HBA ID>
:
esxcli swiscsi nic add -n vmk0 -d vmhba33
esxcli swiscsi nic add -n vmk1 -d vmhba33
10. iSCSI-to-VMkernel. ESX ESXi
:
esxcli swiscsi nic list -d <Virtual HBA ID>
:
esxcli swiscsi nic list -d vmhba33
. 44.
53
54
4
Virtual Infrastructure
4.1 :
NetApp, ,
,
55
56
NetApp VCenter
NetApp vCenter, Virtual Storage Console (VSC) Rapid Cloning Utility (RCU),
VSC 2.0.
, VSC 2.0 NetApp SnapManager for Virtual
Infrastructure (SMVI), vSphere.
VSC ESX/ESXi .
, VSC 2.0
, VMware.
NetApp
, , ,
.
4.2
,
, , :
- .
, Ethernet- (NFS,
iSCSI, FCoE). () (VLAN),
.
, IP (NFS iSCSI),
IP .
.
IP (NFS iSCSI)
(EtherChannel), Ethernet . NetApp
VIF ( ). NetApp ,
, LACP VIF- multimode.
4.3 NetApp
.
,
. , VMware
, .
VM, VMware HA
DRS, VMware Fault
Tolerance, VM, ,
ESX VMotion storage VMotion, .
,
,
HBA,
, .
, ,
.
57
RAID-DP
,
, , .
,
. NetApp RAID-DP RAID,
NetApp FAS. RAID-DP
RAID-. RAID-DP
; RAID- 12.5%.
RAID-DP , RAID 5 ,
RAID 10. NetApp RAID-DP RAID,
VMware.
.
aggregate.
Flexible
flexible LUN- ,
VMware ESX.
NetApp
VMware flexible- NetApp.
NetApp VMware desktop pools flexible NetApp.
VMware,
.
SnapMirror , NetApp
flexible volume.
LUN
LUN- SCSI- (FC, iSCSI, FCoE),
ESX/ESXi, VMFS raw
device mapping (RDM). iSCSI/Fibre Channel SAN configuration guide.
NetApp .
,
,
. ,
disaster recovery
.
NetApp :
aggregate: .
FlexVol: .
LUN VMFS: .
LUN RDM: , (volume
label) .
4.4 NetApp
,
NetApp.
NetApp System Manager
NetApp NetApp Systems Manager (NSM)
, NetApp
. OS Data ONTAP,
(CLI) - FilerView,
, ,
NetApp Operations Manager.
59
NSM
. , ,
TR-3880: CLI Configuration Processes for NetApp and VMware vSphere
Storage Arrays Running Data ONTAP and ESX/ESXi Server.
Data ONTAP
NSM NOW Windows.
NetApp.
Ethernet ,
IP- DHCP.
,
setup.
NSM autodiscover
, IP- , .
NSM, NetApp Systems
Manager Quick Start Guide.
60
61
80
443
8043
8143
63
: .
64
,
.
65
,
vCenter.
vCenter.
Provisioning and Cloning VSC 2.0
, 54.
. RBAC
, VSC.
Destroy Datastores:
Modify Datastores:
Create Datastores: SAN NAS
Create Clones: VM
54) VSC.
,
Provisioning and Cloning.
,
vCenter. root
, VMware
.
, VSC, 5.3.
:
1:
.
, VSC Provisioning and Cloning.
VSC.
.
4.5.
useradmin role add create_clones -a login-http-admin,api-system-get-version,apisystem-get-info,api-system-cli,api-license-list-info,cli-ifconfig,api-aggr-listinfo,api-volume-list-info,api-lun-list-info,api-lun-map-list-info,api-igroup-listinfo,api-ems-autosupport-log,api-file-get-file-info,api-clone-*,api-file-createdirectory,api-file-read-file,api-file-delete-file,api-file-write-file,cli-mv,apifile-delete-directory,cli-ndmpd,cli-ndmpcopy,api-useradmin-user-list,api-cfstatus,api-snapshot-list-info,api-volume-autosize-get,api-iscsi-session-listinfo,api-iscsi-portal-list-info,api-fcp-service-status,api-iscsi-service-status,clidf,api-snapmirror-get-volume-status,api-quota-report,api-qtree-list,api-system-apilist,api-vfiler-list-info
66
2:
,
(provisioning) (cloning),
VSC .
4.5.
useradmin role add create_datastores -a api-volume-create,api-volume-set-option,apivolume-autosize-set,api-sis-enable,api-sis-start,api-snapshot-create,api-snapshotset-reserve,api-volume-clone-create,api-nfs-exportfs-list-rules-2,api-nfs-exportfsmodify-rule-2,api-nfs-exportfs-load-exports,api-igroup-create,api-lun-create-bysize,api-lun-map,api-lun-set-comment,api-igroup-add,cli-qtree,cli-iscsi
3: Provisioning Cloning
1. , .
2. .
useradmin group add "group_name" -r "role1_name" "role2_name"
create_clones .
4.5.
4:
1. , ,
.
2. .
4.5.
useradmin user add "user_name" -g "group_name"
: .
5:
1. , .
67
2. .
useradmin user list "user_name"
,
.
,
Provisioning and Cloning VSC 2.0.
5 vSphere
Virtual Infrastructure
5.1 vCenter
(. . 45), vSphere, NetApp
,
, NetApp.
Provisioning and Cloning, Virtual
Storage Console 2.0 vSphere plug-in.
NetApp Virtual Storage Console 2.0 vCenter plug-in
Virtual Storage Console (VSC) 2.0 , NetApp.
, VSC NetApp vSphere.
, VSC plug-in, :
68
-
FC, FCoE, iSCSI, NFS ESX/ESXi
FC, FCoE, iSCSI
VAAI
, ESX/ESXi
,
, , ESX/ESXi,
-.
Provisioning and Cloning.
FC, FCoE, iSCSI, NFS.
multipathing ,
VMware pluggable storage architecture LUN-,
ALUA, NFS round robin.
,
. LUN masking NFS exports.
FC, FCoE, iSCSI, NFS .
, , ESX/ESXi
, -.
69
70
57) vCenter.
71
72
59) VSC.
5.4 ESX/ESXi
VSC
ESX/ESXi 4.x, NetApp. VMware
ESX/ESXi,
.
HBA CNA, ,
- (NFS iSCSI).
73
vCenter
NetApp
Provisioning and Cloning .
Add .
74
75
62) RCU.
76
63) VSC
.
5.7 vCenter
, Provisioning and Cloning VSC,
VMware vCenter.
1.
2.
3.
4.
, ESX/ESXi
NetApp;
Provisioning and Cloning,
Provision datastore.
77
64) .
NetApp Datastore Provisioning wizard, :
;
(VMFS NFS);
, , , block size ( VMFS);
LUN thin provisioned.
.
, iSCSI, FC, FCoE, VSC , initiator groups,
ALUA, LUN masking, path selection policies, LUN
VMFS. , NFS, VSC
exports, .
, , thinprovisioned LUN-,
.
65 Fibre Channel TR3749 LUN
thin-provisioned, FlexVol.
78
79
5.8
, ,
.
.
, , ,
WAN, .
, VMware ,
, VM. VM
80
68) : vswap
.
vswap.
VMware swap file , NetApp
thin-provisioned LUN FlexVol
autogrow. thin-provisioned LUN Autogrow FlexVol
swap-.
swap,
.
, vswap, . NetApp
ESX/ESXi vswap,
VMotion.
69 VMkernel
swap vCenter Server.
82
83
70) :
VM pagefile pagefile datastore
vswap datastore .
, .
, ,
, -,
.
VMware
vCenter Site Recovery Manager. , -
DR-.
, SRM VM,
pagefile VMDK DR- SRM recovery
plan. SRM,
TR-3671: VMware vCenter Site Recovery Manager in a NetApp Environment.
5.9 vCenter
VSC 2.0, VMware
, . VSC
VMFS NFS,
NFS. ,
datastore vCenter, NetApp, Provisioning and Cloning,
Resize.
84
71) .
72) VMFS.
5.10 vCenter
VSC VMware
, , , .
85
SAN NAS ,
, .
NFS
NetApp vCenter, Storage Details - NAS Storage Details - SAN,
. ,
.
NFS.
74) NetApp .
87
75) .
6
Virtual Infrastructure
6.1 VM OS Windows
Windows
-,
,
NTFS.
-,
. :
1. Windows VM.
2. Start > Run CMD.
3. : fsutil behavior set disablelastaccess 1.
, NetApp,
,
88
WAFL OS.
OS
VM, , the NetApp Global Support Center.
6.2
VM SCSI BUS
VSC, GOS
timeout scripts, ISO,
, SCSI
.
VMware (GOS timeout scripts),
:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
ISO, VSC.
vCenter Server, VM .
edit settings.
CDROM ISO.
ISO, OS .
OK.
VM.
OS VM.
ISO.
VM.
6.3
VM VMFS
.
, ,
OS VM.
- ,
VMFS
.
- ,
, .
NetApp, VMware, ,
VMware
VMFS .
VMFS OS
:
Citrix, Microsoft, NetApp, VMware. TR-3747: Best Practices for File System Alignment in
Virtual Environments
Dell. Designing and Optimizing SAN Configurations
EMC. Celerra IP Storage with VMware Virtual Infrastructure
EMC. CLARiiON Integration with VMware ESX Server
89
NetApp VMFS
LUN- NetApp iSCSI, FC, FCoE. , LUN
, LUN VMware. ,
VMware NFS, .
, VMFS NFS, , OS,
.
NetApp FAS, 4096.
, Microsoft Windows 2000, 2003, XP
32256. 4096 .
, Microsoft Windows Server 2008
Windows 7, Windows Vista
1048576. .
: Windows 2008 Windows Vista
Windows, ,
, ,
.
6.4 VM
.
.
.
, -
.
, .
, -,
,
- . -
, .
90
6.5
OS Windows
,
OS Windows, VM msinfo32.
. msinfo32, Start > All Programs > Accessories > System Tools >
System Information ( . 76).
76) msinfo32
.
NetApp MBRtools:
NetApp MBRScan, ESX
Windows Linux,
VMFS NFS.
MBRScan ,
. VM (
), .
MBRScan
VM, msinfo32,
VM. MBRScan VSC.
91
6.6 VM
VM
,
,
(template).
.
NetApp MBRtools
VSC, NetApp , MBRAlign,
ESX MBR-
primary secondary. MBRAlign ,
(powered off) .
MBRAlign . ,
, thin thick
vmdk. MBRAlign NetApp. VM
, , ,
.
MBRAlign , VSC. NetApp
NetApp Global Support Center
.
: Linux, GRUB boot loader,
MBRAlign.
1.
2.
3.
4.
,
VMDK. NetApp
, ,
VM.
,
, .
:
92
6.7 VM
VMDK VM DISKPART
, OS,
. OS Windows,
Windows Preinstall Environment boot CD, "live CD/DVD".
. 77.
1.
2.
3.
4.
5.
6.
77) diskpart .
VMDK fdisk
ESX.
6.8 VM
(VMDK)
ESX/ESXi 4 , VM .
; VM.
, C:\ Windows '/' Linux
, .
OS .
OS .
:
1. vCenter Server.
2. VM.
3. VM Properties.
93
4. ( . 78).
5. OK.
6. VM.
78) .
VMware ESX and ESXi Server
Configuration Guide.
94
7
Virtual Infrastructure
7.1 ,
VMware vSphere
. ,
, ,
,
. NetApp
1992 , NetApp,
95
VMware, , ,
, .
VMware Snapshot (point-in-time) VM,
. VMware Snapshot
, ,
vCenter Server. VMware Snapshot
ESX vSphere.
VMware Snapshot, ,
vSphere Basic System Administration Guide.
NetApp Snapshot VMware,
crash-consistent
VM, VM,
. ,
.
VMware ,
,
(hardware-based)
Snapshot
, software-based . ,
vCenter Server,
. vSphere Basic System
Administration Guide VMware ESX and ESXi Server Configuration Guide.
7.2 NetApp
,
,
VMware . NetApp Backup and Recovery
Virtual Storage Console 2.0.
, SnapManager for Virtual Infrastructure (SMVI).
NetApp SnapManager,
,
VM,
, ,
, SMVI ,
.
96
97
vSphere
NetApp Snapshot, TR-3737: SnapManager 2.0 for Virtual Infrastructure Best
Practices.
98
8 vSphere 5
vSphere 5.0, VMware ,
vSphere.
. vSphere,
.
, Busybox.
SSH .
.
.
VMkernel.
stateless server,
, RAID, SAN.
8.3
vSphere NetApp ,
(. 7).
7) vSphere NetApp.
ESXi shell
CLI
ESXi
CLI
ESXi
vCenter
vSphere Management
Assistant (vMA)
vSphere SDK
CLI
ESXi
vCenter
vCenter
PowerCLI
OO
CLI
vCenter
vSphere Client
GUI
ESXi
vCenter
UI
GUI
vCenter
FilerView
Web
GUI
NetApp
NetApp System
Manager
GUI
DataFabric Manager
/Operations Manager
GUI
Virtual Storage
Console (2.1.1
)
Plug
-in
Data ONTAP
PowerShell Toolkit
OO
CLI
NetApp
Manageability SDK
SDK
NetApp
NetApp
ESXi /
vCenter
NetApp
NetApp
NetApp
SDK
VSC
SSH
. .
ESXi
Windows Linux,
ESXi
vCenter
vSphere CLI Linux
VM appliance.
Perl
-
(snap-in) Windows PowerShell.
NetApp
PowerShell cmdlets.
Windows.
GUI
, , VM,
.
, vSphere Site
Recovery Manager.
VM.
, ,
.
NetApp
.
.
Windows
-
(snap-in) Windows PowerShell
Manage ONTAP. s C
C++, Java, Perl, C#, VB.NET, PowerShell.
100
, -
, NetApp ,
, vSphere client NetApp Virtual Storage Console,
vCenter Server.
, VSC 2.1.1 VSC vSphere 5.
9 vSphere 5
9.1
vSphere 5,
Data ONTAP.
8)
LUN
LUN/FS
Virtual RDM
Physical RDM
VMFS3
LUN VMFS3
VMFS52
LUN VMFS52
VMDK
queue depth
LUN/FS
FC/FCoE
VMFS RDM
256
iSCSI
VMFS RDM
256
NFS
NetApp WAFL
256
64TB
64TB
100TB1
(. )
2TB 512b
64TB
64TB
2TB
64TB
64TB
(. )
2TB 512b
64TB
64TB
2TB
64TB
64TB
100TB1
RDM NFS
RDM NFS
N/A
N/A
N/A
N/A
2TB 512b
64
2TB 512b
64
2TB 512b
N/A
4Gb 8Gb FC
10Gb Ethernet
1Gb
10Gb Ethernet
1Gb
10Gb Ethernet
101
9) , VMware.
vMotion
Storage vMotion
VMware HA
DRS
Storage I/O Control
Datastore Cluster
Storage DRS
VCB
MSCS VM
Fault Tolerance
FC/FCoE
,
RDM shared LUN
, c eager-zeroed thick
VMDK virtual mode
RDM1
iSCSI
GuestOS
NetApp
, c eager-zeroed thick
VMDK virtual mode
RDM1
NFS
2
3
N/A
HBA
, c eager-zeroed thick
VMDK
10) NetApp.
Thin provisioning
Resize datastore
SANscreen VM Insight
SnapDrive ( GuestOS)
ESX Host Utilities/VSC2.0
VSC2.0 Backup&Recovery
VSC2.0 Provisioning&Clo
Space Reclamation
VMDK/GuestOS
VMFS
1
FC/FCoE
iSCSI
NFS
RDM
RDM
1
N/A
102
11) .
Snapshot backup
backup SRM
SnapMirror
SnapVault
VMDK ()
VMDK ()
NDMP
SnapCreator
SnapProtect
FC/FCoE
Yes
Yes
iSCSI
Yes
Yes
NFS
Yes
Yes
RDM
RDM
VCB
VCB, Windows
RDM
RDM
VCB
VCB, Windows
RDM
RDM
VCB, VIC File Explorer
VCB, third-party apps
VM
9.2 VMFS 5
vSphere 5 vSphere Virtual Machine File
System (VMFS) 5. VMFS5 VMFS
, VAAI. 8, VMFS5
LUN 64TB, NetApp
16TB. , vSphere 5 physicalmode raw device map (RDM) LUN-, VM, 64TB.
Virtual-mode RDM - 2TB virtual-mode RDM
VMware, delta VMDK,
, VMDK VMFS5, 2TB.
, LUN- VMFS5
GUID partition tables (GPT) 16- SCSI. GPT
master boot record (MBR) , 2TB
. MBR 32- logical block address (LBA),
LBA 10- SCSI. 232 x 512
, 2TB . 64-bit
LBA GPT SCSI-16, VMFS5,
, , 32-bit LBA.
, - ,
vSphere ESXi 5. LUN- (256) (1024),
LUN ID (255), , .
VMFS5 ESX/ESXi vSphere 5; ESXi 5 .
, hardware-assisted locking (
atomic test and set, ATS) ,
SCSI ATS (,
NetApp).
, SCSI reservations,
VMFS ESX ESX 4.1, , VAAI.
, ATS-only VMFS,
VMFS5. , VMFS3, VMFS5, -
SCSI reservations.
103
/etc/hosts
IP-.
104
DNS IP- , ,
.
Round robin DNS IP
. , round robin DNS,
IP- ,
.
ESX . vCenter
IP. 5.0, vCenter IP
, . vCenter
, . vMotion DRS
, VM . 5.0, vCenter
, ,
IP, vMotion DRS VM,
IP- .
- , , ESX,
, ESX NetApp,
.
, ESX ,
VM . , NFS
, VM:
, FQDN, IP,
IP- IP, IP-
, FQDN
, FQDN
105
82) .
,
,
. Provisioning and Cloning Virtual Storage
Console. ,
VSC provisioning wizard Datastore details (. . 83).
106
83) VSC.
Storage DRS
Storage DRS
:
SDRS manual ,
.
(SAS, SATA, )
.
SDRS VMDK , ,
NetApp, , , ,
VMDK .
.
, SDRS VMDK,
.
SDRS , thin provisioned VMFS
, .
.
ESXi 5.
Storage DRS
, vSphere
, . ,
,
-.
108
VMDK affinity. .
VMDK anti-affinity.
, .
VM anti-affinity.
.
109
NetApp
Snapshot
SDRS Initial
Placement
Deduplication
Thin Provisioning
SnapMirror
Metrocluster
SDRS
.
VASA .
storage DRS VMFS thin-pro.
, storage
vMotion
(break RPO)
.
.
NetApp Snapshot SDRS
NetApp , ,
. ,
- , .
SDRS VM , VM
. SDRS
, , ,
VM, ( ).
VM. VM VM,
, , ,
. - VM;
, , VM
. , ,
VM.
NetApp SDRS
VM, SDRS, ,
VM ,
SDRS ,
, VM, ,
VM, .
VM SDRS,
.
, ,
,
, VM , 100% .
110
111
10 vSphere 5
10.1 vSphere Standard vSwitches
vSwitch vSphere 5.
, ,
, GUI.
MTU/Jumbo Frames
vSphere client maximum transmission unit (MTU)
vSwitches VMkernel, jumbo frames. ESX,
,
vSwitch.
112
Driver
igb
igb
e1000e
e1000e
e1000e
e1000e
Description
Intel Corporation
Intel Corporation
Intel Corporation
Intel Corporation
Intel Corporation
Intel Corporation
82575EB
82575EB
82571EB
82571EB
82571EB
82571EB
Gigabit
Gigabit
Gigabit
Gigabit
Gigabit
Gigabit
Network Connection
Network Connection
Ethernet Controller
Ethernet Controller
Ethernet Controller
Ethernet Controller
~ # ethtool -a vmnic2
Pause parameters for vmnic2:
Autonegotiate: on
RX:
on
TX:
on
~ # ethtool -A vmnic2 autoneg off rx off tx off
~ # ethtool -a vmnic2
Pause parameters for vmnic2:
Autonegotiate: off
RX:
off
TX:
off
, ,
/etc/rc.local.
, NFS, iSCSI
VMkernel, . NetApp
, iSCSI NFS,
TCP, NIC teaming ,
, multiple TCP session iSCSI.
, iSCSI VMkernel multiple
TCP sessions iSCSI, :
1.
2.
3.
4.
5.
vCenter Server.
ESXi.
, Configuration.
Hardware, Networking.
, Add Networking , Add
Network.
6. VMkernel Next.
: VMkernel Ethernet,
iSCSI. , VMkernel
IP-.
7. VMkernel, . default
gateway VMkernel IP storage network.
8. VMkernel ,
iSCSI VMkernel. , VMkernel
standby adapters (. . 91 92).
vSwitch,
vSwitch VMkernel, iSCSI.
vmnic, ,
93.
9. VMkernel, , software iSCSI
storage adapter.
Hardware ESXi, Storage Adapters.
10. iSCSI Software Adapter .
iSCSI Initiator Properties.
11. Network Configuration.
12. VMkernel, iSCSI (. .
94).
13. VMkernel, Add.
VMkernel, . ,
, VMkernel --
vmnics, .
14. VMkernel OK.
15. Close , .
115
16. , vSphere
iSCSI. ,
Network Configuration, , VMkernel
(. . 95).
117
118
95) VMkernel .
119
11
VMware vSphere
.
, , ,
,
.
,
. -
.
NetApp, NetApp
VMware.
.
( ),
xdl-vgibutmevmtr@netapp.com ; TR-3749 v3.0.
, , , romx@mail.ru
.
120
12
Total Cost Comparison: IT Decision-Maker Perspectives on EMC, HP, and NetApp Storage Solutions in
Enterprise Database Environments
www.netapp.com/library/ar/ar1038.pdf
Wikipedia RAID Definitions and Explanations
en.wikipedia.org/wiki/Redundant_array_of_independent_disks
Microsoft: A Description of the Diskpart Command-Line Utility
www.support.microsoft.com/default.aspx?scid=kb;en-us;300415
GNU ext2resize
www.sourceforge.net/projects/ext2resize
IBM: Storage Block Alignment with VMware Virtual Infrastructure and IBM System Storage N series
ftp://service.boulder.ibm.com/storage/isv/NS3593-0.pdf
Using EMC Celerra IP Storage with VMware Infrastructure 3 over iSCSI and NFS
www.vmware.com/files/pdf/VMware_VI3_and_EMC_Celerra_IP.pdf
Dell/EMC SAN Configurations Part 2
www.dell.com/downloads/global/power/ps4q04-20040149-Mehis.pdf
EMC CLARiiON Integration with VMware ESX Server
www.vmware.com/pdf/clariion_wp_eng.pdf
Vizioncore: Quest vOptimizer Pro FAQ
www.vizioncore.com/products/vOptimizerPro/documents/vOptimizerProFAQ.pdf
Cisco Nexus 1000V Series Switches Deployment Guide Version 2
www.cisco.com/en/US/prod/collateral/switches/ps9441/ps9902/guide_c07-556626.html
NetApp
NetApp VM Insight with SANscreen
www.netapp.com/us/products/management-software/sanscreen/sanscreen-vm-insight.html
TR-3348: Block Management with Data ONTAP 7G: FlexVol, FlexClone, and Space Guarantees
www.netapp.com/library/tr/3348.pdf
TR-3737: SnapManager 2.0 for Virtual Infrastructure Best Practices
media.netapp.com/documents/tr-3737.pdf
TR-3298: RAID-DP: NetApp Implementation of RAID Double Parity for Data Protection
media.netapp.com/documents/tr-3298.pdf
TR-3671: VMware vCenter Site Recovery Manager in a NetApp Environment
media.netapp.com/documents/tr-3671.pdf
Data ONTAP File Access and Protocol Management Guide
www.now.netapp.com/NOW/knowledge/docs/ontap/rel7311/html/ontap/filesag/accessing/task/t_oc_
accs_file_sharing_between_NFS_and_CIFS.html
DataFabric Manager Server 3.7: Operations Manager Administration Guide
www.now.netapp.com/NOW/knowledge/docs/DFM_win/rel371/html/software/opsmgr/index.htm
NetApp System Manager Quick Start Guide
www.now.netapp.com/NOW/knowledge/docs/netapp_sys_mgr/rel10/html/software/qkstart/index.ht
m
Setting RBAC Access with the VSC
https://kb.netapp.com/support/index?page=content&id=1012529
TR-3747: Best Practices for File System Alignment in Virtual Environments
www.media.netapp.com/documents/tr-3747.pdf
The Virtual Storage Guy Blog
www.communities.netapp.com/community/netapp-blogs/virtualstorageguy
TR-3880: CLI Configuration Processes for NetApp and VMware vSphere Storage Arrays Running Data
ONTAP and ESX/ESXi Server
www.media.netapp.com/documents/tr-3880.pdf
121
TR-3886: Understanding and Using vStorage APIs for Array Integration and NetApp Storage
www.media.netapp.com/documents/tr-3886.pdf
TR-3916: VMware vSphere 4.1 Storage Performance: Measuring FCoE, FC, iSCSI, and NFS Protocols
www.media.netapp.com/documents/tr-3916.pdf
VMware
ESXi Configuration Guides
www.vmware.com/pdf/vsphere4/r41/vsp_41_esxi_server_config.pdf
www.vmware.com/pdf/vsphere4/r40/vsp_40_esxi_server_config.pdf
vSphere Datacenter Administration Guides
www.vmware.com/pdf/vsphere4/r41/vsp_41_dc_admin_guide.pdf
www.vmware.com/pdf/vsphere4/r40/vsp_40_admin_guide.pdf
Fibre Channel SAN Configuration Guides
www.vmware.com/pdf/vsphere4/r41/vsp_41_san_cfg.pdf
www.vmware.com/pdf/vsphere4/r40/vsp_40_san_cfg.pdf
iSCSI SAN Configuration Guides
www.vmware.com/pdf/vsphere4/r41/vsp_41_iscsi_san_cfg.pdf
www.vmware.com/pdf/vsphere4/r40/vsp_40_iscsi_san_cfg.pdf
vSphere Upgrade Guide
www.vmware.com/pdf/vsphere4/r40/vsp_40_upgrade_guide.pdf
Performance Study of VMware vStorage Thin Provisioning
www.vmware.com/pdf/vsp_4_thinprov_perf.pdf
Configuration Maximums for VMware vSphere 4.1
www.vmware.com/pdf/vsphere4/r41/vsp_41_config_max.pdf
VMware vSphere 4:
www.vmware.com/support/pubs/vs_pubs.html
122
13
1.0
1.0.1
2.0
2.1
2.2
3.0
2009.
2009. . .
2010.
vCenter .
.
NSM, RCU VSC.
16 8.
2010. . vSphere 4.1
iSCSI multiple TCP
sessions NFS .
.
2011. . .
flow control, vicfg
esxcfg, TCP, VSC
2011. vSphere 5.0.
Flow Control 10G .
.
123