Remove library sharing

 

Updated: May 13, 2016

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

If you are sharing a tape library across multiple servers running System Center 2012 – Data Protection Manager (DPM), you must remove library sharing before you upgrade to System Center 2012 SP1DPM Beta.

  • The library server is a computer on which DPM is installed, the library-sharing command has been run, and the medium changer is enabled.

  • A library client is a computer on which DPM is installed, the library-sharing command has been run, and the medium changer is not enabled.

To remove library sharing

  1. On each library client computer, open an elevated command prompt, and then run the following commands:

cd <system drive> :\Program Files\Microsoft DPM\DPM\Setup

**SetSharedDPMDatabase.exe -RemoveDatabaseSharing**

**AddLibraryServerForDPM.exe –DPMServerWithLibrary** *\<FQDN of the library server\>* **-remove**

where *\<FQDN of library server\>* is the fully qualified domain name of the library server.
  1. Upgrade DPM on the library client computers.

  2. Repeat steps 1 and 2 for all library client computers.

  3. After you have removed library sharing and upgraded DPM on all library clients, on the library server, open an elevated command prompt, and then run the following commands one time for each library client:

cd <system drive> :\Program Files\Microsoft DPM\DPM\Setup

For each library client, run:  
**AddLibraryServerForDpm.exe – ShareLibraryWithDpm*\<FQDN of library client\>*-remove\*\*

where *\<FQDN of library client\>* is the fully qualified domain name of the library client.

Then run the following command one time:

**SetSharedDPMDatabase.exe -RemoveDatabaseSharing**
  1. Upgrade DPM on the library server.

  2. After you have upgraded DPM on the library server, reconfigure tape library sharing. For step-by-step instructions about how to configure library sharing, see Setting up Tape Library Sharing.