ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Synchronize Job Data

  • 概要
  • 使用法
  • 構文
  • コードのサンプル
  • 環境
  • ライセンス情報

概要

This tool synchronizes multiple Workflow Manager (Classic) repositories participating in a Workflow Manager (Classic) Cluster. The tool performs two-way synchronization; changes from the child repositories are sent to the parent repository and changes from the parent are sent to all child repositories.

This tool requires that you have ArcGIS Workflow Manager (Classic) Server installed and configured across all participating nodes.

Learn more about Workflow Manager (Classic) replication

使用法

  • This tool can only be used for connected child repositories. For disconnected child repositories, you can use the Export Job Data and Import Job Data tools. See Workflow Manager (Classic) replication for more information.

  • The changes from all child repositories are sent to the parent repository for consolidation. These consolidated changes, along with changes made in the parent repository, are then sent to all the child repositories in the cluster.

  • The parent and child Workflow Manager (Classic) services must be online for synchronizing changes.

構文

arcpy.wmx.SynchronizeJobData(Input_Parent_Repository_URL, Input_Parent_Repository_Name, Input_Multi_Name)
パラメーター説明データ タイプ
Input_Parent_Repository_URL

The URL for the parent repository will be the Workflow Manager (Classic) server URL, for example, http://localhost/arcgis/rest/services/parent/wmserver.

String
Input_Parent_Repository_Name

The parent repository that will be distributing the Workflow Manager (Classic) jobs and configuration elements.

String
Input_Multi_Name
[[child_repository, connected, URL, last_sync_time],...]

The child repositories that will be updated with the parent repository configuration.

  • child_repository—The name of the child repository. This must be a connected repository.
  • connected—The only accepted value is "true". If any other value is entered, the child will not be synchronized.
  • URL—The URL of the child repository.
  • last_sync_time—The date and time in the system format. For example, if your system data and time format is MM:DD:YY HH:MM:SS, the value would be 08/01/2013 11:30:45.

Value Table

派生した出力

名前説明データ タイプ
Output_SynchronizeReplicaStatus

The result of the synchronization operation. Returns 0 on success.

Long
Output_LastSync

A table view of job synchronization information.

Value Table

コードのサンプル

SynchronizeJobData example (stand-alone script)

In this example, changes made in the Workflow Manager (Classic) repositories are getting synchronized between two repositories.

# Import arcpy module
import arcpy

# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")

# Local variables:
Input_Parent_Repository_URL = "http://ServerName/arcgis/rest/services/ServerObjectName/WMServer"
Input_Parent_Repository_Name = "Redlands_Repository"
Input_Multi_Name = "Ohio_Repository true http://ohioServer/arcgis/rest/services/SO/WMServer 2011-08-08 12:00;AZ_Repository true http://AZServer/arcgis/rest/services/SO/WMServer 2011-08-08 12:00"

# Process: Synchronize Job Data
arcpy.SynchronizeJobData_wmx(Input_Parent_Repository_URL, Input_Parent_Repository_Name, Input_Multi_Name)

環境

このツールは、ジオプロセシング環境を使用しません。

ライセンス情報

  • Basic: いいえ
  • Standard: 次のものが必要 Workflow Manager
  • Advanced: 次のものが必要 Workflow Manager

関連トピック

  • Workflow Manager ツールボックスの概要
  • Replicate Job Data

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル