Show Table of Contents
Chapter 10. Uninstalling JBoss ON
Because both the JBoss Operations Network server and agent are extracted JAR files, removing a server or agent ultimately consists of simply deleting those files.
10.1. Uninstalling an Agent
10.1.1. Removing an Agent on Linux (JAR)
- Remove the platform entry from the JBoss ON server inventory.
Important
If the agent was configured, but the platform was never imported into the inventory, then you must import the platform from the discovery queue first, and then delete the platform. The discovery queue is a halfway point in the inventory. Even if the agent is removed, the platform could still linger in the discovery queue as a ghost entry. - Stop the agent.
- Delete the agent's installation directory.
10.1.2. Removing an Agent RPM
- Remove the platform entry from the JBoss ON server inventory.
Important
If the agent was configured, but the platform was never imported into the inventory, then you must import the platform from the discovery queue first, and then delete the platform. The discovery queue is a halfway point in the inventory. Even if the agent is removed, the platform could still linger in the discovery queue as a ghost entry. - Stop the agent service.
[root@server ~]# service jon-agent stop
- If the package was installed using
yum, then use theyumto remove the package:[root@server ~]# yum remove jboss-on-agent jboss-on-agent-init
If the RPM package was installed usingrpm, then uninstall it usingrpm:[root@server ~]# rpm -e jboss-on-agent-3.1.2.0.GA1 jboss-on-agent-init-3.1.2.0.GA1
10.1.3. Removing an Agent on Windows
- Stop the agent.
- If the agent is configured as a Windows service, then remove it as a service.
> rhq-agent.bat remove
- Delete the agent's installation directory.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.