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

Similar documents
IBM XIV Host Attachment Kit for AIX. Version Release Notes. First Edition (September 2011)

Policy Distribution Administrators Guide: Optim Connector Configuration

IBM TotalStorage DS4000 Fibre Channel and Serial ATA Intermix Premium Feature. Installation Overview

IBM TotalStorage DS300 and DS400 Quick Installation Guide

WebSphere Portal content publishing and IBM Content Manager Workflow

Installing the SAP Solution Manager integration package with IBM Business Process Manager V8.0

IBM Clinical Development

IBM XIV Host Attachment Kit for HP-UX. Version Release Notes. First Edition (May 2011)

z/tpf Event Message Generator User s Guide

Configure IBM Rational Synergy with 3 rd Party LDAP Server. Release

XCLI Utility User Manual

xseries Systems Management IBM Diagnostic Data Capture 1.0 Installation and User s Guide

IBM Tivoli Directory Server Replication

Error Message Reference

Using Hive for Data Warehousing

IBM. IBM Software Manufacturing Solutions. Attached to this memorandum: Summary of Changes. List of Program Material. Installation Instructions.

TME 10 Reporter Release Notes

Incident Response Platform Integrations BigFix Function V1.1.0 Release Date: October 2018

IBM i Version 7.2. Connecting to your system Connecting to Your system with IBM Navigator for i IBM

IBM ThinkPad USB Portable Diskette Drive. User s Guide

z/tpf APAR Download Commands 1.1

IBM DS4000 Service Alert Setup Instructions

For reference, V10.0 Detailed Release Notes (August 2015)

IBM Identity Manager Command Line Interface Adapter White paper

To upgrade the switch firmware: 1. From the side navigation bar, select Unit View > Appliance > Overview to open the Unit Overview window.

IBM Tivoli Storage Manager HSM for Windows Version 7.1. Messages

IBM 4765 PCIe Cryptographic Coprocessor CCA Utilities User Guide

TPF Debugger / Toolkit update PUT 12 contributions!

Tivoli Web Solutions. Upgrade Notes

IBM Security Guardium Cloud Deployment Guide IBM SoftLayer

Aspera Connect Mac: OS X 10.6, 10.7, 10.8, Revision: Generated: 11/11/ :29

IBM Campaign Version-independent Integration with IBM Engage Version 1 Release 3.1 April 07, Integration Guide IBM

IBM XIV Host Attachment Kit for Windows. Version Release Notes. Third Edition (June 2011)

IBM XIV Host Attachment Kit for AIX Version Release Notes

Road map for a Typical installation of IBM Tivoli Monitoring, Version 5.1.0

Setting Up Swagger UI on WebSphere

Daniel Gritter / IBM TPF Development October 2004

Release 5, Modification Level 0

IBM. Cúram JMX Report Generator Guide

IBM Content Manager for iseries. Messages and Codes. Version 5.1 SC

Incident Response Platform. IBM BIGFIX INTEGRATION GUIDE v1.0

Installing Red Hat Enterprise Linux AS 4 Update 3 on the IBM System p5 185 or IBM Intellistation POWER 185

Setting Up Swagger UI for a Production Environment

IBM Control Desk 7.5.3

Aspera Connect User Guide 3.7.0

IBM Networking OS. BBI Quick Guide. for the EN2092 1Gb Ethernet Scalable Switch, Second edition (replaces 88Y7949)

DB2 Warehouse Manager for OS/390 and z/os White Paper

IBM TotalStorage NAS Gateway 300 Model G27. Quick Start Instructions

IBM Security Guardium Cloud Deployment Guide AWS EC2

Version Monitoring Agent User s Guide SC

White Paper. Composite Data Elements. Last revised: August 2017

Speaker Notes. IBM Software Group Rational software. Exporting records from ClearQuest

Hardware installation and use Control panel

RSA Authentication Manager Adapter User Guide

IBM System Storage DS4700 Express Storage Subsystem Fibre Channel Cabling Guide

IBM emessage Version 9 Release 1 February 13, User's Guide

IBM. Release Notes November IBM Copy Services Manager. Version 6 Release 1

Version 1.2 Tivoli Integrated Portal 2.2. Tivoli Integrated Portal Customization guide

Perl Interface to Tivoli Netcool Performance Flow Analyzer

Using the REST API on the XGS. Fadly Yahaya SWAT

IBM. Documentation. IBM Sterling Connect:Direct Process Language. Version 5.3

Security Service tools user IDs and passwords

IMM and IMM2 Support on IBM System x and BladeCenter Servers

InfoSphere Master Data Management Reference Data Management Hub Version 10 Release 0. User s Guide GI

IBM Operational Decision Manager. Version Sample deployment for Operational Decision Manager for z/os artifact migration

IBM WebSphere Adapter for Oracle E-Business Suite Quick Start Tutorials

IBM Platform Symphony NET4.0 API Patch

Integrated Management Module (IMM) Support on IBM System x and BladeCenter Servers

IBM WebSphere. IBM WebSphere Adapter for PeopleSoft Enterprise Quick Start Scenarios

Tivoli Monitoring. Login Daemon. Feb 28, 2013

How To Automate Validation of Tivoli Common Reporting Cognos-based reports

IBM Security Guardium

Front cover. DB2 Universal Database Programming Workshop for Linux, UNIX, and Windows (Course Code CF10) Lab Set Up Guide

Version 9 Release 0. IBM i2 Analyst's Notebook Configuration IBM

IBM Copy Services Manager Version 6 Release 1. Release Notes August 2016 IBM

IBM TotalStorage DS4500 Fibre Channel Storage Subsystem Cabling Guide

Release Notes ================ InfoSphere Guardium. Release: 9.1. Version InfoSphere Guardium v9.0, patch 200. Fix Completion Date:

IBM DB2 Adapter Installation and Configuration Guide

Reducing MIPS Using InfoSphere Optim Query Workload Tuner TDZ-2755A. Lloyd Matthews, U.S. Senate

Central Administration Console Installation and User's Guide

IBM Watson IoT. Maximo Asset Management Version 7.6 Release. Maximo 761 Cognos BI Server Integration Installation Guide

IBM Hidden Protected Area Access IBM Predesktop Area

IBM Campaign Version-independent Integration with IBM Watson Campaign Automation Version 1 Release 1.5 February, Integration Guide IBM

Release Notes. IBM Security Identity Manager GroupWise Adapter. Version First Edition (September 13, 2013)

Version 2 Release 2. IBM i2 Enterprise Insight Analysis Upgrade Guide IBM SC

Using Client Security with Policy Director

IBM BladeCenter S Configuration Guide for Windows Essential Business Server 2008

Installation Instructions for SAS 9.4 Installation Kit for Basic Cartridge Installations on z /OS

Central Administration Console Installation and User's Guide

IBM InfoSphere Guardium

IBM Operational Decision Manager Version 8 Release 5. Configuring Operational Decision Manager on Java SE

Page 1 of 6. tpfdf/rt/readme_sdo.txt. Service Data Objects (SDO) Access to z/tpfdf - PUT 05

Using the KDE gateway to cross firewalls in. IBM Cloud Application Performance Management. (Cloud APM)

IBM XIV Host Attachment Kit for Linux. Version Release Notes. First Edition (December 2011)

IBM Monitoring Agent for Citrix Virtual Desktop Infrastructure 7.2 FP3. User's Guide IBM SC

ERserver. Service provider information Service functions

IBM Rational DOORS Installing and Using the RQM Interface Release 9.2

Lenovo RackSwitch G8272. Release Notes. For Networking OS 8.2

Overview of Cúram JMX Statistics

Release Notes. IBM Tivoli Identity Manager Oracle PeopleTools Adapter. Version First Edition (May 29, 2009)

Transcription:

IBM TS3310 Command Line Interface 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. The TS3310 CLI can be downloaded from url: https://www-01.ibm.com/support/docview.wss?uid=ssg1s4000981 The IBM TS3310 CLI provides the ability to access library functions through a command line interface. All view commands create a comma-separated value (csv) style output. The output is directed to the command prompt window by default, but can also be redirected to a file. To redirect the output to a file, you can add "> output_filename" to the end of the command. In order to use the TS3310 tape library CLI, the following prerequisites apply: The TS3310 tape library must be at a firmware level 587G.GS003 (or higher). Java 5.0 or later must be installed Cartridge movement using the TS3310 CLI is generally performed based on the current cartridge location: 1. Moving to storage If currently in drive, use either unloaddrive or unloadalldrives 2. Moving to I/O If currently in storage, then use removedatacartridges Supported Actions -bulkmovecartridgestoanotherlogicallibrary Description: Assigns multiple cartridges at the same time instead of 1 at a time -capturelibrarylog Description: Downloads the library log file directly to the local directory -cleandrive Description: Cleans a drive at the given location, designated by enclosure and row. -movecartridgestoanotherlogicallibrary Description: Assigns data cartridges to a logical library -removedatacartridges Description: Removes the data cartridges (cartridges moved to the IO station) -removeexpiredcleaningcartridges Description: Removes all expired cleaning cartridges -resetdrive Description: Power cycle the drive at the given location, designated by enclosure and row. -restartlibrary Description: Restarts the tape library -shutdownlibrary Description: Powers down the tape library -unloadalldrives Description: Unloads all full drives

-unloaddrive Description: Unloads a cartridge from a specific drive, designated by enclosure and row. -version Description: Displays version information about the TS3310 CLI -viewcleaningcartridges Description: Views all cleaning cartridges -viewdatacartridges Description: Views all data cartridges -viewdrivefirmwarelevels Description: Views the drive VPD information and firmware levels -viewdrivesummary Description: Views the drive summary -viewfibrechannelports Description: Views the fibre channel settings -viewiostation Description: Views the I/O station -viewlibraryfirmwarelevel Description: Views the library VPD information and firmware level -viewloggedinusers Description: View logged in users -viewlogicallibraries Description: Views the logical library settings -viewoperatorinterventions Description: View operator interventions for all states -viewsystemsummary Description: Views the physical library system summary -viewusers Description: Views all of the user IDs, and Roles 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" (used for problem determination) -e : Specified enclosure # -h : Shows help -p : Tape library 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 Command Format bulkmovecartridgestoanotherlogicallibrary bulkmovecartridgestoanotherlogicallibrary <full path and filename of input file> -u For the bulkmovecartridgestoanotherlogicallibrary action, the input file would take the format of: volser #1, Logical Library name volser #2, Logical Library name etc. Example. If you wanted to assign three cartridges to the logical library named testltolib, you might create a text file named volsers.txt containing: ZZZ000L4, testltolib ZZZ001L4, testltolib ZZZ002L4, testltolib And the command would be: C:\$User\Applications\TS3310_CLI\>java -jar TS3310CLI.jar -a <dns or ip addr of your library> --bulkmovecartridgestoanotherlogicallibrary C:\$User\Applications\TS3310_CLI\volsers.txt -u With bulkmovecartridgestoanotherlogicallibrary, it moves a group of cartridges at a time. The advantage is that it is faster than movecartridgestoanotherlogicallibrary and even tells you which ones succeeded (but only when there are no failures). The disadvantage is that if there is an error, the web/cli doesn't tell you which ones failed, only that they failed. capturelibrarylogs capturelibrarylog -u cleandrive cleandrive -e <drive enclosure #> -r <drive row #> -u movecartridgestoanotherlogicallibrary movecartridgestoanotherlogicallibrary <full path and filename of input file> -u For the movecartridgestoanotherlogicallibrary action, the input file would take the format of:

volser #1, Logical Library name volser #2, Logical Library name etc. Example. If you wanted to assign three cartridges to the logical library named testltolib, you might create a text file named volsers.txt containing: ZZZ000L4, testltolib ZZZ001L4, testltolib ZZZ002L4, testltolib And the command would be: C:\$User\Applications\TS3310_CLI\>java -jar TS3310CLI.jar -a <dns or ip addr of your library> --movecartridgestoanotherlogicallibrary C:\$User\Applications\TS3310_CLI\volsers.txt -u movecartridgestoanotherlogicallibrary moves 1 single cartridge at a time. The advantage is that you get to know the actual status result of each individual cartridge. The disadvantage is that it takes longer than bulkmove- CartridgesToAnotherLogicalLibrary. removedatacartridges removedatacartridges <full path and filename of input file> -u <user id> -p <password> The input file has the format of: volser #1 volser #2 etc. removeexpiredcleaningcartridges removeexpiredcleaningcartridges -u resetdrive resetdrive -e <drive enclosure #> -r <drive row #> -u restartlibrary restartlibrary -u shutdownlibrary

shutdownlibrary -u unloadalldrives unloadalldrives -u unloaddrive unloaddrive -e <drive enclosure #> -r <drive row #> -u version java -jar TS3310CLI.jar version viewcleaningcartridges viewcleaningcartridges -u viewdatacartridges viewdatacartridges -u viewdrivefirmwarelevels viewdrivefirmwarelevels -u viewdrivesummary viewdrivesummary - u viewfibrechannelports viewfibrechannelports -u viewiostation viewiostation -u viewlibraryfirmwarelevel

viewlibraryfirmwarelevel -u viewloggedinusers viewloggedinusers -u viewlogicallibraries viewlogicallibraries -u viewoperatorinterventions viewoperatorinterventions -u viewsystemsummary viewsystemsummary -u viewusers viewusers -u <user id> -p <password> Last updated April 3, 2015 IBM is a trademark or registered trademarks of International Business Machines in the US and/or other countries. Copyright IBM Corporation 2012, 2015. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.