You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to the DevOps Library! This is Samantha, and today we're going to set
23
-
up Cloudbees Jenkins Operations Center, or CJOC for short. If you've never
30
+
up [Cloudbees Jenkins Operations Center](https://go.cloudbees.com/docs/cloudbees-documentation/cjoc-user-guide/introduction.html), or CJOC for short. If you've never
24
31
heard of it, the CJOC is used for managing multiple Jenkins Masters. It makes
25
32
it much easier to scale Jenkins horizontally, as it makes it possible to share
26
33
build nodes between masters. You can also enforce security compliance, manage
27
34
update centers, setup single sign on, and monitor the everything all from the
28
35
CJOC. Sounds pretty cool huh? It is, trust us!
29
36
37
+

38
+
30
39
Before we begin, we'd like to give a quick shout out to
31
40
[Hired.com](http://www.hired.com/devopslibrary) for being kind enough to sponsor
32
41
our Jenkins course. If you aren’t familiar with Hired, it’s a great company that
@@ -41,57 +50,72 @@ Terminology
41
50
-----------
42
51
Alright, let's go ahead and get started! First, let's talk about some new
43
52
Jenkins terminology related to Operations Center. You'll typically have at
44
-
least one "Operations Center Server", ideally in HA mode. This server is a
53
+
least one **Operations Center Server**, ideally in HA mode. This server is a
45
54
special type of Jenkins instance that acts as a central authority over your
46
55
entire Jenkins environment. It's also what we'll be setting up in a few
47
56
minutes.
48
57
49
-
Next, we have "client masters". A client master is just a normal Jenkins master
58
+
Next, we have **client masters**. A client master is just a normal Jenkins master
50
59
that we've joined to our Operations center cluster for management purposes.
51
60
These masters can then use normal slaves, shared slaves, or a shared cloud.
52
61
53
-
Shared slaves are exactly what they sound like, slave nodes that are available
62
+
**Shared slaves** are exactly what they sound like, slave nodes that are available
54
63
for any master to use.
55
64
56
-
A "shared cloud" is used to spin up temporary slaves
65
+
A **shared cloud** is used to spin up temporary slaves
57
66
when demand exceeds what's available from the shared slaves.
58
67
59
-
Next, we have "folders", which behave a bit differently than the folder's you
68
+
Next, we have **folders**, which behave a bit differently than the folder's you
60
69
would normally associate with Jenkins. When it comes to Operations center,
61
70
folders are used for scoping the availability of resources. For example, you
62
71
could have a folder with credentials, shared slaves, and a shared cloud. Each
63
72
of those items would then only be available to other items within the same
64
73
folder or same subfolder.
65
74
66
-
Lastly, we have "Sub-licensing". Normally you have to worry about keeping each
75
+
Lastly, we have **Sub-licensing**. Normally you have to worry about keeping each
67
76
master licensed, but with CJOC, it includes the ability to generate sub-licenses
68
77
for all client masters within the CJOC cluster.
69
78
70
79
Setting up CJOC
71
80
---------------
72
81
Alright, that's enough terminology for now. Let's go ahead and create our
73
82
Operations Center Server! First, we'll start out with a fresh Ubuntu 14.04
74
-
server. If you'd like to cheat a bit, you can use our cloud config file HERE,
83
+
server. If you'd like to cheat a bit, you can use our cloud config file [HERE](https://www.devopslibrary.com/scripts/cjoc.yaml),
75
84
which configures everything for you automatically.
76
85
77
86
If you'd like to do it by hand, the first thing that we need to do is to add all
78
87
of the keys and repositories for installing Jenkins & Java. Just copy and paste
0 commit comments