Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Removing custom adapter kinds from vCenter Operations Manager 5.x (vApp version) (2033926)

Purpose

This article provides a method for removing unwanted custom adapter kinds from vCenter Operations Manager 5.x (vApp version).

Resolution

To remove unwanted custom adapter kinds from vCenter Operations Manager 5.x:

  1. Download the attached file (Postgres-Delete-Adapter-Kind.zip) and extract the enclosed .sql script.
  2. In the VMware vCenter Operations Manager custom UI, hover over the Environment tab and click Environment Overview from the context menu.
  3. Expand Adapter Instances in the tree and click the adapter to be removed.
  4. Select all of the resources associated with the adapter and click Delete Resource to remove them.
  5. Repeat steps 3 and 4 if there are multiple adapters that are using the adapter kind being removed.
  6. Hover over the Environment tab and click Configuration > Adapter Instances.
  7. In the Adapter Instances section, click the adapter to be removed then click Remove Selected Adapter Instance.
  8. Repeat steps 6 and 7 if there are multiple adapters that are using the adapter kind you are removing.
  9. Open the Postgres-Delete-Adapter-Kind.sql file a text editor and locate this line:

    V_ADAPTER_KIND_KEY := '<insert adapter kind key>';

  10. Replace <insert adapter kind key> with the name of the adapter kind to be removed, as it appears in the Custom UI.
  11. Save and close the Postgres-Delete-Adapter-Kind.sql file.
  12. Copy the Postgres-Delete-Adapter-Kind.sql file to the /data/pgsql/ directory on the Analytics virtual machine.
  13. Log in to the Analytics virtual machine as root and run these commands:

    cd /data/pgsql
    chown postgres:postgres Postgres-Delete-Adapter-Kind.sql
    su - postgres
    pg_dump alivevm > alivevm.bak
    psql -d alivevm -f Postgres-Delete-Adapter-Kind.sql


    Note: The output is several DELETE lines, each followed by a number.

  14. After the commands have completed, exit the session by running the command:

    exit

  15. The unwanted adapter kind(s) are no longer present.

Impact/Risks

Only custom adapter kinds can be removed via this method. If a default adapter kind is removed, it will lead to instability in vCenter Operations Manager.

Additional Information

For information on removing an adapter kind from vCenter Operations 1.0.x, see Removing custom adapter kinds from vCenter Operations 1.0.x (2031256).

See Also

Attachments

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: