How To Start Humpback

Preparation

First prepare the server. We will use the following three servers to finish our example. Please install the Docker for each machine before start.

  1. SERVER01192.168.2.80
  2. SERVER02192.168.2.81
  3. SERVER03192.168.2.82

Deployment introduction

192.168.2.80 as the Humpback platform center will start these service:

Docker Registry. Image private registry service.

Humpback-Web. Humpback manage the site.

Humpback-Center. Provides container scheduling services for cluster mode.

All servers start Humpback-Agent service.

  1. | Server | Zookeeper | Docker Registry | Humpback-Web | Humpback-Agent | Humpback-Center |
  2. |------------------|:----------:|:-----------------:|:--------------:|:----------------:|:-----------------:|
  3. | 192.168.2.80 | | | | | |
  4. | 192.168.2.81 | | X | X | | X |
  5. | 192.168.2.82 | | X | X | | X |

There are two modes in Humpback platform to manage containers:

Single Mode, In this mode, Humpback-Web will call theHumpback-Agent API directly for simple cluster container management. this mode is simple for deployment, Humpback-Center and Zookeeper are not necessary.

Cluster Mode, Humpback-Center andZookeeper are need for supporting cluster. Humpback-Center is a cluster scheduling center, andZookeeper is used for node discovery.

Zookeeper cluster

How to build a Zookeeper cluster

Docker Registry private registry

How to deploy Docker Registry

Humpback Web site

How to deploy the Humpback site

Humpback Agent

How to deploy the Humpback Agent

Humpback Center

How to deploy Humpback Center