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