10.2. Uninstalling the Server

Removing a server still leaves the database and its information intact, so historic data remain available directly from the database itself.

10.2.1. Removing a Server on Red Hat Enterprise Linux

  1. If this is the only JBoss ON server, then stop all agents. If there will be other JBoss ON servers in the topology, then agents managed by this server will naturally migrate over to the other servers in the high availability topology.
  2. Stop the server.
    > rhq-server.sh stop
  3. Delete the server's installation directory.

10.2.2. Removing a Server on Windows

  1. If this is the only JBoss ON server, then stop all agents. If there will be other JBoss ON servers in the topology, then agents managed by this server will naturally migrate over to the other servers in the high availability topology.
  2. Stop the server.
    > rhq-server.bat stop
  3. If the server is configured as a Windows service, then remove it as a service.
    > rhq-server.bat remove
  4. Delete the server's installation directory.