Thursday, November 28, 2013

Lync CMS Replication Issue


Lync CMS Replication Issue

There are some situations where your CMS replication will not be working on a specific server.

In the below screenshot you can find “LSFE01” Server replication status shows disconnected.

You can check the CMS replication status by running the following command Get-CsManagementStoreReplicationStatus. If all is well, every server's UpToDate status will be True.

In this scenario the status for “LSFE01” server is “False”.

There can be only one Master CMS, but each server has a copy of CMS downloaded from the Master CMS frequently.

The first server deployed will be holding the Master CMS, but we can move to another server if required.

You can find a share with \\servername\xds-replica on each Lync server which is used to copy the updates between the servers. Sometimes, CMS replication will fail on a specific server.

You can run the following command to force the replication.
Invoke-CsManagementStoreReplication -ReplicaFqdn servername
Wait for few minutes, if status is not changed. You can follow the troubleshooting steps mentioned below. 






Thank you for visiting my blog

Please update your comments or feedback.

Contact me @: exctech2013@gmail.com

Tuesday, November 19, 2013

Script To Test Exchange SMTP operations

How To Test Exchange SMTP operations


In this post we are going to use a script to test SMTP operations without using telnet.

My domain : QNET.COM

From the below script you can notice I'm using ABC.COM from address, QNET.COM my domain, EXC2010 my smtp server and sending an attachment (TEST.txt) with contents included in body of the message

PowerShell Script used for this test.


###############################################################################

###########Define Variables########

$fromaddress = "LogBackup@abc.com"
$toaddress = "EXC10USER5@qnet.com"
$bccaddress = "2013Admin@qnet.com"
$CCaddress = "Administrator@qnet.com"
$Subject = "Event Log Archive Status"
$body = "Event Log Archive Completed with attached Servers not reachable..."
$attachment = "C:\sendemail\test.txt"
$smtpserver = "EXC2010.QNET.COM"

####################################

$message = new-object System.Net.Mail.MailMessage
$message.From = $fromaddress
$message.To.Add($toaddress)
$message.CC.Add($CCaddress)
$message.Bcc.Add($bccaddress)
$message.IsBodyHtml = $True
$message.Subject = $Subject
$attach = new-object Net.Mail.Attachment($attachment)
$message.Attachments.Add($attach)
$message.body = $body
$smtp = new-object Net.Mail.SmtpClient($smtpserver)
$smtp.Send($message)

#################################################################################





Thank you for visiting my blog

Please update your comments or feedback.

Contact me @: exctech2013@gmail.com

Tuesday, November 12, 2013

New-CsPartnerApplication: Cannot bind parameter 'MetadataUrl' to the target. Exception setting "MetadataUrl


Getting Internal Server Error 500 when creating New-CsPartnerApplication for Exchange 2013







Thank you for visiting my blog

Please update your comments or feedback.

Contact me @: exctech2013@gmail.com

Wednesday, November 6, 2013

Service RTC Failed to start within the expected timeframe


RTC Services Issue for Lync Control Panel

If you receive error message with "Service RTCCLSAGT Failed to start within the expected timeframe" while getting the services status for Lync 2013 server on Control Panel. 

Follow the below mentioned steps to fix it.





Thank you for visiting my blog

Please update your comments or feedback.

Contact me @: exctech2013@gmail.com