Install agents in silent mode on Windows
This topic provides instructions for configuring and installing a Deployment Automation agent in silent mode on Windows.
Install an agent in silent mode on Windows
To install an agent in silent mode on Windows:
-
Download the agent installer for your platform.
-
Create an options file and save it as C:/optionsFile.txt. For details, see Agent silent installation options.
Note: Your options file should be in ANSI format. The agent installer does not support UTF.
-
From a command prompt, issue the command:
MicroFocusDA-agent.exe -silent -options optionsFile.txt
where optionsFile.txt is the options file you created in step 2.
After you install agents, continue with the next steps in the Installation checklist.
Agent silent installation options
The following table describes the agent silent installation options in an optionsFile.txt file for Windows.
Option | Description |
---|---|
-P installLocation |
The target location for installing the agent. |
-V IS_DESTINATION |
The target location for installing the agent. |
-V AgentName |
Name of the agent. You can also specify properties that are resolved dynamically on the server. For more information see Dynamically register agents. |
-V UseRelayYes |
To use
an agent relay, set this option to
true . Otherwise, set it to
false .
|
-V RelayHost |
(Required only if
-V UseRelayYes=true is specified) The host name
of the agent relay you want to use.
|
-V RelayPort |
(Required only if
-V UseRelayYes=true is specified) The port
number of the agent relay you want to use.
|
-V RelayProxyPort |
(Required only if
-V UseRelayYes=true is specified) The proxy port
number of the agent relay.
|
-V ServerHost |
(Required if
-V UseRelayYes=false ) The host name of the DA server.
|
-V ServerPort |
(Required if
-V UseRelayYes=false ) The port number of the DA server. |
-V ServerMutAuth |
To use mutual authentication with the server, set this option to
true . Otherwise, set it to
false . For more information, see Configure SSL mutual authentication.
|
-V JreNew |
To
install a new JRE together with the agent, set this option to
true . Otherwise, set it to
false .
|
-V JreInstallLoc |
(Required if
-V JreNew=false ) Specify the
location of a pre-existing JRE for the agent.
|
-V ServiceYes |
To create a Windows service for the agent, set this option to
true . Otherwise, set it to
false . This option is valid only for Windows
systems.
|
-V ServiceName |
(Required only if
-V ServiceYes=True is specified) The name for the Windows service.
|
-V ServiceStartAuto |
(Required only if
-V ServiceYes=True is specified) For the Windows service to start automatically, set this option to
true . Otherwise, set it to
false .
|
-V ServiceAccName |
(Required only if
-V ServiceYes=True is specified) Specify the
log on user account name for the Windows service.
|
-V ServiceAccPass |
(Required only if
-V ServiceYes=True is specified) Specify the
log on user account password for the Windows service.
|
Example of silent installation settings in an options file
Use the following example of the optionsFile.txt settings to configure agent silent installation on Windows.
In this example, the agent named agent123 connects directly to the server on serverabc (not through an agent relay) and points to a new installation of a JRE. The mutual authentication mode for the agent is turned on. The agent runs as a Windows service named da-Agent123 that is set to start automatically when the system starts. The agent Windows service admin user account name is admin01, and the password is password.
-P installLocation="C:\Program Files (x86)\Micro Focus\Deployment Automation Agent" -V IS_DESTINATION="C:\Program Files (x86)\Micro Focus\Deployment Automation Agent" -V AgentName="agent123" -V UseRelayYes="false" -V ServerHost="serverabc" -V ServerPort="7918" -V ServerMutAuth="true" -V ServiceYes="true" -V ServiceName="da-agent123" -V ServiceStartAuto="true" -V ServiceAccName="admin01" -V ServiceAccPass="password" -V JreNew="true"
See also: