Thursday, November 1, 2012

Exploring Default Installation and SQL Paths in Lync Server 2013

A shift has been made in Lync Server 2013 to process more SQL transactions local on the server than on Lync Server 2010.  One of the main reasons for this is to provide better resilience across all workloads (including user/conferencing services) compared to just voice resiliency in Lync Server 2010.  This post will review different installation paths of Lync components based on drives available at the time of installation.

First let’s review the SQL Express instances that are running local on the Lync Front-end servers.  In my example, I will be looking at the Standard Edition of Lync.  The Enterprise Edition Front-End server will only have LYNCLocal and RTCLocal SQL instances.

Lync 2013 - DB Location - 1234 SE Services

The following lists each SQL instance and the databases associated with it:

  • LYNCLOCAL
    • Lyss
  • RTC – located on local Standard Edition servers and in back-end SQL instance for Enterprise Edition
    • RTCab
    • CpsDyn
    • RgsConfig
    • RgsDyn
    • RTCShared
    • RTCXDS
  • RTCLOCAL
    • XDS
    • RTC
    • RTCDyn

I wanted to see what would happen to default installation locations based on drives available.  Here are the scenarios that I tested:

Scenario #1 – C: drive only, default installation path

In a very default installation with only a C: drive, obviously all components get installed in their default locations.  The following screenshots shows the location of each Lync component.

Drive configuration:

Lync 2013 - DB Location - 1 SE c only

Lync installation path:

Lync 2013 - DB Location - 123 setup location default

SQL installation paths:

Lync 2013 - DB Location - 1 SE C Only SQL Install

RTCReplicaRoot path:

Lync 2013 - DB Location - 1 SE C Only RTCReplicaRoot

Database and Logs paths:

Lync 2013 - DB Location - 1 SE C Only CsData

Note that the RTCLocal database and log for XDS will always be located on the C: drive in the SQL installation path

Scenario #2 – C: and E: drive, default installation path

The following screenshots shows the location of each Lync component.

Drive configuration:

Lync 2013 - DB Location - 2 SE c e

Lync installation path:

Lync 2013 - DB Location - 123 setup location default

SQL installation paths (on C: ):

Lync 2013 - DB Location - 23 SE CE SQL Install

Note that the RTCLocal database and log for XDS will always be located on the C: drive in the SQL installation path

RTCReplicaRoot, Database and Log paths for RTC, RTCLocal, and LYNCLocal instances (all on E: ):

Lync 2013 - DB Location - 2 SE CE CsData-RTCReplica

Note that you can tell what SQL instance each database belongs to by looking at the parent folder to the DBPath/LogPath folders.

Scenario #3 – C:, E:, and F: drive, default installation path

The following screenshots shows the location of each Lync component.

Drive configuration:

Lync 2013 - DB Location - 3 SE c e f

Lync installation path:

Lync 2013 - DB Location - 123 setup location default

SQL installation paths (on C: ):

Lync 2013 - DB Location - 23 SE CE SQL Install

Note that the RTCLocal databases and logs (XDS) will always be located on the C: drive in the SQL installation path

RTCReplicaRoot, Database and Log paths for RTC, RTCLocal, and LYNCLocal instances (on E: ):

Lync 2013 - DB Location - 3 SE CEF E Volume

Note that you can tell what SQL instance each database belongs to by looking at the parent folder to the DBPath/LogPath folders.

Log paths for RTC, RTCLocal, and LYNCLocal (on F: )

Lync 2013 - DB Location - 3 SE CEF F Volume

Scenario #4 – C:, E:, and F: drive, Change installation path to E:

The following screenshots shows the location of each Lync component.

Drive configuration:

Lync 2013 - DB Location - 3 SE c e f

Lync installation path:

Lync 2013 - DB Location - 4 setup location

SQL installation paths (on C: ):

Lync 2013 - DB Location - 23 SE CE SQL Install

Note that the RTCLocal databases and logs (XDS) will always be located on the C: drive in the SQL installation path

Lync Program Files, RTCReplicaRoot, Database and Log paths for RTC, RTCLocal, and LYNCLocal instances (on E: ):

Lync 2013 - DB Location - 4 SE RTCReplicaRoot and lync install

Note that you can tell what SQL instance each database belongs to by looking at the parent folder to the DBPath/LogPath folders.

Log paths for RTC, RTCLocal, and LYNCLocal (on F: )

Lync 2013 - DB Location - 3 SE CEF F Volume

1 comment:

  1. Great info.

    If there is not enough space on the C drive the installation process will place the XDS database on the next available suitable drive.

    Our VMs weren't given enough space on C initially (40GB), so our XDS databases now reside in E on each server.

    ReplyDelete