Lync Server 2013 中的灾难恢复测试Disaster recovery test in Lync Server 2013


上次修改的主题: 2015-01-26Topic Last Modified: 2015-01-26

为 Lync Server 2013 池服务器执行系统恢复,以测试已记录的灾难恢复过程。Perform a system recovery for a Lync Server 2013 pool server to test your documented disaster recovery process. 此测试将模拟一台服务器的完全硬件故障,并将帮助确保资源、计划和数据可用于恢复。This test will simulate a complete hardware failure for one server, and will help guarantee that the resources, plans, and data is available for recovery. 尝试每月旋转测试的焦点,以便您的组织每次都测试不同的服务器或其他设备的故障。Try to rotate the focus of the test each month so that your organization tests the failure of a different server or other piece of equipment every time.

请注意,组织执行灾难恢复测试的计划将有所不同。Note that the schedule by which organizations perform Disaster Recovery testing will vary. 不会忽略或忽略灾难恢复测试,这一点非常重要。It is very important that disaster recovery testing is not ignored or neglected.

将 Lync Server 2013 拓扑、策略和配置设置导出到文件中。Export your Lync Server 2013 topology, policies, and configuration settings to a file. 此外,还可以使用此文件在升级后将此信息还原到中央管理存储,或者在发生硬件故障或其他一些问题导致数据丢失的情况下。Among other things, this file can then be used to restore this information to the Central Management store after an upgrade, a hardware failure, or some other issue has resulted in data loss.

将 Lync Server 2013 拓扑、策略和配置设置导入到中央管理存储或本地计算机,如以下命令所示:Import your Lync Server 2013 topology, policies, and configuration settings to either the Central Management store or to the local computer as shown in the following commands:

Import-CsConfiguration -ByteInput <Byte[]> [-Force <SwitchParameter>] [-LocalStore <SwitchParameter>]

Import-CsConfiguration -FileName <String> [-Force <SwitchParameter>] [-LocalStore <SwitchParameter>]

若要备份 Lync Server 2013 数据,请执行以下操作:To back up production Lync Server 2013 data:

  • 使用标准 SQL Server 备份过程将数据库转储到文件或磁带转储设备,从而备份 RTC 和 LCSLog 数据库。Back up the RTC and LCSLog databases by using the standard SQL Server backup process to dump the database to a file or tape dump device.

  • 使用第三方备份应用程序将数据备份到文件或磁带。Use third-party backup application to back up the data to file or to tape.

  • 使用 Export-CsUserData cmdlet 可以创建整个 RTC 数据库的 XML 导出。Use the Export-CsUserData cmdlet to create an XML export of the whole RTC database.

  • 使用文件系统备份或第三方备份会议内容和合规性日志。Use the file system backup or third-party to back up meeting content and compliance logs.

  • 使用 Export-CsConfiguration 命令行工具备份 Lync Server 2013 设置。Use the Export-CsConfiguration command-line tool to back up Lync Server 2013 settings.

故障转移过程中的第一步包括将用户从生产池强制移动到灾难恢复池。The first step in the failover procedure includes a forced move of users from the production pool to the Disaster Recovery pool.

这将是强制移动,因为生产池将不能接受用户重新定位。This will be a forced move because the production pool won't be available to accept the user relocation.

除了 RTC SQL 数据库上的记录更新之外,Lync Server 2013 移动用户过程实际上也是对用户帐户对象上属性的更改。The Lync Server 2013 move user process is effectively a change to an attribute on the user account object in addition to a record update on the RTC SQL database.

可以通过以下两个过程来还原这些数据:This data can be restored through the following two processes:

  • 使用标准 SQL Server 还原过程或使用第三方备份/还原实用程序,可以从生产 SQL Server 从原始备份转储设备还原 RTC 数据库。RTC database can be restored from the original backup dump device from the production SQL Server using the standard SQL Server restore process, or using a third-party backup/restore utility.

  • 可以使用使用从生产 SQL Server 导出创建的 XML 文件的 DBIMPEXP.exe 实用程序还原用户联系人数据。User contact data can be restored with the DBIMPEXP.exe utility using the XML file that was created from the production SQL Server export.

还原此数据后,用户可以有效地连接到灾难恢复 Lync Server 2013 池,并照常运行。After this data is restored, users can effectively connect to the Disaster Recovery Lync Server 2013 pool, and operate as usual.

若要使用户能够连接到灾难恢复 Lync Server 2013 池,将需要进行 DNS 记录更改。To enable users to connect to the Disaster Recovery Lync Server 2013 pool, a DNS record change will be required.

使用以下各项的自动配置和 DNS SRV 记录,客户端将引用生产 Lync Server 2013 池:The production Lync Server 2013 pool will be referenced by clients using the auto-configuration and DNS SRV records of:

  • SRV: _ sip。 _eap-tls.<domain>SRV: _sip._tls.<domain> /CNAME: SIP。<domain>/CNAME: SIP.<domain>

  • CNAME: SIP。<domain>CNAME: SIP.<domain> /cvc-pool-1.<domain>/cvc-pool-1.<domain>

为了便于进行故障转移,必须更新此 CNAME 记录以引用 DROCSPool FQDN:To facilitate the failover, this CNAME record must be updated to reference the DROCSPool FQDN:

  • CNAME: SIP。<domain>CNAME: SIP.<domain> /DROCSPool.<domain>/DROCSPool.<domain>

  • Sip.<domain>Sip.<domain>

  • AV.<domain>AV.<domain>

  • webconf.<domain>webconf.<domain>

  • OCSServices.<domain>OCSServices.<domain>


有关详细的管理和管理过程,请参阅 备份和还原 Lync Server 2013For detailed administration and management procedures, see Backing up and restoring Lync Server 2013.