Blog
Projects
About
Backtrack:
Blog
›
PowerCLI: quickly set storage …
Comments
PowerCLI: quickly set storage path policies to Round Robin in VMWare
posted on May 8th 2017, at 14:32
by
lunarg
A very common practice when setting up SAN storage on a VMWare cluster is to configure the storage path policy to be set to "Round Robin" to properly benefit from MPIO in addition to standard failover. However, if the cluster consists of many nodes or there are many volumes, this can take up quite a lot of time if you configure this using the (Web)GUI. A better way to adjust the setting for the entire cluster is through PowerCLI.
The one-liner:
Get-VMHost <Cluster-or-Host> | Get-ScsiLun -LunType "disk" | Where {$_.MultipathPolicy -ne "RoundRobin"} | Set-ScsiLun -MultipathPolicy RoundRobin
The cmdlet selects a cluster or host, gets all LUNs which are of
...
read more
add a comment
Tags
computer
windows
software
vmware
microsoft
linux
exchange
network
hardware
news
mac
home
powershell
office365
msoffice
server
sqlserver
dell
ad
soaring
internet
esx
sbs
rds
events
mssql
terminalserver
powercli
hp
virtualization
Archive
«
‹
December 2023
›
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Links
-
@harkx
-
Cats & Dogs
-
Jargon-free Security Guide
Quote
«
Safety is not a coincidence.
»
Contact
© 2009-2023 Black Manticore – all rights reserved
code by
lunarg
, design by
SuriAmanah
, hosted at Cats&Dogs