Page 1 of 1

Tape Redirector and Backup Exec issue: tape goes offline

Posted: Thu Aug 14, 2014 6:23 pm
by Anatoly (staff)
Gentlemen,
Our forum users and customers reported about the issue with StarWind and Backup Exec. We`ve made the research and find out where the problem is.
Symptoms:
The SAS tape that Backup Exec uses randomly goes offline.


Solution
Unfortunately there is no solution for this at the moment, since it looks like this is Symantec issue. Multiple users, regardless were they using StarWind or not, reported the similar problem to Backup Exec forum:
http://www.symantec.com/connect/forums/ ... ve-offline
http://www.symantec.com/connect/forums/ ... e-randomly
http://www.symantec.com/connect/forums/ ... es-offline
http://www.symantec.com/connect/forums/ ... middle-job
http://www.symantec.com/connect/forums/ ... ng-offiine
http://www.symantec.com/connect/forums/ ... ackup-exec

Our forum:
http://www.starwindsoftware.com/forums/ ... 837#p21837

And other communities:
http://www.rm.com/Support/TechnicalArti ... TEC3329004
http://community.spiceworks.com/topic/3 ... is-offline
Google is really responsive to that request

The issue is reproducing with all the BackupExec versions: 2010, 2012, 2014, and it is only affecting the SAS tapes, from what we can see.


The Conclusion that we made is that there is nothing to do with tape redirector, and this is BE issue, and so the best thing that can be done here is to contact their support or post to their forum, and hopefully one day this issue will be fixed.

Nevertheless you can try to do following to workaround the issue:
Create the PowerShell script file with the following content on the machine that is connected to the exported Tape:

Code: Select all

# cmdlet for bringing a tape drive back on-line. Uses BEMCLI (Backup Execs CLI). For use with BUE2012. 
Import-Module BEMCLI
Get-BETapeDriveDevice | Set-BETapeDriveDevice -Paused $False
As the next step basic task needs to be created. To achieve that please take following steps:
Select the Trigger- Select Event Viewer - (look in even viewer for an Event ID that occurs when the drive goes offline, i.e Application, Source: backup Exec, EventID: 58053
in Actions write in the program: powershell.exe
in the additional Parameters: -ExecutionPolicy unrestricted -file "C:\Program Files\Symantec\%PowerShell-file-name%"


How to help us to get to the bottom of the issue if you still have some doubts:
1) What tape library and SCSI/SAS controller do you use?
2) On StarWind (Tape Redirector) machine install and launch wireshark, set packet filter options ("tcp port 3260" if you are using StarWind v8 software, or "tcp port 33268"), start packet capturing, reproduce the issue with the tape, save wireshark log, zip and send us wireshark and BE (adamm.log) logs.
3) Make sure that your HBA card is supported for tape: http://www.symantec.com/connect/forums/ ... ve-offline

Thank you for your reading!

Re: Tape Redirector and Backup Exec issue: tape goes offline

Posted: Thu Apr 02, 2015 3:08 pm
by Blue407
To be clear, we need to do this on the host machine, the one with the tape drive physically connected?

Re: Tape Redirector and Backup Exec issue: tape goes offline

Posted: Sun Apr 05, 2015 8:33 pm
by Anatoly (staff)
Ecactly

Re: Tape Redirector and Backup Exec issue: tape goes offline

Posted: Mon Apr 06, 2015 9:34 am
by Blue407
Anatoly (staff) wrote:Ecactly
But backup exec isn't installed on that machine, so the library won't be installed.
Don't you mean to do this on the VM that backup exec is installed on?

Re: Tape Redirector and Backup Exec issue: tape goes offline

Posted: Tue Apr 07, 2015 9:59 am
by Anatoly (staff)
Pardon, I misunderstood your question. So, yeah, the script should be on the backup box.

Re: Tape Redirector and Backup Exec issue: tape goes offline

Posted: Fri Aug 14, 2020 10:32 am
by mikestanley464
Create the PowerShell script file with the following content on the machine that is connected to the exported Tape:

# cmdlet for bringing a tape drive back on-line. Uses BEMCLI (Backup Execs CLI). For use with BUE2012. Import-Module BEMCLI Get-BETapeDriveDevice | Set-BETapeDriveDevice -Paused $False

As the next step basic task needs to be created. To achieve that please take following steps:

Select the Trigger- Select Event Viewer – (look in even viewer for an Event ID that occurs when the drive goes offline, i.e Application, Source: backup Exec, EventID: 58053

in Actions write in the program:

powershell.exe

in the additional Parameters:

-ExecutionPolicy unrestricted -file “C:\Program Files\Symantec\%PowerShell-file-name%”Additional Information

Re: Tape Redirector and Backup Exec issue: tape goes offline

Posted: Fri Aug 14, 2020 11:00 am
by yaroslav (staff)
Yes,

You got it right. See more details at https://knowledgebase.starwindsoftware. ... s-offline/.