Connecting to Archiving and Monitoring Databases
Applies to: Office 365 Dedicated Plans
Topic Last Modified: 2013-06-26
This topic describes how to connect to the Lync Online archiving and monitoring databases.
Use the following SQL Server fully qualified domain name (FQDN) for connectivity to the archiving and monitoring databases: archive.xxxd.mgd.msft.net where xxx is the number assigned to your domain (for example 997).
The database names are:
- LcsLog_2400. Archiving database daily snapshot.
- LcsCDR_2400. Call Detail Records (CDR) database daily snapshot.
- QoEMetrics_2400. Quality of Experience (QoE) database daily snapshot.
To use SQL Management Studio to connect to the database:
Click Start, All Programs, Microsoft SQL Server 2008. and then SQL Server Management Studio.
In the Connect to Server dialog box, type archive.xxxd.mgd.msft.net where xxx is the number assigned to your customer domain. Then click Connect.
Note: Ensure the user account you’re using to connect is a member of the Active Directory groups explicitly given permissions to the databases.
After you’ve successfully connected to the SQL Server, expand Databases and then expand Database Snapshots as shown below. It’s possible to explore the databases in SQL Management Studio as you would any other database.
It’s also possible to simply use ODBC data sources to connect to the databases. The following procedure describes how to create an ODBC data source that any ODBC-aware application can use to connect to the databases.
Click Start, Control Panel, Administrative Tools, and then click Data Sources (ODBC).
In the ODBC Data Source Administrator dialog box, click System DSN and then click Add.
Highlight SQL Server and then click Finish.
In the next dialog box, enter the data source name and type the FQDN of the SQL Server that has the relevant snapshots of the databases you're connecting to. This FQDN is always archiving.xxxd.mgd.msft.net where xxx is the number for your domain. Click Next.
In the next dialog box, select to use your current Active Directory credentials to connect to SQL and then click Next.
In the next dialog box, select the relevant database snapshot to query under Change the default database to: (for example, LcsCDR_2400, LcsLog_2400, or QoEMetrics_2400) and then click Next.
Click Finish and then Test Connection. If the connection is successful you should see the following dialog box displayed. If connectivity or authentication fails, ensure you can resolve the FQDN of the SQL server, that you can telnet to it on TCP port 1433, and that the account you’re attempting to use has permissions necessary to connect to SQL and read from the database you’re attempting to access.
After the tests complete successfully, click OK, and then OK again. At this point the data source has been created and can be used by other applications to connect to the database. The screenshot below shows the data source that you created.