Understanding & troubleshooting Lync Edge Server Ports
Thursday, July 23, 2015
Tuesday, July 14, 2015
Wednesday, July 1, 2015
Lync Client Login Process (External)
Lync Client Login Process (External)
External User login for the first time:
When user click sign-in, Client will search for DNS record i.e., SRV Record.
- If SRV Record is not created then It will use A record of Access Edge server
- By using the SRV Record or A record , client will get Access Edge server IP over 443 port
- Here Edge server will reject request for 3 times as it does not know request and it will ask authorize your self
- Client will provide Root CA to the edge server
- By looking at the Root CA Edge server will send the request to the front End server
- FE doesn't understand this request and it will provide the certificate provisioning URL
- By using the URL client will download the Lync certificate and will install on the local machine
- Once certificate installed on the local cert store then user will get authentication pop-up
- After providing the credentials request will go to FE and FE will check in SQL DB.
- If the user is enabled for Lync then will be able to login
- After sign-in completed client will subscribe for the presence and other details
- From the second time client will show the Lync cert and client will be able login
Wednesday, June 17, 2015
How to take backup of User Lync Contact list of all user homed on pool In Lync 2010 and then restore the contact of all users homed on pool
How to take backup of User Lync Contact list of all user homed on pool In Lync 2010 and then restore the contact of all users homed on pool
exe /sqlserver:"lchlncdbl01.labbsci.labbossci.com\lab" /hrxmlfile:"C:\absabhi.zi
p"
SQL Schema Version: 59
User Data Schema Version : 21
Exporting 30 Homed Resource(s) from database...
100% complete.
Exporting 1 Conference Directory(s) from database...
100% complete.
Export completed successfully.
-----------
PS C:\Program Files\Common Files\Microsoft Lync Server 2010\Support> .\DBImpExp
exe /import /sqlserver:"lchlncdbl01.labbsci.labbossci.com\lab" /hrxmlfile:"C:\a
sabhi.zip" /restype:user
SQL Schema Version: 59
User Data Schema Version : 21
Importing Homed Resources into database...
30 Resource(s) imported.
Import completed successfully.
Reindexing all tables and updating statistics.
PS C:\Program Files\Common Files\Microsoft Lync Server 2010\Support>
How to take backup of single User Lync Contact list In Lync 2010 and then restore the contact
How to take backup of User Lync Contact list In Lync 2010 and then restore the contact
exe /user:abhishek.gupta@bsci.com /sqlserver:"lchlncdbl01.labbsci.labbossci.com\
lab" /hrxmlfile:"C:\absabhi.zip"
SQL Schema Version: 59
User Data Schema Version : 21
Error: The specified user was not found in the database.
PS C:\Program Files\Common Files\Microsoft Lync Server 2010\Support> .\DBImpExp.
exe /user:abhishek.gupta@labbsci.com /sqlserver:"lchlncdbl01.labbsci.labbossci.c
om\lab" /hrxmlfile:"C:\absabhi.zip"
SQL Schema Version: 59
User Data Schema Version : 21
Exporting 1 Homed Resource(s) from database...
100% complete.
Export completed successfully.
PS C:\Program Files\Common Files\Microsoft Lync Server 2010\Support> .\DBImpExp.
exe /import /user:abhishek.gupta@labbsci.com /sqlserver:"lchlncdbl01.labbsci.lab
bossci.com\lab" /hrxmlfile:"C:\absabhi.zip" /restype:user
SQL Schema Version: 59
User Data Schema Version : 21
Importing Homed Resources into database...
1 Resource(s) imported.
Import completed successfully.
PS C:\Program Files\Common Files\Microsoft Lync Server 2010\Support>
how to retrieve the SQL serverand instance name for any back-end pool database
how to retrieve the SQL serverand instance name for any back-end pool database
1. Get-CsService -Registrar -Pool Fqdn <poolFqdn> (poolFqdn = Fqdn of the pool you want)
2. Get-CsService -UserServer –PoolFqdn <poolFqdn> (note the “UserDatabase” property for step #3)
3. Get-CsService -UserDatabase –PoolFqdn <use the UserDatabase property from step #2>
2. Get-CsService -UserServer –PoolFqdn <poolFqdn> (note the “UserDatabase” property for step #3)
3. Get-CsService -UserDatabase –PoolFqdn <use the UserDatabase property from step #2>
The SQL user database for the pool is the SqlServer property appended with the \SqlInstance property.
PS C:\> Get-CsService -Registrar -PoolFqdn lchlncpool01.labbsci.labbossci.com
Identity : Registrar:lchlncpool01.labbsci.labbossci.com
MonitoringServer :
ArchivingServer :
WebServer : WebServer:lchlncpool01.labbsci.labbossci.com
EdgeServer :
UserServer : UserServer:lchlncpool01.labbsci.labbossci.com
SipPort : 5061
WebPort : 444
SipHealthPort :
SipServerTcpPort :
EnableAutomaticFailover : True
FailbackDetectionInterval : 00:10:00
FailureDetectionInterval : 00:05:00
BackupRegistrar : Registrar:lrolncpool01.labbsci.labbossci.com
DependentServiceList : {MediationServer:lchlncpool01.labbsci.labbossci.com
, ApplicationServer:lchlncpool01.labbsci.labbossci.
com}
ServiceId : 2-Registrar-1
SiteId : Site:STP 2 Lab
PoolFqdn : lchlncpool01.labbsci.labbossci.com
Version : 5
Role : Registrar
PS C:\> Get-CsService -UserServer -PoolFqdn lchlncpool01.labbsci.labbossci.com
Identity : UserServer:lchlncpool01.labbsci.labbossci.com
UserDatabase : UserDatabase:lchlncdbl01.labbsci.labbossci.com
ConferenceServer : ConferencingServer:lchlncpool01.labbsci.labbossci.c
om
MediaOnlyConferenceServer :
McuFactorySipPort : 444
DependentServiceList : {Registrar:lchlncpool01.labbsci.labbossci.com, WebS
erver:lchlncpool01.labbsci.labbossci.com, Conferenc
ingServer:lchlncpool01.labbsci.labbossci.com}
ServiceId : 2-UserServices-1
SiteId : Site:STP 2 Lab
PoolFqdn : lchlncpool01.labbsci.labbossci.com
Version : 5
Role : UserServer
PS C:\> Get-CsService -UserDatabase -PoolFqdn lchlncdbl01.labbsci.labbossci.com
Identity : UserDatabase:lchlncdbl01.labbsci.labbossci.com
SqlInstanceName : lab
DependentServiceList : {UserServer:lchlncpool01.labbsci.labbossci.com}
ServiceId : 2-UserStore-1
SiteId : Site:STP 2 Lab
PoolFqdn : lchlncdbl01.labbsci.labbossci.com
Version : 5
Role : UserDatabase
PS C:\>
Subscribe to:
Posts (Atom)