VMware Cloud Community
syedhussaini
Contributor
Contributor

Removing vRA agent from rhel 7

How do you go about removing a vRA agene from a  rhel 7.3. I would like to uninstall that service from one of our servers. Thank you.

Reply
0 Kudos
2 Replies
daphnissov
Immortal
Immortal

Reply
0 Kudos
jasnyder
Hot Shot
Hot Shot

In case you're also trying to remove software agent (AKA darwin/AppD agent), you can grab the prepare_vra_template.sh script from the vRA appliance at https://[appliance-fqdn]/software/download/prepare_vra_template.sh

There's actually a bug in this script where it uses Debian package management (apt-get) by default, even if it matches an RPM-based/EL distro.  So you need to modify the script and at the top under the #Global Variables section, where it says use_rpm=  and change it to use_rpm=true

make it executable by running chmod +x ./prepare_vra_template.sh from the directory where you downloaded the script.

then run it using sudo ./prepare_vra_template.sh -l rhel64 -u

It will remove all the agents.

Reply
0 Kudos