====== TMSS10AssignContainer ====== TMSS10AssignContainer, using a configuration file, allocates [[object:volume|Volumes]] to a Container for storage or transportation. ===== Synopsis ===== ''TMSS10AssignContainer [-N Do not allocate when already in a container] [-S logon string] [-V volume filter] [-c Configuration file]'' ===== Options ===== * ''-N'' When true stops the allocation of a Container when the [[object:volume|Volume]] is already assigned to another Container. * ''-S'' The Logon string argument sets the [[cli:server_argument|Server Logon Information]]. * ''-V'' [[cli:volume_filter|Volume Filter]] which can be used to filter the traversal of [[object:customer|Customer]], [[object:media|Media]], [[object:volume|Volume]], [[object:repository|Repository]] and [[common:volume_flags|Flag]] values. * ''-c'' The config file argument specifies the path to the Batch Configuration File. The Batch Configuration File allows you to perform advanced traversal of [[object:customer|Customer]], [[object:media|Media]] and [[object:volume|Volumes]], perform advanced Barcode pre and post processing and route program output to syslogd. {{page>cli:fi}} 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 [[object:customer|Customer-ID]] and [[object:media|Media-ID]] for all scanned Barcodes: barcodes = { defaults={ customer-id="ACME"; media-id="LTO"; }; }; ===== 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 [[common:support_details|Accessing Technical Support]] page. ==== Exit Status ==== - **zero** Program has ended successfully. - **non-zero** Program has not ended successfully. ==== Environment ==== [[variable:tmssserverproxy|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 [[variable:tmssapilogdir|TMSSAPILOGDIR]]. [[variable:tmssapilogdir|TMSSAPILOGDIR]] If defined the program will write out a trace file to this directory. [[variable:tmsspwpath|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 [[variable:tmsspwpath|TMSSPWPATH]]. [[variable:tmssnomd5|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 encrypted during transmission. ==== Example ==== Assigning Volumes from US01.LTO to containers US01.CONT TMSS10AssignContainer -S user:-pass@serveraddress -V US01.*.* -c map.cfg < volumelist.txt > container_assigned_US01.txt ==== Output ==== ontainer_assigned_US01.txt ZBT001N-12:23:30 TMSS10AssignContainer (c) GazillaByte 1998-2025 ZBT002N-12:23:30 Compiled Sep 11 2025 at 11:25:28 ZBT010I-12:23:30 this program will assign Volumes to a Container ZBT006N-12:23:30 Running Under Microsoft Windows (10.0.26100.7309 Desktop) ZBT000N-12:23:30 Host is Little Endian ZBT000N-12:23:30 Host is ASCII ZBT000N-12:23:30 Binary is 64 bit ZBT000N-12:23:30 Current Working Directory is C:\Users\diffl\OneDrive\Desktop\temp\Assign Containers ZBT000N-12:23:30 Executing Module is C:\Program Files\TapeTrack\TapeTrack Server Utilities\bin\tapetrack\TMSS10AssignContainer.exe ZBT004N-12:23:30 Today is Tuesday, December 16, 2025 ZBT005N-12:23:30 Running on GazillaByte ZBT006N-12:23:30 Process ID 1564 ZBT000N-12:23:30 Parsing and validating command arguments ZBT001N-12:23:30 Server Interpreted as: Server(localhost) Port(5000) User(tapemaster) Password(******) ZBT002N-12:23:30 Program Options: ZBT002N-12:23:30 (N) Do not allocate when already in a Container=false ZBT002N-12:23:30 (S) Server= ===== See Also===== [[technote/command_line_diagnosis|Command Line Utility Troubleshooting and Diagnosis]] --> Changelog [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10AssignContainer] <-- <- ^ cli:introduction|Command Line Utilities^ -> {{tag>update_doco cli container}}