Replicator. Enterprise API Guide VERSION January 04,

Similar documents
Replicator. Installing and Configuring Replicator With Least Privilege P. March 09,

Monitoring Replication

Replicator Prioritizing Replication Events

Replicator Secure Replication

Replicator Replicating Managed Metadata

StoragePoint Large File Support Guide

Replicator Disaster Recovery Best Practices

Content Matrix. Evaluation Guide. February 12,

Replicator Replicating Managed Metadata

Replicator. Evaluation Guide VERSION January 04,

Initial Server Sync Prior to Replicating

Integrate Microsoft Office 365. EventTracker v8.x and above

StoragePoint Quick Start Guide

Connect Install Guide

Diagnostic Manager Advanced Installation Guide

ControlPoint. Installation Guide for SharePoint August 23,

UC for Enterprise (UCE) NEC Centralized Authentication Service (NEC CAS)

Vyapin Office 365 Management Suite

ControlPoint. Native Installation Guide. February 05,

A SharePoint Developer Introduction. Hands-On Lab. Lab Manual HOL5 Using Client OM and REST from.net App C#

ControlPoint. Quick Start Guide. November 09,

ControlPoint. Advanced Installation Guide. September 07,

StoragePoint Advanced Installation Guide

Installation and Upgrade Guide

Healthcare Database Connector

VMware AirWatch Database Migration Guide A sample procedure for migrating your AirWatch database

ControlPoint. Evaluation Guide. November 09,

Replicator. Command Line Reference Guide VERSION January 04,

Issued March FLY for Dropbox Installation and Configuration Guide

Magento Survey Extension User Guide

LepideAuditor. Current Permission Report

esignlive for Microsoft Dynamics CRM

Deltek winsight Dashboard 6.5. Installation Guide

StoragePoint RestorePoint for StoragePoint

Coveo Platform 7.0. Yammer Connector Guide

HYCU SCOM Management Pack for F5 BIG-IP

D365 DATA ARCHIVAL & RETENTION

User Manual. ARK for SharePoint-2007

ControlPoint. Sensitive Content Manager. April 20,

AvePoint Office Connect Online Manager 1.0

Installing SharePoint Server 2007

DaDaDocs for Microsoft Dynamics 365 Administrator Guide

AvePoint Cloud Governance. Release Notes

VMware AirWatch Integration with F5 Guide Enabling secure connections between mobile applications and your backend resources

The Project Management Software for Outlook, Web and Smartphone

FRAMEWORK VERSION 3.0 NETWORK INSTALLATION INSTALLING MICROSOFT STEP BY STEP INTERACTIVE TRAINING SOFTWARE

Click Studios. Passwordstate. Remote Session Launcher. Installation Instructions

INSTALLATION GUIDE Spring 2017

ControlPoint. Managing ControlPoint Users, Permissions, and Menus. February 05,

AvePoint Cloud Governance. Release Notes

Marketing Cloud Mobile App

BLUEPRINT TEAM REPOSITORY. For Requirements Center & Requirements Center Test Definition

Setting Up Resources in VMware Identity Manager. VMware Identity Manager 2.8

Deltek Touch CRM Release Notes for Ajera CRM, GovWin Capture Management, and Vision

Polycom RealPresence Group Series with BroadSoft

Vovici Enterprise System Administration Guide

Healthcare Database Connector

Coveo Platform 7.0. Microsoft SharePoint Legacy Connector Guide

SECURE FILE TRANSFER PROTOCOL. EventTracker v8.x and above

K2 for SharePoint Environment Setup

Setting Up Resources in VMware Identity Manager

AvePoint Online Services for Partners 2

D&B Optimizer for Microsoft Installation Guide

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

Goliath Performance Monitor v11.7 POC Install Guide

TECHNICAL WHITE PAPER DECEMBER 2017 VMWARE HORIZON CLOUD SERVICE ON MICROSOFT AZURE SECURITY CONSIDERATIONS. White Paper

HYCU SCOM Management Pack for F5 BIG-IP

D365 DATA ARCHIVAL & RETENTION

Chime for Lync High Availability Setup

Desktop Installation Guide

External Data Connector for SharePoint

Diagnostic Manager. User Guide VERSION August 22,

Sophos Mobile Control Network Access Control interface guide. Product version: 7

PowerSearch for MS CRM 3.0

AvePoint Cloud Governance. Release Notes

Syncplicity Panorama with Isilon Storage. Technote

Server Installation Guide

Installation Guide. Mobile Print for Business version 1.0. July 2014 Issue 1.0

Deployment guide for Duet Enterprise for Microsoft SharePoint and SAP Server 2.0

HYCU SCOM Management Pack for F5 BIG-IP

Status Web Evaluator s Guide Software Pursuits, Inc.

Deltek Touch Expense for Ajera. Touch 1.0 Technical Installation Guide

Desktop Installation Guide

Lanteria HR Technical Documentation AD Integration Guide

Mobile Admin GETTING STARTED GUIDE. Version 8.2. Last Updated: Thursday, May 25, 2017

Privileged Identity App Launcher and Session Recording

Configuring Single Sign-on from the VMware Identity Manager Service to Marketo

Course CLD211.5x Microsoft SharePoint 2016: Search and Content Management

DocAve for Salesforce 2.1

Integrate Microsoft ATP. EventTracker v8.x and above

VMware AirWatch Cloud Connector Guide ACC Installation and Integration

Coveo Platform 6.5. Microsoft SharePoint Connector Guide

Prophet 21 Middleware Installation Guide. version 12.16

eshare End User Guide for External Users

CDP Data Center Console User Guide CDP Data Center Console User Guide Version

DocAve. Release Notes. Governance Automation Online. Service Pack 9, Cumulative Update 6

Enterprise Vault.cloud CloudLink Google Account Synchronization Guide. CloudLink to 4.0.3

PowerSearch for MS CRM 4.0

PROMOTING PROJECTS TO PROMOTE/MIGRATE EXTOL PROJECTS FROM STUDIO TO SERVER

AvePoint Online Services 2

Transcription:

Replicator Enterprise API Guide VERSION 7.4.0 January 04, 2018 www.metalogix.com info@metalogix.com 202.609.9100

Copyright International GmbH, 2002-2018. All rights reserved. No part or section of the contents of this material may be reproduced or transmitted in any form or by any means without the written permission of International GmbH. Replicator is a trademark of International GmbH. Windows SharePoint Services is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners. Technical Support For information about Technical support visit http://metalogix.com/support. Technical support specialists can be reached by phone at +1-202-609-9100. The level of technical support provided depends upon the support package that you have purchased. Contact us to discuss your support requirements. www.metalogix.com info@metalogix.com 202.609.9100

Contents Enterprise API Guide... 4 Introduction to Replicator Programming Interfaces... 4 Web Service Configuration... 4 Authentication...4 Web Service Request URL...4 WSS40... 4 WSS30... 4 Web Service Methods... 5 GetReplicatorVersion()...5 GetReplicatorStatus...5 GetReplicatorEnabledWebApps...6 GetReplicatorEnabledServers...6 GetLastProcessTimeForWebApp...7 GetLastProcessTimeForServer...7 GetReplicatorStats...8 Web Service Sample... 9 Sample Location...9 of Sample...9 Sample Actions...10 The Code...10 www.metalogix.com info@metalogix.com 202.609.9100

Enterprise API Guide Introduction to Replicator Programming Interfaces Replicator has introduced an initial API that provides status information on the operation of Replicator. This API can be used to query replicator as to the current heart beat of the services and basic information about each replication server that is defined for each web application. The intended audience for this document is developers looking to create a monitoring dashboard to check on the status of replicator or to create an alerting mechanism. Note that the API is only available with the Enterprise Edition. Additional API documentation is available from support for utilizing PowerShell and other web services. Web Service Configuration Authentication The Replicator StatusInfo Web Service runs under the same security context as Central Administrator. Therefore you must provide the same credentials that the Central Admin Application Pool is running under, when making the Web Service call from a remote Server. If you do not do so you will receive an unauthorized exception. This is demonstrated in the sample application that is described below. Web Service Request URL The URL used when making a Web Service call will depend on the name of the server and the port that is being used for the Central Administrator application. Here are the formats of the URLs that must be used: WSS40 http://server_name: PORT/_admin/Syntergy/Replicator/StatusInfo.asmx Sample - http://corporateserver:9000/_admin/syntergy/replicator/statusinfo.asmx In this case, the server name is "corporateserver" and the port being used by Central Admin is 9000. WSS30 http://server_name: PORT/Syntergy/Replicator/StatusInfo.asmx Sample - http://corporateserver:9000/syntergy/replicator/statusinfo.asmx In this case the server name is corporateserver and the port being used by Central Admin is 9000. 4

Web Service Methods GetReplicatorVersion() Returns the version of Replicator that the remote server is running. public string GetReplicatorVersion () None Return Type: String 2.5.0.0 GetReplicatorStatus Returns the status of the Replication Service and Replication Transport Service on the remote server. public int GetReplicatorStatus(int repservicetypenumber) repservicetypenumber: Interger Possible Input values: 1 - TransportService 2 - ReplicatorService Sample Input: 2 Return Type: Integer Possible output values: 1 - Running 2 - Stopped 1 5 3 - Unknown

GetReplicatorEnabledWebApps Returns a list of all the Web Application URLs on the Remote server that are currently enabled for Replication. public string[] GetReplicatorEnabledWebApps() None Return Type: string array Possible output values: Any list of strings http://corporateserver http://corporateserver:8888 http://corporateserver:9000 GetReplicatorEnabledServers Returns a list of all the Server Names on the Remote server, for a given Web Application, that is currently enabled for Replication. The server is returned if it is enabled for either inbound or outbound processing. public string[] GetReplicatorEnabledServers(string webappurl) webappurl: String Possible Input values: Any String that represents a valid WEB Application URL. Sample Input: http://corporateserver:9000 Return Type: string array Possible output values: Any list of strings 6

Returns a list of all the Server Names on the Remote server, for a given Web Application, that is currently enabled for Replication. The server is returned if it is enabled for either inbound or outbound processing. http://corporateserver http://corporateserver:8888 http://corporateserver:9000 GetLastProcessTimeForWebApp Returns the last Date and Time that the specified Web Application was processed by Replicator on the Remote Server. public DateTime GetLastProcessTimeForWebApp (string webappurl) webappurl: String Possible Input values: Any String that represents a valid WEB Application URL. Sample Input: -http://corporateserver:9000 Return Type: DateTime 11/22/2016 9:14:07 AM GetLastProcessTimeForServer Returns the last Date and Time that the specified Web Application was processed by Replicator on the Remote Server. public DateTime GetLastProcessTimeForWebApp (string webappurl, string servername) 7

Returns the last Date and Time that the specified Web Application was processed by Replicator on the Remote Server. webappurl: String servername: String Possible Input values: Any String that represents a valid WEB Application URL. The Name of a server given when Configuration Replicator Servers. Sample Input: http://corporateserver:9000 CorporateServer 80 Return Type: DateTime 11/22/2016 9:14:07 AM GetReplicatorStats Returns stats for the specified Web Application on the specified Remote Server. public string GetReplicatorStats(string webappurl, string servername) webappurl: String servername: String Possible Input values: Any String that represents a valid WEB Application URL. The Name of a server given when Configuration Replicator Servers. 8

Returns stats for the specified Web Application on the specified Remote Server. Sample Input: http://corporateserver:9000 CorporateServer 80 Return Type: String <?xml version="1.0"?> <ReplicatorWebStats> <Server Name="SharePoint - 80" Address=" CorporateServer " Port="80" LastProcessTime="10/22/2007 2:54:18 PM" InboundEnabled="True" OutboundEnabled="True" StatsOutboundPackageCount="0" StatsOutboundDepth="5" StatsInboundPackageCount="0" StatsInboundDepth="2" /> </ReplicatorWebStats> Web Service Sample Sample Location In order to demonstrate the use of the Replicator StatusInfo Web Service, we have created a sample using Visual Studio. In WSS40 Installations, the sample can be found here: C:\Program Files\\Replicator\WSS40\Samples\StatusInfoWEBSERVICE In WSS30 Installations, the sample can be found here: C:\Program Files\\Replicator\WSS30\Samples\StatusInfoWEBSERVICE of Sample The sample application demonstrates all of the Web Service methods that were described above. In order for this sample to work correctly in your SharePoint environment you will need to fill in/modify the following fields: 1. Web Service URL - (http://server_name:9000/_admin/syntergy/replicator/statusinfo.asmx) 2. Domain - (Active Directory Domain, If not in domain leave empty) 9

3. Username - (Username being used by Central Admin App Pool on remote server) 4. Password - (Password being used by Central Admin App Pool on remote server) Sample Actions Get List Button (Under Replicator Status) - This will return a list of all the Web Applications that are enabled for Replicator on the remote Server. Each entry will be added to the ReplicatorEnabledWebApps listbox. When selecting different items in the listbox it will populate the Web Application URL textbox. Check Status - Will fetch the remaining fields (Replicator Version, Last Processed Time, Replicator Service Status, etc.) for the URL specified in Web Application URL textbox. Get List Button (Server Status) - This will return a list of all the Servers that are enabled for selected Web Application. Each entry will be added to the ReplicatorEnabledServers listbox. When selecting different items in the listbox it will populate the Server Name URL textbox. Server Status - Will fetch the Last Processed Time, and Web Stats for the URL specified in Web Application URL textbox and the Server Name. The Code The preparewebservicerequest method demonstrates how to specify the remote URL and credentials to be used when making the Web service request. butgetlist_click - Demonstrates the GetReplicatorEnabledWebApps Web Service method described above. butcheckstatus_click -Demonstrates the remaining Web Service methods described above. 10