IBM TS3310 Command Line Interface (finally !)

This is great ! You even can script. Here are the supported actions and command parameters:

Supported Actions

-moveCartridgesToAnotherLogicalLibrary : Assigns data cartridges to a logical library

-bulkMoveCartridgesToAnotherLogicalLibrary : Assigns multiple cartridges at the same time instead of 1 at a time

-cleanDrive : Cleans a drive at the given enclosure and row

-unloadAllDrives : Demounts/Unloads all full drives

-unloadDrive : Demounts/Unloads a cartridge from a specific drive

-resetDrive : Power cycle the drive at the given enclosure and row

-removeDataCartridges: Removes the data cartridges (cartridges moved to the IO station)

-removeExpiredCleaningCartridges : Removes all expired cleaning cartridges

-version : Displays version information about the Tape Library CLI

-viewCleaningCartridges : Views all cleaning cartridges

-viewDataCartridges : Views all data cartridges

-viewDriveSummary : Views the drive summary

-viewDriveFirmwareLevels : Views the drive VPD information including the current drive firmware levels

-viewFibreChannelPorts : Views the fibre channel settings

-viewIOStation : Views the I/O station

-viewLibraryFirmwareLevel : Views the library VPD information including the current library firmware level

-viewLogicalLibraries : Views the logical library settings

-viewOperatorInterventions : View operator interventions for all states

-viewLoggedInUsers : View logged in users

-viewSystemSummary : Views the physical library system summary

Command Parameters

The following CLI parameters are supported.

-? : Shows help
– : -Action, REQUIRED
-a : Tape library DNS name or ip address, REQUIRED
-d : Turns on extra debug tracing and stores in local file named “TS3310CLI.log” accordingly (used for problem determination)
-e : Specified enclosure #
-h : Shows help
-p : TS3310 Password, REQUIRED
-r : Drive row #
-t : Sets timeout value in milliseconds (default is to never timeout which may cause CLI to appear hung)
-u : Tape Library User ID, REQUIRED
-v or –verbose : The default mode for the CLI is “quiet”. In quiet mode, progress messages are not included in the output. When the –v or –verbose parameters is added, the progress messages are included in the output. When using the CLI with scripting, you probably will not want the progress messages included in the output

The IBM TS3310 Command Line Interface (CLI) program can be used to access the TS3310 library from a CLI. This is in addition to the TS3310’s Web User Interface. Get the CLI here

Leave a comment

2 Comments

  1. Joost

     /  November 16, 2011

    Unfortunatly, for the TS3310 there are still less CLI commands available compared to the TS3500. I still cannot load/unload tapes from the drive on a TS3310….

    Reply
    • Hi Joost

      You can use the -unloadDrive command to unload a tape from a drive. But yes you are right
      there is no load of tapes yet. Work in progress.

      Cheers
      Roger

      Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s