Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Manage tape libraries in the DPM library

Updated: November 1, 2013

Applies To: System Center 2012 - Data Protection Manager, System Center 2012 R2 Data Protection Manager, System Center 2012 SP1 - Data Protection Manager

Use the following procedures to manage tapes in the DPM library:

You can temporarily disable a tape library or stand-alone tape drive in DPM to perform maintenance or repairs. When you are ready to return the tape library or stand-alone tape drive to operation, you must enable it.

Enable a library

To enable a library

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. In the Display pane, select the tape library or stand-alone tape drive that is disabled.

  3. Click Enable library.

To enable a library using DPM Management Shell

  • Use the following syntax to retrieve the library:

    Get-DPMLibrary [-DPMServerName] <String> [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to enable a library:

    Enable-DPMLibrary [-DPMLibrary] <Library[]> [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

    For more information, type "Get-Help Enable-DPMLibrary -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Enable-DPMLibrary -full" in DPM Management Shell.

To disable a library

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. In the Display pane, select the tape library or stand-alone tape drive to be disabled.

  3. Click Disable library.

To disable a library using DPM Management Shell

  • Use the following syntax to retrieve the library:

    Get-DPMLibrary [-DPMServerName] <String> [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to disable a library:

    Disable-DPMLibrary [-DPMLibrary] <Library[]> [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ] [-WhatIf] [-Confirm]

    For more information, type "Get-Help Disable-DPMLibrary -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Disable-DPMLibrary -full" in DPM Management Shell.

Detect tape drives

To install a tape library or stand-alone tape drive on the DPM server, follow the instructions provided with the tape device. An installed tape device will be listed in Device Manager.

DPM supports a number of tape libraries for backup, recovery, and archive of business-critical data. Ensure that the medium changer and the tape drives have serial numbers.

DPM will identify a tape library or stand-alone tape drive that is physically attached to the DPM server and display the tape device information in DPM Administrator Console in the Libraries workspace of the Management view.

Ensure the following,

If the tape library or stand-alone tape drive is not displayed in DPM Administrator Console, use the Rescan action to update the display. After you perform Rescan, ensure that the medium changer is displayed in the device manager and number of tape drives displayed in the device manager and in the tape library are same.

If your tape library is displayed as a stand-alone tape drive or if the state of your library in DPM Administrator Console does not reflect the physical state accurately, you might need to correct the tape drive mapping. For more information about remapping tape drives, see Managing Tapes.

To check for new tape libraries or stand-alone tape drives

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. Click Rescan.

Inventory the tape library

The purpose of an inventory operation is to identify new tapes and recognize tapes DPM has seen before.

A fast inventory involves reading the bar code of each tape in the library. DPM can perform a fast inventory for tapes that have bar codes in a tape library that has a bar code reader.

A detailed inventory involves reading the header area of a tape in the library to identify the on-media identifier (OMID) on each tape. DPM must perform a detailed inventory when a tape does not have a bar code or the tape library does not have a bar code reader.

A fast inventory will detect any tape (with or without a bar code) in any library. However, to uniquely identify the media, perform a detailed inventory.

To inventory tapes in a library

  1. In DPM Administrator Console, go to the Management view.

  2. In the Libraries workspace, select a library.

  3. Click Inventory.

  4. In the Inventory dialog box, select Fast inventory or Detailed inventory, and then click Start.

To inventory tapes in a library using DPM Management Shell

  • Use the following syntax to retrieve the library:

    Get-DPMLibrary [-DPMServerName] <String> [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to perform a fast inventory:

    Start-DPMLibraryInventory [-DPMLibrary] <Library> [-FastInventory] [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to perform a detailed inventory:

    Start-DPMLibraryInventory [-DPMLibrary] <Library> -DetailedInventory [-Tape <Media[]> ] [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

    For more information, type "Get-Help Start-DPMLibraryInventory -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Start-DPMLibraryInventory -full" in DPM Management Shell.

Rename a tape library

You can use the default name assigned to the tape library or stand-alone tape drive when it was installed, or you can assign it a new name. When you use DPM to rename a tape library or stand-alone tape drive, the device name is changed only in DPM Administrator Console.

To rename a tape library

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. In the display pane, select the tape library or stand-alone tape drive that you want to rename.

  3. Click Rename library.

  4. In the Rename Library dialog box, type the new name, and then click Rename.

To rename a tape library using DPM Management Shell

  • Use the following syntax to retrieve the library:

    Get-DPMLibrary [-DPMServerName] <String> [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to rename the library:

    Rename-DPMLibrary [-DPMLibrary] <Library> [-NewName] <String> [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

    For more information, type "Get-Help Rename-DPMLibrary -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Rename-DPMLibrary -full" in DPM Management Shell.

Lock or unlock a library door

If your tape library does not have an insert/eject (I/E) port, you can use the following procedures to lock or unlock the tape library door.

To lock a tape library door

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries tab.

  2. In the display pane, select the library that you want to lock.

  3. Click Lock library door.

To lock a tape library door using DPM Management Shell

  • Use the following syntax to unlock a library door:

    Lock-DPMLibraryDoor [-DPMLibrary] <Library> [-Async] [-DoorAccessJobStateChangeEventHandler <DoorAccessJobStateChangeEventHandler> ] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

    For more information, type "Get-Help Lock-DPMLibraryDoor -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Lock-DPMLibraryDoor -full" in DPM Management Shell.

To unlock a tape library door

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. In the display pane, select the library that you want to unlock.

  3. Click Unlock library door.

To unlock a tape library door using DPM Management Shell

  • Use the following syntax to unlock a library door:

    Unlock-DPMLibraryDoor [-DPMLibrary] <Library> [[-Timeout] <Int32> ] [-Async] [-DoorAccessJobStateChangeEventHandler <DoorAccessJobStateChangeEventHandler> ] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

    For more information, type "Get-Help Unlock-DPMLibraryDoor -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Unlock-DPMLibraryDoor -full" in DPM Management Shell.

Enable or disable a tape drive

You can temporarily disable a drive in tape library or stand-alone tape drive in DPM to perform maintenance or repairs. When you are ready to return the drive to operation, you must enable it.

To enable a drive

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. In the display pane, expand the tape library or stand-alone tape drive, and click the drive that is disabled.

  3. Click Enable drive.

To enable a drive using DPM Management Shell

  • Use the following syntax to retrieve the drive:

    Get-DPMTapeDrive [-DPMLibrary] <Library[]> [-Verbose] [-Debug][-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ][-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to enable the drive:

    Enable-DPMTapeDrive [-TapeDrive] <Drive[]> [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ]

    For more information, type "Get-Help Enable-DPMTapeDrive -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Enable-DPMTapeDrive -full" in DPM Management Shell.

To disable a drive

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. In the display pane, expand the tape library or stand-alone tape drive, and click the drive to be disabled.

  3. Click Disable drive.

To disable a drive using DPM Management Shell

  • Use the following syntax to retrieve the drive:

    Get-DPMTapeDrive [-DPMLibrary] <Library[]> [-Verbose] [-Debug][-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ][-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to disable the drive:

    Disable-DPMTapeDrive [-TapeDrive] <Drive[]> [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ] [-OutVariable <String> ] [-OutBuffer <Int32> ] [-WhatIf] [-Confirm]

    For more information, type "Get-Help Disable-DPMTapeDrive -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Disable-DPMTapeDrive -full" in DPM Management Shell.

Clean a tape drive

To clean a drive in a tape library, you must specify which tape to use for cleaning, and then start the cleaning job. If a cleaning tape is online and marked as a cleaning tape, you only need to run the cleaning job.

Follow your hardware manufacturer's recommendations for cleaning frequency. To clean a stand-alone tape drive, load a cleaning tape and follow the hardware manufacturer's instructions.

To clean a tape drive

  1. In DPM Administrator Console, go to the Management view, and then open the Libraries workspace.

  2. In the display pane, select the drive to be cleaned, and then click Clean drive.

To clean a tape drive using DPM Management Shell

  • Use the following syntax to retrieve a tape drive:

    Get-DPMTapeDrive [-DPMLibrary] <Library[]> [-Verbose] [-Debug][-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ][-OutVariable <String> ] [-OutBuffer <Int32> ]

  • Use the following syntax to clean a drive:

    Start-DPMTapeDriveCleaning [-TapeDrive] <Drive[]> [-JobStateChangedEventHandler <JobStateChangedEventHandler> ] [-Verbose] [-Debug][-ErrorAction <ActionPreference> ] [-ErrorVariable <String> ][-OutVariable <String> ] [-OutBuffer <Int32> ]

    For more information, type "Get-Help Start-DPMTapeDriveCleaning -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Start-DPMTapeDriveCleaning -full" in DPM Management Shell.

-----
For additional resources, see Information and Support for System Center 2012.

Tip: Use this query to find online documentation in the TechNet Library for System Center 2012. For instructions and examples, see Search the System Center 2012 Documentation Library.
-----
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.