Manual installation
This chapter covers the manual installation of the Agents for Unix/Linux. The installation procedure is similar for all supported versions.
Installation
- Transfer the installation package of the Agent to the target machine.
- On the target machine, log in as root.
- Change the working directory to the location of the installation package by typing the following command in a Terminal window:
cd /root - Use the following command to install the Agent:
Red Hat
rpm –ivh <package name>-<version number>.<architecture>.rpm
SUSE
rpm –ivh <package name>-<version number>.<architecture>.rpm
IBM AIX
rpm –ivh <package name>-<version number>.<architecture>.rpm
Ubuntu
Sudo dpkg –i <package name>-<version number>.<architecture>.deb
Solaris
pkgadd -d <package name>-<version number>
For example: rpm -ivh res-one-automation-agent-7.5-1.246575.x86_64.rpm (on SUSE)
Configuration
Use the following command to configure the Agent to start automatically:
Red Hat |
chkconfig --add resamad |
SUSE |
chkconfig --add resamad |
IBM AIX |
.... |
Ubuntu |
sudo update-rc.d resamad defaults |
Solaris |
cd /var/svc/manifest/application/management
|
- Change the working directory to /usr/local/bin by typing the following command:
cd /usr/local/bin
Start the Agent for the first time and connect it to a known and operational Ivanti Automation Dispatcher. To do so, type the following command:
./resamad –dd<Dispatcher IP or hostname>.
When prompted, select a discovered Ivanti Automation environment. Use this setting when using multicast in your Ivanti Automation environment. See Prerequisites and General Guidelines.
- After this, the Agent will register itself in the node Topology > Agents of the Ivanti Automation Console.
- Stop the Agent and restart it via the official start/stop script, which correctly initializes the Agent:
Red Hat
/etc/init.d/resamad stop
/etc/init.d/resamad startSUSE
/etc/init.d/resamad stop
/etc/init.d/resamad startIBM AIX
/etc/rc.d/rc2.d/K90resamad stop
/etc/rc.d/rc2.d/S90resamad start
Ubuntu
/etc/init.d/resamad stop
/etc/init.d/resamad start
Solaris
svcadm disable resamad
svcadm enable resamad
To check whether the Agent is running (enabled or disabled):
svcs resamad
After this, the Agent will automatically start each time the machine on which it runs is booted. If, however, you need to stop and start the Agent manually, please use the official start/stop commands.
The configuration of the Agent is stored in /etc/res/resamad.xml. This file contains all necessary information for an Agent to connect to the Ivanti Automation environment. Instead of manual Agent configuration, you can also place a preconfigured resamad.xml file on each Agent.