TopBanner

Step by Step Installing Lync Server 2013 Persistent Chat Collocated on Standard Edition Front End - Part 3

We are on a journey installing the various Lync Server 2013 roles. Today we will install the Persistent Chat role collocated on our Lync Server 2013 Standard Edition Front End! I would like to give Elan Shudnow credit as I read over his excellent Persistent Chat with Enterprise Pool articles before launching on installing this collocated edition.

Prerequisites:

  • Presumes a Lync Server 2013 Std. FE called FE01.lab.local (see)
  • Since we are installing Chat on an existing Std. Front End, most things are taken care of already
  • Install full SQL (SQL 2008 R2 or SQL 2012) as a new instance called CHAT. You can follow the instructions here.

Next will define a Persistent Chat pool in our topology. Let’s Open Topology Builder

add chat pool

Define the new Chat Pool. Use the FQDN of our trusty Front End: FE01.lab.local and check Single computer pool.

define pool

Next. Now give this Chat pool a name. (just anything is fine)

name of chat pool

Next. Click new to define a new SQL Server Store. We will use the SQL instance we installed for our chat role, so SQL Server FQDN = FE01.lab.local and Named Instance = CHAT

sql store

Our next item is defining the file store. Since this is a lab we will just use the existing Front End share we already setup for the FE which is \\FE01.lab.local\share. Click Finish.

share

We are done with the topology and you are given a chance to review it—everything looks great!

finished topology

Let’s publish our topology by going Action | Topology | Publish…

publish

Click Next.

p1

Watch the publish Wizard complete. when done click Finish.

p2

The next thing we will do is open the Lync Deployement Wizard and Update the Lync Server System by clicking Install or Upgrade Lync Server System. (this will install the chat services and install the SQL database)

install or update lync server system

Click the Run button with Step 2.

install-update

Click Next.

updat2

Watch as install happens and click Finish when done.

update-done

Now we are ready to start our newly installed Chat services. Click Run.

start-services

We can checkup that Lync Server Persistent Chat is successfully running…sure enough, great!

is running

Next we need to login to the Lync Server Control Panel to configure our shiny new Persistent Chat server. Click on Persistent Chat | Persistent Chat Policy and check Enable Persistent Chat and click Commit.

lcp-enable

Next we will add a Category. Click Category and New.

chat category

Next we need to add our Administrator user (user we are using to run Lync Powershell further down) to the “RTC Local Administrators” group. This is a local group on the Lync Front End Server, so to do this Open the “Computer Management” and open “Local Users and Groups”.

add user to RTC local admins

After this, log out and back into Windows get the new rights.

Next we will add a new chat room. Let’s drop into Lync Powershell and run

New-CsPersistentChatRoom -Name “XXX” -Category “FE01.lab.local\rd

Next we will add a user to this new Chat room by running the below Powershell:

add member to chatroom

After this we can login to our Lync client and use the Chat!

lync client

Continue your lab with more articles in this Lync Server 2013 Step by Step Series:

35 comments:

  1. Went throught your scenario and got "all channel servers are down"! Any ideas?

    BK

    ReplyDelete
  2. Me too same message in the control panel....

    ReplyDelete
  3. Did anyone found a solution for the issue?

    ReplyDelete
  4. have you installed an instance of full SQL?
    also, at what point are you all getting this message?

    ReplyDelete
  5. Yes, I've installed a Full SQL Instance.

    I'm getting one warning on the creation category menu... that says: "all channel servers are down"

    I found some help on this link:

    http://blog.openjive.com/post/2012/08/08/Lync2013-PersistentChat-Configuration-with-Powershell.aspx

    However, unfortunately the powershell command is not working, it says:

    Set-CsPersistentChatActiveServer : A positional parameter cannot be found that
    accepts argument 'Add="MCPMSLAP01.media-core.com.br"'.
    At line:1 char:1

    ReplyDelete
  6. I am getting the same error, when i open the Persistent Chat Tab > Category it gives (1 Warning: All the channel servers are down) , i noticed that the "Lync Server Persistent Chat" service always stops by itself i run it manually, i see its status green in the topology but after sometime it stops again.
    the event viewer doesn't have any error logs.
    the machine has 12 GB RAM and 110 GB disk space....
    any idea about this !!!! ???

    ReplyDelete
    Replies
    1. M,

      When i get a chance (could be a while) i will look at this. In the mean time post the question here:
      http://social.technet.microsoft.com/Forums/hu/lyncpersistentchat/threads

      Delete
  7. Hi Matt,
    Thank you for creating yet another detailed documentation for Lync 2013.

    I ran into the same issue where I too got the "all channel servers are down" warning which turns into an error when I try to add users.

    Here is what I did to fix it-
    1. First, I went to Topology Builder and deleted the Chat Pool I had created.

    2. Second, I went to Lync Deployement Wizard and Update the Lync Server System by clicking Install or Upgrade Lync Server System.

    3. I made the sa account I am using for Lync as an enterprise admin.

    4.I then went back and followed your steps again with a few changes. I did not create another instance for SQL but used the default instead.


    Now I did not receive the warning and error messages in the Microsoft Lync Server Control Panel>Persistent Chat.

    Hope this helps someone!

    ReplyDelete
    Replies
    1. what do you mean by "I made the sa account I am using for Lync as an enterprise admin."

      Delete
  8. Hi Again,
    For some reason the New-CsPersistentChatroom command that you provided didn't work for me.

    Below is an example of what did.

    New-CsPersistentChatRoom -Name "ITChatRoom" -PersistentChatPoolFqdn "atl-cs-001.litwareinc.com"-Category "IT"

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. You may also consider that you can setup Chat using the SQL Express database that is already installed on the SE Lync server - see comments from http://technet.microsoft.com/en-us/library/gg398500.aspx This would be yet another nice way to reduce the server count.

    Persistent Chat Server can be deployed on the Standard Edition server. The Persistent Chat Server Back End Server and the Persistent Chat Compliance database can be collocated on the Standard Edition server on the local SQL Server Express Back End Server. For details about components that can be collocated there, see Supported Server Collocation in the Supportability documentation.

    ReplyDelete
  12. I've been reading your posts and they have helped me immensly deploy Lync. For that i thank you.

    I have deployed PC and am able to create a room via the powershell script, however i cannot from the client. When i do, i get an error that states "User is not SIP-Enabled". I get the same error when i try to manage a room that i was made member of through powershell. *i have added myself as a creator and am a memer of every Cs and RTC group possible.

    Any insight would be graciously accepted.

    thank you.

    ReplyDelete
  13. Hey Matt nice post...

    I followed through and created the Category and Rooms fine, they look exactly the same as yours when I run the get-cspersitentchatroom -identity cmdlet. However for some reason my users I enabled for this room are not getting the corresponding persistent chat button on their Lync clients (and yes they are on the 2013 client). Any idea what is up with that?

    ReplyDelete
  14. Hi Matt,

    Have you got any guidance for deploying a stand-alone Persistent Chat server?

    Thanks,
    Stan

    ReplyDelete
  15. http://lync2013setup.blogspot.co.uk/2013/02/recently-there-have-been-common-issue.html

    ReplyDelete
  16. By selecting the default db instance this worked for me. However, I had to delete the previous chat instance, run setup again and restart the server.

    ReplyDelete
  17. I get an error that the fqdn is already in use.
    So unfortunatly I can't seem to add a persistent chat pool on the front end server. Step 1 works but Step 2 gives a warning that the fqdn is already in use.
    Anyone know a way around it?

    ReplyDelete
  18. Getting the same error: All the channel servers are down.

    I have tried everything within all of the links provided and still dead in the water. Any other bright ideas?

    ReplyDelete
    Replies
    1. You have to have the "Message Queuing" feature installed.
      1) Open Server Manager
      2) Right click features - Click Add Features
      3) Expand Message Queuing
      4) Expand Message Queuing Services
      5) Select Message Queuing Server and Directory Service Integration
      6) Click Install
      7) Publish the topology in the tomology builder (ensure no errors)
      8) Rerun all steps in the deployment wizard
      It should be working now.

      Delete
  19. Hello
    I am getting this error

    "the following principals are not known"

    any help on how to solve this??

    ReplyDelete
  20. hi,

    I tried to install lync server std 2013 following your above instructions and recive an error in "step 2 setup lync server components, the error message is:

    "Prerequisite not satisfied: The following Internet Information Services (IIS) role services must be installed before attempting to install this product: Static Content, Default Document, HTTP Errors, ASP.NET, .NET Extensibility, Internet Server API (ISAPI) Extensions, ISAPI Filters, HTTP Logging, Logging Tools, Tracing, Client Certificate Mapping Authentication, Windows Authentication, Request Filtering, Static Content Compression, Dynamic Content Compression, IIS Management Console, IIS Management Scripts and ToolsPrerequisite not satisfied: You must install the Media Foundation feature or Desktop Experience feature of Windows before attempting to install this product."

    can you help
    Thanks
    Beni

    ReplyDelete
  21. I also had an issue with the Persistent Chat service starting (then stopping a short time later) which made the chat channel unavailable.

    Since all my Lync services runs as "Network Service" I resolved it by creating a new SQL Express instance on the standard server (I called it LyncChat) and adding Network Service to the DB Admins for that instance.

    After that, I removed the unhappy Persistent Chat service (remove it from the topology, publish, run the Lync add/remove components wizard) then configured the Persistent Chat service again (with my new settings) in the Topology Manager then published. After running the Lync add/remove components wizard on my server again everything worked perfectly.

    Personally I do not like using SQL Authentication unless I absolutely have to. This worked for me even though it would be more secure to use a domain user with permissions restricted to the ones Lync needs (and only the ones that Lync needs).

    Thanks for the great writeup, it got me 99% of the way there!

    ReplyDelete
  22. Great articles Matt. However upon installing (co-locating) persistent chat on my Lync 2013 Standard Edition with SQL Express, the services won't start. I get this error in the eventvwr:

    The server is not compatible with the database at Data Source=(local)\rtc;Initial Catalog=mgc;Integrated Security=SSPI

    AND

    Microsoft Lync Server 2013, Persistent Chat could not start due to the following exception:
    at
    Microsoft.Rtc.Internal.Chat.Server.ServerCommon.Exceptions.StopServerException: Unexpected DB version.
    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.TransportServerBase.Initialize()
    at Microsoft.Rtc.Internal.Chat.Server.Channel.Server.ChannelServer.Initialize()
    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MgcServiceBase.startServer()
    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MgcServiceBase.createAndStartServer().

    It isn't SQL Express 2012 SP1, should I install SP1 from Windows Update?

    ReplyDelete
    Replies
    1. You need to install CU3 and restart the server running chat. you can find CU3 here http://support.microsoft.com/kb/2881682

      Delete
  23. thanks for the article i have gone through it and got everything working,

    i was getting the error where I was unable to start the persistent chat service and this would then show the error where chat channel unavailable.

    i installed the hotfix found at http://support.microsoft.com/kb/2848328

    installed the lyncserver update and let this run.

    restarted the server and the service started and i was able to set up the persistent chat category.

    hope this help out

    ReplyDelete
  24. Many thanks for this. Please can you confirm if i can install SQL onto the front end server for running persistent chat, or if SQL needs to be installed on a seperate server? Or will persistent chat run using SQL express?

    Many thanks

    ReplyDelete
  25. Hi Matt, I have installed Persistent Chat in my Lync 2013 environment, but I continuously get the banner on the client saying "Your chat room access may be limited due to an outage" I have un-installed and reinstalled Persistent chat, over, using a default and instance and named instance, to no avail. I have also removed and re applied all the updates, this still has not rectified the issue. I noticed in my snooper logs that I get SIP/2.0 481 Call Leg/Transaction Does Not Exist now I am getting a SIP/2.0 486 Busy Here.

    It shows a connection between myself and the endpoint 100 trying then 200 OK before I get those errors, what could be the issue?

    ReplyDelete
  26. Hi Matt,
    Thanks for the instruction, but I also ran into "All the channel servers are down.", once starting "Lync Server Persistent Chat" it doenst come up, 2 errors get logged in the event log:
    ----
    The server is not compatible with the database at Data Source=(local)\PCHAT;Initial Catalog=mgc;Integrated Security=SSPI
    ----
    Microsoft Lync Server 2013, Persistent Chat could not start due to the following exception:
    at
    Microsoft.Rtc.Internal.Chat.Server.ServerCommon.Exceptions.StopServerException: Unexpected DB version.
    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.TransportServerBase.Initialize()
    at Microsoft.Rtc.Internal.Chat.Server.Channel.Server.ChannelServer.Initialize()
    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MgcServiceBase.startServer()
    at Microsoft.Rtc.Internal.Chat.Server.ServerCommon.MgcServiceBase.createAndStartServer().

    I tried to un-install and re-install Database/Deployment a couple of times nad also tried changing the DB instance, using RTC instance and default instance but no hope (same error).
    Any Idea?

    -Seyed H Mohajerani

    ReplyDelete
  27. Hi, I just thought I'd post this in case it helps anyone. If you've just installed the pChat role into an existing Lync environment that has already been patched, you will get the "all channel servers down" error. You will also notice that when trying to start the pChat services, you will get incompatible database errors as Seyed above.
    You need to re-launch the lyncServerUpdateInstaller from the CU level of your Lync Front End server(s). You'll notice that the Installed Version for Persistent Chat is not up to date. Click Install Updates, then run from Lync Powershell the Install-Database Command against the Persistent Chat Role / SQL Server / DB Instance and the service should now start and you can continue.

    Hopefully this helps.
    Keith Copeland

    ReplyDelete
  28. hi
    i want Installing Lync Server 2013 Persistent Chat Collocated on Standard Edition Front End but in Deployment Wizard in Step 2: Setup or Remove Lync Server Components I see this error
    Installing any collocated databases...
    Executing PowerShell command: Install-CSDatabase -Confirm:$false -Verbose -LocalDatabases -Report "C:\Users\a.jafari\AppData\Local\Temp\Install-CSDatabase-[2014_08_10][11_36_59].html"
    Failed to find SQL Service. Make sure that SQL Server service (instance name CHAT) is installed in machine Lync.Lab.Local

    Please Help me
    thanks

    ReplyDelete