10bet网址
MySQL Enterprise Monitor 8.0 Manual
Related Documentation Download this Manual

16.4 Deleting Assets

This section describes how to delete assets, and groups of assets, from MySQL Enterprise Monitor's inventory, from the user interface.

Important

Deleting assets from the inventory does not delete or uninstall assets from their installed locations. The delete process removes all record of an asset or group of assets from the internal record of MySQL Enterprise Service Manager, only. This enables you to remove entries for clusters, topologies, agents, hosts, and instances which were monitored, but are no longer in use.

Ensure the asset or group is either not running, or not installed, before attempting to delete it from the inventory.

For more information on the inventory, seeAppendix B,Managing the Inventory.

For information on deleting assets from the command line, seeSection 16.5, “Deleting Assets from the Command Line”.

The deletable asset types are as follows:

  • MySQL Instances

  • MySQL Enterprise Monitor Agents

  • Hosts

  • NDB Clusters: Clusters can be deleted in their entirety, or you can delete individual nodes by opening the NDB Cluster details view, and deleting the nodes one at a time.

    • NDB API Nodes

      Note

      Deleting an NDB API Node also deletes the server.

    • NDB Data Nodes

    • NDB Management Nodes

Note

It is not currently possible to delete an entire replication topology. To delete the assets involved in a replication topology, you must delete each individually, or use a related request type where possible.

It is not possible to delete an asset if any of the following are true:

  • If the user does not have the required permissions.

  • It is not possible to delete an agent from the inventory if the agent's status is unknown, if the agent is running, or if the agent is monitoring one or more MySQL instances which are not scheduled for deletion in the same operation.

  • It is not possible to delete a host from the inventory if the host contains agents or MySQL instances which are not also scheduled for deletion in the same operation.

To delete an asset, do the following:

  1. Open the asset's view from the配置urationmenu.

  2. 删除一个MySQL实例的MySQL Instancesview,. select删除from the instance menu, or select the instance(s) and click the删除Instancesbutton.

    To delete an asset from the asset-specific views, Agents, Hosts, or NDB Clusters, select删除from the menu on each asset's line or select the asset and click the Delete button. You can also select all assets in the view, using theSelect Allbutton, and delete all by clicking the删除button.

    The删除Confirmationdialog is displayed.

    Figure 16.7 Delete Confirmation for MySQL Instance

    Example of the delete confirmation dialog for a MySQL instance.

    If it is not possible to delete an asset, a warning is displayed in theDeletablecolumn. To see more information on the nature of the warning, hover the cursor over the warning. A tooltip is displayed.

  3. If the asset is deletable, confirm the details are correct and click删除. A confirmation dialog is displayed.

  4. To delete assets related to the selected asset, select one of the other types from theAdvanced Optionssection. If the selection is available, theDeletable Assetssection is updated with the asset's details and whether it is deletable.

    For example, if you try to delete a MySQL Instance and a related host:

    Figure 16.8 Delete Confirmation for MySQL Instance and related Host

    Example of the delete confirmation dialog for a MySQL instance with related host selected.

    The related host also has an agent installed, which is unrelated to the delete request. The presence of the unrelated agent prevents the removal of the MySQL instance and related host delete request. The删除button is deactivated.