Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

2.5.2. Starting an Agent Installed on a Server Machine

If an agent is installed on the same system as a server or a storage node, then the agent is controlled by the same control script (rhqctl) that the server and storage node are. To start an agent, use the --agent option with the script.
[root@server ~]# serverRoot/jon-server-3.2.GA/bin/rhqctl start --agent
This starts the agent in the background, rather than opening the agent console.
By default, the agent init script runs as the local system account (Default or .\LocalSystem). The ssytem user account can be changed by editing the rhq-agent-env.bat script, as described in Section 2.5.3, “Configuring the Agent as a Windows Service”. The agent on the server machine is still started and stopped using the rhqctl command.