Chat now with support
Chat mit Support

Foglight Agent Manager 7.3.0 - Foglight Agent Manager Guide

Configuring the embedded Agent Manager Installing external Agent Managers Configuring the Agent Manager Advanced system configuration and troubleshooting
Configuring Windows Management Instrumentation (WMI) Configuring Windows Remote Management (WinRM) UNIX- and Linux-specific configuration
Monitoring the Agent Manager performance Deploying the Agent Manager to large-scale environments

Example: Creating and running an Agent Manager deployment script

This section outlines the creation and use of an example deployment script and contains suggestions for customizing this type of script to suit your environment.

If you create your own script by following this example, you can use it to install and run the Agent Manager on the hosts you specify.

Part 1: Create the working directory and script file

On the machine from which you deploy the Agent Manager to the remote hosts, create a working directory and create the script file within it using a text editor such as vi.

In this example, the working directory is fglaminstall and the script file is remote_install_fglam_example.sh.

Part 2: Create a list of hosts

The remote_install_fglam_example.sh script that you are creating depends on a text file that lists the names of the hosts to which you are deploying the Agent Manager.

In this example, the text file is called hostnames, is located in the fglaminstall directory, and includes a list of comma-separated host name and operating system pairs. List all of the UNIX® hosts to which you want to deploy the Agent Manager. For example:

 

The same format that is used in the example above to specify the operating systems is used in Part 4: Specify the script commands .

Part 3: Add the script parameters

After performing the preliminary steps, you are ready to start configuring the Agent Manager deployment script.

In this part of the example, you will add the list of parameters for the script.

1
Navigate to the fglaminstall working directory.
2
Open remote_install_fglam_example.sh.
4
Change the value of HOSTFILE to the location of the text file hostnames that you created in Part 2: Create a list of hosts .
5
Change the value of FMS to the URL of the Management Server (version 5.2.4 or higher) from which you want to retrieve the Agent Manager installers and to which the Agent Manager instances connect. Use the format
where <hostname> is the resolvable DNS name or IP address and <port> is the HTTP port specified during installation (the default port is 8080).
If the Management Server has been configured to use HTTPS, then you can specify https as the protocol used by the Foglight Agent Manager to connect to the Management Server.
6
Change the value of FGLAM_USER to the name of the user that your UNIX administrator created for you to use when running the Agent Manager.
7
Change the value of INSTALL_DIR to the directory on each machine where the Agent Manager is being installed.
8
Change the value of FMS_VER to the version number of the Management Server (version 5.2.4 or higher) from which you want to retrieve the Agent Manager installers and to which the Agent Manager instances will connect. Specify the version number without punctuation, for example: 567, for Management Server version 5.6.7.
9
Save remote_install_fglam_example.sh.
Verwandte Dokumente

The document was helpful.

Bewertung auswählen

I easily found the information I needed.

Bewertung auswählen