IBM TS3500 Command Line Interface (CLI) Examples
IBM TS3500 Command Line Interface (CLI) Examples
(/)
Search...
Home(/)
Sysadmin(/index.php/sysadmin)
Storage(/index.php/storage)
Database(/index.php/database)
Scripting(/index.php/scripting)
Prerequisites
InordertousetheTS3500CLI,thefollowingprerequisitesapply:
TheTS3500TapeLibrarymustbeatafirmwarelevel8xxx(orhigher).
TheAdvancedLibraryManagementSystem(ALMS)mustbeinstalledandenabled.
Java5.0orlatermustbeinstalled.
Download
TheTS3500CLIcanbedownloadedfromthewebatthefollowingURL:
http://www01.ibm.com/support/docview.wss?uid=ssg1S4000854.
Examples:
View System Summary
javajarTS3500CLI.jara<LibraryIP>viewSystemSummaryu<admin>p<pass>
Accessorstatus,OK
LTOCapacityUtilization,98%
Totalstorageslots,5937
LTOLicensedCapacity,5937
LTOUnlicensedCapacity,0
Totalemptystorageslots,84
Offlinestorageslots,0
Accessors,1
TotalI/Oslots,16
EmptyI/Oslots,16
TotalLTOdatacartridges,5869
LTOUltrium1,0
LTOUltrium2,0
LTOUltrium3,0
LTOUltrium4,1949
LTOUltrium5,2600
LTOUltrium6,1320
LTOUltriumNotLabeled,0
Cleaningcartridges,2
Drives,24
Nodecards,5
Totalframes,6
Activeframes,6
Servicebays,0
Incasebelow,itchecksthedriveinFrame1,Row11.amewdrive
javajarTS3500CLI.jara<LibraryIP>viewDriveDetailsf1r11u<admin>p<pass>
PendingFirmwareActivation,None
Encryption,Disabled
Loads,56
Unloads,56
MBwritten,1347
MBread,1591
Cleanings,0
Poweronhours,119
Port0ID,27
Port0NodeName,500507630F132C0B
Port0PortName,500507630F532C0B
Port1ID,91
Port1NodeName,500507630F132C0B
Port1PortName,500507630F932C0B
Note:it'sveryslowifyouhavemanytapecartridgesinthelibrary
ForthebulkAssignDataCartridgesByLogicalLibraryaction,onlycartridgesthatarealreadyassignedtothespecified
sourcelogicallibrarywillbesearchedandthenassignedtotheirnewlogicallibrary,specifiedintheinputfile.This
methodisfasterthanbulkAssignDataCartridgesifyouonlyneedcartridgesfromonelogicallibrary.
Theactionwillfirstattempttomovebacktothehomeslotandifhomeslotisfull,itwillmovetofirstemptystorage
slot
Eitherfandr,orw,canbeusedtodesignatewhichtapedrive.
Thefandroptionssupplytheframeandrowlocationofthedrive.
Thewoptionisthelast2charactersofthedrive'sWWNN.
SamelikemoveFromAllDrives,themoveFromDriveactionwillfirstattempttomovebacktothehomeslotandifhome
slotisfull,itwillmovetofirstemptystorageslot
Download logs
javajarTS3500CLI.jara<LinuraryIP>downloadLogsALLu<admin>p<pass>
Logtypecouldbethelistofthem,
<ALL,EVENT,SHUTTLE_EVENT,SERVO,NVRAM_EVENT,VIO,ESM,ES_DATA,EXCEPTION,ERROR,NVRAM_DUMP,
MASTER_CONSOLE,MRPD,STATISTICS,CAR_LOGS>
Note:Multiplelogtypesmustbeseparatedbycommaswithoutspaces.Anoptionalargumentf<frame
number>willdownloadonlythatframe'slogsforthespecifiedlogtype(s).Togetbothaccessors'logsfor
thattypewhenspecifyingaframenumber,useframe1
Ifyouprefertoreadthefullinstruction,seeTS3500CLIinstructions
(ftp://ftp.software.ibm.com/storage/358x/3584/TS3500CLI/TS3500CLI_Instructions.pdf)
<Prev(/index.php/storage/189iscsitargetsetupconfigonlinuxrhelcentossletc)
Next>(/index.php/storage/183arcconfcommandexamplesquickreference)
Youarehere:Home(/)
Storage
See also:
Linuxmtcontrolmagnetictapedriveoperation(/index.php/storage/121linuxmtcontrolmagnetictapedrive
operation)
mhvtlalinuxvirtualtapelibrary(/index.php/storage/122mhvtlalinuxvirtualtapelibrary)
mtxanativelinuxmediachangertool(/index.php/storage/123mtxanativelinuxmediachangertool)
mtxinventoryforcetapelibrarytodoinventorycheck(/index.php/storage/125mtxinventoryforcetape
librarytodoinventorycheck)
New posts
iSCSIinitiator(client)configonLinux(/index.php/storage/190iscsiinitiatorclientconfigonlinux)
iSCSItarget(Server)setup/configonLinux(RHEL,CentOS,SLetc..)(/index.php/storage/189iscsitargetsetup
configonlinuxrhelcentossletc)
PerlHashexamples(/index.php/scripting/188perlhashexamples)
SSHreversetunneling(/index.php/sysadmin/187sshreversetunneling)
Howtosetupsshtunnel(sshforwarding)(/index.php/sysadmin/186howtosetupsshtunnelsshforwarding)
Most liked:
Cli(CommandLineinterface)forIBMDSStorageManagerexamples(/index.php/storage/151clicommand
lineinterfaceforibmdsstoragemanagerexamples)
badblockssearchadeviceforbadblocks(/index.php/storage/1searchadeviceforbadblocks)
Arcconfcommandexamples(AdaptecARRAYController)(/index.php/storage/3arcconfcommandexamples
adaptecarraycontroller)
CheckHBAcardanditsdriver'sinfoonlinux(RHEL6)(/index.php/storage/9checkhbacardanditsdrivers
infoinlinuxrhel6)
CurlhttpcommandswithWebDAV(/index.php/storage/117curlhttpcommandswithwebdav)
TCPtuning10GNIConlinux(/index.php/sysadmin/91tcpperformancetuning10gnicwithhighrttinlinux)
HowtotellifCPUhyperthreadingenabledonLinux(/index.php/sysadmin/155howtotellifcpuhyperthreading
enabledonlinux)
MegaCliusefulcommandswithexamples(/index.php/storage/145megacliusefulcommandswithexamples)
smartctlexamplestogetSMARTstatusofyourharddrives(/index.php/storage/57smartctlexamplestoget
smartstatusofyourharddrives)
CheckandlistlunsattachedtoHBAinRHEL6(/index.php/storage/8checkandlistlunsattachedtohbain
rhel6)
LinuxlsscsilistSCSIdevices(orhosts)andtheirattributes(/index.php/storage/51linuxlsscsilistscsi
devicesorhostsandtheirattributes)
systool,ausefultoolforSAN,aswellforsysfsdevices(/index.php/storage/61systoolausefultoolforsan
aswellforsysfsdevices)
scsi_idexamplesonRHEL6(/index.php/sysadmin/87scsiidexamplesinrhel6)
udevadmuseageexamples(/index.php/sysadmin/93udevadmuseageexamples)
HowtocheckHBAdriver,firmwareandbootimageinfoonLinux(/index.php/storage/62waystocheckhba
driverfirmwareandbootimageinfoonlinux)
Waystosavetypescriptsessionsonlinux(/index.php/scripting/106waystosavetypescriptsessionson
linux)
DeviceMapperMultipathconfigurationonlinux(/index.php/storage/10devicemappermultipathconfiguration
onlinux)
Badblockshowto(/index.php/storage/2badblockshowto)
mhvtlalinuxvirtualtapelibrary(/index.php/storage/122mhvtlalinuxvirtualtapelibrary)
GetPostgreSQLdb,tableandindexsizes(/index.php/database/66getpostgresqldbtableandindexsizes)
Username
Password
SecretKey
"
#
B
Login Form
RememberMe
Login
Createanaccount (/index.php/component/users/?view=registration)
Forgotyourusername?(/index.php/component/users/?view=remind)
Forgotyourpassword?(/index.php/component/users/?view=reset)
2015Fibrevillage
BacktoTop