立即与支持人员聊天
与支持团队交流

Foglight Agent Manager 5.9.5 - Foglight Agent Manager Guide

Configuring the embedded Agent Manager Installing external Agent Managers
Understanding how the Agent Manager communicates with the Management Server Deploying the Agent Manager cartridge Downloading the Agent Manager installer Installing the Agent Manager Starting or stopping the Agent Manager process Frequently asked questions
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

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.

Part 4: Specify the script commands

The steps below describe the process of specifying the commands to download and run the installers on the remote hosts and to run the installed Agent Manager instances.

1
Add the lines below after those that you added in Part 3: Add the script parameters . These lines verify the existence of the hostnames file and then process it.
Uses the silent installer to install the Agent Manager on each remote UNIX host specified in the hostnames file. The Agent Manager silent installer is invoked in this example with the command /tmp/${INSTALLER} --silent --fms url=${FMS} --installdir ${INSTALL_DIR}.
3
Save remote_install_fglam_example.sh.

Part 5: Run the script

Once you have finished editing the deployment script, it is ready to run to deploy the Agent Manager to the remote UNIX hosts.

1
Ensure that remote_install_fglam_example.sh is executable.
2
Execute the remote_install_fglam_example.sh script.
If Wget is not found on a host or if the operating system listed for a host in the hostnames file does not match the operating system types listed in the script, the script continues deploying the Agent Manager to the rest of the hosts that you specified in the hostnames file.
相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级