#!/bin/sh

#Enable ALUA and round robin on ESXi 5.0

esxcli storage nmp satp rule add -s VMW_SATP_ALUA -V DELL -M MD32xx -c tpgs_on;
esxcli storage nmp satp rule add -s VMW_SATP_ALUA -V DELL -M MD32xxi -c tpgs_on;
esxcli storage nmp satp rule add -s VMW_SATP_ALUA -V DELL -M MD36xxi -c tpgs_on;
esxcli storage nmp satp rule add -s VMW_SATP_ALUA -V DELL -M MD36xxf -c tpgs_on;
esxcli storage nmp satp set --default-psp VMW_PSP_RR --satp VMW_SATP_ALUA;

