Sun Java System Directory Server Enterprise Edition 6.2 管理指南

Procedure配置資料檢視的相似性

配置連線給連線處理程式時,該連線上的請求會顯示在該連線處理程式所配置的資料檢視清單中,或顯示在所有已配置的資料檢視中。該連線上後續的請求僅會顯示在第一次請求所使用的資料檢視中。

您可以使用 DSCC 執行此作業。如需相關資訊,請參閱目錄服務控制中心介面與 DSCC 線上說明。

  1. 啟用資料檢視的相似性。


    $ dpconf set-connection-handler-prop -h host -p port connection-handler-name \
     enable-data-view-affinity:true
  2. (可選擇) 配置連線處理程式,以將請求路由至自訂的資料檢視清單。


    $ dpconf set-connection-handler-prop -h host -p port connection-handler-name data-view-routing-policy:custom
  3. (可選擇) 配置資料檢視清單。


    $ dpconf set-connection-handler-prop -h host -p port connection-handler-name \
     data-view-routing-custom-list:view-name [data-view-routing-custom-list:view-name ...]

    若要將資料檢視增加至現有的資料檢視清單中,請使用此指令:


    $ dpconf set-connection-handler-prop -h host -p port connection-handler-name \
     data-view-routing-custom-list+:view-name
    

    若要將資料檢視從現有的資料檢視清單中移除,請使用此指令:


    $ dpconf set-connection-handler-prop -h host -p port connection-handler-name \
     data-view-routing-custom-list-:view-name