VMware Cloud Community
sbeaver
Leadership
Leadership

Anyone know how to remove an unwanted or unusable Identity Connector?

I installed some external Identity Connectors and it turns out I deployed the wrong OVA.  I used the one from Identity Manager and that turned out to be the wrong one.  Now that I know the currently installed collectors do not work I need to remove them and I am not seeing any easy way to remove a collector from the inventory.  What is the proper way to remove or delete a collector?

Thanks

Steve

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos
1 Reply
sbeaver
Leadership
Leadership

Here is the solution to that problem:

****Please Take a snapshot and back up of the database before running any queries.****

1) ssh to the primary appliance (since database on primary will be in read/write mode)


2) Connect to database:

su - postgres /opt/vmware/vpostgres/current/bin/psql vcac

3) Change schema to saas:
set schema 'saas';

4) select * from "Connector";

5) Delete the unused connector:
delete from "Connector" where "id”='<stale_id>';


I actually used uuid as the marker because I was able to get that from a link on the connectors page.  Also if you are going to add connectors to vRA do not use the Identity Manager Connector because it will not sync the directory.  You have to get the vRA collector that is found with the java sdk and that is mentioned in the configuring vRA docs under configure smart card

Download the OVA

file

required to

configure

a connector from

VMware vRealize Automation Tools

and SDK

.

Download VMware vRealize Automation

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos