If you are planning to deploy the Agent Manager to multiple UNIX® hosts, you can simplify the process by creating a deployment script that downloads installers, installs, and starts the Agent Manager on these hosts.
This example is based on using the Wget network utility to download Management Server installers, providing a specific set of configuration options with the Agent Manager silent installer command, and using passwords to log in to remote hosts over SSH.However, you could instead create a script that works with any file-retrieval tool that downloads content using HTTP, such as cURL or a Perl script that uses the LWP::Simple interface.Additionally, if you require non-default silent installer parameters, such as those used to connect to the Management Server through a proxy, you could edit the parameters used when invoking the Agent Manager silent installer to suit your environment. See for more information.The end of the example, , describes using one type of login method (passwords) for connecting to remote machines using SSH. However, if you have private keys configured in your environment, you might encounter different scenarios when establishing an SSH connection, which are described in .
CAUTION: Using a deployment script for the Agent Manager is an advanced activity. You should create and use this type of script only if both of the following conditions apply:
• You are a Foglight™ administrator who is familiar with configuring the Agent Manager
This example deployment script is designed to use a specific set of tools and protocols and depends on certain settings being configured in your environment.If you decide to follow this example to create your own deployment script, you need to perform certain steps before you begin:
• Install the file retrieval tool Wget on all machines to which you want to deploy the Agent Manager. The example describes a script that uses the wget command to retrieve the Agent Manager installers from the Management Server.See for more information about Wget.
• Ensure that the remote hosts to which you are deploying the Agent Manager have enough space in the /tmp directory for the installer to be downloaded to that location.