troubleshooting replication and geodata services liz parrish & ben lin

30
Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Upload: domenic-weaver

Post on 20-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Troubleshooting Replication and Geodata Services

Liz Parrish & Ben Lin

Page 2: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

AGENDA:Troubleshooting Replication and Geodata Services

OverviewOverview DemoDemo

TroubleshootingTroubleshooting Q & AQ & A

Page 3: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Liz Parrish

Overview of ReplicationOverview of Replication

Page 4: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

• 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?

Page 5: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

• 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.

Page 6: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Overview of Geodata ServicesOverview of Geodata Services

Page 7: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

• 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

Page 8: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Geodata Service RequirementsGeodata Service Requirements

ArcGIS for Server‘Admin’ or ‘Publisher’

Map Service with same name

MXD layers contain no alias

Page 9: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

• Disconnected distribution

• Work around firewalls

• Alleviate overhead

Open port

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

Page 10: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Troubleshooting: Common IssuesTroubleshooting: Common Issues

Page 11: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 12: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Troubleshooting: Empty Standalone TablesTroubleshooting: Empty Standalone Tables

Show Advanced Options

Tables ‘Schema Only’

By Default

Page 13: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 14: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 15: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 16: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 17: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Troubleshooting: Tools & MethodsTroubleshooting: Tools & Methods

Page 18: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 19: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

• Lists replicas

• More Details:

Troubleshooting Tools: Replica ManagerTroubleshooting Tools: Replica Manager

List of Replicas

More Details

Page 20: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 21: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Troubleshooting Tools: Replica Activity LogTroubleshooting Tools: Replica Activity Log

Operations

GlobalIDs

Time

Page 22: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 23: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Troubleshooting Tools: SDE InterceptTroubleshooting Tools: SDE Intercept

SDE Intercept:

Any ArcSDE command from ArcGIS

Queries

Time

KB #35704

Page 24: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Troubleshooting Tools: DBMS TracesTroubleshooting Tools: DBMS Traces

SQL Server Profiler

Oracle – Level 12

. . . queries. . . time

Page 25: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 26: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Ben Lin

DemoDemo

Page 27: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 28: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 29: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

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

Page 30: Troubleshooting Replication and Geodata Services Liz Parrish & Ben Lin

Questions?