Wednesday, January 16, 2013

Don't forget to specify sql instance on install-csdatabase

I was upgrading a Lync 2010 standard edition server to 2013, when I came across a problem with the "Install-CsDatabse" command. The technet article ( is pretty good, but it left me with the impression "RTC" was the default database for the command.

I was using the following command:

Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn -Verbose

But all I was getting was an error message saying the server\instance was not available:

According to the article, RTC is the default instance, and I made the mistake of beliving RTC was the default instance for the command as well. After reading a couple of logs, trying to make it work, I realized the default instance for the command is DEFAULT, not RTC.

When installing a database on a Standard Edition 2013 server, remember to specify the RTC instance, and save yourself some troubleshooting :).

This command worked like a charm:

Install-CsDatabase -CentralManagementDatabase -SqlServerFqdn -SqlInstanceName rtc