Commit e0e7bad
committed
Test-DbaDiskAlignment - Reach a failover cluster instance through its virtual name
The SQL check built instance names from the Win32_Service list of the
node, but a failover cluster instance only listens on its virtual
server name. Every connection attempt burned the full timeout and no
disk ever qualified as a SQL disk, so the command took six minutes to
return nothing. The virtual name is now read from the ClusterName
value of the instance hive over the existing CIM session; stand-alone
instances keep using the node name.
(do Test-DbaDiskAlignment)1 parent 0473789 commit e0e7bad
1 file changed
Lines changed: 37 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
185 | 220 | | |
186 | | - | |
| 221 | + | |
187 | 222 | | |
188 | | - | |
| 223 | + | |
189 | 224 | | |
190 | 225 | | |
191 | 226 | | |
| |||
0 commit comments