Testing Library Connections
ACSLS provides utilities for verifying a good physical connection to the library. The tool you select is best determined by the context of your activity.
testports
This utility tests the connection to each library that has been configured to StorageTek ACSLS. It is also the easiest to use and is the most comprehensive. The test is un-obtrusive and does not impact normal library operations. Since testports uses the StorageTek ACSLS database to determine the library port name and library type, the library must already have been configured to StorageTek ACSLS in order for testports to function.
-
For TCP/IP libraries,
testportsverifies the connection and whether the library is online and in use by StorageTek ACSLS. -
For SCSI and serial-attached libraries, the 'acs' and 'port' must be offline in order for
testportsto open the test connection.
To run this utility, the command syntax, is:
testports
The library compat level or microcode level displays.
testlmutcp
This utility submits a TCP/IP packet to a network-attached library.
testlmutcp <ip_address>testlmutcp <hostname>testlmutcp <ip_address>:50002
A successful response will include the compatibility level of the attached library.
testlmu
testlmu /dev/term/0
The library must be offline to ACSLS in order for testlmu to open the serial connection.
pinglmu.sh
This utility enables you to verify communication between ACSLS and a serial-attached library while the library is online to ACSLS. A successful response includes the library compatibility level.
probescsi.sh
This utility exercises the connection between the ACSLS server and a SCSI or fibre-attached library. To run this utility, specify the devlink path to the mchanger device. The syntax, is:
probescsi.sh /dev/mchangerX
where X is the specific mchanger instance of the library being tested.
The library must be offline to ACSLS in order for probescsi to open the SCSI connection. A successful response includes the microcode level of the attached library.
probeFibre.sh
This utility discovers all fibre-attached libraries that are reachable from the ACSLS server. The syntax, is:
probeFibre.sh
A successful response displays the model number of each fibre-attached library along with its target, LUN IDs, and the World Wide Port Name (WWPN).
Using the -v option, you can also display the model number of the host bus adapter.
probeFibre.sh -v
showDevs.sh
This utility reveals details about every mchanger device for which a mchanger link has been created.
showDevs.sh
Displays library model, revision level and the capacity of each attached mchanger library.
showDevs.sh -w
This option also includes the WWPN of each library.
showDevs.sh -s
This option also includes the serial number of each library.