Configure the synchronization environment with dsconfig
The dsconfig
tool can be used to configure any part of PingDataSync, but will likely be used for more fine-grained adjustments. If configuring a Sync Pipe for the first time, use the create-sync-pipe-config
tool to guide through the necessary Sync Pipes creation steps.
Configure server groups with dsconfig
interactive
In a typical deployment, one PingDataSync server and one or more redundant failover servers are configured. Primary and secondary servers must have the same configuration settings to ensure proper operation. To enable this, assign all servers to a server group using the dsconfig
tool. Any change to one server will automatically be applied to the other servers in the group.
Run the dsconfig
command and set the global configuration property for server groups to all-servers
. On the primary PingDataSync server, run the following command:
$ bin/dsconfig set-global-configuration-prop \
--set configuration-server-group:all-servers
Updates to servers in the group are made using the --applyChangeTo server-group
option of the dsconfig
command. To apply the change to one server in the group, use the --applyChangeTo single-server
option. If additional servers are added to the topology, the setup
tool will copy the configuration from the primary server to the new servers.
Start the Global Sync configuration with dsconfig
interactive
About this task
After the Synchronization topology is configured, perform the following steps to start the Global Sync configuration, which will use only those Sync Pipes that have been started:
Steps
-
On the
dsconfig
main menu, type the number corresponding to the Global Sync Configuration. -
On the Global Sync Configuration menu, type the number corresponding to view and edit the configuration.
-
On the GlobalSync Configuration Properties menu, type the number corresponding to setting the started property, and then follow the prompts to set the value to
TRUE
. -
On the GlobalSync Configuration Properties menu, type
f
to save and apply the changes.