Storage Settings Scripts

I have to change storage settings all the time and I have gotten extremely tired of this and since I don’t know PowerCLI yet why not do shell scripts? These do have lines that assume you are using UCS and I haven’t put any logic in them to actually find out if you are or aren’t. These are based off of the array vendor’s best practice guides that I was given.

What I do is upload these scripts to a datastore and use clusterssh to execute them on all of the ESXi hosts. Reboot for all settings to take effect.

Copy the scripts below and paste it into notepad and save it as a .sh file or download them at the bottom.

XtremeIO 5.0 Script

XtremeIO 5.5 Script

 

If you want to download them then you can download the vSphere 5.5 version here and the vSphere 5.0 version here

Time for the Pure versions

Pure Storage 5.0 Script

Pure Storage 5.5 Script

 

If you want to download them then you can download the vSphere 5.5 version here and the vSphere 5.0 version here

3PAR 5.0 Script

 

3PAR 5.5 Script

If you want to download them then you can download the vSphere 5.5 version here and the vSphere 5.0 version here

 

I do not assume any liability or responsibility for any damage or awesomeness that this may provide to your environment