Este conteúdo não está disponível no idioma selecionado.
3.3. Uninstalling JBoss ON
Because both the JBoss Operations Network server and agent are extracted archive files, removing a server or agent ultimately consists of simply deleting those files.
3.3.1. Uninstalling an Agent on a Managed System Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
3.3.1.1. Removing an Agent on Linux (JAR) Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Note
This procedure is for removing a standalone agent. If the agent was installed with the JBoss ON server or storage node, then use the
rhqctl
script to stop and remove it.
- Stop the agent.
- Delete the agent from JBoss ON topology.
- In the JBoss ON UI, click the Administration tab in the top menu.
- In the Topology section in the left menu, select the Agents item.
- Select the row for the agent to delete, in the list of installed agents.
- Click thebutton at the bottom of the page.
- Confirm that the agent should be deleted.
- On the managed system, delete the agent's installation directory.
3.3.1.2. Removing an Agent RPM Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
- Stop the agent service.
service jon-agent stop
[root@server ~]# service jon-agent stop
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Delete the agent from JBoss ON topology.
- In the JBoss ON UI, click the Administration tab in the top menu.
- In the Topology section in the left menu, select the Agents item.
- Select the row for the agent to delete, in the list of installed agents.
- Click thebutton at the bottom of the page.
- Confirm that the agent should be deleted.
- 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.2.0.GA jboss-on-agent-init-3.2.0.GA
[root@server ~]# rpm -e jboss-on-agent-3.2.0.GA jboss-on-agent-init-3.2.0.GA
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
3.3.1.3. Removing an Agent on Windows Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Note
This procedure is for removing a standalone agent. If the agent was installed with the JBoss ON server or storage node, then use the
rhqctl
script to stop and remove it.
- Stop the agent.
- Delete the agent from JBoss ON topology.
- In the JBoss ON UI, click the Administration tab in the top menu.
- In the Topology section in the left menu, select the Agents item.
- Select the row for the agent to delete, in the list of installed agents.
- Click thebutton at the bottom of the page.
- Confirm that the agent should be deleted.
- 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.
3.3.2. Uninstalling the Server Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
Removing a server still leaves the database and its information intact, so historic data remain available directly from the database itself.
3.3.2.1. Removing a Server on Red Hat Enterprise Linux Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
- 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.
- Stop the server.
serverRoot/jon-server-3.2.0.GA/bin/rhqctl.sh stop --server
[root@server ~]# serverRoot/jon-server-3.2.0.GA/bin/rhqctl.sh stop --server
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Delete the server's installation directory.
3.3.2.2. Removing a Server on Windows Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
- 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.
- Stop the server.
> C:\rhq\jon-server-3.2.0.GA\bin\rhqctl.bat stop
> C:\rhq\jon-server-3.2.0.GA\bin\rhqctl.bat stop
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - If the server is configured as a Windows service, then remove it as a service.
> C:\rhq\jon-server-3.2.0.GA\bin\rhqctl.bat remove
> C:\rhq\jon-server-3.2.0.GA\bin\rhqctl.bat remove
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Delete the server's installation directory.