Deleting Resource Instances from Nodes
You can delete resource all resource instances or a selected instance from a not by using the GUI or the CLI. A Force Delete option is available but not recommended.
GUI
Procedure
-
Choose a starting point and follow the appropriate procedure.
Starting Point Procedure Hosts Applications Nodes Resource Templates -
Click the
Resource Instances tab.
The list of resource instances display. The resource instances listed in the table on the left hand side are grouped by the type of the resource instance.
-
Choose one of the following procedures:
Option Description All Instances - In the Resource Instances view, click All Instances.
- Expand the rows for the listed resource instance type to see individual resource instances.
- Click the rows containing the instances to delete.
- Choose a delete option.
- Delete - deletes the selected resources only if the resources are uninstalled.
- Force Delete - Force uninstalls the resource instance and then deletes it. This option is enabled only if you have the necessary permissions. See Setting Enterprise Permissions for more information.
Instance
CLI
Procedure
-
In the data file, specify a ResourceInstance element in base format.
<ResourceInstance xsi:type="amxdata:ResourceInstance_base" name="resourceHttpClient" />
-
In the build file, set the
action attribute of the
AMXAdminTask element to
delete and the
objectSelector attribute to
Environment/Node/ResourceInstance. To perform a force delete, specify the
-force option and set it to true.
<AMXAdminTask action="delete" objectSelector="Environment/Node/ResourceInstance"/>
Copyright © Cloud Software Group, Inc. All rights reserved.