Using Geodatabase Replication Server

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, type 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
    /bootstrap 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 (short form /b)
    /purge Purge all old replicas before bootstrap (short form /p)
    /hasUI True for UI, false for service mode (short form /h)
    /silent Suppress balloon tips (short form /s)
QR code for this page

Was this helpful?