Topic Last Modified: 2012-10-19
Use the following prerequisites and detailed steps to migrate either Lync Server 2010, Group Chat or Office Communications Server 2007 R2 Group Chat to Lync Server 2013, Persistent Chat Server.
Prerequisites for Migration
Be sure that you’ve met the following prerequisites before migrating either Lync Server 2010, Group Chat or Office Communications Server 2007 R2 Group Chat to Lync Server 2013, Persistent Chat Server.
-
Deploy at least one Lync Server 2013 pool. If you have multiple Lync Server 2013 pools, decide which Lync Server 2013 pool will be the home pool for the new Lync Server 2013 Persistent Chat Server pool.
-
Install the Lync Server 2013, Persistent Chat Server pool. It will be empty (no categories, rooms, or add-ins). Before you migrate your legacy categories, rooms, or add-ins, you can create rooms, categories, or add-ins in your Lync Server 2013, Persistent Chat Server deployment.
Important: Be aware that these newly created items may conflict with legacy items that you migrate. Avoid any naming conflicts; otherwise, they will be overwritten when the legacy data is migrated.
Preparing the Source Data for Migration
Perform the following steps to properly prepare your source data for migration.
-
Back up the source databases for either Lync Server 2010, Group Chat or Office Communications Server 2007 R2 Group Chat. For details about backing up SQL Server, see "Backup Overview (SQL Server)" at http://go.microsoft.com/fwlink/p/?linkid=254851.
Important: Active Directory Domain Services should be the same. As a condition for migration, you cannot migrate to a pool in a different deployment (specifically, in a different Active Directory forest). -
Inspect your Lync Server 2010, Group Chat or Office Communications Server 2007 R2 Group Chat chat rooms and category configuration. Any changes to categories, rooms, or add-ins in your existing legacy deployment will be done by the Group Chat Admin Tool.
Tip: Any changes to categories, rooms, or add-ins in your Lync Server 2013, Persistent Chat Server deployment are performed by the Lync Server Control Panel or Windows PowerShell cmdlets. Follow these steps to prepare your legacy system for migration.
-
Persistent Chat Server supports a single level of categories, unlike a deep hierarchical set of categories. After migration, the subcategories are prefixed with full parent category names. You might want to simplify and flatten your existing category structure so that the resulting structure meets your requirements.
-
Verify the Managers at the root Category. If any Managers exist at this level, these users will be added as Managers to all rooms after migration. If this is not a requirement for your organization, you need to remove these Managers from the root Category.
-
Verify the length of room names. After migration, due to simplified category structures, if the rooms exist under a child category, they are prefixed with full parent category names. The naming limit is 256 characters, including parent category names. You must verify the length of the room names and possibly shorten the length, if they are too long.
-
In Lync Server 2013, if the category invitations settings are set to true, you can choose true or false for invitations to rooms under that category. However if the category invitations settings are set to false, rooms under that category have invitations turned off. Before migration, you must reset the invitation settings in your legacy Lync Server Group Chat Server version, if you want room(s) to exist under a specific category. Otherwise, during migration, Lync Server 2013 displays warnings and sets rooms to the default value of false.
-
If you used files in chat rooms, you must XCOPY the files manually to the new Persistent Chat file store after migration. The tools don’t do this.
-
If you had federated users and rooms with federated users, be aware that Persistent Chat Server does not support federation. Rooms with federated users will be migrated; however, the users themselves won’t be able to access the content, because federated access is not supported.
-
Identify those rooms that you do not want to migrate, and mark them as disabled.
-
Identify the date beyond which you want to migrate the chat room content. For example, you may not want to migrate messages earlier than January 1, 2010, because these messages may be obsolete or not relevant for migration.
-
Performing the Migration
Perform the following steps to migrate your legacy Group Chat Server.
-
Shut down the Lync Server 2010, Group Chat, Office Communications Server 2007 R2 Group Chat or Lync Server 2013, Persistent Chat Server services. All services must be stopped, so plan to do this at a time when there is enough downtime. As previously described, make sure to back up your current Group Chat database.
-
Run the Windows PowerShell Export-CsPersistentChatData cmdlet as a member of the Persistent Chat administrator RBAC role (CsPersistentChatAdministrator). For details about the export/import cmdlets, see Troubleshooting Persistent Chat Server Configuration using Windows PowerShell Cmdlets.
Inspect the exported contents.
-
Before you’re ready to import, shut down Lync Server 2013, Persistent Chat Server services. All services need to be stopped, so plan to do this at a time when there is enough downtime.
-
Perform a backup of the Persistent Chat database if you had created any categories, rooms, or add-ins in your Lync Server 2013 deployment before the migration. The export/import process will be able to merge the legacy data into the Lync Server 2013 deployment, but you’ll want to back up the database in case that content is inadvertently overwritten (for example, if naming conflicts still exist).
-
Run the Windows PowerShell Import-CsPersistentChatData cmdlet (import tool), with a WhatIf command to populate the Back End Server of the Persistent Chat Server pool with migrated data. Some conversions happen in the process to accommodate the simplified administration model. Fix any errors or warnings that appear.
-
Run the Persistent Chat Server Windows PowerShell Import-CsPersistentChatData cmdlet as a member of the Persistent Chat administrator RBAC role (CsPersistentChatAdministrator). For details about the export/import cmdlets, see Troubleshooting Persistent Chat Server Configuration using Windows PowerShell Cmdlets.
-
You must XCOPY all uploaded files (the entire folder) to the new Lync Server 2013, Persistent Chat file store.
Important: The Lync 2013 (client) does not support uploading or viewing files in chat rooms. You can still use the legacy client to post and view files in the room. -
Port the Lync Server 2010, Group Chat or Office Communications Server 2007 R2 Group Chat Lookup Server URI to the Lync Server 2013, Persistent Chat Server contact object. The following steps are required if either your Lync 2010 Group Chat or Office Communicator 2007 R2 Group Chat clients need to connect to the latest Lync 2013, Persistent Chat (client) after migration without any client-side configuration changes:
-
Delete the ocschat@<domainName>.com Lookup Server user account. This was used to point to the Lookup Service in Lync Server 2010, Group Chat. You can uninstall the pool and remove trusted entries later.
-
Create a legacy endpoint (Persistent Chat Server contact object) by running the Windows PowerShell cmdlet, New-CsPersistentChatEndpoint, with the identical SIP URI so that the legacy client will work effectively when the service is restarted.
The mandatory migration process is complete at this point. Lync 2010 Group Chat (clients) or Office Communicator 2007 R2 Group Chat (clients) can connect to the new Persistent Chat Server pool now, transparently.
Follow these additional decommissioning steps for Lync Server 2010, Group Chat or Office Communications Server 2007 R2 Group Chat.
-
-
Start the Persistent Chat Server services by turning on all computers in the new Persistent Chat Server pool.
-
Use the Lync Server Control Panel and Windows PowerShell cmdlets to verify that the data has migrated successfully.
-
Uninstall Lync 2010 Group Chat or Office Communicator 2007 R2 Group Chat from the computers in the Group Chat Server pool.
-
Delete the trusted application and trusted application pool using Windows PowerShell cmdlets. This deletes these items from the Central Management store and the associated Trusted Service Entries (TSEs) from the Active Directory. Alternatively, this step works by using the Topology Builder (the trusted applications/pools have a dedicated node there, also).
-
You can now begin to enable Persistent Chat Server functionality through the new clients. For details about enabling Persistent Chat Server, see Deploying Persistent Chat Server.
Important: Lync Server 2013 supports multiple Persistent Chat Server pools. However, we support migrating a Lync 2010 Group Chat or Office Communications Server 2007 R2 Group Chat pool to a single Lync Server 2013, Persistent Chat Server pool. You can add additional new Persistent Chat Server pools in your deployment to meet the regulatory needs (for example, keeping data within a given geography).