Performing an Unattended Traffic Manager Software Installation
In some situations, (for example, when rebuilding multiple machines) you may want to automate the installation of the Traffic Manager software. The zinstall script can record specific installation options to a replay file, and then use those options when installing the Traffic Manager software on a another machine.
To perform an unattended Traffic Manager software installation
1.To create a replay file, add the --record-to option to the zinstall script command, as shown below:
# ./zinstall --record-to=vtm_install.txt
When prompted to run the configuration script, you must answer No. Otherwise, a replay file is not created. The installation and configuration steps have to be recorded and replayed separately.
2.To reuse the installation options, add the --replay-from option to the command, as shown below:
# ./zinstall --replay-from=vtm_install.txt
This command runs the zinstall script using the answers you provided in the replay file. For any unanswered questions, the zinstall script pauses until an answer is provided. To stop the zinstall script, enter the --noninteractive option at the command line.
You can also run the configure script automatically using the same method. Be aware that passwords appear in plain text inside the replay file. However, passwords are not printed in the output of the configure program.
You can delete the password line in a newly generated replay file. You will prompted for the password later (unless you specified the --noninteractive option at the command line).