Page created: 22 Jul 2020 |
Page updated: 1 Feb 2021
The move-subtree tool allows you to specify subtrees for rebalancing. You specify the source server, the target server, and one or more base DNs identifying the subtrees you want to move. You can move small subtrees using the transactional method or move large subtrees, which does not use this method. Instead, the large subtree is not fully accessible during the move, so clients may get an "insufficient access rights error" if they try to access the subtree. As entries are moved, clients can read but not write to them. Once the transfer is complete, the entries are fully available to client requests.
This tool accepts a file containing a list of the base DNs of the subtrees you want to move.
Note: The move-subtree tool requires users to have access to the extended operations and controls needed to run the tool. Make sure to apply the following ACIs to your data.
aci: (targetcontrol="18.104.22.168.4.1.3022.214.171.124 || 126.96.36.199.4.1.30188.8.131.52 || 184.108.40.206.4.1.30220.127.116.11") (version 3.0; acl "Allow admin to submit move-subtree controls"; allow (read) userdn="ldap:///uid=admin,dc=example,dc=com";) aci: (extop="18.104.22.168.4.1.3022.214.171.124") (version 3.0; acl "Allow admin to request move-subtree extended operation"; allow (read) userdn="ldap:///uid=admin,dc=example,dc=com";)