Tape inventories run against nonexistent tape libraries

I accidentally left my DPM server on while working on the fibre channel zoning to let my DPM server see my tape library; as a result, it sees some bogus tape libraries.  I disabled them in the GUI and they don't show up any more, but DPM still tries
to inventory the library (which I subsequently named "GhostLibraryThatDoesntExist").
Device Manager shows exactly one medium changer and exactly one tape drive.
Here's what PowerShell tells me is there:
PS C:\sys> Get-DPMLibrary -DPMServerName avamarproxy | select-object UserFriendlyName,IsOffline,IsEnabled | Format-List
UserFriendlyName : IBM ULTRIUM-TD4 SCSI Sequential Device
IsOffline        : True
IsEnabled        : True
UserFriendlyName : IBM ULTRIUM-TD4 SCSI Sequential Device-3
IsOffline        : True
IsEnabled        : False
UserFriendlyName : GhostLibraryThatDoesntExist
IsOffline        : True
IsEnabled        : False
UserFriendlyName : IBM ULTRIUM-TD4 SCSI Sequential Device-2
IsOffline        : True
IsEnabled        : True
UserFriendlyName : Adic01
IsOffline        : False
IsEnabled        : True
UserFriendlyName : IBM ULTRIUM-TD4 SCSI Sequential Device-4
IsOffline        : True
IsEnabled        : True
Adic01 is the only valid device of the bunch.
I found a similar forum post with a third-party SQL query solution (http://social.technet.microsoft.com/Forums/en-US/dpmtapebackuprecovery/thread/3a2905f1-eefc-4d29-b5ed-2ddeb7c30100)
and before I run that I'd like to know whether or not this has been fixed in the year since the post was active.
Thanks,
Tom
-------- Ask why.

Hi,
You can use this procedure to disable the bogus library and scheduled tape inventory job.
MAKE A BACKUP OF THE DPMDB BEFORE PROCEEDING:  Run DPMBACKUP -DB
IN THIS EXAMPLE, WE HAVE ONE LIBRARY WITH FIVE TAPE DRIVES.
1) Copy the  "SQL script to modify"  found below into notepad.
2) Open sql management studio.
3) Open The DPMDB and expand the tables.
4) Create a NEW QUERY and execute the following Query:
Select libraryid, GlobalLibraryID from dbo.tbl_MM_Library where isoffline='true'and description = 'TapeLibrary'
It should return a single row:
 LibraryID                              GlobalLibraryID
 139859e0-f6ab-471a-9dad-f9c13c68f22d   0e867b9c-9f23-4317-88b4-6b437fa0e222
In the notepad that has the sample sql script:
- Find, Replace tbl_MM_Library_TAPELIBRARY-ID with LibraryID GUID returned 139859e0-f6ab-471a-9dad-f9c13c68f22d.
- Find, Replace the tbl_MM_Library_GLOBALLIBRARY-ID with the GlobalLibraryID GUID Returned 0e867b9c-9f23-4317-88b4-6b437fa0e222
5)  Run the following QUERY:   Substituting the LibraryID GUID with the LibraryID GUID returned from the above Query.
select Driveid from dbo.tbl_MM_drive where libraryid = '139859e0-f6ab-471a-9dad-f9c13c68f22d'
  DrIveID
  f634984f-9f3b-48af-87af-1f37c516e9f9
  277e2a0e-2c70-432b-b7dc-2e1a5ff3f218
  6148fdba-1a5e-401a-bac1-484934638408
  61c8c1cf-eb07-4635-bcf3-49b7c3d02f43
  8826ef5a-1f1a-4495-a677-50215e0962b6
In the notepad that has the sample sql script:
- Find, replace the dbo.tbl_MM_TapeDrive_DRIVEID-1 with f634984f-9f3b-48af-87af-1f37c516e9f9
- Find, replace the dbo.tbl_MM_TapeDrive_DRIVEID-2 with 277e2a0e-2c70-432b-b7dc-2e1a5ff3f218
- Find, replace the dbo.tbl_MM_TapeDrive_DRIVEID-3 with 6148fdba-1a5e-401a-bac1-484934638408
- Find, replace the dbo.tbl_MM_TapeDrive_DRIVEID-4 with 61c8c1cf-eb07-4635-bcf3-49b7c3d02f43
- Find, replace the dbo.tbl_MM_TapeDrive_DRIVEID-5 with 8826ef5a-1f1a-4495-a677-50215e0962b6
6) In the notepad that has the sample sql script. REMOVE ANY LINES FOR DRIVES THAT ARE NOT USED and also delete the comments  " <<<remove if not used".
IE: In a Single drive library, Remove EXTRA values for the following, and remember to remove the "," in the last entry, other wise you will get error "Incorrect syntax near ',' when the script is executed.
    'dbo.tbl_MM_TapeDrive_DRIVEI-DX'
7) Now copy and paste the resulting script into the query window and execute it.   This should prevent any future inventory jobs from running.
============== SCRIPT TO MODIFY =============================
update dbo.tbl_MM_Library
Set
IsEnabled='False',
IsOffline='True',
NeedsFastInventory='False'
where GlobalLibraryId in
'tbl_MM_Library_GLOBALLIBRARY-ID'
update dbo.tbl_MM_Drive
Set
IsOffline='True'
where LibraryId in
'tbl_MM_Library_TAPELIBRARY-ID'
update dbo.tbl_MM_Slot
Set
IsPresent='False'
where LibraryId in
'tbl_MM_Library_TAPELIBRARY-ID'
update dbo.tbl_MM_TapeDrive
Set
IsEnabled='False'
where DriveId in
'dbo.tbl_MM_TapeDrive_DRIVEID-1', <<<remove comma if only entry.
'dbo.tbl_MM_TapeDrive_DRIVEID-2', <<<remove if not used or comma if the last entry
'dbo.tbl_MM_TapeDrive_DRIVEID-3', <<<remove if not used or comma if the last entry
'dbo.tbl_MM_TapeDrive_DRIVEID-4', <<<remove if not used or comma if the last entry
'dbo.tbl_MM_TapeDrive_DRIVEID-5' <<<remove if not used or comma if the last entry
Update tbl_SCH_ScheduleDefinition
SET IsDeleted = 'True'
Where jobDefinitionId in
Select JobDefinitionId from dbo.tbl_JM_JobDefinition
WHERE (Type = 'bfa93eb9-5bfc-4942-b263-c48f84ee6717')
AND (IsDeleted = 'False')
AND (Xml LIKE '%LibraryId="tbl_MM_Library_TAPELIBRARY-ID"%')
AND isDeleted <> 0
Update dbo.tbl_JM_JobDefinition
Set
IsDeleted = 'True'
WHERE (Type = 'bfa93eb9-5bfc-4942-b263-c48f84ee6717')
AND (IsDeleted = 'False')
AND (Xml LIKE '%LibraryId="tbl_MM_Library_TAPELIBRARY-ID"%')
================== END OF SCRIPT ============================
Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

Similar Messages

  • Compatible Tape Libraries and Backup Software

    Hi all,
    Having trouble digging up any good info on this. I'm building a Solaris 11.1 filer and would like to attach a tape library to back up the filesystem via NDMP. Libraries I'm considering at the moment:
    Quantum i40/i80 (HP LTO-6 drives)
    Overland Storage NEO 400S (IBM LTO-6 drives)
    Backup software I'm considering:
    Symantec Backup Exec (runs on a Windows Server)
    Dell/Quest Netvault (runs on just about anything)
    Ultimately the question is, will either of these tape libraries work with the Solaris 11.1 NDMP implementation and either of the two backup solutions above? Thanks in advance.
    -Anh

    I just use a script of my own and just call it using cron.  All though I don't hold enough data to warrant incremental backups.  Here it is.
    gary@reddwarf ~ $ cat /usr/local/bin/backup
    #!/bin/bash
    #backup script for $1
    rm $2/backup*.txt
    FN="$2/backup-`date +%d-%m-%y`.txt"
    STIME=`date +%s`
    export FN STIME
    echo Setting backup options > $FN
    #mt -f /dev/st0 compression 1
    mt -f /dev/st0 drvbuffer 1
    mt -f /dev/st0 stoptions buffer-writes
    echo - >> $FN
    echo Starting backup of $1 on `date` >> $FN
    echo - >> $FN
    tar cvpPWf /dev/st0 $1 -X $1/exclude >> $FN ## -X does not work on this version of tar
    #tar cvpPWf /dev/st0 $1 >> $FN
    ETIME=`date +%s`
    export ETIME
    BTIME=`expr $ETIME / 60 - $STIME / 60`
    export BTIME
    echo Backup of $1 complete and verified in $BTIME minuites>> $FN
    #mt -f /dev/st0 offline
    There are some incremental backup scripts floating round the fourms.
    There are plenty other examples in this thread http://bbs.archlinux.org/viewtopic.php?id=56646
    You should be able to coble something together from these.  You will have a much finer control writing a little script

  • WS-X4306-GB - Catalyst 4500 6-port GBIC Module & FC Tape Libraries

    WS-X4306-GB - Catalyst 4500 6-port GBIC Module & FC Tape Libraries
    I have several Tape Autoloader Libraries from Dell which have Fibre Channel interfaces. I have loop switches that these connect to today. I also have a Catalyst 4506 with a WS-X4306-GB - 6-port GBIC Module. I would like to use the X4306 as a loop switch. Some of the libraries can also connect via point-to-point FC.
    Can this be done? If yes, how do I start in making this happen?
    Thank You.

    Sorry but the Catalyst 4500 does not support Fibre Channel connections on the WS-X4306-GB (or on any card). It's strictly an Ethernet switch. Reference
    To mix and match Ethernet and FC interfaces, you'd have to be on a new platform like the Nexus 5k series - specifically the UP (Unified Port) variants.

  • Tape Libraries go offline during a backup job

    I am performing an NDMP backup from Netapp Fas 2040 to Oracle StorageTek SL500. However, everytime a job is performed, the tape libraries go offline before any data can be written to tape! Any one having experienced this problem  before, or any possible causes and solutions?
    Thanks

    Hi.
    You give very small part of information.
    What backup software you use ?
    How you configure SAN zonning ?
    You use NDMP backup direct to tape drive or via backup media server ?
    What log/error messages on SL500, on Backup software ?
    What means libraries go offline ? Whole library  was unavailbale or ine drive ?
    How you make library back online?
    It's neew configuration or  this configuration work before ?
    Regards,
      Nikolay.

  • Operating tape libraries without ACSLS

    First off, my appologies for asking what will appear to be a simple question to those who know but I have searched high and low and cannot find the answer.
    I use ACSLS to control various libraries but keep getting asked if the library can be controlled without ACSLS? I know that the answer is "Yes it can", because I have seen non ACSLS libraries, but my question is. What software is needed on, say a Windows or Unix system, to control the library?
    I have seen Veritas Netbackup
         Veritas BackupExec
         Legato Networker
         Tivoli Storage Manager
    CA Enterprise Backup
         & HP Data Protector mentioned but I cannot find out what is required to actually control the loading/unloading of tapes etc. If you use a Windows or Unix application that directly drives the library, would you name it and put me out of my misery please?

    Hi Hieronimous,
    What libraries are you using with ACSLS?
    ACSLS primarliy allows a Sun StorageTek tape library's robotics to be shared between multiple backup applications. If you are not sharing
    then it potentially can be controlled directly by the backup application using that backup application's media changer driver (although some
    libraries like the SL8500 do require ACSLS or HSC)
    Also if you are sharing tape libraries the newer SL500 and SL3000 also feature hardware partitioning enabling the library to be carved
    up physically and the robotics shared without the requirement for ACSLS.
    Tell us which libraries you have, whether you are sharing and we can get you a more accurate answer.
    ta

  • My wife and i both have an itunes library installed on to our separate pc's, we are now de-commissioning the pc's and are moving over to a single mac mini, can we install both libraries on to the mac mini and run them as separate libraries?

    my wife and i both have an itunes library installed on to our separate pc's, we are now de-commissioning the pc's and are moving over to a single mac mini, can we install both libraries on to the mac mini and run them as separate libraries?

    graham218 wrote:
    are moving over to a single mac mini, can we install both libraries on to the mac mini and run them as separate libraries?
    Generally YES.
    It's possible to hold separate iTunes library's on a single machine.
    Generate two new folders inside the Music folder of the Mini and name them differently; e.g. man and woman.
    Copy your whole library into "man" and your wifes into "woman"
    Go to sharing in the system settings of the Mini and share the Music folder in your network.
    After copying the whole library's to the Mini you may point iTunes to the new location at startup by holding the option key (alt) at the keyboard.
    iTunes will then ask you where the library is located.
    Point it to the matching library on the Mini.
    That's all.
    Lupunus
    PS ... If you both use only the Mini you have to setup a user account for each and just copy the whole library to the Music folder in particular.
    Message was edited by: lupunus

  • Imported mapping in template mapping module still runs against old location

    Hello,
    I imported the mapping in a new workspace (located in other server) using object names strategy, and I reconfigured the location source (it's a generic one) it uses.
    Looking at the mapping Configure menu / Table operators / Location I see the correct location I want to use.
    The template mapping module has the only data location Default Agent.
    I have synchronized several times with the inbound repository table information, and redeploy the mapping, but it still goes to the old location, that has been unregistered / deleted in the current repository.
    I don't know how to make the mapping runs against the location I want to. Please, help me
    Thank you

    Hi Alexander
    After copying a table to a different module, edit the module to set the data location, configure the module to define the location and synchronize the mapping to use this table.
    In OMB to synchronize inbound and outbound use OMBSYNCHRONIZE command
    Inbound:
    OMBSYNCHRONIZE TABLE '$OMB_CURRENT_PROJECT/SALES/TABY' TO MAPPING 'M_W_PARAMS' OPERATOR 'TABY' USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME')
    Outbound:
    OMBSYNCHRONIZE MAPPING 'M_W_PARAMS' OPERATOR 'TABX' TO TABLE '$OMB_CURRENT_PROJECT/SALES/TABX' USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_NAME')
    Cheers
    David

  • Get est time for sql without running against the db ??? possible ?

    hello,
    is there anyways to get a query execution time without running that against the database ?? even an estimate would be good...i am on 10.2.0.3 ......i am it might be impossible for it...but anyways to get estimate besides setting autotrace only ?? as i said want nothing but just like a estimate time for how long will it take to finish the query...i know we can very long_ops view but as i said..without running against the DB ...is that possible ?? as the explain plan i get shows time ?? but is that how long it will take to finish up or ?/
    select * from table(dbms_xplan.display);
    | Id  | Operation            | Name | Rows  | Bytes | Cost (%CPU)| Time     |  
    |   0 | SELECT STATEMENT     |      |    56 |  3192 |     9   (0)| 00:00:01 |  
    |   1 |  MERGE JOIN CARTESIAN|      |    56 |  3192 |     9   (0)| 00:00:01 |  
    |   2 |   TABLE ACCESS FULL  | DEPT |     4 |    80 |     3   (0)| 00:00:01 |  
    |   3 |   BUFFER SORT        |      |    14 |   518 |     6   (0)| 00:00:01 |  
    |   4 |    TABLE ACCESS FULL | EMP  |    14 |   518 |     2   (0)| 00:00:01 |  
    -----------------------------------------------------------------------------  

    user11168115 wrote:
    hello,
    is there anyways to get a query execution time without running that against the database ?? <snip>
    How long is a string?
    How deep is a hole?
    How long does it take to read an unknown number of blocks containing an unknown number of rows from an unknown disk system with an unknown contention load, pulling it across an network of unknown bandwidth and unknown load ....
    And I'm not saying that if you somehow provide all this that the answer can be known. I'm saying the too much of the information tht would be needed to make such an estimate is unknowable. Much of it will be widely variable from one execution of the query to the next execution of the exact same query. Which leaves you with exactly what to base your estimate on?
    Without even seeing your query, I can tell you with absolute certainty that it will take between 1 nano-second and 100 years to execute.

  • To retrieve number of reports run against a database

    Hi .i'm trying to get details of reports that run against a target database...is there any way of getting this detail ? ..Appreciate the help

    If the target database is the only selection criteria you will probably get the best results using the database logging and tracing facilities as in BusinessOjects there isn't any pre-defined function or Activity detail to reports on this
    Caroline

  • Compiling against developer database, running against production database??

    Hello :-)
    In our company we have a developer- , a test- and a production database, like most of us, I think... :-)
    In former times it was usual to compile forms against the database, that they are running against. But nowadays this is because of new security rules very difficult. Developers have all rights on the developer database, a few on test and nearly none on the production database and even our DBA is (officially) not allowed to use/know the sys password.
    The developer and the production database are very similar (both 10g Enterprise Edition Release 10.2.0.3.0 - 64bit, Linux), but not totally equal. Of course there are differences in database objects, because it's the developer database, there could be differences in installed patches, and the production database consists of 4 Clusters, the developer database not.
    Is it enough to compile the forms (6i and also 10g) against the developer database and run the compiled forms against the production database or should we compile the forms, that go in production, strictly against the production database, which is a bit difficult because of our security rules???
    Regards,
    Udo

    Hello, Francois!
    Thanks for your answer, but that was not exactly what I meant...
    What you describe is, how it should be :-)
    We develop, deliver the forms and scripts and "someone" compiles them against the production database.
    But our problem is that it would be a lot of "paperwork"(?) each time(!) to get the authorization to get the required rights on the production database to compile all objects.
    We have no "production team" that has all these rights and are not allowed to do so...
    So I just want to have your experiences, if it is enough to compile against the developer database???
    I have made the experience that probably 98-99% works fine, but sometimes there are strange things happening (like not passing variables from one form to another, when a form is compiled against the developer database and the attached library for example is compiled against the production database)...
    Regards,
    Udo

  • Script to run against ALL AD users in a loop

    I am going to do a SharePoint upgrade this weekend from 2010 to 2013.
    I need this script to run against every Active Directory user automatically, not just one at a time. How do I get this get this script to do that? I figure I create a pipeline, I just don't know where.
    Here is the script:
    Param(
        [string]  $account = $(Read-Host -prompt
    "UserAccount")
    Add-PSSnapIn Microsoft.SharePoint.PowerShell
    foreach ($wa in get-SPWebApplication)
        Write-Host "$($wa.Name) | $($wa.UseClaimsAuthentication
        #http://technet.microsoft.com/en-us/library/gg251985.aspx
        $wa.UseClaimsAuthentication = $true
        $wa.Update()
        $account = (New-SPClaimsPrincipal -identity
    $account -identitytype 1).ToEncodedString()
        $zp = $wa.ZonePolicies("Default")
        $p = $zp.Add($account,"PSPolicy")
        $fc=$wa.PolicyRoles.GetSpecialRole("FullControl")
        $p.PolicyRoleBindings.Add($fc)
        $wa.Update()
        $wa.MigrateUsers($true)
        $wa.ProvisionGlobally()
    Please help me! Thank you!

    Hi,
    Need to do something like this
    $Users=Get-ADUser -filter *
    foreach ($User in $Users) {
    YOUR SCRIPT
    -Identity $Users
    YOUR SCRIPT
    YOUR SCRIPT
    YOUR SCRIPT
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • Multiple OWSM Gateway's running against 1 Policy Server

    Is it a supported configuration to have multiple OWSM Gateways running against one policy server?
    Thanks,
    Michael

    It won't trash the applications (see http://java.sun.com/j2se/1.4.2/compatibility.html to get 100% proof). If you install a new version, this will be used by default (if you just use "java"). Of course you can still use other JREs / SDKs when you explicitely use the version ("c:\Programme\j2sdk1.4.2_04\bin\java").

  • HTML DB running against SAP (on Oracle) - any experiences ? known clients ?

    Hi folks,
    does anybody have knowledge of HTML DB running against SAP/Oracle (as some sort of reporting frontend for e.g. controlling depts.) ?
    Any Experiences on that ?
    Any info wud be appreciated.
    brgds
    Bernhard

    Hi folks,
    does anybody have knowledge of HTML DB running against SAP/Oracle (as some sort of reporting frontend for e.g. controlling depts.) ?
    Any Experiences on that ?
    Any info wud be appreciated.
    brgds
    Bernhard

  • OBI EE running against XE

    Can Oracle BI EE run against Oracle XE?
    Thanks

    Hi
    You can check this blogs (I paste the linko to part 3, in the post You can find links to previous posts on the topic):
    http://oraclebi.blogspot.com/2005/11/oracle-xe-database-and-discoverer-3.html
    regards,Peter

  • NoSuitableDriver exception running against a jtds driver.

    I developed my BC using SQL Flavour and now I try to run against SqlServer using Jtds Driver.
    I created my connection and tested it : it works fine.
    I create a configuration using that connection but when I try to run the tester against the DB I get a NoSuitableDriver error. (No suitable driver found for jdbc:jtds:sqlserver://faac/MSSQLSERVER;domain=faac;)
    Shoud register the driver somewhere in my classes ?
    What I Missed ?
    Tks
    Tullio

    I'm guessing that the embedded WLS server can't find the JDBC library you are using - you can try adding it to the lib directory of the embedded WLS
    Somewhere like: C:\Users\youruser\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\lib
    or directly to the classpath in the startup script:
    C:\Users\sshmeltz\AppData\Roaming\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\bin
    or try and mark the library with the JDBC jar to be deployed by default in JDeveloper.

Maybe you are looking for

  • IChat video chat not working ANYMORE-can see friends, but they can't see me

    My built-in iSight camera is working. Photobooth works fine. My iChat used to work perfectly, video and all. But starting two nights ago, when I bring up a video chat screen with anyone, the picture preview of me freezes and the person I am talking w

  • How to reset?"Enter Administra​tor Password" on Compaq CQ62. System disabled key 75858185

    Hello everyone, I have a Compaq CQ62. When I've turned it on, it comes up with the bios screen message "Enter Administrator or Power on Password". I tried a few incorrect attempts and after the third attempt, a message "System disabled - Key 75858185

  • Function control of the PXI system

    Hi All! We order  NI PXI-1036DC + PXI-4462 + PXI-6682 GPS + PXI-6653 + PXI-8101. Is it possible to control: 1. DC voltage and current? 2. GPS coordinates of the system? 3. Accuracy (or quality) of the 10 MHz clock disciplining by the 6682 GPS? It m

  • Systemd not starting services

    Hi, after a mint install today (according to Wiki's "Beginners' Guide") and installation of bftpd, systemd is not able to start it (enabling it and restarting also doesn't help)... I'm pretty sure this still worked ~Wed this week on another installat

  • Anyone ever tried this?

    So I'm trying to create the sound of a sports car engine accelerating using only a synth in Logic. I'm working on a project for which I cannot use any audio samples, only MIDI instruments. I was just going to skip the car engine sound, but thought it