Windows Silent Installation Examples

ReferenceAutomation

The following examples are command strings to use for unattended (silent) installations. In many instances, the command text with the associated options wraps to the following lines.

You must enter the installation command and all options on a single line.

Complete CloudBees CD/RO Installation

This installation installs the CloudBees CD/RO server, including the web, repository, and database servers, one agent, and CloudBees CD/RO tools. Review Before You Install CloudBees CD/RO before performing this procedure.

  • Enter:

CloudBeesFlow-<version>.exe
--mode silent
--installServer
--installAgent
--installDatabase
--installWeb
--installRepository
--windowsServerUser <server user>
--windowsServerDomain <domain>
--windowsServerPassword <password>
--windowsAgentUser <agent user>
--windowsAgentDomain <domain>
--windowsAgentPassword <password>

Where:

  • <server_user> is the user who owns the CloudBees CD/RO server, repository server, and web server processes.

  • <agent_user> is the user who owns the CloudBees CD/RO agent process.

Agent Installation

This installation example installs a CloudBees CD/RO agent, a repository server, and CloudBees CD/RO tools. Review Before You Install CloudBees CD/RO before performing this procedure.

  • Enter:

CloudBeesFlow-<version>.exe
--mode silent
--installRepository
--installAgent
--windowsAgentUser <agent_user>
--windowsAgentDomain <domain>
--windowsAgentPassword <password>
--windowsServerUser <server_user>
--windowsServerDomain <domain>
--windowsServerPassword <password>
--remoteServer <existing_CloudBees CD/RO_server>

Where:

  • <server_user> is the user who owns the CloudBees CD/RO server, repository server, and web server processes.

  • <agent_user> is the user who owns the CloudBees CD/RO agent process.

CloudBees CD/RO Agent Installation (Full Installer)

The CloudBees CD/RO agent software must be installed on each agent machine you intend to use with CloudBees CD/RO. This installation also installs Tools. Review Before You Install CloudBees CD/RO before performing this procedure.

  • Enter:

    CloudBeesFlow-<version>.exe --mode silent --installAgent --windowsAgentUser <agent_user> --windowsAgentDomain <domain> --windowsAgentPassword <password>

Where <agent_user> is the user who owns the CloudBees CD/RO agent process.

CloudBees CD/RO Agent Installation (Agent-Only Installer)

The CloudBees CD/RO agent software must be installed on each agent machine you intend to use with CloudBees CD/RO. Review Before You Install CloudBees CD/RO before performing this procedure. This example uses the Pseudo 64-bit agent-only installer file.

Note that this example creates a resource for the installed agent on the remote CloudBees CD/RO server. The --remoteServerResourceHostName option requires that you also specify the --remoteServerCreateResource option.

  • Enter:

    CloudBeesFlowAgent-x64-<version>.exe --mode silent --windowsAgentUser <agent user> --windowsAgentDomain <domain> --windowsAgentPassword <password> --remoteServerCreateResource --remoteServerResourceHostName <server_resource_name>

Where:

  • <agent_user> is the user who owns the CloudBees CD/RO agent process.

  • <server_resource_name> is the host name of the resource to create on the remote CloudBees CD/RO server.

Remote Web Server Installation

A remote web server configuration helps prevent network latency. If you have multiple sites, CloudBees CD/RO can be configured in numerous ways to help you work more efficiently. For details about the architecture for this configuration as well as a discussion of the benefits of using a central web server and web servers at each remote site, see Remote Web Server Configuration .

An agent is required on the machine when you install a web server. For details about why local agents are required on web server machines, see Local Agent Installation Requirement for Web Server Machines .

You should not use these local agents to run jobs.

This installation example installs a CloudBees CD/RO web server, an agent, and CloudBees CD/RO tools. Review Before You Install CloudBees CD/RO Agents before performing this procedure.

  • Enter:

CloudBeesFlow-<version>.exe
--mode silent
--installAgent
--installWeb
--windowsAgentUser <agent_user>
--windowsAgentDomain <domain>
--windowsAgentPassword <password>
--remoteServer <existing_CloudBees CD/RO_server>
--windowsServerUser <server_user>
--windowsServerDomain <domain>
--windowsServerPassword <password>

Where:

  • <server user> is the user who owns the CloudBees CD/RO server, repository server, and web server processes.

  • <agent user> is the user who owns the CloudBees CD/RO agent process.

Repository Server Installation

This installation example installs a CloudBees CD/RO repository server, an agent, and CloudBees CD/RO tools. Review Before You Install CloudBees CD/RO before performing this procedure.

  • Enter:

CloudBeesFlow-<version>.exe
--mode silent
--installRepository
--installAgent
--windowsAgentUser <agent_user>
--windowsAgentDomain <domain>
--windowsAgentPassword <password>
--windowsServerUser <server_user>
--windowsServerDomain <domain>
--windowsServerPassword <password>
--remoteServer <existing_CloudBees CD/RO_server>

Where:

  • <server_user> is the user who owns the CloudBees CD/RO server, repository server, and web server processes.

  • <agent_user> is the user who owns the CloudBees CD/RO agent process.

Tools Only Installation

This installation example installs only the CloudBees CD/RO tools. Review Before You Install CloudBees CD/RO before performing this procedure.

  • Enter:

    CloudBeesFlow-<version>.exe --mode silent