A couple of interesting EqualLogic commandline posts
http://www.vmguru.nl/wordpress/2010/05/changing-volume-access-from-command-line-for-equallogic/
Changing volume after volume in the GUI is painstaking and prone to errors. So in my opinion is scripting or command line the way to go. Since I needed him for a review for a document I quickly typed some commands for him. After connecting with SSH to the storage group this is all what you need to change a lot of volumes with some easy commands.
volume select <volumename>
create access username <chap account> ipaddress xx.xx.xx.xx apply-to volume authmethod chap
if you leave out the apply-to part, the rule will be applied to both the volume and the snapshot. If you have to change or add more
Since we use multiple VMKernel ports for iSCSI our commands looked like this:
volume select PROD01
create access username chappy ipaddress 10.10.10.10 apply-to both authmethod chap
create access username chappy ipaddress 10.10.10.11 apply-to both authmethod chapvolume select PROD02
create access username chappy ipaddress 10.10.10.10 apply-to both authmethod chap
create access username chappy ipaddress 10.10.10.11 apply-to both authmethod chap.
Now it only took about 5 minutes instead of an hour clicking and I got my document reviewed.
And
http://patrickvanbeek.wordpress.com/2010/04/19/equallogic-mpio-in-vsphere/
Do this before attaching lun’s to the host:
esxcli nmp satp setdefaultpsp –psp VMW_PSP_RR –satp VMW_SATP_EQL
It will put round robin as the default path policy to round robin, saves you lot of time
Hi Michael, the formatting on the wordpresspage screwed up the correct command.
it should be:
esxcli nmp satp setdefaultpsp –psp VMW_PSP_RR –satp VMW_SATP_EQL
that’s a double dash befor psp and before satp
regards,
Patrick
btw, good post for changing the volumes, will come in handy
Great find Michael! Thanks for sharing.