启动cacao及实例:

[root@rusky bin]# cd /home/ldap/iamldap/dsee6/cacao_2/cacao/bin
[root@rusky bin]# ./cacaoadm start
[root@rusky bin]# cd /home/ldap/iamldap/ds6/bin/
[root@rusky bin]# ./dsadm start /home/ldap/iamldap/var/dscc6/dcc/ads
Waiting for Directory Server instance '/home/ldap/iamldap/var/dscc6/dcc/ads' to start...
Directory Server instance '/home/ldap/iamldap/var/dscc6/dcc/ads' started: pid=
[root@rusky bin]# ./dsadm start /home/ldap/amsldap
Waiting for Directory Server instance '/home/ldap/amsldap' to start...
Waiting for Directory Server instance '/home/ldap/amsldap' to start...
Directory Server instance '/home/ldap/amsldap' started: pid=6330

相关参数说明:

set-server-prop        Sets server property values
get-server-prop        Displays server property values 
-D USER_DN, --user-dn USER_DN
Binds as USER_DN (Default: $LDAP_ADMIN_USER or cn=Directory Manager)
-P PORT, --secure-port PORT
Connects to Directory Server on secure port PORT
-e,--unsecured
Connects over LDAP with no secure connection (Enabled if $DIRSERV_UNSECURED is set)
-i,--no-inter
Does not ask for confirmation
-p PORT, --port PORT
Connects to Directory Server on PORT (Default: $DIRSERV_PORT or 389)
-w FILE, --pwd-file FILE
Binds with pwd read from FILE (Default:$LDAP_ADMIN_PWF or prompt for pwd)
-j,--reject-cert
Does not ask for confirmation before rejecting non-trusted server certificates (for this session only)

查看缓存:

[root@rusky bin]# ./dsconf get-server-prop -D cn=DirectoryManager --pwd-file password -h rusky.com -e -p 12345 db-cache-size
db-cache-size : 32M

设置数据库缓存:

[root@rusky bin]# ./dsconf set-server-prop -D cn=DirectoryManager --pwd-file password -h rusky.com -e -p 12345 db-cache-size:128M
Directory Server must be restarted for changes to take effect.

查看条目缓存:  

[root@rusky bin]# ./dsconf get-suffix-prop -D cn=DirectoryManager --pwd-file password -h rusky.com -e -p 12345 dc=test entry-cache-size
entry-cache-size : 10M

设置条目缓存:  

[root@rusky bin]# ./dsconf set-suffix-prop -D cn=DirectoryManager --pwd-file password -h rusky.com -e -p 12345 dc=test entry-cache-size:20M

  

  

最新文章

  1. break prefab instance的原理
  2. 一个ubuntu phper的自我修养(atom)
  3. PHP 监控服务器动态
  4. linux的压缩命令
  5. ubuntu绑定串口设备
  6. hdu 2586 How far away
  7. codeforces A. Domino 解题报告
  8. js中event.target和event.srcElement的区别
  9. C#调用大漠插件的方法和实例
  10. Linux一
  11. secondarynamenode异常
  12. <body>标签,网页上显示的内容放在这里
  13. Ubuntu下用NdisWrapper安装网卡驱动
  14. float 属性详解
  15. Win32串口API
  16. 【视频编解码·学习笔记】4. H.264的码流封装格式
  17. 【mongodb系统学习之一】mongodb的简单安装
  18. python———day03
  19. es6 语法 (正则扩展)
  20. 启动tomcat时报错:java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException:A child container failed during start

热门文章

  1. VS2013默认快捷键
  2. MySQL忘记root密码的解决方案
  3. Javascript 常用函数【1】
  4. 使用微软 AppFabric 遇到问题
  5. 使用node-webkit开发Clover桌面客户端的一些记录(一)
  6. 关于Cococs中的CCActionEase(下)
  7. Swift— Swift编码规范之命名规范-备
  8. Linux C 调用MYSQL API 函数mysql_escape_string()转义插入数据
  9. 公司内部SQUID代理HTTPS访问资料网站
  10. 设计模式(十二): Flyweight享元模式 -- 结构型模式