TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


cli:tmss10slotallocation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cli:tmss10slotallocation [2020/01/27 22:45] Scott Cunliffecli:tmss10slotallocation [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== TMSS10SlotAllocation =====+====== TMSS10SlotAllocation ======
  
 ''TMSS10SlotAllocation '' allocate slots to all Volumes that have no slots and are in a slot managed Repository. ''TMSS10SlotAllocation '' allocate slots to all Volumes that have no slots and are in a slot managed Repository.
  
-==== Synopsis ====+===== Synopsis =====
  
 ''TMSS10SlotAllocation [-S logonstring]] [-V vloume filter] [-c configuration file] [-r repository filter]'' ''TMSS10SlotAllocation [-S logonstring]] [-V vloume filter] [-c configuration file] [-r repository filter]''
  
-==== Options ====+===== Options =====
  
-==== Technical Support ====+  * ''-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. 
 +  * ''-r'' Repository Filter to restrict what Repositories are included in the Slotting process. 
 + 
 + 
 +{{page>cli:fi}} 
 +===== Technical Support =====
  
 The TapeTrack Software is commercially supported by a full time help desk staff.  The TapeTrack Software is commercially supported by a full time help desk staff. 
Line 15: Line 21:
 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. 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.
  
-==== Sample Script ====+===== Exit Statuses =====
  
-A sample slotting script to execute TMSS10SlotAllocation can be found in your TapeTrack Install at TapeTrack\TapeTrack Framework Server\scripts+  - **zero** Program has ended successfully. 
 +  - **non-zero** Program has not ended successfully. 
 + 
 +===== Sample Script ===== 
 + 
 +A sample slotting script to execute TMSS10SlotAllocation can be found in your TapeTrack Install at TapeTrack\TapeTrack Framework Server\scripts\Slotting.bat
  
 This script will allocate a Volume to a vacant Slot that is in a location eligible for slotting. This script will allocate a Volume to a vacant Slot that is in a location eligible for slotting.
  
-While it is possible to execute this scrip manually when required, it is recommended that this script be scheduled to run every 5 minutes.+You will need to edit the variable TTSERVER to reflect your username, password and server address if any of these values are updated (eg if you set a password value for tapemaster, or you want to use another User-ID to run the script).  
 + 
 +While it is possible to execute this script manually when required, it is recommended that this script be scheduled to run every 5 minutes.
  
 Sample Script Sample Script
  
-<sxh>+<code>
 @echo off @echo off
 :: ::
Line 40: Line 53:
 cd "%TMSS10SCRIPTS%" cd "%TMSS10SCRIPTS%"
  
 +::
 +:: set the Server logon string
 +::
 set TTSERVER=tapemaster:-@localhost set TTSERVER=tapemaster:-@localhost
  
 +::
 +:: execute TMSS10SlotAllocation and write output to the reports directory
 +::
 TMSS10SlotAllocation -S %TTSERVER% > "%TMSS10REPORTS%\slotting_report.txt" 2> "%TMSS10REPORTS%\slotting_error.txt"  TMSS10SlotAllocation -S %TTSERVER% > "%TMSS10REPORTS%\slotting_report.txt" 2> "%TMSS10REPORTS%\slotting_error.txt" 
-</sxh>+</code>
  
-===== Changelog =====+--> Changelog 
  
 [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10SlotAllocation] [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10SlotAllocation]
 +<--
  
 <- ^ cli:introduction|Command Line Utilities^ -> <- ^ cli:introduction|Command Line Utilities^ ->
cli/tmss10slotallocation.1580165156.txt.gz · Last modified: 2025/01/21 22:07 (external edit)