Oracle Fusion Middleware Administration Guide for Oracle Directory Server Enterprise Edition

ProcedureTo Configure a Coordinator Data View

You cannot use DSCC to perform this task. Use the command line, as described in this procedure.

  1. View the properties of a Coordinator data view.


    $ dpconf get-coordinator-data-view-prop -h host -p port VIEW_NAME
    

    The default properties of a join data view are as follows:


    alternate-search-base-dn                       :  ""
    attr-name-mappings                             :  none
    base-dn                                        :  ""
    contains-shared-entries                        :  -
    coordinated-data-view                          :  first_view 
    coordinated-data-view                          :  second_view
    custom-distribution-algorithm                  :  none
    description                                    :  -
    distribution-algorithm                         :  none
    dn-join-rule                                   :  none
    dn-mapping-attrs                               :  none
    dn-mapping-source-base-dn                      :  none
    excluded-subtrees                              :  ""
    filter-join-rule                               :  none
    is-enabled                                     :  true
    is-read-only                                   :  false
    is-routable                                    :  true
    lexicographic-attrs                            :  all
    lexicographic-lower-bound                      :  none
    lexicographic-upper-bound                      :  none
    non-viewable-attr                              :  none
    non-writable-attr                              :  none
    numeric-attrs                                  :  all
    numeric-default-data-view                      :  false
    numeric-lower-bound                            :  none
    numeric-upper-bound                            :  none
    pattern-matching-base-object-search-filter     :  all
    pattern-matching-dn-regular-expression         :  all
    pattern-matching-one-level-search-filter       :  all
    pattern-matching-subtree-search-filter         :  all
    process-bind                                   :  -
    replication-role                               :  master
    routing-policy                                 :  all-candidates
    viewable-attr                                  :  all except non-viewable-attr 
    writable-attr                                  :  all except non-writable-attr 

    For example, the following commands lists the coordinated-data-views property of the specified Coordinator data view.


    $ dpconf get-coordinator-data-view-prop VIEW_NAME coordinated-data-view 
    
    coordinated-data-view  :  first_view
    coordinated-data-view  :  second_view 
  2. Change one or more of the properties that are listed in Step 1.


    $ dpconf set-coordinator-data-view-prop -h host -p port VIEW_NAME PROP:VAL \
    [PROP:VAL...] 

    For example, add more coordinated data views to the Coordinator data view using the following command:


    $ dpconf set-coordinator-data-view-prop -h host -p port view_com \
    coordinated-data-view+:third_view coordinated-data-view+:fouth_view 

    As per the order of the coordinated data views specified in the above command, the coordinated data views are send in the following order:


    $ dpconf get-coordinator-data-view-prop VIEW_NAME coordinated-data-view 
    
    coordinated-data-view  :  first_view
    coordinated-data-view  :  second_view 
    coordinated-data-view  :  third_view
    coordinated-data-view  :  fourth_view 
  3. (Optional) Change the routing-policy mode that describe how Coordinator data view sends the requests to coordinated data views.


    $ dpconf set-coordinator-data-view-prop -h host -p port view_com \
    routing-policy:first-match

    For more information, see routing-policy(5dpconf).

  4. If necessary, restart the instance of Directory Proxy Server for the changes to take effect.

    For information about restarting Directory Proxy Server, see To Restart Directory Proxy Server.