cli:tmss10slotallocation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cli:tmss10slotallocation [2017/08/11 16:17] – created dcumming | 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 | + | |
| - | Scheduling | + | |
| - | It is recommended that this script be scheduled to run every 5 minutes. | + | ===== Synopsis ===== |
| - | Script | + | |
| + | '' | ||
| + | |||
| + | ===== Options ===== | ||
| + | |||
| + | * '' | ||
| + | *'' | ||
| + | * '' | ||
| + | |||
| + | |||
| + | {{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 | @echo off | ||
| :: | :: | ||
| Line 16: | 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% | ||
| + | </ | ||
| + | |||
| + | ===== See Also===== | ||
| + | |||
| + | [[technote/ | ||
| + | |||
| + | --> Changelog | ||
| + | |||
| + | [filterrss http:// | ||
| + | <-- | ||
| + | |||
| + | <- ^ cli: | ||
cli/tmss10slotallocation.1502468271.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
