cli:tmss10slotallocation
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cli:tmss10slotallocation [2017/11/14 03:18] – [Scheduling] Scott Cunliffe | cli:tmss10slotallocation [2025/07/04 04:49] (current) – [Sample Script] Scott Cunliffe | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Sample Slotting Script | + | ====== TMSS10SlotAllocation ====== |
| - | The following script will: | + | '' |
| - | Allocate a slot to any volume that has no slot and is in a location eligible for slotting. | + | ===== Synopsis ===== |
| - | ==== Scheduling ==== | + | '' |
| - | While it is possible to execute this scrip manually when required, it is recommended that this script be scheduled to run every 5 minutes. | + | ===== Options ===== |
| - | Script | + | * '' |
| + | *'' | ||
| + | * '' | ||
| - | < | + | |
| + | {{page> | ||
| + | ===== 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: | ||
| + | |||
| + | ===== 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 | :: Object Type: DOS Batch Script | ||
| Line 19: | Line 47: | ||
| :: | :: | ||
| :: | :: | ||
| - | TMSS10SlotAllocation -S tapemaster: | + | |
| - | + | :: | |
| - | exit </ | + | :: set the working directory to the TapeTrack Scripts directory so we can use relative paths |
| + | :: | ||
| + | cd " | ||
| + | |||
| + | :: | ||
| + | :: set the Server logon string | ||
| + | :: | ||
| + | set TTSERVER=tapemaster: | ||
| + | |||
| + | :: | ||
| + | :: execute TMSS10SlotAllocation and write output to the reports directory | ||
| + | :: | ||
| + | TMSS10SlotAllocation -S %TTSERVER% | ||
| + | </code> | ||
| + | |||
| + | ===== See Also===== | ||
| + | |||
| + | [[technote/ | ||
| + | |||
| + | --> Changelog | ||
| + | |||
| + | [filterrss http:// | ||
| + | <-- | ||
| + | |||
| + | <- ^ cli: | ||
cli/tmss10slotallocation.1510629513.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
