Delete an instance

To delete an instance of WebSphere Application Server, run the dltwasinst script from the Qshell command line. You cannot delete the default instance that is shipped with the product. To run the script, follow the steps below.

Note: Use this script to remove an instance. Do not manually delete an instance.

  1. On the OS/400 command line, run the STRQSH (Start Qshell) command.

  2. On the Qshell command line, use the cd command to change to the directory that contains the script:

    cd /QIBM/ProdData/WebAS5/edition/bin

    where edition is Base for WebSphere Application Server and ND for WebSphere Application Server Network Deployment.

  3. Run the dltwasinst script:

    dltwasinst -instance instance

    where instance is the name of the instance you want to delete. For more information on the dltwasinst script and additional parameters, see The dltwasinst script.

Example

In this example, the instance testinst is deleted.

dltwasinst -instance testinst