TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10inventory

This is an old revision of the document!


 
 

Synopsis

TMSS10Inventory [-V volume filter] [-N relative resolve] [-S logonstring] [-c config file] [-R Scan list file output]

Description

TMSS10Inventory produces an Inventory Report of all selected Volumes.

Options

-V

The volume filter argument sets the Volume Filter which can be used to filter the traversal of Customer, Media and Volume values. The format of this filter is c.m.v@r, where c is Customer-ID filter, m is Media-ID filter, v is Volume-ID filter and r is Repository-ID filter. To process only volumes not in Repository ACME, “*.*.*@!(ACME).

-N

No Relative Resolve.

-S

The logon string argument sets the Server logon information in the format user:password@server:port. In the event that this argument is not passed the default will be batch:batch@localhost:5000. By default the password value will be treated as the path to a file which contains a single record representing the password, rather than the password itself. If you wish the password value to be the literal password (rather than a file) the password should be prepended with a dash (fred:-fredspassword@server). You can also have the program read the password as the first record of stdin by prepending the password with a plus symbol (fred:+@server). In the event that the password is all upper case and 32 characters in length, the password will be considered an MD5 hash of the password and passed to the server without subsequent MD5 hashing.

-c

The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of Customer, Media and Volumes, perform advanced barcode pre and post processing and route program output to syslogd. Configuration File capabilities vary from program to program but the syntax remains the same. In the event that logic is not supported it will simply be ignored. The following example will set the default Customer-ID and Media-ID for all scanned barcodes:

 barcodes = 
{ 
	defaults={ customer-id="ACME"; media-id="LTO"; };
}; 

-R Output a Scan List File.

Notes

Technical Support

The TapeTrack Software is commercially supported by a full time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the Accessing Technical Support page.

Exit Statuses

zero:

Program has ended successfully.

non-zero:

Program has not ended successfully.

Environment

TMSSSERVERPROXY If defined the program will route all TapeTrack TCP/IP traffic through a HTTPS proxy. The value of the variable should be in the format user:password@host:port. To debug the proxy connection use variable TMSSAPILOGDIR.

TMSSAPILOGDIR If defined the program will write out a trace file to this directory.

TMSSPWPATH When no password value is passed in the logon string the program will look for the password in file C:/tapetrack/pw/batch, where user is the user value passed in the logonstring. If you wish to change this default path, you can set the path in TMSSPWPATH.

TMSSNOMD5 If defined the program will not MD5 hash passwords before sending them to the TapeTrack Server. This is required when relying on Windows Active Directory authentication. It should be noted that although the password is not being hashed, it is still being encrypted during transmission.

Example

C:\WINDOWS\system32>tmss10inventory -S user:-password@server -V “US01.LTO.00000?L6” ZBT001N-12:31:26 TMSS10Inventory © GazillaByte 1998-2017 ZBT002N-12:31:26 Compiled Feb 24 2017 at 15:53:56 ZBT010I-12:31:26 this program produces an Inventory Report of all selected Volumes ZBT006N-12:31:26 Running Under Windows 10 (build 14393 10.00) on platform x64 ZBT000N-12:31:26 Host is Little Endian ZBT000N-12:31:26 Host is ASCII ZBT000N-12:31:26 Binary is 64 bit ZBT000N-12:31:26 Current Working Directory is C:\WINDOWS\system32 ZBT004N-12:31:26 Today is Tuesday, March 07, 2017 ZBT005N-12:31:26 Running on Local ZBT006N-12:31:26 Process ID 19676 ZBT000N-12:31:26 Parsing and validating command arguments ZBT001N-12:31:26 Server Interpreted as: Server(*) Port(5000) User() Password() ZBT002N-12:31:26 Program Options: ZBT002N-12:31:26 (N) No Relative Resolve=false ZBT002N-12:31:26 (R) Output a Scan List File=false ZBT002N-12:31:26 (S) Server=<VALUE HIDDEN> ZBT002N-12:31:26 (V) Volume Filter=US01.LTO.00000?L6 ZBT002N-12:31:26 © Configuration File= ZBT000N-12:31:26 Arguments parsed and validated with 0 errors ZBT000N-12:31:26 Checking for environment variable TMSSSERVERPROXY ZBT000N-12:31:31 Connection to server (192.241.211.124) successful ZBT000N-12:31:31 Logging on to TapeTrack Server ZBT000N-12:31:31 Registering Client at MACID(00:8c:fa:8e:02:f5:00:00) Result(Request OK) ZBT000N-12:31:36 Last Logon was at Tuesday, March 07, 2017 - 12:29:30 from 173.95.189.31 (cpe-173-95-189-31.nc.res.rr.com) ZBT000N-12:31:36 Welcome to Server: TapeTrack ZBT001N-12:31:36 Volume filter interpreted as: Customer(US01) Media(LTO) Volume(00000?L6) Repository(*) Flags() ZBT000N-12:31:36 Listing Customers ZBT000N-12:31:36 Customer List successful: Customers(6) Excluded(0) ZBT000N-12:31:36 Processing Customer: US01-New York Data Center (2278/20) ZBT000N-12:31:36 Listing Media ZBT000N-12:31:36 Media List successful: Media(2) Excluded(0)

           System: TapeTrack

Report Description: Inventory List

     Report Notes: Customer(New York Data Center) Media Type(LTO Cartridge)
  Production Time: Tuesday, March 07, 2017 - 12:31:37 (Eastern Standard Time)
     Report Width: 161 bytes

Seq. Barcode Location Repository Next Move Days Last Move GDup CDup Container —— ——————– —————————— —————————— ———- ———- —————- —- —- ——————– ZBT000N-12:31:37 Processing Media: LTO-LTO Cartridge ZBT000N-12:31:37 Listing Volumes ZBT000N-12:31:37 Volume List successful: Volumes(209) Excluded(0)

    1 US01.LTO.000000L6    No-Alloc [0]                   Library                                                                  2    1
    2 US01.LTO.000001L6    No-Alloc [0]                   Library                                                                  3    1
    3 US01.LTO.000002L6    No-Alloc [0]                   Library                                                                  3    1
    4 US01.LTO.000003L6    No-Alloc [0]                   Library                                                                  3    1
    5 US01.LTO.000004L6    No-Alloc [0]                   Library                                                                  3    1
    6 US01.LTO.000005L6    No-Alloc [0]                   Library                                                                  3    1
    7 US01.LTO.000006L6    No-Alloc [0]                   Library                                                                  3    1
    8 US01.LTO.000007L6    No-Alloc [0]                   Library                                                                  3    1
    9 US01.LTO.000008L6    No-Alloc [0]                   Library                                                                  3    1
   10 US01.LTO.000009L6    No-Alloc [0]                   Library                                                                  3    1

—— ——————– —————————— —————————— ———- ———- —————- —- —- ——————– ZBT000N-12:31:37 Closing connection to TapeTrack Server ZBT000N-12:31:37 Session Statistics: ZBT000N-12:31:37 Seconds Connected: 6 ZBT000N-12:31:37 Queries Completed: 7 ZBT000N-12:31:37 Bytes Sent: 388 ZBT000N-12:31:37 Bytes Received: 4,468 ZBT900N-12:31:37 Program Complete ZBT901N-12:31:37 Elapsed time 0 minutes and 11 seconds ZBT991N-12:31:37 CRC values for this session: 0x3f6ca6d0 (0x515c4872) ZBT992N-12:31:37 Number of records written: 43 ZBT993N-12:31:37 Number of bytes written: 2,379 ZBT999N-12:31:37 Program ended Files

stdout:

Output Reports.

stderr:

Diagnostic messages.

stdin:

Program input.

cli/tmss10inventory.1502470610.txt.gz · Last modified: 2025/01/21 22:07 (external edit)