VMware Cloud Community
KyleWeir
Enthusiast
Enthusiast

KickStart - LUN - RoundRobin. setting

Okay, I have two EVA 8100's the default for them is to run in MRU mode, but the recommended is to run in ALUA with a roundRobin. So I change it as you can see below in the kickstart script. But when I run the second line where it actually sets the roundrobin on all of my disks I receive errors that from what I can tell the roundrobin that I set in the step above it hasn't become the "active" policy until after a reboot. But then how do I make sure everything is set to roundrobin? my one thought is to have it change the bootup so that it sets roundrobin on all of the luns everytime the ESXi box boots. I was wondering what was recomended.

# Configure luns
esxcli storage nmp satp set -P VMW_PSP_RR -s VMW_SATP_ALUA

# not sure if this is being done correctly
for i in `ls /vmfs/devices/disks/ | grep naa.600 | cut -b 1-36` ; do esxcli storage nmp psp roundrobin deviceconfig set -t iops -I 1 --device $i; done

Reply
0 Kudos
2 Replies
KyleWeir
Enthusiast
Enthusiast

It's not so much the round robin setting as being able to set the number of iops before it switches to the next path. According to HP you should set it to 1 which means after every IOP it will go to the next path. When I try to set this and the box hasn't been rebooted after setting it to roundrobin all of the Luns haven't switched from MRU to RoundRobin, and since it still sees MRU as the default it doesn't set the roundrobin setting since It's not actively being used.

Reply
0 Kudos
mcowger
Immortal
Immortal

Thats because the environment used in kickstart is not the same as used on first (and subsequenty) boots.

You need to have kickstart create a script that runs on the first boot to change the PSP for the relevant SATP.  That script can then delete itself.

--

--Matt VCDX #52 blog.cowger.us
Reply
0 Kudos