7.14. 使用 LDIF 文件中的自定义数据库设置安装 IdM 服务器或副本
您可以对目录服务器数据库安装具有自定义设置的 IdM 服务器和 IdM 副本。以下流程演示了如何使用数据库设置创建 LDAP 数据交换格式(LDIF)文件,以及如何将这些设置传给 IdM 服务器和副本安装命令。
先决条件
- 您已确定了改进 IdM 环境性能的自定义目录服务器设置。请参阅 调整 IdM 目录服务器性能。
流程
使用自定义数据库设置,创建 LDIF 格式的文本文件。使用短划线(-)分隔 LDAP 属性修改。这个示例为空闲超时和最大文件描述符设置了非默认值。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 使用
--dirsrv-config-file
参数将 LDIF 文件传给安装脚本。要安装 IdM 服务器:
ipa-server-install --dirsrv-config-file <filename.ldif>
# ipa-server-install --dirsrv-config-file <filename.ldif>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 要安装 IdM 副本:
ipa-replica-install --dirsrv-config-file <filename.ldif>
# ipa-replica-install --dirsrv-config-file <filename.ldif>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow