Creating a fully functional Enterprise Voice Enhanced E-9-1-1 configuration is a lot of work in large deployments. The LIS database is a database used to identify the location of a call coming from somewhere in the campus and going out to a certified emergency services provider.
Losing all of this information in the event of a system failure can be frustrating. As networks grow and change over time, this information will change as well. A regular backup of this information is highly recommended. This information is not included in the backup made with Export-CsConfiguration
or Get-CsTopology
.
PowerShell is the best tool to perform these tasks. This task requires an account that is a member of RTCUniversalServerAdmins.
The following are the steps to back up your LIS configuration:
Export-CsLisConfiguration -FileName C:BackupLisConfig.bak
Follow these steps to restore your LIS configuration:
Import-CsLisConfiguration -FileName C:BackupLisConfig.bak
Publish-CsLisConfiguration
If this is a partial restore, run to correct some errors, be aware it will not rewrite the entire LIS Database. The Import
command will add missing entries, and it will skip existing entries. It may create erroneous locations. It is wise to test and verify the functionality after a partial import (a total disaster recovery will not have this issue, as there is no data in the store).
After a restore, there are two very handy commands for verification and testing. One can give a useful insight into the published configuration, the other will test the database based on the input in the command.
To get a good view of the E-9-1-1 configuration, use the following command:
Debug-CsLisConfiguration | ft –wrap
The -wrap
switch is used to get all the information in the window. Without the –wrap
switch, the output will be wide (lots of scrolling from side to side, in the absence of a very wide screen).
The Debug-cslisconfiguration
command will by default create an XML output (not all get-
commands will), which is why we pipe it to format-table (ft).
A great way to test the configuration is to enable CsHealthMonitoringConfiguration and run the Test-CsLisConfiguration
command with several scenarios.
Setting up CsHealthMonitoringConfiguration is not a part of the scope for this chapter, but the following Technet article explains the process: http://technet.microsoft.com/en-us/library/gg398718.aspx.
With the Health Monitoring set up, the following command can be run on any computer running PowerShell with the Lync Module:
Test-CsLisConfiguration -TargetFqdn mylyncregistrarpool.domain.com -Subnet 10.0.42.0
If the Health Monitoring is not available, the following commands should be run on a computer with a server certificate (typically on a Front End Server):
Test-CsLisConfiguration -TargetFqdn mylyncregistrarpool.domain.com -Subnet 10.0.42.0 -UserSipAddress sip:[email protected]
The command can still be run on a non-Lync Server/computer, but then it will require credentials to perform the task, like this:
$logOn = Get-Credential Test-CsLisConfiguration -TargetFqdn mylyncregistrarpool.domain.com´ -Subnet 10.0.42.0 -UserSipAddress sip:[email protected]´ -UserCredential $logOn
The first line of code will prompt you for the username and password for the tested subject (identified with the sipURI in the following line).
18.224.59.192