Manually deploy the Agent on Linux devices:
- Copy the Agent installation file to the device.
- Open a terminal window from Applications > System Tools.
- At the command prompt, set the name of the server and install the Agent: sudo rpm -Uvh ampagent-12.0.38.rhel.64_+.rpm
The Agent is installed in the following directories:
- /opt/quest/kace/bin/ where the Agent executable files are installed.
- /var/quest/kace/ where the Agent configuration, logs, and other data is stored.
NOTE: The device information appears in the appliance Inventory within a few minutes
-----
Deploy the Agent on Linux devices at startup or login:
- Set the name by adding the following command to the root directory: export KACE_SERVER=Appliance_Hostname
- The export call must precede the call to the installer. For example: export KACE_SERVER=Appliance_Hostname KACE_TOKEN=Agent_Token rpm -Uvh ampagent-12.0.38.rhel.64.rpm
The system looks for the value of host in these locations in the order shown:
- The installer file
- KACE_SERVER (environment variable)
- The amp.conf file
CAUTION: If host value is left empty, the environment variable requires to be set. Otherwise, the Agent does not connect to the appliance. KACE recommends that use the fully qualified domain name as the host-name.
-----
Upgrade the Agent on Linux devices:
- Copy the Agent installation file to the device. See Obtaining Agent installation files at https://support.quest.com/kb/129051 for guidance.
- Open a terminal window from Applications > System Tools.
- At the command prompt, enter: rpm -uvh ampagent-12.0.38.rhel.64.rpm
-----
Start and stop the Agent on Linux devices: This procedure is useful in troubleshooting Agent-related issues. For more information, see
https://support.quest.com/kb/227049 for guidance.
- Open a terminal window from Applications > System Tools.
- To start the Agent, enter: /opt/quest/kace/bin/AMPTools start
- To stop the Agent, enter: /opt/quest/kace/bin/AMPTools stop
-----
Manually remove the Agent from Linux devices: To remove the Agent from Linux devices manually, proceed to run the following commands on the devices.
- Open a terminal window from Applications > System Tools.
- At the command prompt, enter: sudo rpm -e AMPAgent
- Optional: Remove the kace directory: rm -rf /var/quest/kace/
-----
Verify the Agent is running on Linux devices:
- Open a terminal window from Applications > System Tools.
- At the command line prompt, enter: ps aux | grep AMPAgent
NOTE: This output indicates that the process is running: root 6100 0.0 3.9 3110640 20384 ? Ssl Mar03 0:00 /opt/quest/kace/bin/AMPAgent --daemon
-----
View the Agent version on Linux devices:
- Open a terminal window from Applications > System Tools.
- At the command prompt, enter: rpm -q AMPAgent
-----
Force inventory updates from Linux devices:
- Log in to the Linux device and open a terminal from Applications > System Tools.
- Go to the following directory: /opt/quest/kace/bin/
- Enter the following command: sudo ./RunKBOT 2 0
NOTE: The device information appears in the appliance Inventory within a few minutes