Installing Agents using Ivanti Automation

Besides installing the Agent for Unix/Linux manually, you can also install it by executing a Task Execute Secure Shell (SSH) Commands on another (non-Unix/Linux) Agent. This requires a Samba client to be installed on the target machine:

  1. Open the Ivanti Automation Console.
  2. Configure a Module with a Task Execute Secure Shell (SSH) Commands.
  3. Click the Settings tab of the Task Execute Secure Shell (SSH) Commands.
  4. In the Host field, specify the appropriate machine(s).
  5. As Authentication method, select Password.
  6. In the Security context field, specify the account credentials with sufficient administrator rights to access, add and install files on the target machine (for example, root).
  7. Select Use Secure Shell commands.
  8. Click the Commands tab and add the following commands:

smbclient $[SHARE] --user $[USERNAME]%$[PASSWORD] --workgroup $[DOMAIN] -c 'cd "$[LOCATION]"; get "$[RPM]"'
rpm -ivh $[RPM]

  1. Click the Module Parameters tab and add the following parameters:
    • SHARE: A text parameter that holds the location of the share on which the installation package of the Unix/Linux Agent is located. If the sharename is a UNC path, every backslash should be succeeded with another backslash. So, \\test\builds$ should be added as \\\\test\\builds$.
    • USERNAME: A text parameter that holds the user name to log on with.
    • PASSWORD: A password parameter that holds the user's password.
    • DOMAIN: A text parameter that holds the user's domain.
    • LOCATION: A text parameter that holds the location of the installation package of the Unix/Linux Agent.
    • RPM: A text parameter that holds the name of the installation package of the Unix/Linux Agent.
  2. Schedule a regular Job with the Module on one of the Agents in your Ivanti Automation environment. When reviewing the parameters on the Job Parameters tab, adjust any values if necessary.
  3. When the Agent for Unix/Linux has been installed, log on to the target machine and continue from step 5 of the Manual Installation procedure. See Manual Installation.

Example

Install UNIX Agent