Page created: 24 Jul 2019
|
Page updated: 6 Nov 2019
The batch file contains comments to explain each dsconfig command. Note that in this example, line wrapping is used for clarity. The dsconfig command requires that the full command be provided on a single line.
The batch file itself looks like the
following:
root@austin-proxy1:more ../dsconfig.post-setup # This dsconfig operation creates the entry-count placement # algorithm with the default behavior of adding entries to the # smallest backend dataset first. dsconfig create-placement-algorithm --processor-name ou_people_dc_example_dc_com-eb-req-processor --algorithm-name entry-count --type entry-counter --set enabled:true # Note that once the entry-count placement algorithm is created # and enabled, we can disable the round-robin algorithm. # Since an entry-balancing proxy must always have a placement # algorithm, we add a second algorithm and then disable the # original round-robin algorithm created during the setup # procedure. dsconfig set-placement-algorithm-prop --processor-name ou_people_dc_example_dc_com-eb-req-processor --algorithm-name round-robin --set enabled:false # At this point, LDAP ADD operations will be forwarded to an external # server representing the dataset with the least number of entries.