3.5.3 Deleting profiles
To delete a profile, you should do the following:
- If you are removing a custom profile or appserver profile that has been federated to a cell:
Stop the appservers on the node.
Remove the node from the cell using the console or the removeNode command. Removing a node does not delete it, but restores it to its pre-federated configuration that was saved as part of the federation process.
Delete the profile using manageprofiles -delete.
Use the manageprofiles -validateAndUpdateRegistry command to clean the profile registry.
Delete the <profile_home> directory.
- If you are removing an appserver profile that has not been federated to a cell:
Stop the appserver.
Delete the profile using manageprofiles -delete.
Use the manageprofiles -validateAndUpdateRegistry command to clean the profile registry.
Delete the <profile_home> directory.
- If you are removing a deployment manager profile:
Remove any nodes federated to the cell using the console or the removeNode command. Removing a node does not delete it, but restores it to its pre-federated configuration that was saved as part of the federation process.
Stop the deployment manager.
Delete the profile using manageprofiles -delete.
Use the manageprofiles -validateAndUpdateRegistry command to clean the profile registry.
Delete the <profile_home> directory.