Access Manager 允许自动故障转移至任何在 serverconfig.xml 中定义为ServerGroup 元素Server 元素的 Directory Server。可以为故障转移或多主体配置多个服务器。如果最初配置的服务器停止运行,则随后配置的服务器将接替最初配置的服务器继续运行。故障转移或多主体配置举例说明了含有自动故障转移配置的 serverconfig.xml。
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<!--
PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-->
<iPlanetDataAccessLayer>
<ServerGroup name="default" minConnPool="1" maxConnPool="10">
<Server name="Server1" host="
amhost1.domain_name" port="389" type="SIMPLE" />
<Server name="Server2" host="
amhost2.domain_name" port="389" type="SIMPLE" />
<Server name="Server3" host="
amhost3.domain_name" port="390" type="SIMPLE" />
<User name="User1" type="proxy">
<DirDN>
cn=puser,ou=DSAME Users,dc=example,dc=com
</DirDN>
<DirPassword>
AQIC5wM2LY4Sfcy+AQBQxghVwhBE92i78cqf
</DirPassword>
</User>
<User name="User2" type="admin">
<DirDN>
cn=dsameuser,ou=DSAME Users,dc=example,dc=com
</DirDN>
<DirPassword>
AQIC5wM2LY4Sfcy+AQBQxghVwhBE92i78cqf
</DirPassword>
</User>
<BaseDN>
o=isp
</BaseDN>
</ServerGroup>
</iPlanetDataAccessLayer>
|