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 |
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. |
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. |
2 |
Add the lines below to the end of the file. These lines run the ssh command that: |
• |
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. |
1 |
Ensure that remote_install_fglam_example.sh is executable. |
2 |
Execute the remote_install_fglam_example.sh script. |
The recommended method of deploying the Agent Manager to a large number of Windows hosts is to use a software deployment tool such as Microsoft® Systems Management Center.
© ALL RIGHTS RESERVED. Termini di utilizzo Privacy Cookie Preference Center