|
Storage Area Network (SAN) Device Ping |
Top Previous Next |
|
This function can be equated with a standard TCP/IP ping. It is used to both determine connectivity to a device and to report the amount of milliseconds it takes for a packet of data to get to the device and be acknowledged by it.
Syntax smartmon-ux -fcping PortWWN LUN_Number [Attempts]
The LUN_Number would typically be zero for standard disks and tapes. It is quite common to be non-zero for logical disks created by external RAID subsystems. The PortWWN corresponds to the fibre channel port WWN for the selected device. This information can be obtained by a variety of methods, including:
The optional attempts field is used to tell the program how many attempts it should make. If you enter zero, it will send data indefinitely, or until you abort or kill the program.
Example D:\TEST>smartmon-ux -fcping 22:00:00:20:37:E6:0A:38 0 SMARTMon-ux [Release 1.23, Build 07-DEC-2003] - Copyright 2003 SANtools, Inc. http://www.SANtools.com Port 22:00:00:20:37:E6:0A:38 replies in 0.010s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0A:38 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0A:38 replies in 0.000s as SEAGATE ST336605FC
3 successful and 0 unsuccessful pings. Average ping time: 0.003s.
D:\TEST>smartmon-ux -fcping 22:00:00:20:37:E6:0C:84 0 10 SMARTMon-ux [Release 1.23, Build 07-DEC-2003] - Copyright 2003 SANtools, Inc. http://www.SANtools.com Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 3.044s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC Port 22:00:00:20:37:E6:0C:84 replies in 0.000s as SEAGATE ST336605FC
10 successful and 0 unsuccessful pings. Average ping time: 0.304s.
You'll note that the Windows machine above is not very consistent in performance. There was a 3-second delay on the 5th attempt. This is something that the system administrator may wish to investigate.
The following example shows what will happen if you attempt to ping a non-existent device.
D:\TEST>smartmon-ux -fcping 22:00:00:20:37:E6:0C:99 0 10 SMARTMon-ux [Release 1.23, Build 07-DEC-2003] - Copyright 2003 SANtools, Inc. http://www.SANtools.com Could not find path to LUN #0 at port WWN 22:00:00:20:37:E6:0C:99 from: - Adapter Port: QLogic Corporation QLA2340 20:00:00:E0:8B:0F:1D:3D
Finally, we're pinging the disk subsystem from the SPARCStation. You will note that the operating system does not affect the syntax of the results.
# ./smartmon-ux -fcping 21:00:00:20:37:E6:06:31 0 10 SMARTMon-ux [Release 1.23, Build 07-DEC-2003] - Copyright 2003 SANtools, Inc. http://www.SANtools.com Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC Port 21:00:00:20:37:E6:06:31 replies in 0.010s as SEAGATE ST336605FC
10 successful and 0 unsuccessful pings. Average ping time: 0.010s.
Additional Information A few things to know about this feature.
|