Wednesday, February 23, 2011

Export-CsArchivingData ??? For what.

It is good command tool that we can found on lync archiving server. By Using windows power shell (Export-CsArchivingData ) you can export data in your Lync Archiving Server. It has larger range of retrieving power with more and more options. There are many ways that we can export archived messages.

In Lync powershell : -

To export Data for all users you can use following command..
Export-CsArchivingData -DBInstance SQLSVR\Archinst -StartDate 12/2/2011 -OutputFolder "C:\ArchiveExports"
To export Data for user named dulipravindra@lync.com you can use following command..
Export-CsArchivingData -DBInstance SQLSVR\Archinst -StartDate 12/2/2011 -OutputFolder "C:\ArchiveExports" -UserUri "sip:dulipravindra@lync.com"




Thursday, February 17, 2011

Linux_Lync Mania

TIP on TOP L(inux)&L(ync) Love..

Unfortunately currently lync doesn't have a Lync Client for Linux computers. Some organizations Use linux workstations also to perform their day to day tasks. That kind of users can use XMPP Gateway to integrate Linux clients with Lync Server. To Do this you can use Pidgin linux based IM software as a client end.

Lync Archiving Server

It Archives Everything....

With in your organization you may need record your instant messaging and web conferencing information. you can use Lync Archiving server to record all of your chat data in SQL database. To archive this gall you can implement a Lync Archiving Server in your Lync Environment.

Firstly you need to select an operating system to deploy archive server on your lync deployment. Microsoft Recommends to install Lync Archiving Server on following operating system.
  • The Windows Server 2008 R2 Standard operating system
  • The Windows Server 2008 R2 Enterprise operating system
  • The Windows Server 2008 Standard operating system with Service Pack 2 (SP2)
  • The Windows Server 2008 Enterprise operating system with SP2
The following are the hardware requirements for the Lync Archiving server Deployment.

Hardware Component Minimum Requirement


CPU 64-bit dual processor, quad-core, 2.0 GHz or higher

64-bit 4-way processor, dual-core, 2.0 GHz or higher


Memory 16 GB recommended


Disk Local storage with at least 72 GB free disk space on a 10,000 RPM disk drive


Network 2 network adapters, each 1 Gbps

Hardware Recommendations for Back-End Servers and Other Database Servers

Hardware Component Minimum Requirement


CPU 64-bit dual processor, quad-core, 2.0 GHz or higher

64-bit 4-way processor, dual-core, 2.0 GHz or higher


Memory 32 GB recommended for back-end server (with or without collocated Archiving and Monitoring databases), 16 GB recommended for Archiving and Monitoring database (not collocated with the back-end server)


Disk Local storage with at least 72 GB free disk space on a 10,000 RPM disk drive


Network 2 network adapters, each 1 Gbps

You must install following software to selected computer by you.

Microsoft .NET Framework 3.5 with SP1.

The Microsoft Visual C++ 2008 redistributable.

Windows PowerShell version 2.0.

Windows Media Format Runtime.

================================

Basic things first...!

  • Please change your computer name for appropriate format that follows correct naming conventions.
    EX :- lyncarch/ archieve/ arch_india
  • Update your windows server properly. (Up-to date windows computers will not gives errors .)
  • Install required additional softwares(Mentioned on top)
  • Add your server to domain.
  • Restart Computer
  • Log In to the domain.
Now you are prepared for install lync archiving server installation on your organization.

Make sure you have installed MSMQ in your Organization.

Message Queuing, with Active Directory Integration enabled, on the server running Archiving Server and on each Front End Server and Standard Edition server that hosts users who will have IM archived. Following roles should have the MSMQ enabled.

  • Front End Server
  • Mediation Server
  • Archiving Server
  • Monitoring Server
  • A/V Conferencing Server

SQL Server.

To Archieve messages the in environment you should have a SQL Server in your deployment.

File storage:

Microsoft Lync Server 2010 communications software supports file shares on either direct attached storage (DAS) or a storage area network (SAN), including Distributed File System (DFS), as well as redundant array of independent disks (RAID).


Now We are going to install archiving server in your deployment.

  • Start Lync Topology Builder.
  • Move your mouse pointer to Archiving Servers and the Right Click on Arctiving Servers.
  • You will be see Define New Archiving Server dialog box. Please enter FQDN of the archiving server. archivingservercomputername.domain.com
  • Click Next
  • You can select SQL instance from this step. I recommended to use a previously defined SQL Store. select a SQL Store and Click Next.
  • Define the file store box appears. You can create a new file store on a server. then click Next.
  • This Associate Front End Pools box will appears. you can associate a Lync Front End Server that you needs to archive and then Click Next.
  • Then Finish the wizard. Now Publish the new topology you have created from publish topology window
  • Then new wizard box appears.
  • Click Next.
  • In Create Databases select archiving back-end server and click Next.
  • Now in publishing wizard click finish. Now you are almost done.
Get the Lync CD and insert it to Lync Archiving Server.

Run Setup\amd64\Setup.exe
  • On the License Agreement page, review the license agreement, select the I accept the terms in the license agreement check box to proceed, and then click OK.
  • On the Welcome page, click Install or Update Lync Server System.
  • In Install Local Configuration Store, click Run
  • In this process, deployment Wizard reads the configuration information from the Central Management database, which you defined using Topology Builder, and writes the XML configuration file to the local machine.
  • On the Configure Local Replica of Central Management Store page, click Retrieve directly from the Central Management Store (Requires read access to the Central Management Store), and then click Next.
  • You may get the following error.

    “Automatic collection of configuration data failed.”

    Ensure followings to get rid off this problem.

  • SQL server dynamic port is not blocked on the firewall,
  • You have access of the configuration store from the server.
  • in Setup or Remove Lync Server Components, click Run.

    Deployment Wizard installs the Lync Server components specified in the XML configuration file stored on the local machine.

  • Click Next.
  • Click Finish.
  • Request, Install or Assign Certificates, because there are no certificate requirements for the deploying Archiving Server.
  • Start Services, click Run.
  • Click Next.
  • Click Finish.
Congratulations! You Installed Archiving Server on your Deployment. In Next Tutorial We Can See How to Use Archiving Server in real world. Good Luck !..