2012-04-19 09:37 AM
Does anyone out there have, or know of, a good list of content that could be run on a NetApp FAS system to report somewhat of a healthcheck? I am looking for a list that can be used to go into a customer and retrieve Serial Numbers, space utilization, LUNS, etc. Thanks in advance for you help.
2012-04-19 10:23 AM
Sounds like what you are asking for is an AutoSupport, which has all of that information.
See https://library.netapp.com/ecm/ecm_get_file/ECMM1278407 starting at page 169. Also you may be interested in http://support.netapp.com/NOW/knowledge/docs/olio/autosupport/
2012-04-19 11:27 AM
Thanks for the response, however they are not customers at this point in our system so the Autosupport feature is not an option. I was looking for a list of commands that could be run and outputted to a text file through putty.
2012-04-19 11:44 AM
Okay, well to get the serial number type rdfile /etc/serialnum/
to get disk information you may want to use disk show -a, sysconfig -r, sysconfig -d or sysconfig -a depending on what exactly you are looking for
For luns you may be interested in the following:
lun show [ -v | -m | -c ] [ all | mapped | offline | online | unmapped | staging | -g initiator_group | -n node | -l vol_name | lun_path ]
Displays the status (lun_path, size, online/offline state, shared state) of the given lun or class of luns. With the -v flag supplied, additional information (comment string, serial number, LUN mapping,Cluster Shared Volume Information) is also displayed. With the -m flag supplied, information about lun_path to initiator_group mappings is displayed in a table format. With the -c flag supplied, information about lun cloning status is displayed.
A specific lun can be indicated by supplying its lun_path. When an initiator_group is specified, status is reported for all luns that are mapped to the initiator group. When a node is specified, status is reported for all luns that are mapped to initiator groups which contain that node. When staging is specified, information about the temporary luns preserved in the staging area is reported. When vol_name is specified, status is reported for all the luns in that volume.
Mapped luns are ones with at least one map definition. A lun is online if it has not been explicitly made offline using the lun offline command.
lun snap usage [ -s ] vol_name snap_name
Displays information about all LUNs in active file system and snapshots that are backed by the given snapshot
This command displays all the LUNs in all the existing snapshots which are currently backed by data in the given snapshot snap_name. If you wish to delete the given snapshot snap_name then you must first destroy all those LUNs in the active file system, which are listed in the output. Thereafter, if vol options snapshot_clone_dependency is not set, you need to delete all the snapshots listed in the output starting from the one listed at the top. Once this is done you can then delete the snapshot snap_name. The -s option provides a summary view of the information.
lun stats [ -o ] [ -a | lun_path ]
Displays or zeroes block-protocol access statistics for luns. The time since the stats were last zeroed is displayed for each lun.
The statistics start zeroed at boot time. Thereafter, the -z option zeroes statistics (but does not display them).
The -o option will display extra statistics.
The -a option will display all LUNs. Normally only LUNs with non-zero statistics are displayed.
With no lun_path specified, statistics for all the LUNs are displayed; alternatively, only for the specified LUN.
2015-10-29 08:04 AM
Hi everyone, I need to be able to automate the health checks. We don't have autosupport feature in our environment.
Is there any way I can get a report generated every morning, and comes to my email?
Thanks much in advance,