#!/bin/sh

#Enable ALUA and round robin on ESX 4.1

esxcli nmp satp deleterule –s VMW_SATP_LSI –V DELL –M MD32xx
esxcli nmp satp addrule –V DELL –M MD32xx –c tpgs_off –s VMW_SATP_LSI
esxcli nmp satp deleterule –s VMW_SATP_LSI –V DELL –M MD32xxi
esxcli nmp satp addrule –V DELL –M MD32xxi –c tpgs_off –s VMW_SATP_ LSI
esxcli nmp satp deleterule –s VMW_SATP_LSI –V DELL –M MD36xxi
esxcli nmp satp addrule –V DELL –M MD36xxi –c tpgs_off –s VMW_SATP_ LSI
esxcli nmp satp deleterule –s VMW_SATP_LSI –V DELL –M MD36xxf
esxcli nmp satp addrule –V DELL –M MD36xxf –c tpgs_off –s VMW_SATP_ LSI
esxcli nmp satp setdefaultpsp –psp VMW_PSP_RR –satp VMW_SATP_ALUA
