Move Lync File Store Data to New File Store
Topic Last Modified: 2012-01-24
In the event that you need to remove the file server that is currently acting as the file store for your Microsoft Lync Server 2010 deployment or make other changes that would make the current file store unavailable, you need to create a new share. Then, you make it available to your deployment as a file store by defining it in Topology Builder and publishing the changes. You shut down the Lync Server services that use the file store that you want to remove, move the data to the new file store, and then you restart the servers or services. Optionally, you can remove the old file share and directory.
To move file store data from one file store to a new file store
Log on to a computer as a member of the RTCUniversersalServerAdmins or CsServerAdministrator group where the Lync Server 2010, Administrative Tools are installed.
Open a browser window, and then enter the Admin URL to open the Lync Server Control Panel. For details about the different methods you can use to start Lync Server Control Panel, see Open Lync Server Administrative Tools.
In the left navigation bar, click Topology, and then click Status.
In the list of servers, click any of the Archiving Servers, Director pools, Directors, Front End Servers, or Front End pools that are using the file store that you want to remove, click Action, click Stop all services.
Repeat the previous step for each Archiving Server, Director pool, Director, Front End Server, or Front End pool in your deployment that uses the file store that you want to remove.
Log on to the computer where Topology Builder is installed as a member of the Domain Admins group and the RTCUniversalServerAdmins group.
When Topology Builder prompts you to select the source of the Lync Server 2010 topology documents, select Download Topology from existing deployment, and then click OK.
In Save Topology As, type a name for the topology document in File name, and then click Save.
In Topology Builder, expand each of the three server roles (that is, Front End Server, Director, or Archiving Server).
Right-click the server, and then click Edit Properties.
In Edit properties, under Associations, in File share, click New, define the new File Server FQDN, define the new File Share, and then click OK.
Important
You must define the new file store. You define it only once and you do not need to define it for each server. Before you publish the topology, you must create the defined file share on the defined file server. For details, see Define the File Store for the Front End.
In Edit Properties, under Associations, in File share, click the fully qualified domain name (FQDN) and the share name of the new file share, and then click OK.
Repeat the previous step for each Archiving Server, Director pool, Director, Front End Server, and Front End pool.
Publish the topology, check replication status, and then run the Lync Server Deployment Wizard.
You must repeat the Lync Server Deployment Wizard Step 2: Setup or Remove Lync Server Components on each server affected by the change of file store location. Server roles affected by the relocation of the file store location:
Front End pool, Front End Servers
Standard Edition server
Director, Director pool
Archiving Servers
(Optional) if you prefer to use the Lync Server Management Shell, run the following cmdlet on each affected server role:
Enable-CsComputer
Note
For details, see Common Procedures for Removing Servers Running Lync Server and Lync Server Components.
Start a command prompt: Click Start, click Run, and then type cmd.exe.
Type the following command:
Robocopy \\<OldFileServer>\<OldShare> \\<NewFileServer>\<NewShare> /S /R:10 /W:10 /XF Meeting.Active /MT /LOG:<directory path\logname>
Tip
The /S switch copies over files, directories and sub-directories, and the /XF switch skips any files that are named Meeting.Active. Current versions of the robocopy.exe with the /MT switch greatly increase copy speed by using multiple threads. /LOG: <directory path\logname>, where directory path\logname is in the form of C:\Logfiles\log.txt and it creates a log file of operations to the named file and directory.
When the data copy is complete, in the Lync Server 2010 Control Panel, click Topology, and then click Status.
For each Archiving Server, Director pool, Director, Front End Server, or Front End pool that you stopped the services on previously, do the following:
In the list of servers in the deployment, click the server, click Action, click Start all services. Repeat for each Archiving Server, Director pool, Director, Front End Server, and Front End pool in your deployment.
Remove the old file store from the topology and then publish the topology.
Note
For details, see Remove a File Store.
(Optional) Log on to the computer that contains the file store that you just removed as a member of the local Administrators group or the Domain Admins group, and then remove the old file share and directory.