Tuesday Oct 25, 2011

Very basic ODSEE DPS config

How to create a minimalist dps conf : 

create DS instance

dsadm create -p 3389 -P 3636  /export/pat/dsee7.0.1/instances/ds1

dsadm start '/export/pat/dsee7.0.1/instances/ds1'

dsconf  create-suffix -p 3389 o=stress.com

dsconf  import -p 3389 1k.ldif o=stress.com

Create and configure DPS instance

dpadm create -p 4389 -P 4636 /export/pat/dsee7.0.1/instances/dp1

dpadm start /export/pat/dsee7.0.1/instances/dp1

dpconf create-ldap-data-source -p 4389  branstock_ds7_3389 branstock:3389

dpconf create-ldap-data-source-pool  -p 4389  mypool

dpconf attach-ldap-data-source  -p 4389  mypool  branstock_ds7_3389

dpconf set-attached-ldap-data-source-prop -p 4389  mypool branstock_ds7_3389 bind-weight:1 search-weight:1

dpconf create-ldap-data-view -p 4389 myview mypool o=stress.com

 restart dps :   dpadm restart /export/pat/dsee7.0.1/instances/dp1

Simple test 

ldapsearch -p 3389  -b "o=stress.com" "objectclass=*"  (directly search DS)

ldapsearch -p 4389 -b "o=stress.com" "uid=*"  (search trough DPS)



About

Patrice Duc-Jacquet

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today