Checks if each disk has two paths (A/B, B/A).
$ check_netapp_pro.pl DiskPaths -H <host> -w <n> -c <n> [...] [--help]
This plugin checks each disk for redundant paths. Alarms if a disk does not have a connection pattern of either A-B or B-A. Also checks if the primary and secondary host-adapters are different.
On the command-line you would type
storage show disk -p and check,
if column PRIMARY PORT and SECONDARY PORT both have a value of A or B.
sim812> storage show disk -p PRIMARY PORT SECONDARY PORT SHELF BAY ------- ---- --------- ---- --------- v4.16 B v0.16 A ? ? v4.17 B v0.17 A ? ? v4.18 B v0.18 A ? ? (...) v5.27 B v1.27 A ? ? v5.28 B v1.28 A ? ? v5.29 B v1.29 A ? ? v5.32 B v1.32 A ? ?
cluster1::> storage disk show -port Primary Port Secondary Port Type Shelf Bay --------------- ---- --------------- ---- ------ ----- --- cluster1-01:v4.16 B cluster1-01:v0.16 A FCAL - - cluster1-01:v4.17 B cluster1-01:v0.17 A FCAL - - cluster1-01:v4.18 B cluster1-01:v0.18 A FCAL - - (...) cluster1-02:v5.32 B cluster1-02:v1.32 A FCAL - - 56 entries were displayed.
-v for inspection, if you are not satisfied with the result.
Handling of Unassigned Disks
If disks are unassigned (e.g. if they are not assigned to an owner after having
destroyed an aggregate) they are silently skipped. You can use the verbose mode
--verbose|-v) to list these disks.
Please keep in mind that it is a best practice to not leave disks unassigned.
So we highy recommend to have a check based on the Disk-check
--what=unassigend) configured too.
The following metrics may be of interest for future enhancements of the cluster-mode check:
path-quality: The percentage of the error threshold. 0% NO ERROR 1-20% LOW ERROR, available to load balancing and error retry code. 21-99% MEDIUM ERROR, load balancing and error retry code will not switch to this path. 100-? HIGH_ERROR, Excessive errors EMS event will be logged.
path-io-kbps: Rolling average of kilobytes per second read and written to this path.
path-link-errors: Number of link errors reported on the path.
Please contact NAPRO-EMAIL-DEVELOPER to request these enhancements.
Checks all disks on filer. Returns OK if each disk is connected via two different ports.
Hint: The input for advanced examples is shortend. Replace the '...' below with ‑H <your filers ip or host-name>
Check only disks whose name start with
Test only the disks 4.x with a specific pattern for the ports.
Test all remaining disks with standard-pattern (AABB, ABAB, etc).