Starting and Stopping Servers and Agents Manually

2 minute readReference

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

Stopping the CloudBees CD/RO Agent Service

To stop the CloudBees CD/RO agent service, choose one of the following options.

Windows

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

  2. Right-click CloudBees CD/RO 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

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

Stopping All CloudBees CD/RO Server Services

To stop all CloudBees CD/RO server services, choose one of the following options.

Windows

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

  2. Right-click CloudBees CD/RO Server and click Stop.

  3. Right-click CloudBees CD/RO Web Server and click Stop.

  4. Right-click CloudBees CD/RO Database (if it exists) and click Stop.

  5. Right-click CloudBees CD/RO Repository Server and click Stop.

Windows Command Line

Open a command window as Administrator and enter:

sc stop CommanderServer sc stop CommanderApache sc stop CommanderDatabase sc stop CommanderRepository

Linux

Log into a shell as root and enter:

/etc/init.d/commanderServer stop /etc/init.d/commanderApache stop /etc/init.d/commanderDatabase stop /etc/init.d/commanderRepository stop

Stopping All CloudBees Analytics Services

CloudBees Analytics uses services for Elasticsearch. To stop this service, log into the CloudBees Analytics server and choose the following option.

Windows

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

  2. Right-click CloudBees CD/RO Elasticsearch Service and click Stop.

Windows Command Line

Open a command window as Administrator and enter:

sc stop CommanderElasticsearch

Linux

Log into a shell as root and enter:

/etc/init.d/commanderElasticsearch stop

Starting the CloudBees CD/RO Agent Service

To start the CloudBees CD/RO agent service, choose one of the following options.

Windows

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

  2. Right-click CloudBees CD/RO 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

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

Starting All CloudBees CD/RO Server Services

To start all CloudBees CD/RO server services, choose one of the following options.

Windows

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

  2. Right-click CloudBees CD/RO Database (if it exists) and click Start.

  3. Right-click CloudBees CD/RO Server and click Start.

  4. Right-click CloudBees CD/RO Web Server and click Start.

  5. Right-click CloudBees CD/RO Repository Server and click Start.

Windows Command Line

Open a command window as Administrator and enter:

sc start CommanderDatabase sc start CommanderServer sc start CommanderApache sc start CommanderRepository

Linux

Log into a shell as root and enter:

/etc/init.d/commanderDatabase start /etc/init.d/commanderServer start /etc/init.d/commanderApache start /etc/init.d/commanderRepository start

Starting All CloudBees Analytics Services

To start the CloudBees Analytics service Elasticsearch, log into the CloudBees Analytics server and choose one of the following options.

Windows

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

  2. Right-click CloudBees CD/RO Elasticsearch Service and click Start.

Windows Command Line

Open a command window as Administrator and enter:

sc start CommanderElasticsearch

Linux

Log into a shell as root and enter:

/etc/init.d/commanderElasticsearch start