Starting and Stopping Servers and Agents Manually

CloudBees Flow servers and agents must be manually stopped and started for administrative maintenance, upgrades, third-party software installations, or system maintenance.

Stopping the CloudBees Flow Agent Service

To stop the CloudBees Flow agent service, choose one of the following options.

Windows

  1. Go to Control Panel > Administrative Tools > Services.

  2. Right-click CloudBees Flow Agent and click Stop.

Windows Command Line

Open a command window as Administrator and enter:

sc stop CommanderAgent

Linux

Log into a shell as root and enter one of the following commands:

  • Linux: /etc/init.d/commanderAgent stop

  • Solaris: /etc/init.d/ecmdrAgent stop

  • AIX: /etc/rc.d/init.d/ecmdrAgent stop

  • HP-UX: /sbin/init.d/ecmdrAgent stop

  • macOS: launchctl unload /Library/LaunchDaemons/ecmdrAgent.plist

Stopping All CloudBees Flow Server Services

To stop all CloudBees Flow server services, choose one of the following options.

Windows

  1. Go to Control Panel > Administrative Tools > Services.

  2. Right-click CloudBees Flow Server and click Stop.

  3. Right-click CloudBees Flow Web Server and click Stop.

  4. Right-click CloudBees Flow Database (if it exists) and click Stop.

  5. Right-click CloudBees Flow Repository Server and click Stop.

Windows Command Line

Open a command window as Administrator and enter:

  1. sc stop CommanderServer

  2. sc stop CommanderApache

  3. sc stop CommanderDatabase

  4. sc stop CommanderRepository

Linux

Log into a shell as root and enter:

  1. /etc/init.d/commanderServer stop

  2. /etc/init.d/commanderApache stop

  3. `/etc/init.d/CommanderDatabase stop `

  4. /etc/init.d/commanderRepository stop

Stopping All DevOps Insight Services

DevOps Insight uses services for Elasticsearch and Logstash. To stop these services, log into the DevOps Insight server and choose one of the following options. Because Logstash sends data to Elasticsearch, you stop Logstash first to prevent Logstash errors.

Windows

  1. Go to Control Panel > Administrative Tools > Services.

  2. Right-click CloudBees Flow Logstash Service and click Stop.

  3. Right-click CloudBees Flow Elasticsearch Service and click Stop.

Windows Command Line

Open a command window as Administrator and enter:

  1. sc stop CommanderLogstash

  2. sc stop CommanderElasticsearch

Linux

Log into a shell as root and enter:

  1. /etc/init.d/commanderLogstash stop

  2. /etc/init.d/commanderElasticsearch stop

Starting the CloudBees Flow Agent Service

To start the CloudBees Flow agent service, choose one of the following options.

Windows

  1. Go to Control Panel > Administrative Tools > Services.

  2. Right-click CloudBees Flow Agent and click Start.

Windows Command Line

Open a command window as Administrator and enter:

sc start CommanderAgent

Linux

Log into a shell as root and enter one of the following commands:

  • Linux: /etc/init.d/commanderAgent stop

  • Solaris: /etc/init.d/ecmdrAgent stop

  • AIX: /etc/rc.d/init.d/ecmdrAgent stop

  • HP-UX: /sbin/init.d/ecmdrAgent stop

  • macOS: launchctl load /Library/LaunchDaemons/ecmdrAgent.plist

Starting All CloudBees Flow Server Services

To start all CloudBees Flow server services, choose one of the following options.

Windows

  1. Go to Control Panel > Administrative Tools > Services.

  2. Right-click CloudBees Flow Database (if it exists) and click Start.

  3. Right-click CloudBees Flow Server and click Start.

  4. Right-click CloudBees Flow Web Server and click Start.

  5. Right-click CloudBees Flow Repository Server and click Start.

Windows Command Line

Open a command window as Administrator and enter:
  1. sc start CommanderDatabase

  2. sc start CommanderServer

  3. sc start CommanderApache

  4. sc start CommanderRepository

Linux

Log into a shell as root and enter:

  1. /etc/init.d/CommanderDatabase start

  2. /etc/init.d/commanderServer start

  3. /etc/init.d/commanderApache start

  4. /etc/init.d/commanderRepository start

Starting All DevOps Insight Services

To start the DevOps Insight services (Elasticsearch and Logstash), log into the DevOps Insight server and choose one of the following options. Because Logstash sends data to Elasticsearch, you start Elasticsearch first to prevent Logstash errors.

Windows

  1. Go to Control Panel > Administrative Tools > Services.

  2. Right-click CloudBees Flow Elasticsearch Service and click Start.

  3. Right-click CloudBees Flow Logstash Service and click Start.

Windows Command Line

Open a command window as Administrator and enter:

  1. sc start CommanderElasticsearch

  2. sc start CommanderLogstash

Linux

Log into a shell as root and enter:

  1. /etc/init.d/commanderElasticsearch start

  2. /etc/init.d/commanderLogstash start