IBMSLAPD_REPL_UPDATE_EXTRA_SECS environment variable
You can use the IBMSLAPD_REPL_UPDATE_EXTRA_SECS environment variable to extend the time duration for update operations in replication.
The default timeout for any change to be completed through replication
is 60 seconds. The replication updates might involve many changes,
such as adding a large group entry or adding or modifying entries
that contains large objects such as credentials. In such cases, the
update operation might require more than 60 seconds to finish. Update
operations include add, delete, modify,
or modifydn operations. If any such single update
operation through replication takes more than 60 seconds, the supplier
server times out that update operation. It tries again to send the
same update through replication. To extend the timeout duration for
update operations in replication, you can use the IBMSLAPD_REPL_UPDATE_EXTRA_SECS environment
variable.
- Minimum: 1
- Maximum: 2147483647
The IBMSLAPD_REPL_UPDATE_EXTRA_SECS environment variable can be set either be adding the variable to the configuration file or by using the command prompt.
- Adding the variable to configuration file
-
- Using the LDAP client utility:
- Issue the ldapmodify command of the following
format against the supplier server:
idsldapmodify -p port -D adminDN -w adminPW dn: cn=Front End, cn=Configuration changetype: modify add: ibm-slapdSetenv ibm-slapdSetenv: IBMSLAPD_REPL_UPDATE_EXTRA_SECS=180 - Restart the directory server instance.
- Issue the ldapmodify command of the following
format against the supplier server:
- Using the Web Administration Tool:
-
- Ensure that
ibmslapdandibmdiradmprocesses are running for the directory server instance. - Log on to the directory server instance by using the Web Administration Tool.
- From the left navigation area, expand Directory management and then click Manage entries.
- On the Manage entries panel, expand cn=configuration, and then select cn=Front End and click Edit attributes.
- On the Edit and entry panel, click Next to open the Optional attributes panel.
- Click Multiple values next to the ibm-slapdSetenv field.
- In the resulting panel, enter IBMSLAPD_REPL_UPDATE_EXTRA_SECS=180 in the ibm-slapdSetenv field and then click Add.
- To save, click OK.
- To effect the changes that are made, restart the directory server instance.
- Ensure that
- From command prompt
- Set the environment variable IBMSLAPD_REPL_UPDATE_EXTRA_SECS.
- On AIX® and Linux™ systems (ksh shell):
-
export IBMSLAPD_REPL_UPDATE_EXTRA_SECS=180 - On Windows™ systems:
-
set IBMSLAPD_REPL_UPDATE_EXTRA_SECS=180
For the set value of the environment variable to be effective, restart the directory server instance from the same shell where the IBMSLAPD_REPL_UPDATE_EXTRA_SECS environment variable was set.