vSphere Storage APIs for Array Integration (VAAI) We need to add two claim rules, one for the VAAI filter and another for the VAAI plug-in.
Display Hardware Acceleration Filter
Run the esxcli storage core plugin list
Display Hardware Acceleration Plug-Ins
Run the esxcli storage core plugin list –plugin-class=VAAI command.
Verify Hardware Acceleration Status of a Storage Device
Run the esxcli storage core device list command.
List Hardware Acceleration Claim Rules
Add Hardware Acceleration Claim Rules
Procedure
1-Define a new claim rule for the VAAI filter by running the esxcli –server=server_name storage core claimrule add –claimrule-class=Filter –plugin=VAAI_FILTER command.
~ # esxcli storage core claimrule add -r 321 -t device -P VAAI_FILTER –claimrule-class=Filter –device=mpx.vmhba32:C0:T0:L0
2-Define a new claim rule for the VAAI plug-in by running the esxcli –server=server_name storage core claimrule add –claimrule-class=VAAI command.
~ # esxcli storage core claimrule add -r 321 -t device -P VMW_VAAIP_SYMM –claimrule-class=VAAI –device=mpx.vmhba32:C0:T0:L0
3-Load both claim rules by running the following commands:
~ # esxcli storage core claimrule load –claimrule-class=Filter
~ # esxcli storage core claimrule load –claimrule-class=VAAI
4-Run the VAAI filter claim rule by running the esxcli –server=server_name storage core claimrule run –claimrule-class=Filter command.
~ # esxcli storage core claimrule run –claimrule-class=Filter
Filter-class rules only needs to be run. When the VAAI filter claims a device, it automatically finds the proper VAAI plug-in to attach.
Verifying the created rules:
~ # esxcli storage core claimrule list –claimrule-class=VAAI
~ # esxcli storage core claimrule list –claimrule-class=Filter
Delete Hardware Acceleration Claim Rules
esxcli storage core claimrule remove -r 321 –claimrule-class=Filter
esxcli storage core claimrule remove -r 321 –claimrule-class=VAAI
esxcli storage core claimrule list -c all
Installing VAAI offline plugin on ESXi host
Installing isilon_nas_vaai_plugin.vib :
Put host in maintenance mode:
Esxcli system maintenanceMode set -e true
Ref:vdca550-study-guide-complete-20150131_paulgrevink.pdf