For installation you can refer to the Deployment guide and follow the exact process, for SQL DBs, MSMQ and installation of the Archiving Server itself.
Archive Policies and Setup:
First you need to set the objectives for Archiving, either you want IM or Meeting Content to be archived, or both.
While IM is archived via the attached SQL Server Database, all conferencing content, including documents, Microsoft PowerPoint presentations, and shared files, is stored on a file share. This leads to two different approaches for Archiving.
Next in the archiving approach, you decide if achiving should be enabled for internal, external or both.
Set-CsArchivingPolicy -Identity Global -ArchiveInternal $True -ArchiveExternal $False
In summary, you have to decide the following parameter:
- Which items are archived (IM, conferencing, or IM and conferencing)
- How “cross-pool” messages should be archived
- Whether to suspend the IM service if archiving isn’t available
- Whether purging is enabled
- The number of days to keep archived messages in the database
- The cache-purging interval
- Whether to only purge exported items from the database
- The time of day to purge expired items
If you are assigend the RTCUniversalServerAdmin role, you can configure for example:
Set-CsArchivingConfiguration -Identity Global -EnableArchivingImOnly -EnablePurging $True -PurgeExportedArchivesOnly $False -BlockOnArchiveFailure $False -KeepArchivingDataForDays 365 -PurgeHourOfDay 2
If you need different archiving policies, you can do so by using the New-CsArchivingPolicy and New-CsArchivingConfiguration -Identity site:Redmond -EnableArchiving "ImOnly"
Another important decision made was, which user should have e.g. individually assigned policy, this will be handled by: Get-CsUser -OU "OU=Redmond,dc=litwareinc,dc=com" | Grant-CsArchivingPolicy -PolicyName RedmondArchivingPolicy
Export and Access Archive:
Since have now the configuration ready and the Polcies are proper assigend, how acually we can access the Archive?
Also here are the two differend methods, through the IM and the Meeting Archive.
For IM messages, you need to export the content first. You can do this with the Export-CsArchivingData, e.g. Export-CsArchivingData -DBInstance atl-sql-001\Archinst -StartDate 1/1/2010 -OutputFolder "C:\ArchivingExports" -UserUri "sip:firstname.lastname@example.org"
For Meeting Content, you have to look for your configured Meeting Shares and identify the Meeting ID. Than you will be able finding the related data.
Have a look into my earlier blog: Meeting Content View http://lyncuc.blogspot.com/2012/07/lync-server-2010-meeting-content-viewer.html
I hope this helps and give an overview how to use the build-in Archiving Feature.
Author: Thomas Pött Managing Consultant Microsoft UC