Cases where "Door Open" will cause job failure?

In the past we have successfully given a job additional media by using "Open Door" in the WebUI. We use Dell TL1000 autoloaders.

When we attempted to adjust the magazine contents without being first prompted and while a job was using the tapedrive, the active job failed.

The job wouldn't need the magazine until it was time to eject the tape from the drive, and it could be coordinated in the same way as the load media request.

How do we adjust the magazine contents when the tapedrive is in use?

  • Thank you for your question. I want to make sure I understand you correctly: Is it the case that a job is loaded into the tape drive during a writing operation? Do you skip the "Open Door" step and release the magazine to add more tapes, and afterward, you notice the job failing? Could you provide details about the error message that the job displays when it fails?

    Typically, we aim to have all the tapes loaded in the tape library before the backup window starts. This is because, after adding more tapes to the TL, a scan is required, and this scan relies on the use of the tape drives. If you skip the "Open Door" step, the scan won't occur, which means NetVault won't be aware of the new tapes, and the tape inventory in the library won't be updated.

    Thank you,

  • No. When NetVault is in operation, the mediachanger won't allow the magazine to be removed without a successful "Open Door" command in NetVault.

    If NetVault is prompting for additional/different media for a running job, Open Door will be honored and media can be added.

    When I realize a job is going to want more media later, or there is some media in the wrong changer, I want adjust the magazine contents while onsite, without having to  abort a job.

  • The error message you are receiving indicates that the active job failed because it was trying to access the tape drive while the magazine contents were being adjusted. This is because the job was not expecting the magazine contents to change.

    To avoid this error, you need to koows coordinate the magazine content adjustment koows with the active job. This can be done by using the following steps:

    1. Send a request to the active job to unload the tape from the drive.
    2. Wait for the job to finish unloading the tape.
    3. Adjust the magazine contents.
    4. Send a request to the active job to load the tape back into the drive.

    This will ensure that the active job is not expecting to access the tape drive while the magazine contents are being adjusted.

    Here is an example of how to implement this in a script:

    # Unload the tape from the drive.
    active_job.unload_tape()
    
    # Wait for the job to finish unloading the tape.
    active_job.wait_for_tape_unloaded()
    
    # Adjust the magazine contents.
    tape_library.adjust_magazine_contents()
    
    # Load the tape back into the drive.
    active_job.load_tape()
    

    This script will ensure that the active job is not able to access the tape drive while the magazine contents are being adjusted.

  • What scripting context is this code snippet for?

    We run the WIndows version of the NetVault product if that makes a difference for your reply.