In this example, the working directory is fglaminstall and the script file is remote_install_fglam_example.sh.
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 .
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. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center