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
software
windows
vmware
microsoft
linux
exchange
network
hardware
news
mac
home
powershell
office365
msoffice
server
sqlserver
ad
dell
soaring
internet
esx
rds
sbs
mssql
events
terminalserver
hp
virtualization
antivirus
Archive
«
‹
April 2021
›
»
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
Links
-
@harkx
-
Cats & Dogs
-
Jargon-free Security Guide
Quote
«
Have you tried turning it off and on again?
»
The IT Crowd
Contact
© 2009-2021 Black Manticore – all rights reserved
code by
lunarg
, design by
SuriAmanah
, hosted at Cats&Dogs