Use the following as your checklist for migrating Federation Manager 2 user data from flat files to Directory Servers:
In the Federation Manager 2 host, go to the directory that contains the file AMConfig.properties:
# cd /var/opt/SUNWam/fm/war_staging/web-src/WEB-INF/classes/ |
Make a backup AMConfig.properties, and then in the AMConfig.properties file, set the default datastore provider property:
com.sun.identity.common.datastore.provider.default= com.sun.identity.common.LDAPDataStoreProvider |
Save the file.
Go to the directory that contains the file serverconfig.xml:
# cd /var/opt/SUNWam/fm/war_staging/web-src/WEB-INF/config |
Make a backup of serverconfig.xml, and then modify the following entry.
Modify the host name, port, and user DNs as in the following example:
<ServerGroup name="userdefault" minConnPool="1"
maxConnPool="10">
<Server name="Server1" host="LoadBalancer-8.siroe.com"
port="1389" type="SIMPLE" />
<User name="User1" type="proxy">
<DirDN>
uid=amadmin,ou=people,o=siroeusers.com
</DirDN>
<DirPassword>
AQICGmG7l+gzO6bjmbDBve/MqicBf/zR2I+P
</DirPassword>
</User>
<User name="User2" type="admin">
<DirDN>
uid=amadmin,ou=people,o=siroeusers.com
</DirDN>
<DirPassword>
AQICGmG7l+gzO6bjmbDBve/MqicBf/zR2I+P
</DirPassword>
</User>
<BaseDN>
ou=people,o=siroeusers.com
</BaseDN>
</ServerGroup>
|
Save the file.
Regenerate the redeploy the Federation Manager 2 WAR file.
See To Regenerate and Redeploy the Federation Manager 2 WAR File.
Restart the Federation Manager web container.
#cd /opt/SUNWwbsvr/https-FederationManager-2.siroe.com # ./stop # ./start |
Verify that you can access the Federation Manager 2 server.
In a browser, go to the Federation Manager URL:
http://FederationManager-2.siroe.com:8080/federation/UI/Login |
Log in to the Federation Manager console:
amadmin
11111111
If you can log in successfully, the WAR file was deployed successfully.