Skip to content

Commit 670335b

Browse files
authored
Updated versions of Purity, vSphere, PowerCLI and updated NTP KB URL
1 parent 87373ce commit 670335b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

VvolsReadinessCheckerV2.ps1

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ SOFTWARE.
88
Original Script: https://github.com/bdwill/vvolsreadinesschecker/blob/master/VVolsReadinessChecker.ps1
99
Original Author: Brandon Willmott (@bdwill)
1010
Updated Script: https://github.com/PureStorage-OpenConnect/VMware-Scripts/blob/master/vVolsReadinessCheckerV2.ps1
11-
Updated Script: Jase McCarty (@jasemccarty)
12-
Updated Date : 2 MARCH 2021
11+
Updated Script: David Stevenes (@PSUStevens)
12+
Updated Date : 1 October 2024
1313
************************************************************************************************************************************************************
1414
1515
This script will:
16-
-Check for VVols Readiness
17-
--Check for Purity 5.3.6+
18-
--Check for vCenter 6.5+ and ESXi 6.5+ (6.5 Update 1 is highly recommended)
16+
--Check for VVols Readiness
17+
--Check for Purity 6.5+
18+
--Check for vCenter 7.0U3+ and ESXi 7.0U3+ (7.0 Update 3 is highly recommended)
1919
--Check that FlashArray is accessible on TCP port 8084
2020
--Check that a NTP server is set, valid, and daemon running on ESXi hosts and FlashArray
2121
--Check for replication, remote side needs to meet above criteria too!
@@ -25,9 +25,9 @@ All information logged to a file.
2525
This can be run directly from PowerCLI or from a standard PowerShell prompt. PowerCLI must be installed on the local host regardless.
2626
2727
Supports:
28-
-FlashArray //m, //x, //c
29-
-vCenter 6.5 and later
30-
-PowerCLI 10.0 or later required
28+
-FlashArray //X, //C, //XL
29+
-vCenter 7.0U3 and later
30+
-PowerCLI VMware PowerCLI 13.3 Build 24145081 or later required
3131
3232
#>
3333

@@ -90,7 +90,7 @@ Function Get-VAMITime {
9090
Connect-CisServer -Server 192.168.1.51 -User administrator@vsphere.local -Password VMware1!
9191
Get-VAMITime
9292
.NOTES
93-
Modified script to account for Newer VCSA. Script supports 6.5 and 6.7 VCSAs
93+
Modified script to account for Newer VCSA. Script supports 7.0+ VCSAs
9494
#>
9595
$systemTimeAPI = ( Get-VAMIServiceAPI -NameFilter "system.time")
9696
$timeResults = $systemTimeAPI.get()
@@ -148,19 +148,19 @@ add-content $logfile ' \++++++++++++\'
148148
add-content $logfile ' \++++++++++++\'
149149
add-content $logfile ' \++++++++++++\'
150150
add-content $logfile ' \------------\'
151-
add-content $logfile 'Pure Storage FlashArray VMware VVols Readiness Checker v2.0 (MARCH-2021)'
151+
add-content $logfile 'Pure Storage FlashArray VMware VVols Readiness Checker v3.0 (OCTOBER-2024)'
152152
add-content $logfile '----------------------------------------------------------------------------------------------------'
153153

154154
# Get the PowerCLI Version
155155
$PowerCLIVersion = Get-Module -Name VMware.PowerCLI -ListAvailable | Select-Object -Property Version
156156

157-
# If the PowerCLI Version is not v10 or higher, recommend that the user install PowerCLI 10 or higher
158-
If ($PowerCLIVersion.Version.Major -ge "10") {
159-
Write-Host "PowerCLI version 10 or higher present, " -NoNewLine
157+
# If the PowerCLI Version is not v13 or higher, recommend that the user install PowerCLI 13 or higher
158+
If ($PowerCLIVersion.Version.Major -ge "13") {
159+
Write-Host "PowerCLI version 13 or higher present, " -NoNewLine
160160
Write-Host "proceeding" -ForegroundColor Green
161161
} else {
162-
Write-Host "PowerCLI version could not be determined or is less than version 10" -Foregroundcolor Red
163-
Write-Host "Please install PowerCLI 10 or higher and rerun this script" -Foregroundcolor Yellow
162+
Write-Host "PowerCLI version could not be determined or is less than version 13" -Foregroundcolor Red
163+
Write-Host "Please install PowerCLI 13 or higher and rerun this script" -Foregroundcolor Yellow
164164
Write-Host " "
165165
exit
166166
}
@@ -327,13 +327,13 @@ If ($vCenterTime.Mode -Like "NTP") {
327327
} else {
328328
add-content $logfile "-------------------------------------------------------"
329329
add-content $logfile "[****NEEDS ATTENTION****] vCSA's NTP settings aren't checkable."
330-
add-content $logfile "Check VMware KB for manual process: https://kb.vmware.com/s/article/2113610."
330+
add-content $logfile "Check VMware KB for manual process: https://knowledge.broadcom.com/external/article?articleNumber=313945"
331331
}
332332

333333
} else {
334334
add-content $logfile "*-------------------------------------------------------"
335335
add-content $logfile "[****NEEDS ATTENTION****] vCSA's NTP settings aren't checkable."
336-
add-content $logfile "Check VMware KB for manual process: https://kb.vmware.com/s/article/2113610."
336+
add-content $logfile "Check VMware KB for manual process: https://knowledge.broadcom.com/external/article?articleNumber=313945."
337337
}
338338

339339

@@ -352,9 +352,9 @@ foreach ($esx in $hosts)
352352
add-content $logfile "Checking ESXi Version"
353353
add-content $logfile "-------------------------------------------------------"
354354
# Check for ESXi version
355-
if ($esx.version -le [Version]"6.5")
355+
if ($esx.version -le [Version]"7.0")
356356
{
357-
add-content $logfile "[****NEEDS ATTENTION****] ESXi 6.5 or later is required for VMware VVols."
357+
add-content $logfile "[****NEEDS ATTENTION****] ESXi 7.0U3 or later is required for this script to assess VMware VVols readiness."
358358
}
359359
else
360360
{
@@ -458,7 +458,7 @@ add-content $logfile "-------------------------------------------------------"
458458
add-content $logfile "Checking Purity Version"
459459
add-content $logfile "-------------------------------------------------------"
460460

461-
if ($arrayid.version -ge [Version]"5.3.6")
461+
if ($arrayid.version -ge [Version]"6.5")
462462
{
463463
Add-Content $logfile "Purity version supports VVols."
464464
}

0 commit comments

Comments
 (0)