Using Geodatabase Replication Server

Had to recreate this; when I tried to make the other one an xref, it would give this weird {preview-text} tag.

Due to so many links to topics everywhere, and so many repeat, duplicate topics, I am placing this comment in topics I’ve already fixed that I know are linked to a bunch or that I know I have seen a bunch and that I want to ensure aren’t duplicates or see if I can reuse something {this is the case for Enable Dir Browsing and Configure Bits}. AMS 12/2018

Before a client can retrieve updates from the replication server, Geodatabase Replication must be started. There are multiple ways to start the Geodatabase Replication Service. Schneider Electric recommends using the Start Menu Shortcuts method.

Windows Scheduled Task

This method allows you to set a specific time to initiate Geodatabase Replication updates. When creating a new Windows task, browse to ReplicationConsole.exe and add Server as an argument.

Start Menu Shortcuts

This method does not provide access to the console window. Geodatabase Replication runs in the background as a service. To verify that it is running, check the Services window (Control Panel > Administrative Tools > Services).

To start the Geodatabase Replication Server, select Start Geodatabase Replication Service in the Start menu: ArcFM Solution > ArcFM Geodatabase Replication > Start Geodatabase Replication Service.

To initiate updates, select ArcFM Geodatabase Replication Server in the Start menu: ArcFM Solution > ArcFM Geodatabase Replication > ArcFM Geodatabase Replication Server

To stop the Geodatabase Replication Server, select Stop Geodatabase Replication Service in the Start menu: ArcFM Solution > ArcFM Geodatabase Replication > Stop Geodatabase Replication Service.

Command Line

This method provides access to a console window that displays status messages.

  1. Open a command prompt and change the directory to the location of ReplicationConsole.exe (e.g., ArcFM Solution\bin\).

  2. There are three commands that may be executed individually from the command line:

    • Encrypt: This command encrypts the password field in ReplicationConsole.exe.config.

    • Server: This command starts the Geodatabase Replication application.

    • Validate: This command validates the XML in ReplicationConsole.exe.config.

  3. To start the Geodatabase Replication application enter: ReplicationConsole.exe server

  4. Press Enter.

    This starts the Geodatabase Replication and places an icon on the Start menu tray.

    Right-click the icon in the Start menu tray to display available options:

    • Update Now: Retrieves an update from the SDE geodatabase

    • Show Console: Displays the console window and all messages written to the console

    • Exit: Stops Geodatabase Replication

There are several commands available in this command window.

Command

Description

b

Performs an extract using the Initial Extract database; all changes made to the SDE geodatabase since the creation of the initial extract database will be included in the replication

d

Cancels all pending Bits jobs

s

Silent; disables the balloon tips

u

Update; forces all replicas to synchronize with SDE

v

Verbose; enables the balloon tips

x

Exit; Stops Geodatabase Replication

QR code for this page

Was this helpful?