---
title: Test the configuration
description: "If the create-sync-pipe-config tool was not used to create the synchronization configuration, two properties must be verified on each endpoint: proxy-server and use-changelog-batch-request. The proxy-server property should specify the name of the proxy server. The use-changelog-batch-request property should be set to true on the Sync Source only. The use-changelog-batch-request property is not available on the destination endpoint."
component: pingdirectory
version: 11.0
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_test_config
canonical_url: https://docs.pingidentity.com/pingdirectory/11.0/pingdatasync_server_administration_guide/pd_sync_test_config.html
revdate: September 13, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Test the configuration

## About this task

If the `create-sync-pipe-config` tool was not used to create the synchronization configuration, two properties must be verified on each endpoint: `proxy-server` and `use-changelog-batch-request`. The `proxy-server` property should specify the name of the proxy server. The `use-changelog-batch-request` property should be set to `true` on the Sync Source only. The `use-changelog-batch-request` property is not available on the destination endpoint.

The PingDataSync connection parameters (`hostname`, `port`, `bind DN`, and `bind password`) are required.

## Steps

1. The following commands check the properties on a Sync Source.

   On the Sync Source:

   ```shell
   $ bin/dsconfig --no-prompt \
     get-sync-source-prop \
     --source-name "Ping Identity Proxy 1" \
     --property "proxy-server" \
     --property "use-changelog-batch-request"
   ```

   On the Sync Destination:

   ```shell
   $ bin/dsconfig --no-prompt \
     get-sync-source-prop \
     --source-name "Ping Identity Proxy 2" \
     --property "proxy-server"
   ```

2. From the server root directory, run the `dsconfig` command to set a flag indicating that the endpoints are PingDirectoryProxy servers:

   ```shell
   $ bin/dsconfig --no-prompt \
     set-sync-source-prop \
     --source-name "Ping Identity Proxy 1" \
     --set proxy-server:ldap-west-01 \
     --set use-changelog-batch-request:true
   ```

   ```shell
   $ bin/dsconfig --no-prompt \
     set-sync-source-prop \
     --source-name "Ping Identity Proxy 2" \
     --set proxy-server:ldap-east-01
   ```

3. Run the `resync --dry-run` command to test the configuration settings for each Sync Pipe and debug any issues.

   ```shell
   $ bin/resync --pipe-name "Ping Identity Proxy 1 to Ping Identity Proxy 2"
   --dry-run
   ```

4. Run `realtime-sync set-startpoint` to initialize the starting point for synchronization.

   ```shell
   $ realtime-sync set-startpoint --end-of-changelog \
     --pipe-name "Ping Identity Proxy 1 to Ping Identity Proxy 2" \
     --port 389 \
     --bindDN "cn=Directory Manager" \
     --bindPassword password
   ```

   |   |                                                                                                                                                                                                                                                                                                                                |
   | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
   |   | For synchronization through proxy deployments, the `--change-number` option cannot be used with the `realtime-sync set-startpoint` command, because PingDataSync cannot retrieve specific change numbers from the backend directory servers. Use `--change-sequence-number`, `--end-of-changelog`, or other available options. |

5. Run the `resync` command to populate data on the endpoint destination server if necessary.

   ```shell
   $ bin/resync --pipe-name "Ping Identity Proxy 1 to Ping Identity Proxy 2"
   \
     --numPasses 3
   ```

6. Run the `realtime-sync start` command to start the Sync Pipe.

   ```shell
   $ bin/realtime-sync start \
     --pipe-name "Ping Identity Proxy 1 to Ping Identity Proxy 2"
   ```

7. Monitor PingDataSync using the status commands and logs.
