|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcAutoSupportManifest
NAME
Get-NcAutoSupportManifest
SYNOPSIS
Get a detailed manifest for the contents of an AutoSupport.
SYNTAX
Get-NcAutoSupportManifest [[-Node] <String[]>] [[-Sequence] <String[]>] [[-P
riority] <String[]>] [-Subsystem <String[]>] [-CommandTarget <String[]>] [-S
tatus <String[]>] [-Attributes <AutosupportManifestInfo>] [-Controller <NcCo
ntroller[]>] [<CommonParameters>]
Get-NcAutoSupportManifest -Template [-Controller <NcController[]>] [<CommonP
arameters>]
Get-NcAutoSupportManifest -Query <AutosupportManifestInfo> [-Attributes <Aut
osupportManifestInfo>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get a detailed manifest for the contents of an AutoSupport.
PARAMETERS
-Node <String[]>
The name of the controller that owns the manifest. Data ONTAP wildcards
are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Sequence <String[]>
The AutoSupport sequence number. Data ONTAP wildcards are permitted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Priority <String[]>
The priority order of collection. Data ONTAP wildcards are permitted.
Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Subsystem <String[]>
The AutoSupport subsystem. Data ONTAP wildcards are permitted.
Possible values:
"platform" - Hardware information about the node
"mhost" - User Space application information for a nod
e
"log_files" - Log files for a node
"performance" - This subsystem gathers the .cm_stats_hourly_
done file and user space counter
"performance_asup" - Performance specific information for a node
"nht" - This subsystem gathers the /mroot/etc/log/nh
t_info content
"san" - SAN specific information for a node
"snapvault" - SNAPVAULT specific information for a node
"snapmirror" - Snapmirror specific information for a node
"dedupe" - Dedupe specific information for a node
"nfs" - NFS specific information for a node
"wafl" - WAFL specific information for a node
"mot" - MOT specific information for a node
"ha" - HA specific information for a node
"networking" - Networking specific information for a node
"cifs" - CIFS specific information for a node
"fpolicy" - Fpolicy specific information for a node
"multistore" - Multistore specific information for a node
"raid" - RAID specific information for a node
"storage" - Storage specific information for a node
"asup_ems" - ASUP EMS specific information for a node
"tape" - Tape specific information for a node
"kernel" - kernel specific information for a node
"secd" - SECD specific information for a node
"metrocluster" - Metrocluster specific information for a node
"mandatory" - Mandatory Basic information for a node
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-CommandTarget <String[]>
The AutoSupport execution domain for command. Data ONTAP wildcards are
permitted.
Possible values:
"bsd" - Command executed by BSD
"smf_table" - Command selects SMF table
"file" - Command indicates file to collect
"dblade" - Collect from dbladecli
"dblade_file" - Collect a file from dblade. Could be partner file
"zapi_xml" - Response in XML format
"custom_fx" - Collect custom function output file
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Status <String[]>
The status of the manifest. Data ONTAP wildcards are permitted.
Possible values:
"requested" - ASUP request has been added t
o the queue and is waiting processing by the collector
"working" - ASUP Collector is actively ga
thering the needed data
"file_not_found" - ASUP collection failed, a nee
ded file is missing
"no_such_table" - ASUP collection was unable to
find the requested SMF table
"collection_truncated_size_limit" - ASUP collection truncated due
to size limits and partial data is available
"collection_skipped_size_limit" - ASUP collection skipped due t
o size limits and no data is available
"collection_truncated_time_limit" - ASUP collection truncated due
to time limits and partial data is available
"collection_skipped_time_limit" - ASUP collection skipped due t
o time limits and no data is available
"delivery_skipped_size_limit" - ASUP data was skipped at deli
very time due to size limits
"general_error" - ASUP collection failed, addit
ional information if any will be in the Error String field
"completed" - ASUP collection is complete,
ready for delivery
"content_not_collected_mode" - ASUP content was not collecte
d, incompatible operational mode
"content_not_collected_precheck" - ASUP content was not collecte
d, pre-check function violation
"content_not_collected_privacy" - ASUP content was not collecte
d, the operation is disabled in privacy mode
"content_empty" - ASUP content was collected su
ccessfully, but output was empty
"collection_aborted" - ASUP collection aborted
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <AutosupportManifestInfo>
For improved scalability in large clusters, provide a AutosupportManifes
tInfo object with various fields set to indicate which fields to return
on all objects. Undesired fields should remain set to null. Use "Get-N
cAutoSupportManifest -Template" to get the initially empty AutosupportMa
nifestInfo object. If not specified, all data is returned for each obje
ct.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty AutosupportManifestInfo object for use with adva
nced queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <AutosupportManifestInfo>
For advanced queries, provide a AutosupportManifestInfo object with vari
ous fields set to indicate which records to retrieve. Other fields shou
ld remain set to null. Use "Get-NcAutoSupportManifestInfo -Template" to
get the initially empty AutosupportManifestInfo object.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
NetApp.Ontapi.Filer.C.Autosupport810.AutosupportManifestInfo
NOTES
Category: autosupport
API: autosupport-manifest-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcAutoSupportManifest fas3070cluster01-01
Get the AutoSupport manifest for the node fas3070cluster01-01.
NcController : 10.61.172.155
BodyFile : SYSCONFIG-A.txt
Cmd : sysconfig -a
CmdTgt : dblade
ContentType : basic
Error :
NodeName : fas3070cluster01-01
PrioNum : 0
Query :
SeqNum : 764
SizeCollected : 8872
Status : completed
Subsystem : mandatory
TimeCollected : 416
PrioNumSpecified : True
SeqNumSpecified : True
SizeCollectedSpecified : True
TimeCollectedSpecified : True
NcController : 10.61.172.155
BodyFile : OPTIONS.txt
Cmd : options
CmdTgt : dblade
ContentType : basic
Error :
NodeName : fas3070cluster01-01
PrioNum : 1
Query :
SeqNum : 764
SizeCollected : 28751
Status : completed
Subsystem : mandatory
TimeCollected : 599
PrioNumSpecified : True
SeqNumSpecified : True
SizeCollectedSpecified : True
TimeCollectedSpecified : True
NcController : 10.61.172.155
BodyFile : software_image.xml
Cmd : software_image
CmdTgt : smf_table
ContentType : basic
Error :
NodeName : fas3070cluster01-01
PrioNum : 2
Query :
SeqNum : 764
SizeCollected : 8986
Status : completed
Subsystem : mandatory
TimeCollected : 21
PrioNumSpecified : True
SeqNumSpecified : True
SizeCollectedSpecified : True
TimeCollectedSpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcAutoSupportManifest -Template
$q.SizeCollected = ">$(1MB)"
Get-NcAutoSupportManifest -Query $q
Get all AutoSupport manifests that have a size collected of greater than 1MB
.
NodeName Subsystem Cmd Cmd
Tgt Status
-------- --------- --- ---
--- ------
fas3070cluster01-01 mhost smdb_smf_metrics smf
_table completed
fas3070cluster01-01 kernel /etc/log/leak_data dbl
ade_file completed
fas3070cluster01-01 mhost smdb_smf_metrics smf
_table completed
fas3070cluster01-01 kernel /etc/log/leak_data dbl
ade_file completed
fas3070cluster01-01 mhost smdb_smf_metrics smf
_table completed
fas3070cluster01-01 kernel /etc/log/leak_data dbl
ade_file completed
RELATED LINKS
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|