Running Replication Using Multiple Network Connections (KBA1577)
- Last updated
- Save as PDF
Background
Running replication using multiple network connections can potentially be useful in driving more throughput in some network configurations. Depending upon the Delphix version, you should be able to change the number of connections using the CLI.
Configuration on 4.2 and above
Multiple network connections can be enabled through the CLI. As shown below, the setting "numberOfConnections" can be set to a higher number. Unlike earlier versions, users can change this setting themselves via the CLI. However, this should be changed via support as changing this number inappropriately could degrade performance.
bk43.dcenter replication spec 'test'> ls
Properties
type: ReplicationSpec
name: test
bandwidthLimit: 0
compressed: true
description: (unset)
enabled: false
encrypted: false
numberOfConnections: 1 <- set number of network connections.
objectSpecification:
type: ReplicationList
name: (unset)
objects: domain0
reference: REPLICATION_SPEC-1
runtime:
type: ReplicationSpecRuntime
schedule: 0 0 0 * * ?
tag: 5d461288-6ff8-450e-ad7b-57e8e8dd48aa
targetCredential:
type: PasswordCredential
password: ********
targetHost: bk43.dcenter.delphix.com
targetPort: 8415
targetPrincipal: delphix_admin
useSystemSocksSetting: false
Configuration on 4.1
In 4.1, this is not a setting available through the CLI. The tunable "replication.source.numxports" is the number of tcp connections, as shown below. It can be set using jmxtool and persisted in the override properties file.
delphix@bk415.dcenter:~$ /opt/delphix/server/bin/jmxtool tunable list | grep repl
replication.debugenabled false
replication.source.apdtimeout 7200
replication.source.logintimeout 300
replication.source.maxrequestsize 68608
replication.source.numxports 1
replication.source.queuedepth 32
replication.source.recvbuffersize 262144
replication.source.sendbuffersize 1048576
replication.source.xportsched ROUND_ROBIN
replication.target.apdtimeout 7500
replication.target.compressionsupported true
replication.target.encryptionrequired false
replication.target.maxrequestsize 68608
replication.target.queuedepth 32
replication.target.recvbuffersize 1048576
replication.target.sendbuffersize 262144