troubleshooting replication and geodata services liz parrish & ben lin

Post on 20-Jan-2016

222 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Troubleshooting Replication and Geodata Services

Liz Parrish & Ben Lin

AGENDA:Troubleshooting Replication and Geodata Services

OverviewOverview DemoDemo

TroubleshootingTroubleshooting Q & AQ & A

Liz Parrish

Overview of ReplicationOverview of Replication

• Extends the multi-editor versioning structure

• Parent / Child relationship

- Copies of data are distributed

- Changes can be synchronized

- Connected or disconnected

What is Geodatabase Replication?What is Geodatabase Replication?

• One-Way

• Two-Way

• Check-out / Check-in

Geodatabase Replication TypesGeodatabase Replication Types

**Child geodatabase must ALWAYS be at the same or higher release of ArcSDE as the Parent.

Overview of Geodata ServicesOverview of Geodata Services

• ArcGIS Server service

• Access via:

- Local or Wide Area Networks

- Internet Protocol (IP)

Geodatabase Replication TypesGeodatabase Replication Types

Facilitates a connection to work with geodatabases

Geodata Service RequirementsGeodata Service Requirements

ArcGIS for Server‘Admin’ or ‘Publisher’

Map Service with same name

MXD layers contain no alias

• Disconnected distribution

• Work around firewalls

• Alleviate overhead

Open port

When to use a Geodata Service with ReplicationWhen to use a Geodata Service with Replication

Troubleshooting: Common IssuesTroubleshooting: Common Issues

Troubleshooting Common IssuesTroubleshooting Common Issues

…Standalone tables are empty in Child…Standalone tables are empty in Child

…Some data does not replicate…Some data does not replicate

…Schema Changes…Schema Changes

…Disabled ‘Create Replica’ button…Disabled ‘Create Replica’ button

…DBMS connectivity…DBMS connectivity

Troubleshooting: Empty Standalone TablesTroubleshooting: Empty Standalone Tables

Show Advanced Options

Tables ‘Schema Only’

By Default

Troubleshooting: Data Does Not ReplicateTroubleshooting: Data Does Not Replicate

Check for Prerequisites

Versioned (without move edits to base)GlobalIDsStored as High Precision

Versioned (without move edits to base)GlobalIDsStored as High Precision

Replica Creation Model

Full model vs Simple ModelGeodatabase objectsSimple feature classes and tables

Full model vs Simple ModelGeodatabase objectsSimple feature classes and tables

Troubleshooting: Schema ChangesTroubleshooting: Schema Changes

Issues:

… Edits may not sync

… Invalid values introduced

… Synchronization errors

How to Resolve:

Compare Replica Schema

Import Replica Schema

Sync Changes

KB# 34654KB# 34654

Geodata & Map Services:

Identical names

Same services folder

Troubleshooting: ‘Create Replica’ Button DisabledTroubleshooting: ‘Create Replica’ Button Disabled

Layers in MXD:

Match feature class

No alias

Troubleshooting: Geodata Service ConnectivityTroubleshooting: Geodata Service Connectivity

Check this:

SDE connection file > permissions

Geodatabase connection properties

Can ArcGIS Desktop connect directly?

Manual Disconnected Sync

- which side has issue?

Client and database tracing

Troubleshooting: Tools & MethodsTroubleshooting: Tools & Methods

Troubleshooting ToolsTroubleshooting Tools

Identify underlyingcause of issue

Identify underlyingcause of issue

Replica ManagerReplica Manager

Replica LogsReplica Logs

DisconnectedManual SyncDisconnectedManual Sync

SDE InterceptSDE Intercept

ArcGIS Server LogsArcGIS Server Logs

DBMS Alert LogsDBMS Alert Logs

DBMS tracesDBMS traces

ArcGIS Crash DumpArcGIS Crash Dump

• Lists replicas

• More Details:

Troubleshooting Tools: Replica ManagerTroubleshooting Tools: Replica Manager

List of Replicas

More Details

Troubleshooting Tools: Replica LogsTroubleshooting Tools: Replica Logs

ArcMap DistributedGeodatabase Toolbar

Replica Activity Log:… set file path… set log level

Replica Activity Log:… set file path… set log level

Replica Manager

Replica Log:… Date, Event & ResultReplica Log:… Date, Event & Result

Troubleshooting Tools: Replica Activity LogTroubleshooting Tools: Replica Activity Log

Operations

GlobalIDs

Time

Troubleshooting Tools: Disconnected Manual SyncTroubleshooting Tools: Disconnected Manual Sync

Export Data Changes:. . . inspect delta geodatabase

Import Message:. . . verify data changes

Export Acknowledgement Message:. . . XML verifies data changes received

Import Message:. . . Confirm sync with relative

Troubleshooting Tools: SDE InterceptTroubleshooting Tools: SDE Intercept

Troubleshooting Tools: SDE InterceptTroubleshooting Tools: SDE Intercept

SDE Intercept:

Any ArcSDE command from ArcGIS

Queries

Time

KB #35704

Troubleshooting Tools: DBMS TracesTroubleshooting Tools: DBMS Traces

SQL Server Profiler

Oracle – Level 12

. . . queries. . . time

Troubleshooting Tools: Crash Dump FileTroubleshooting Tools: Crash Dump File

Critical Errors:

C:\Users\yourname\AppData\Local\ESRI\ErrorReports

Please enter valid email address and choose option to send report to Esri

Send crash dump file if contacting Esri Technical Support

Ben Lin

DemoDemo

Tips & Tricks:Tips & Tricks:

Check Data Preparation

& Workflows first

Manually transfer large datasets

> Register existing data only

Use Logs & TracesContact Esri Technical Support

888-377-4575

Want to learn more?

• Documentation- KB Articles 45136

- Geodatabse replicas

- Geodata Services

• Related Esri Training and Tutorials- Distributing Data Using Geodatabase Replication (Instructor Led)

- ArcGIS for Server: Site Configuration and Administration (Instructor Led)

• Additional Resources- ESRI Technical Support 888-377-4575

Thank you…

• Please fill out the session survey in your mobile app

• Select Troubleshooting Replication and Geodata

Services in the Mobile App

- Use the Search Feature to quickly find this title

• Click “Demo Theater Survey”

• Answer a few short questions and enter any comments

Questions?

top related