在 Lync Server 2013 中管理灾难恢复期间的通知Manage announcements during disaster recovery in Lync Server 2013

 

上次修改的主题: 2013-02-23Topic Last Modified: 2013-02-23

Lync Server 2013 支持在中断期间呼叫未分配号码的通知。Lync Server 2013 supports announcements for calls to unassigned numbers during outages. 在中断期间还原通知功能是可选的。Restoring announcement functionality during an outage is optional. 如果您选择在中断期间还原,则需要在备份池中重新创建通知配置。If you choose to restore announcements during an outage, you need recreate your announcement configuration in the backup pool. 本节介绍在灾难恢复过程中选择还原通知时需要执行的操作。This section describes what you need to do if you choose to restore announcements during disaster recovery.

本部分适用于使用通知应用程序的未分配号码范围。This section applies to unassigned number ranges that use the Announcement application. 它不适用于使用 Exchange 统一消息 (UM) 自动助理的未分配号码范围。This section does not apply to unassigned number ranges that use Exchange Unified Messaging (UM) Auto Attendant.

在中断之前Before an Outage

无论您是否选择在中断期间使用通知,您都应对您为通知应用程序配置的任何自定义音频文件进行单独备份。Regardless of whether you choose to use announcements during outages, you should take separate backups of any customized audio files that you configured for the Announcement application. 自定义通知不会作为 Lync Server 灾难恢复过程的一部分进行备份。Customized announcements are not backed up as part of the Lync Server disaster recovery process. 如果您未采用这些文件的单独备份,并且上载到服务器或池的文件被损毁、损坏或擦除,则这些文件将会丢失。If you do not take separate backups of the files and the files that you uploaded to the server or pool are damaged, corrupted, or erased, the files will be lost.

如果您没有自定义的音频文件的备份副本,并且原始音频文件不再可用,您可以通过查看您最初导入文件的服务器或池的文件存储,查找您为通知应用程序配置的音频文件。If you do not have backup copies of customized audio files, and the original audio files are no longer available, you can find the audio files that you configured for an Announcement application by looking in the File Store for the server or pool where you originally imported the files. 您可以从文件存储中复制为通知应用程序配置的所有音频文件。You can copy all the audio files that you configured for the Announcement application from the File Store.

从文件存储中复制音频文件To copy audio files from the file store

  1. 在命令行中运行:At the command line, run:

    Xcopy <Source: Pool Announcement Service File Store path> <Destination>
    

    例如:For example:

    Xcopy "<Pool File Store Path>\X-ApplicationServer-X\AppServerFiles\RGS\AS" "<Destination: Backup location>"
    

    其中,X-ApplicationServer-X 指的是池的应用程序服务器的服务 ID(例如,1-ApplicationServer-1")Where X-ApplicationServer-X refers to the service ID of the Application Server of the pool (for example, 1-ApplicationServer-1")

在中断期间During an Outage

若要在中断期间使用通知应用程序,您需要执行本节中所述的任务,在备份池中重新创建通知配置。To use the Announcement application during an outage, you need to recreate the announcement configuration in the backup pool by performing the tasks described in this section.

备注

建议在故障转移到备份池之后再执行这些任务,因为一执行步骤 2,备份池就会拥有未分配号码范围。We recommend that you perform these tasks after you fail over to the backup pool, because as soon as you perform step 2, the backup pool takes ownership of the unassigned number ranges.

备注

对于使用 Exchange UM 自动助理电话号码的号码范围,不需要这些步骤。These steps are not required for number ranges that use an Exchange UM Auto Attendant phone number.

在备份池中重新创建通知配置To recreate the announcement configuration in the backup pool

  1. 通过执行以下操作重新创建在主池和备份池中部署的通知:Recreate the announcements that you deployed in the primary pool in the backup pool by doing the following:

    1. 通过使用 Import-CsAnnouncementFile cmdlet 并为备份池指定 Parent 参数,将主池中使用的任何音频文件导入到备份池。Import any audio files used in the primary pool to the backup pool by using the Import-CsAnnouncementFile cmdlet and specifying the backup pool for the Parent parameter.

    2. 通过使用 New-CsAnnouncement cmdlet 并为备份池指定 Parent 参数,重新创建每个通知。Recreate each announcement by using the New-CsAnnouncement cmdlet and specifying the backup pool for the Parent parameter.

    备注

    有关使用这些参数在备份池中创建通知的详细信息,请参阅 在 Lync Server 2013 中创建通知For details about using these parameters to create announcements in the backup pool, see Create an announcement in Lync Server 2013.

  2. 在备份池中重新创建所有通知之后,将使用主池中通知的所有未分配号码范围重定向到备份池中重新创建的通知。After all announcements are recreated in the backup pool, redirect all the unassigned number ranges that use announcements in the primary pool to the recreated announcements in the backup pool.

    针对使用主池中通知的每个未分配号码范围,运行以下内容:For each unassigned number range that uses an announcement in the primary pool, run the following:

    Set-CsUnassignedNumber -Identity "<name of number range>" -AnnouncementService "<FQDN of backup pool>" -AnnouncementName "<announcement name in backup pool>"
    

中断之后After the Outage

在主池可用的情况下,您需要将由于中断发生更改的未分配号码范围重定向到主池。When the primary pool becomes available, you need to redirect the unassigned number ranges that you changed for the outage back to the primary pool.

备注

对于使用 Exchange UM 自动助理电话号码的号码范围,不需要这些步骤。These steps are not required for number ranges that use an Exchange UM Auto Attendant phone number.

在主池中还原通知To restore announcements in the primary pool

  1. 如果必须在恢复过程中重建主池,则需要通过导入音频文件并创建通知,来在主池中重新创建通知,这与在备份池中所执行的操作一样,所不同的是您需要为主池指定 Parent 参数。有关详细信息,请参阅本主题前面的“在中断期间”。If you had to rebuild the primary pool during the recovery, you need to recreate the announcements in the primary pool by importing the audio files and creating announcements, just as you did in the backup pool, except that you specify the primary pool for the Parent parameter. For details, see "During an Outage" earlier in this topic.

  2. 针对由于中断发生更改的每个未分配号码范围,运行以下内容:For each unassigned number range that you changed for the outage, run the following:

    Set-CsUnassignedNumber [-Identity "<name of number range>"] -AnnouncementService "<FQDN of primary pool>" -AnnouncementName "<announcement name in primary pool>"
    
  3. 也可以选择删除在备份池中重新创建的通知。Optionally, remove the announcements that you recreated in the backup pool. 获取备份池通知应用程序的通知列表。Get a list of announcements for the backup pool Announcement application. 在命令行中运行:At the command line, run:

    Get-CsAnnouncement -Identity "<Service:service ID>"
    

    例如:For example:

    Get-CsAnnouncement -Identity "ApplicationServer:redmond.contoso.com
    

    在结果列表中,查找要删除的通知并复制 GUID。针对要删除的每个通知,运行:In the resulting list, locate the announcements you want to remove and copy the GUIDs. For each announcement you want to remove, run:

    Remove-CsAnnouncement -Identity "<Service:service ID/guid>"
    

    例如:For example:

    Remove-CsAnnouncement -Identity "ApplicationServer:redmond.contoso.com/1951f734-c80f-4fb2-965d-51807c792b90"