Replicating Workflow Manager Repositories

Este tema se aplica sólo a ArcEditor y ArcInfo.

Key Concepts

ArcGIS Workflow Manager repository replication is designed to allow organizations to maintain multiple Workflow Manager repositories locally in different geographic regions for performance reasons, while the users at each location continue to work on the same set of jobs.

You will define a collection of Workflow Manager repositories that you want to have identical Workflow Manager contents. This collection of repositories is known as a repository cluster.

One Workflow Manager Repository is designated as the parent repository and is tasked with coordinating the synchronization between each repository. After the parent repository has been specified, each child repository is added. The child repositories can be designated as either connected repositories, where the synchronization will happen automatically, or offline repositories, where the synchronization occurs by creating files which can be manually imported.

Creating the Workflow Manager repositories

You have to run the postinstallation for all the repositories that will be participating in your cluster.

Pasos:
  1. From the Start menu, navigate to the ArcGIS Workflow Manager menu and launch Workflow Manager Post Installation.

    See the Workflow Manager Post Installation topic for more details.

  2. Note the Repository Name on the last page of the Post Installation Utility.
  3. Repeat the steps for all the repositories participating in the cluster.
    NotaNota:

    The Windows login for the user that will create the initial replica from the parent repository must be added to all the child repositories. The user should be granted Administrator Access or given the Manage Replication privilege.

Creating Workflow Manager Server Objects

You have to create Workflow Manager Server objects for all the repositories that will be participating in your cluster. The Workflow Manager Server objects will be defined using the repository connection files (.jtc) for each repository in the cluster.

Pasos:
  1. Open ArcCatalog and add the Workflow Manager Server.
  2. Repeat this to add all the other Workflow Manager Servers in the cluster.
  3. Create a Workflow Manager Server objectusing the connection files for the parent repository.
  4. Create a Workflow Manager Server object for all the child repositories that are participating in your cluster.

Creating and adding nodes to the cluster

Clusters are created through the Administrator on the parent repository. You can use the Manage replication tools for adding the nodes.

Pasos:
  1. Open the Workflow Manager Administrator and connect to the parent repository.
  2. Right-click the database connection and click Manage Replication in the menu.

    The Repository Name for the parent is already filled in on the Manage Replication dialog box.

  3. By default, the Connected flag is checked. You can uncheck this for disconnected repositories.
  4. Specify the Workflow Manager Server URL that you have configured in the steps above. For example, - http://yourserver/ArcGIS/Services/Parent/WMServer.

    The Last Sync column is empty if there hasn't been any replica created yet.

  5. Click the Add button to add a new child to the cluster.
  6. Specify the repository name and repeat steps 4 and 5.
    NotaNota:

    Use the Save button to store the information entered anytime.

  7. Repeat steps 5 and 6 for all the other nodes.
  8. After adding all the nodes in the cluster, click Save.

    Define a replication cluster

Creating new replicas

The Create New Replica button will send the contents of the parent repository to all the other nodes in the cluster. This operation will wipe out the contents of all the child nodes. It is suggested that you use this to run initially when defining the cluster.

Pasos:
  1. Open the Workflow Manager Administrator and connect to the parent repository.
  2. Right-click the database connection and click Manage Replication in the menu.
  3. Click Create New Replica.

    This process might run for several minutes, depending on the size of the configuration files.

  4. Click OK when replication is complete.

Synchronizing Replicas

The synchronize tools will compare the differences between all the children in the cluster, import them to the parent node, then send out the changes to all the other nodes in the cluster.

Pasos:
  1. Open the Workflow Manager Administrator and connect to the parent repository.
  2. Right-click the database connection and click Manage Replication in the menu.
  3. Click Synchronize Replicas.

    This process might run for several minutes, depending on the size of the configuration files.

  4. Click OK when synchronization is complete.

Deleting nodes from a cluster

Nodes added to the cluster can also be deleted using the tools available in the Workflow Manager Administrator. When a node is deleted, a message is sent to the parent and other nodes to make sure that the existing relationship is cleared out from the system tables.

Pasos:
  1. Open the Workflow Manager Administrator and connect to the parent repository.
  2. Right-click the database connection and click Manage Replication in the menu.
  3. Click the Delete button.

There are geoprocessing tools available in the Workflow Manager toolbox that will create replicas, synchronize replicas, delete nodes, and export and import data. This gives you the option to run these as scheduled tasks through a python script. See the Geoprocessing Tools section of the user guide .


9/22/2010