The following procedure explains what you need to modify in an Access Manager deployment when the name of the machine on which Access Manager is hosted changes.
Stop Access Manager.
Delete the bootstrap file.
# rm user_home/AccessManager/* |
where user_home is the home directory of the UNIX user under which the Access Manager web container is running.
Copy the value of the am.encryption.pwd property from AMConfig.properties.
am.encryption.pwd=eza2p5sYo+19hlzeZPynfOk+g89JUbRS
Delete the sample identities created by the Identity Repository Service when Access Manager is deployed.
By default, context-root is amserver.
Change to the agent directory.
# cd AM-Config-Dir/context-root/idRepo/agent/ |
Remove the following.
# rm LibertyBearerTokenWSP LibertySAMLTokenWSP LibertyX509TokenWSP LocalDiscoDiscovery SAML-HolderOfKeyWSP SAML-SenderVouchesWSP UserNameTokenWSP wscWSC wspWSP X509TokenWSP |
Change to the realm directory.
cd AM-Config-Dir/context-root/idRepo/realm/ |
Remove the following.
# rm ContainerDefaultTemplateRole |
Change to the user directory.
cd AM-Config-Dir/context-root/idRepo/user/ |
Remove the following.
# rm jondoe jsmith |
Start Access Manager.
Using a browser, go to the Access Manager URL using the new host machine name: http://new_FQDN_AM_host:port/amserver.
You will be redirected to the Access Manager configuration page. After redirection, verify that the URL in the Location bar reflects the new host name.
Fill in the details on the configuration page displayed.
Be sure of the following:
Verify that the value of the Server URL correctly reflects the new host name.
Paste the encryption password you previously copied as the value of the Encryption Key.
Click Configure to submit the form.
A message confirming a successful configuration will be displayed and you will be redirected to the Access Manager console to login.
Login to the Access Manager console as amadmin.
If configuration has failed or you are unable to login, troubleshoot the issue by looking at the logs from the web container that hosts Access Manager and the debug logs from Access Manager itself.
Make the following changes to the Access Manager Platform Service.
Make the following changes to the top-level realm.
Follow the instructions in To Change the Domain in an Access Manager Deployment, if applicable.
Log out of the Access Manager console.