此内容没有您所选择的语言版本。

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)

  1. 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.
  2. Stop the agent.
  3. Delete the agent's installation directory.

10.1.2. Removing an Agent RPM

  1. 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.
  2. Stop the agent service.
    [root@server ~]# service jon-agent stop
    Copy to Clipboard Toggle word wrap
  3. If the package was installed using yum, then use the yum to remove the package:
    [root@server ~]# yum remove jboss-on-agent jboss-on-agent-init
    Copy to Clipboard Toggle word wrap
    If the RPM package was installed using rpm, then uninstall it using rpm:
    [root@server ~]# rpm -e jboss-on-agent-3.1.2.0.GA1 jboss-on-agent-init-3.1.2.0.GA1
    Copy to Clipboard Toggle word wrap

10.1.3. Removing an Agent on Windows

  1. Stop the agent.
  2. If the agent is configured as a Windows service, then remove it as a service.
    > rhq-agent.bat remove
    Copy to Clipboard Toggle word wrap
  3. Delete the agent's installation directory.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat