troubleshooting:slotting
Differences
This shows you the differences between two versions of the page.
troubleshooting:slotting [2017/11/14 02:38] – Scott Cunliffe | troubleshooting:slotting [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
The symptom of slotting not working is that when volumes are moved to a repository that has slotting enabled, the volume does not automatically get a slot assigned. | The symptom of slotting not working is that when volumes are moved to a repository that has slotting enabled, the volume does not automatically get a slot assigned. | ||
- | --> Yes, slotting was previously setup# | + | To begin diagnosing |
- | If slotting was previously setup and has stopped working then something has changed. | + | * [[troubleshooting:slotting:setup_yes|Previously setup]] |
- | + | * [[troubleshooting: | |
- | --> Slotting was previously run manually# | + | |
- | + | ||
- | Slotting can be performed manually using several methods: | + | |
- | + | ||
- | * By manually editing each volume and setting | + | |
- | * By selecting the repository and pasting volumes into free slots under the Repository Usage Map Tab. | + | |
- | * By running the slotting program manually | + | |
- | + | ||
- | <note tip>If slotting is no longer working, the most probably cause is that it is not being manually run.</ | + | |
- | + | ||
- | If slotting is run by manually calling the slotting program, you should check the output from the slotting program for the following | + | |
- | + | ||
- | * That the program is connecting to the server successfully and that it is the right server. | + | |
- | * That the User-ID and Password are correct and that the program has been able to login. | + | |
- | * That there are sufficient slots available to slot all volumes that require a slot (i.e. if there are 10 volumes to slot, and only 8 free spaces, the slotting program will not slot any of the volumes). | + | |
- | + | ||
- | <-- | + | |
- | + | ||
- | --> Slotting was previously run automatically# | + | |
- | Did your scheduler run the slotting script? | + | |
- | + | ||
- | -->Yes, scheduler ran the script | + | |
- | When the slotting script runs it produces two output files (slotting_error.txt and slotting_report.txt) written to the reports folder within your TapeTrack installation. | + | |
- | Default installation location within the TapeTrack directory is TapeTrack\TapeTrack Framework Server\var\reports. The directory location is set by the variable %TMSS10SCRIPTS% whose location can be found by running the command SET in a command line window. | + | |
- | + | ||
- | The file slotting_error.txt will contain any errors encountered when running the slotting script. | + | |
- | + | ||
- | Error text: | + | |
- | --> Logon failed: User-ID is undefined | + | |
- | User undefined error is presented when the User ID used in the script for access to TapeTrack does not exist. | + | |
- | + | ||
- | Check that the user ID in the slotting script is correct and still present via TapeTrack TapeMaster | + | |
- | --> User ID correct and present | + | |
- | Contact GazillaByte for Additional Support | + | |
- | + | ||
- | [[common:support_details|Contact GazillaByte for software support]]. | + | |
- | <-- | + | |
- | --> User ID not correct or present | + | |
- | There are two options to fixing an incorrect User ID: | + | |
- | --> Add User to Match Slotting Script | + | |
- | Open Slotting.bat (in TapeTrack install directory TapeTrack\TapeTrack Framework Server\scripts) by right clicking on the file and selecting **Edit** to open in a text editor (such as Notepad or Vi). | + | |
- | + | ||
- | Obtain user ID and password from the script command line attribute: | + | |
- | + | ||
- | -S userID: | + | |
- | -S userID: | + | |
- | + | ||
- | + | ||
- | Add [[master:user|new user]] to TapeMaster to match the above credentials. | + | |
- | <-- | + | |
- | --> Edit Slotting Script to Match Existing User ID | + | |
- | + | ||
- | Obtain user ID and password of a known user (best practice is a separate user dedicated for running scripts) with the correct access credentials. | + | |
- | + | ||
- | Open Slotting.bat (in TapeTrack install directory TapeTrack\TapeTrack Framework Server\scripts) by right clicking on the file and selecting **Edit** to open in a text editor (such as Notepad or Vi). | + | |
- | + | ||
- | Edit the login credentials (-S userID: | + | |
- | <-- | + | |
- | <-- | + | |
- | <-- | + | |
- | --> Logon failed: Authorization failure | + | |
- | Authorization Failure error is presented when the User password used in the script for access to TapeTrack is incorrect. This may be due to an typo in the user password in the command line script or that someone has changed the password for that User ID in TapeTrack. | + | |
- | As passwords cannot be viewed in TapeTrack, as a security measure, the only way to check if the user/ | + | |
- | --> Password Correct | + | |
- | Contact GazillaByte for Additional Support | + | |
- | + | ||
- | [[common: | + | |
- | <-- | + | |
- | --> Password Incorrect | + | |
- | There are two options to fixing an incorrect user password: | + | |
- | --> Change Password In TapeTrack To Match Slotting Script | + | |
- | Open Slotting.bat (in TapeTrack install directory TapeTrack\TapeTrack Framework Server\scripts) by right clicking on the file and selecting | + | |
- | + | ||
- | Obtain user ID and password from the script command line attribute: | + | |
- | + | ||
- | set TTSERVER=user: | + | |
- | set TTSERVER=user: | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | Open TapeMaster to [[master: | + | |
- | + | ||
- | Double-lick the slotting.bat file (or right click and run) to check the file runs successfully by checking the output file slotting_error.txt | + | |
- | + | ||
- | <-- | + | |
- | --> Edit Slotting Script to Match Existing User ID and Password | + | |
- | Obtain user ID and password of a known user (best practice is a separate user dedicated for running scripts) with the correct access credentials. | + | |
- | + | ||
- | Open Slotting.bat (in TapeTrack install directory TapeTrack\TapeTrack Framework Server\scripts) by right clicking on the file and selecting **Edit** to open in a text editor (such as Notepad or Vi). | + | |
- | + | ||
- | {{:troubleshooting: | + | |
- | + | ||
- | Edit the login credentials (set TTSERVER=user: | + | |
- | + | ||
- | Double click the slotting.bat file (or right click and run) to check the file runs successfully by checking the output file slotting_error.txt | + | |
- | + | ||
- | <-- | + | |
- | <-- | + | |
- | <-- | + | |
- | --> Logon failed: Logon failed as access has been revoked | + | |
- | <-- | + | |
- | --> Customer List successful: Customers(0) Excluded( ) | + | |
- | <-- | + | |
- | --> Resolution of hostname failed: No such host is known | + | |
- | <-- | + | |
- | --> Different error or Unable to identify error | + | |
- | Contact GazillaByte for Additional Support | + | |
- | + | ||
- | [[common: | + | |
- | + | ||
- | <-- | + | |
- | <-- | + | |
- | -->No, scheduler did not run the script | + | |
- | + | ||
- | Contact your Network Administrator to diagnose why your scheduler is not running the slotting scripting. | + | |
- | + | ||
- | Common problems to look for: | + | |
- | * Task no longer enabled. | + | |
- | * Task triggers no longer correct. | + | |
- | * Not installed on same server as TapeTrack framework server. | + | |
- | * Insufficient privileges to run script on network. | + | |
- | * Scheduler not set to run when user not logged in. | + | |
- | + | ||
- | <-- | + | |
- | + | ||
- | <-- | + | |
- | + | ||
- | + | ||
- | <-- | + | |
- | + | ||
- | --> No, slotting was not previously setup# | + | |
- | + | ||
- | Slotting is not setup to run by default, to enable slotting a number of setup tasks must be performed: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | - Slotting must be enabled in the options for the repository requiring slotting. | + | |
- | - Zones must be assigned to the repository. | + | |
- | - There must be a sufficient number of free slots available to accommodate every volume that currently requires a slot. | + | |
- | - The slotting program must be called, either manually or via a scheduler such as Windows Scheduler or crond. | + | |
- | - The slotting program must be called with the right arguments, including the right server name and valid credentials. | + | |
- | + | ||
- | <-- | + | |
troubleshooting/slotting.1510627138.txt.gz · Last modified: 2025/01/21 22:07 (external edit)