| | |
| | | 'dsInstanceDn' : DIRECTORY_INSTANCE_DN, |
| | | 'dsInstancePswd' : DIRECTORY_INSTANCE_PSWD, |
| | | 'dsReplicationPort' : instance.getREPLPort(), |
| | | 'dsSecureReplication' : instance.getSecureReplication(), |
| | | 'refInstanceHost' : instanceSource.getHost(), |
| | | 'refInstancePort' : instanceSource.getLDAPPort(), |
| | | 'refInstanceDn' : DIRECTORY_INSTANCE_DN, |
| | | 'refInstancePswd' : DIRECTORY_INSTANCE_PSWD, |
| | | 'refReplicationPort': instanceSource.getREPLPort(), |
| | | 'replicationDnList' : [suffix.getSuffixDn()], |
| | | 'refSecureReplication' : instanceSource.getSecureReplication(), |
| | | 'expectedRC' : [0,5], |
| | | 'fileFd' : cFileFd |
| | | } |
| | |
| | | Replication port number |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | |
| | | |
| | | <function-arg-def name="dsSecureReplication" type="optional" |
| | | default="'false'"> |
| | | <function-arg-description> |
| | | Use replication over ssl on first server |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="string"/> |
| | | </function-arg-def> |
| | | |
| | | <function-arg-def name="refInstanceHost" type="optional" |
| | | default="STAF_REMOTE_HOSTNAME"> |
| | | <function-arg-description> |
| | |
| | | DN of the replicated suffix |
| | | </function-arg-description> |
| | | </function-arg-def> |
| | | |
| | | |
| | | <function-arg-def name="refSecureReplication" type="optional" |
| | | default="'false'"> |
| | | <function-arg-description> |
| | | Use replication over ssl on reference server |
| | | </function-arg-description> |
| | | <function-arg-property name="type" value="string"/> |
| | | </function-arg-def> |
| | | |
| | | <function-arg-def name="adminUID" type="optional" |
| | | default="DIRECTORY_INSTANCE_DN"> |
| | | <function-arg-description> |
| | |
| | | if replicationDnList: |
| | | for dn in replicationDnList: |
| | | STAFCmdParamsList.append('-b "%s"' % dn) |
| | | |
| | | |
| | | if ( dsSecureReplication == 'true' ): |
| | | STAFCmdParamsList.append('--secureReplication1') |
| | | |
| | | if ( refSecureReplication == 'true' ): |
| | | STAFCmdParamsList.append('--secureReplication2') |
| | | |
| | | if adminUID: |
| | | STAFCmdParamsList.append('-I "%s"' % adminUID) |
| | | |