此内容没有您所选择的语言版本。
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.
service jon-agent stop
[root@server ~]# service jon-agent stop
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - If the package was installed using
yum
, then use theyum
to remove the package:yum remove jboss-on-agent jboss-on-agent-init
[root@server ~]# yum remove jboss-on-agent jboss-on-agent-init
Copy to Clipboard Copied! Toggle word wrap Toggle overflow If the RPM package was installed usingrpm
, then uninstall it usingrpm
:rpm -e jboss-on-agent-3.1.2.0.GA1 jboss-on-agent-init-3.1.2.0.GA1
[root@server ~]# rpm -e jboss-on-agent-3.1.2.0.GA1 jboss-on-agent-init-3.1.2.0.GA1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
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
> rhq-agent.bat remove
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Delete the agent's installation directory.