How to stop and start a CJE Cluster

Article ID:115003763951
1 minute readKnowledge base

Issue

  • How we can stop and start a CJE Cluster?

  • How we can stop a CJE Cluster from Maintenance?

Environment

Resolution

The best approach to do that in CJE Anywhere is stop all the cluster and then make un cluster restore. These are the detailed steps.

CJE Anywhere

Stop the CJE cluster

  • It is mandatory to confirm that the IPs of the host will not change after the restart

  • In CJOC stop all Manage controllers (MM)

  • Stop CJOC - dna stop cjoc

  • Backup ES data

  • Stop your worker hosts

  • Stop your controller hosts

Start the CJE Cluster

  • Start your controller hosts

  • Start your worker hosts

  • Restore a CloudBees Jenkins Enterprise Cluster

  • Restore ES Data

  • In CJOC start all Manage controllers (MM)

CJE AWS

Stop the CJE cluster

  • In CJOC stop all Manage controllers (MM)

  • Stop CJOC - dna stop cjoc

  • Backup ES data

  • Terminate your worker EC2 instances

  • Terminate your controller EC2 instances

Start the CJE Cluster

  • Restore a CloudBees Jenkins Enterprise Cluster

  • Restore ES Data

  • In CJOC start all Manage controllers (MM)

CJE OpenStack

Stop the CJE cluster

  • In CJOC stop all Manage controllers (MM)

  • Stop CJOC - dna stop cjoc

  • Backup ES data

  • Destroy your worker instances

  • Destroy your controller instances

Start the CJE Cluster

  • Restore a CloudBees Jenkins Enterprise Cluster

  • Restore ES Data

  • In CJOC start all Manage controllers (MM)