====== TMSS10SlotAllocation ====== ''TMSS10SlotAllocation '' allocate slots to all Volumes that have no slots and are in a slot managed Repository. ===== Synopsis ===== ''TMSS10SlotAllocation [-S logonstring]] [-V vloume filter] [-c configuration file] [-r repository filter]'' ===== Options ===== * ''-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. 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 Statuses ===== - **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. 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 @echo off :: :: Object Type: DOS Batch Script :: Description: TapeTrack Slotting script :: System: TMSS :: SecLevel: Proprietary :: Copyright: (c) 2012 GazillaByte LLC :: :: :: set the working directory to the TapeTrack Scripts directory so we can use relative paths :: cd "%TMSS10SCRIPTS%" :: :: set the Server logon string :: 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" --> Changelog [filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10SlotAllocation] <-- <- ^ cli:introduction|Command Line Utilities^ ->