Removing Library Sharing

Applies To: System Center Data Protection Manager 2010

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

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

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

Use the following procedure to remove library sharing.

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. For more information about upgrading a DPM server that is using a remote instance of Microsoft SQL Server, see Upgrading to DPM 2010 from DPM 2007 When Using a Remote Instance of SQL Server. For more information about upgrading a DPM server that is using a local instance of SQL Server, see Upgrading to DPM 2010 from DPM 2007 When Using a Local Instance of SQL Server.

  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 (https://go.microsoft.com/fwlink/?LinkId=196926).