Столкнулся с следующей проблемой. При переносе баз Lync Server 2013 Standard Edition у меня перестал запускаться Front End сервер.
Приведу возможные куски логов, которые вы можете обнаружить (чтобы гуглилось легче)
Log Name: Lync Server
Source: LS User Services
Date: mm/dd/yyyy hh:mm:ss AM|PM
Event ID: 32118
Task Category: (1006)
Level: Warning
Keywords: Classic
User: N/A
Computer: server01.contoso.com
Description:
SQL server cross database chaining option is disabled for either rtc or rtcdyn database. This may be caused by attaching or restoring
an existing database. Since this condition causes performance issues, database will not be acquired until the issue is resolved.
Back-end Server: server01.contoso.com\lync Database: rtc Connection string of:
driver={SQL Server Native Client 10.0};Trusted_Connection=yes;AutoTranslate=no;server=server01.contoso.com\lync;database=rtc;
Cause: Check the eventlog description.
Resolution:
Please enable cross database chaining option (using "sp_dboption '<dbname>', 'db chaining', TRUE") for both rtc and rtcdyn databases.
Once this is done, Service will automatically reconnect to the backend.
The following Error event will be logged in the Office Communications Server Event log:
Log Name: Communications Server
Source: OCS Server
Date: mm/dd/yyyy hh:mm:ss AM|PM
Event ID: 12304
Task Category: (1000)
Level: Error
Keywords: Classic
User: N/A
Computer: server01.contoso.com
Description:
The component Live Communications User Services (application: Default) reported a critical error: code C3EE7D3D (SQL server cross database chaining option is disabled for either rtc or rtcdyn database. This may be caused by attaching or restoring an existing database. Since this condition causes performance issues, service will be stopped and will not start until the problem is resolved.
Windows could not start the Office Communications Server Front-End on Local Computer. For more information review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service specific error code -1007780547
Спёрто здесь: http://support.microsoft.com/kb/968100
К сожалению, все найденные способы не подходили. Использовалась SP dboption не получалось. хз почему.
Выручили две команды: (которые на просторах инета были с ошибками в названии БД и я чуть не поседел)
alter database rtc set DB_Chaining ON alter database rtcdyn set DB_Chaining ON
благодаря этим командам после перезагрузки сервера сервис Front End Lync Server 2013 успешно стартовал. Алиллуйа
P.S. на будущее при переносе баз проще воспользоваться вот этими советами: http://unifiedme.co.uk/2013/05/move-lync-2013-sql-database-location/ правда по-моему там не всё правильно
Но уже хотя бы что-то.


В итоге на нескольких серверах сервис MSSQLSERVER был всё же остановлен, и о причинах, почему используемый мною в скрипте workaround не помог - ещё предстоит исследовать.