使用 Tivoli Directory Server 代理实现 LDAP 的高可伸缩性和高可用性
2009-10-16 00:00:00 来源:WEB开发网定义片段。
执行以下命令在 cn=ibmpolicies、cn=aixdata 和 ou=people,cn=aixdata 下面定义片段。
清单 7. 定义片段
========
cn=ibmpolicies split definitions :
========
# idsldapadd -h secldapproxy.ibm.com -D cn=root -w root
dn: cn=cn\=ibmpolicies split, cn=ProxyDB, cn=Proxy Backends, cn=IBM Directory,\
cn=Schemas, cn=Configuration
cn: cn=ibmpolicies split
ibm-slapdProxyNumPartitions: 1
ibm-slapdProxyPartitionBase: cn=ibmpolicies
ibm-slapdProxySplitName: ibmpolicysplit
objectclass: top
objectclass: ibm-slapdConfigEntry
objectclass: ibm-slapdProxyBackendSplitContainer
# idsldapadd -h secldapproxy.ibm.com -D cn=root -w root
dn: cn=split1, cn=cn\=ibmpolicies split, cn=ProxyDB, cn=Proxy Backends,\
cn=IBM Directory, cn=Schemas, cn=Configuration
cn: split1
ibm-slapdProxyBackendServerDN: cn=secldapinst1a,cn=ProxyDB,cn=Proxy Backends,\
cn=IBM Directory,cn=Schemas,cn=Configuration
ibm-slapdProxyBackendServerRole: any
ibm-slapdProxyPartitionIndex: 1
objectclass: top
objectclass: ibm-slapdConfigEntry
objectclass: ibm-slapdProxyBackendSplit
========
cn=aixdata split definitions :
========
# idsldapadd -h secldapproxy.ibm.com -D cn=root -w root
dn: cn=cn\=aixdata, cn=ProxyDB, cn=Proxy Backends, cn=IBM Directory, cn=Schemas,\
cn=Configuration
cn: cn=aixdata
ibm-slapdProxyNumPartitions: 1
ibm-slapdProxyPartitionBase: cn=aixdata
ibm-slapdProxySplitName: ouaixdatasplit
objectclass: top
objectclass: ibm-slapdConfigEntry
objectclass: ibm-slapdProxyBackendSplitContainer
# idsldapadd -h secldapproxy.ibm.com -D cn=root -w root
dn: cn=split1, cn=cn\=aixdata, cn=ProxyDB, cn=Proxy Backends, cn=IBM Directory,\
cn=Schemas, cn=Configuration
cn: split1
ibm-slapdProxyBackendServerDN: cn=secldapinst1a,cn=ProxyDB,cn=Proxy Backends,\
cn=IBM Directory,cn=Schemas,cn=Configuration
ibm-slapdProxyBackendServerRole: any
ibm-slapdProxyPartitionIndex: 1
objectclass: top
objectclass: ibm-slapdConfigEntry
objectclass: ibm-slapdProxyBackendSplit
========
ou=people,cn=aixdata split
========
# idsldapadd -h secldapproxy.ibm.com -D cn=root -w root
dn: cn=ou\=people\,cn\=aixdata, cn=ProxyDB, cn=Proxy Backends, cn=IBM Directory,\
cn=Schemas, cn=Configuration
cn: ou=peple,cn=aixdata
ibm-slapdProxyNumPartitions: 2
ibm-slapdProxyPartitionBase: ou=People,cn=aixdata
ibm-slapdProxySplitName: oupoepleouaixdatasplit
objectclass: top
objectclass: ibm-slapdConfigEntry
objectclass: ibm-slapdProxyBackendSplitContainer
# idsldapadd -h secldapproxy.ibm.com -D cn=root -w root
dn: cn=split1, cn=ou\=people\,cn\=aixdata, cn=ProxyDB, cn=Proxy Backends,\
cn=IBM Directory, cn=Schemas, cn=Configuration
cn: split1
ibm-slapdProxyBackendServerDN: cn=secldapinst1a,cn=ProxyDB,cn=Proxy Backends,\
cn=IBM Directory,cn=Schemas,cn=Configuration
ibm-slapdProxyBackendServerRole: any
ibm-slapdProxyPartitionIndex: 1
objectclass: top
objectclass: ibm-slapdConfigEntry
objectclass: ibm-slapdProxyBackendSplit
# idsldapadd -h secldapproxy.ibm.com -D cn=root -w root
dn: cn=split2, cn=ou\=people\,cn\=aixdata, cn=ProxyDB, cn=Proxy Backends,\
cn=IBM Directory, cn=Schemas, cn=Configuration
cn: split2
ibm-slapdProxyBackendServerDN: cn=secldapinst2a,cn=ProxyDB,cn=Proxy Backends,\
cn=IBM Directory,cn=Schemas,cn=Configuration
ibm-slapdProxyBackendServerRole: any
ibm-slapdProxyPartitionIndex: 2
objectclass: top
objectclass: ibm-slapdConfigEntry
objectclass: ibm-slapdProxyBackendSplit
更多精彩
赞助商链接