OpenDS Tips: More on preferences for OpenDS tools

Opends Logo Tag In the previous tip for OpenDS, the LDAP directory server in Java, I've explained how to set default properties for the OpenDS client tools such as dsconfig, backup, restore...
One of the developers on the OpenDS project reminded me with 2 additional options related to those preferences:

When working with multiple instances of OpenDS, it's convenient to store the specific properties for each instance in a file, and then use the --propertiesFilePath option.

$ dsconfig --propertiesFilePath ./opends-Master2 set-server-prop ...

Alternately, it is possible to avoid using the default properties' file, and use the OpenDS tools with a different and remote instance, with the --noPropertiesFile option.

$ dsconfig set-backend-prop —backend-name userRoot —add base-dn:dc=MyCompany,dc=com
—hostname localhost —port 4444 —bindDN cn=Directory\\ Manager —bindPassword \*\*\*\*\*\*
—trustAll —noPropertiesFile —no-prompt

You can find more details on the tools.properties file on OpenDS documentation wiki.

Note: If you have OpenDS tips of your own, please share them with us. Send me a mail or leave a comment on this blog.

Technorati Tags: , , , ,

Comments:

Post a Comment:
Comments are closed for this entry.
About

This is the blog of a senior software engineer, specialized in LDAP, Directory Server and OpenDS. Ludovic Poitou works in France at the Grenoble Engineering Center, in the Directory Services Engineering team. Outside work, I love skiing and taking photo

Search

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