Replicator also logs events within Windows Application Log. The events logged here are of a broader nature, and generally those that affect the Windows system as a whole, not just Replicator alone. These messages will include information messages about the starting of the Replicator system, and error messages that affect or are affected by the entire Windows system. The Windows Application Log can also be used by Replicator administrators to provide detailed information about parallel running programs, such as SharePoint and SQL server. This allows administrators to determine whether an issue lies within Replicator or if it is caused by a parallel running program.
You can use PowerShell scripts to check the status of your services. You can also set a task on your server to run the script automatically every hour, to ensure that your services are always running. Use the following script to start the Replicator services if they are not running:
$strServiceName = "Metalogix Replicator Transport Service WSS40"
$objService = Get-Service -Name $strServiceName
if ($objService.Status -ne "Running"){
Start-Service $strServiceName
}
$strServiceName = "Metalogix Replicator Service WSS40"
$objService = Get-Service -Name $strServiceName
if ($objService.Status -ne "Running"){
Start-Service $strServiceName
}
In the event that you do not wish to monitor the replication of your environment using Connect, or the Monitoring Replicator page within Central Administration, you can write your own program, using web services, which will retrieve your replication information for you. These steps illustrate the information that is available using the Replicator web services:
1.In a web browser window, located on the Central Administration server, open the following link: http://CENTRALADMIN:PORT/_layouts/Syntergy/Replicator/ReplicatorServerInfo.asmx?op=GetReplicationStats be sure to replace CENTRALADMIN with your machine name, and PORT with your port number
2.Click Invoke. This will retrieve the data for you.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center