#Disk Qualification Package
1 messages · Page 1 of 1 (latest)
Are you using ONTAP 9.8 or later?
Prior 9.8 it was a system node run command and very unlikely to have an API/Powershell equivalent.
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_check_the_version_of_the_Disk_Qualification_Package_(DQP)_in_ONTAP
Disk Qualification Package
Channel name? I thought this was a Thread...
9.10.1 🙂
Yeah, discovered the command and thought it might be a command for it.
It's whatever Discord wants it to be I guess
I connected to a lab instance (sandbox) with ONTAP 9.12.1 via https://labondemand.netapp.com
The same lab template is available to current customers here: https://handsonlabs.netapp.com/lab/eapontap9121
PS C:\Users\Administrator.DEMO> Install-Module -Name NetApp.ONTAP -Scope CurrentUser
PS C:\Users\Administrator.DEMO> Get-Module -Name NetApp.ONTAP -ListAvailable |ft -a
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Manifest 9.11.1.2208 NetApp.ONTAP {Connect-NaController, Invoke-NaWaflSync, Get-NaNdmpCopy, Invoke-NaNdmpCopy...}
PS C:\Users\Administrator.DEMO> Connect-NcController cluster1.demo.netapp.com
Name Address Vserver Version
---- ------- ------- -------
cluster1.demo.net... 192.168.0.101 NetApp Release Yellowdog__9.12.1: Mon Oct 17 12:50:38 UTC 2022
PS C:\Users\Administrator.DEMO> Get-Command -Module NetApp.ONTAP -Name *qual*
PS C:\Users\Administrator.DEMO>
```
It doesn't appear that Powershell has a commandlet for this.
Exploring ONTAP CLI:
cluster1::> version
NetApp Release Yellowdog__9.12.1: Mon Oct 17 12:50:38 UTC 2022
cluster1::> storage dqp show
Node Package Date Version
---------------- ---------------- ---------
cluster1-01 - -
cluster1-02 - -
2 entries were displayed.
cluster1::> storage dqp show -fields (tab)
node package-date file-version filename drive-records
alias-records device-records system-records
cluster1::>
Explored the API docs to see if there's an API
https://cluster1.demo.netapp.com/docs/api/
Found "Using the private CLI passthrough with the ONTAP REST API"
Using the field names presented by the CLI, this doesn't appear to function as expected:
https://cluster1.demo.netapp.com/api/private/cli/storage/dqp?fields=node,package-date,file-version
(attached screenshot)
In my quick research I saw that ActiveIQ notifies on outdated DQP and has its' own API that this may be available through. Though that doesn't help if the cluster in question isn't sending in AutoSupports. This may also be available via ActiveIQ Unified Manager APIs...
Unfortunately I don't have a direct answer, but perhaps you can use that information to request an API as described here: https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_request_a_feature_for_ONTAP_REST_API
(still learning Discord, I think that tag only notified people subscribed to that channel. In the future I recommend asking this type of question in the ontap-api channel.)