Sandeep Kumar6
Giga Guru

Plugins and Installation:

New York is the earliest version that supports IDR. The IDR plugin ID is com.glide.idr. When purchasing an IDR subscription, ServiceNow personnel also activate the following plugins that IDR depends upon:

  • com.snc.db.data_replicate
  • com.glide.transform
  • com.glide.kmf

 

To purchase a subscription, contact your ServiceNow account manager. The account manager can arrange to have the plugin activated on your organization's production and sub production instances, generally within a few days.

Procedure

  1. Navigate to System Applications > All Available Applications > All.
  2. On the All Applications page, click Request Plugin to open the Request form on HI

 

Instance Data Replication:

Instance Data Replication (IDR) copies data updates from one instance to one or more other instances. IDR enables you to maintain consistent data across different organizations in your company.

  • Data is automatically replicated to one or more other instances.
  • Data can be modified and mapped to any table column on other instances.
  • Data that is updated on consumer instances can be replicated to the producer instance
  • Business rules can trigger post-replication workflows, such as generating notifications or validating the replication

 

Web Service

IDR

Maintaining data consistency across instance via we service can be cumbersome.

•       Create integration via REST / SOAP

•       Setup polling period and delta

•       Define behavior for different data set.

•       Monitor performance and address failure.

 find_real_file.png

IDR remove that overhead with fully integrated platform option for instance-instance data syncing that is:

find_real_file.png

 

How IDR is different?

It uses the concept of producer replication set and consumer replication sets

By configuring a producer replication set, you can specify the tables and table columns on the producer instance to replicate.

find_real_file.png

  • Dedicated message bus
  • Handles large data set
  • Preserver orders
  • Performance monitoring
  • One to many , bi-directional replication

 find_real_file.png

 

Limitation: When not to use IDR:

  • Need to move very large data set
    • Its not a replacement of cloning; Seeding limit is 3M records.
  • Need to move metadata & Encrypted Data.
    • Configuration, settings, etc. are not included with replicated data set.
    • Encrypted data cannot be replicated.
  • Need to replicate data outside of ServiceNow.
    • Does not support integration or data export use cases.
  • Need to replicate data from below tables; Excluded tables:
    • Tables with the prefixes V_PREFIX, SYSX_, sys, ts_, ua_, usageanalytics_, wf_, ecc_, clone_, jrobin_, rrd_, imp_, pf_, pfd_, idr_sys_domain is an exception.
    • Rotated tables, including syslog, sys_querystat, ecc_queue, ecc_event, cmdb_metric, sysevent
    • Tables without a sys_id
    • sso_federation
    • saml2_update1_properties
    • sso_properties
    • digest_properties

Simple Configuration Process

 find_real_file.png

 Bidirectional Configuration:

 find_real_file.png

Step by Step Configuration:

Use Case: Incident data replication

As IDR follow the concept of Producer and consumer replication set, we require two ServiceNow instance (Instance A and Instance B).

Instance A – Producer Instance

Instance B – Consumer Instance

Note: For this use I will be using Instance A and Instance B instead of producer and consumer instance

 

  1. Create “Producer Replication Set” in instance A

find_real_file.png

  1. Click New

find_real_file.png

  1. Fill the form

Name

Bi-Directional

Discrete

Description

Entry Set

find_real_file.png

  1. Submit
  2. Open the same record

Your record should look like below

 find_real_file.png

  1. Click new on “Outbound Entries”, Select incident table and pass all the fields from left to right in selected bucket: See below for reference

 find_real_file.png

  1. Submit
  2. Click “Activate” button to activate the producer set.

Your form should look like below

 find_real_file.png

 

  1. Create “Consumer Replication Set” in instance B

 find_real_file.png

  1. Click New

find_real_file.png

  1. Fill the form
    1. Producer Instance URL: Copy “Instance A” URL and paste it here
    2. Producer Replication Set Name: Copy it from “Instance A” and past here

find_real_file.png

  1. Save it
  2. It will send and approval to producer instance.
  3. Now go to “Instance A”
  4. Open “IDR-Incident-Demo” record under Producer Replication Set.
  5. Go to related lit and see; You should be having one record under “Consumer Subscription” to approve the data replication from consumer side. See Below

find_real_file.png

  1. Open the record and approve it. You will see an popup, Select “Yes”
  2. Go to “Instance B”
  3. Refresh you consumer replication set. You should the form like below

 find_real_file.png

  1. Click Activate. You should see “Seed” button enabled.Select the record and click Seed.

find_real_file.png

 21. Wait while seeding is starting

find_real_file.png

22. Wait until the seeding is complete.

23. Once seeding is completed you should have all your incident from Instance A to Instance B

 

All the best!!

Happy Learning.

 

Please mark help or book mark this article if you have liked it.

 

Regards

Sandeep kumar

Comments
monicaa
Tera Contributor

Can custom tables be used in outbound entries ? I followed the same steps as mentioned above , but i am facing an error: Received message with invalid signature

Shaminy Rajasun
Tera Explorer

Can IDR work on group , group member tables .

Community Alums
Not applicable

can we send data from the customer instance to the provider instance (which is domain separated instance) to the particular domain using IDR?

monicaa
Tera Contributor
Community Alums
Not applicable

Thank you Monicaa!

Community Alums
Not applicable

Can we run any script to change the domain in provider side, if data is coming from diff consumer instances. Then which will be suited trigger condition?

OR will allow some filtering to deliver relevant data to different consumers?

Community Alums
Not applicable

Hello,

Use case regarding IDR is:-

I want to replicate KB articles from Consumer Instance to Producer Instance(which is MSP instance, i.e. domain separated instance). Want to send KB articles to the particular domain. As IDR doesn't support domain separation explicitly. So, for that I wrote business rule in producer side to push the KB articles which is updated by idr.system to the particular domain. I selected check box of business rule also in consumer side. But my business rule is not working for those articles which is coming from consumer side. How to proceed further?

dev mojo
Tera Contributor

Does IDR maintain the sys_id and timestamps (created, updated, etc..) of the producer instance?

AnnuK
Tera Contributor

Hi , 

I am implementing Instance Data Replication. The table I am replication is sys_user_group. It has many custom attributes. After seeding when I checked it did not replicate the custom fields and values. I had selected all fields in Enable Transform. Can you tell what could be the reason?

Version history
Last update:
‎05-14-2021 02:41 AM
Updated by: