Deleting an AppSpace
An AppSpace can be deleted if it does not have associated AppNodes. If it contains AppNodes, you can force delete it.
BWAdmin Command Line
To delete the AppSpace
MyAppSpace in the domain
MyDomain, run the following command at the command line:
BW_HOME\bin>bwadmin delete -d MyDomain appspace MyAppSpace
If the AppSpace has an attached AppNode, the
delete appspace command fails. You can delete the attached AppNode and retry the
delete appspace command or use the
delete appspace command with the
-force option.
BW_HOME\bin>bwadmin delete -force -domain MyDomain appspace MyAppSpace
To delete the AppSpace
MyAppSpace in the domain
MyDomain and shut down the running AppNodes forcefully, run the following command at the command line:
BW_HOME\bin>bwadmin delete -timeout xx(time in minutes) -force -domain MyDomain appspace MyAppSpaceSee
Force Shutting Down an AppNode for more information.
To delete all AppSpaces in the domain
MyDomain, run the following command at the command line:
BW_HOME\bin>bwadmin delete -d MyDomain -all appspace If any of the AppSpace in the domain
MyDomain contains AppNode,
- Either first delete those AppNodes and then run
BW_HOME\bin>bwadmin delete -d MyDomain -all appspace - Or If you want to delete all AppSpaces including AppNodes forcefully, run the following command:
BW_HOME\bin>bwadmin delete -d MyDomain -all -force appspace
Admin UI
- Procedure
- On the AppSpaces page, click the checkmark next to the AppSpace you want to delete.
- Click Delete.
- Click
Yes, delete in the
Delete AppSpaces dialog. The dialog message displays the number of applications and AppNodes that are deleted.
