Deleting a WebSphere Commerce instance
You can delete an instance when you no longer need any of the resources and services that are associated with the instance. You can also choose to delete the WebSphere Application Server profile and server that is associated with the instance. Deleting an instance that is not needed can free up a significant amount of system resources and can make the resources available for other purposes.
If your instance contains resources or customizations you might need to reuse in another
instance, back up the content before you delete the instance.
Important: Deleting an
instance cannot be undone.
Before you begin
Procedure
- To delete a WebSphere Commerce instance:
-
If you are deleting an authoring server instance, complete the following steps:
- Delete the Oracle user IDs that start with the workspaces read schema prefix (WCR) and the workspace write schema prefix (WCW).
- When you remove an authoring instance, ensure that all Oracle users that are associated with that authoring instance are removed. If the users are not removed, future attempts to create an instance might fail.
- To delete the user profile that is associated with your WebSphere Commerce
instance, run the following command. Note: All jobs that are associated with the user profile must be ended before the user profile can be deleted. The database for your instance is also deleted. If you want to save the information that is contained in your database, ensure that you back up the database before you run the command.
DLTUSRPRF USRPRF(instance_name) OWNOBJOPT(*DLT)
- instance_name
- The name of the WebSphere Commerce instance you want to delete.
- If you want the authoring server database to remain, drop all database schemas that start with the workspaces read schema prefix (WCR) and the workspace write schema (WCW).
- If you do not want the authoring server database to remain, drop the database according to the instructions included with your database software.
- Optional:
You can clean up and remove the WebSphere Application Server profile and WebSphere Application Server server that
WebSphere Commerce created. Do not complete this step
if other applications are using the profile.
If you choose to remove the profile, the following steps remove the following components:
- The server (server1)
- Any other servers that might exist in the profile
- Related WebSphere Application Server configuration information
- All of the applications that are installed on the mentioned servers