Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Removing custom adapter kinds from vCenter Operations Manager 5.x (vApp version) (2033926)
Purpose
Resolution
- Download the attached file (
Postgres-Delete-Adapter-Kind.zip) and extract the enclosed.sqlscript. - In the VMware vCenter Operations Manager custom UI, hover over the Environment tab and click Environment Overview from the context menu.
- Expand Adapter Instances in the tree and click the adapter to be removed.
- Select all of the resources associated with the adapter and click Delete Resource to remove them.
- Repeat steps 3 and 4 if there are multiple adapters that are using the adapter kind being removed.
- Hover over the Environment tab and click Configuration > Adapter Instances.
- In the Adapter Instances section, click the adapter to be removed then click Remove Selected Adapter Instance.
- Repeat steps 6 and 7 if there are multiple adapters that are using the adapter kind you are removing.
- Open the
Postgres-Delete-Adapter-Kind.sqlfile a text editor and locate this line:V_ADAPTER_KIND_KEY := '<insert adapter kind key>'; - Replace
<insert adapter kind key>with the name of the adapter kind to be removed, as it appears in the Custom UI. - Save and close the
Postgres-Delete-Adapter-Kind.sqlfile. - Copy the
Postgres-Delete-Adapter-Kind.sqlfile to the/data/pgsql/directory on the Analytics virtual machine. - 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 severalDELETElines, each followed by a number. - After the commands have completed, exit the session by running the command:
exit - The unwanted adapter kind(s) are no longer present.
Impact/Risks
Additional Information
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.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

