Quantcast
Channel: VMware Communities: Message List - vSphere™ Storage
Viewing all articles
Browse latest Browse all 5826

Script to select path to ISCSI target based on target name

$
0
0

Hello.

 

I would like to set the best path for the ISCSI datastores based on the path name. We have an active-active SAN setup, with one 10gig path to each SAN, with 1gig backup (4 paths total, 2 x 10gig + 2 x 1gig).

If a script could set the active path based on the name, we could maybe change this on all hosts and all LUNs with a single script.

 

We would like to match the string "192.168.250.25:3260" for the paths, or even better to match "192.168.250.??:3260" and randomly select one of the two 10gig paths.

 

Any advice? I cannot find any example scripts, only scripts to set the policy to RR etc.


Viewing all articles
Browse latest Browse all 5826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>