At some point, it becomes impossible to interact with every computer in the datacenter as an individual. You need a single place to see what’s running and where it is running. DC/OS is a distributed operating system that enables management of  multiple machines as if they are single computer. It automates resource management, schedules process placement, facilitates inter-process communication, and simplifies the installation and management of distributed services. Its included web interface and available command-line interface (CLI) facilitate remote management and monitoring of the cluster and its services.

DC/OS can be installed on any cluster of physical or virtual machines. Installation can be

  • Local Installation : In this installation method uses Vagrant to create a cluster of virtual machines on your local machine that can be used for demos, development, and testing with DC/OS.
  • Cloud Installation : Using this installation method you can deploy DC/OS over public cloud providers like AWS and AZURE
  • Custom Installation : Using this you can install DC/OS on bare metal, virtual machines and every cloud.

In this post we will be performing custom installation using GUI.

Prerequisite

  • Operating System : RHEL 7.0, CentOS 7.0
  • Docker service should be installed and running on master and agent nodes

Lab Setup

  • DC/OS Server – 10.128.0.10
  • MESOS Master Servers – 10.128.0.20, 10.28.0.21, 10.128.0.22
  • MESOS Agents – 10.128.0.40, 10.128.0.41, 10.128.0.42

Installation procedure

Step – 1 : Login to DC/OS bootstrap server node and run

curl -O https://downloads.dcos.io/dcos/EarlyAccess/dcos_generate_config.sh

Step – 2 : Start the DC/OS GUI installer with this command.

sudo bash dcos_generate_config.sh –web

Step – 3 : The above will start a webserver on port 9000 and which can be accessed using browser.

http://<ip_address_of_dcos_svr:9000

http://10.128.0.10:9000

Click on Begin Installation

1

Step 4 : Provide IP Address of

  • Master Server
  • Agent IP Address
  • Master Public IP (you can choose private IP in case no public IP address is assigned.)
  • SSH Username
  • SSH Listening Port
  • Private SSH Key from DC/OS server
  • Upstream DNS Server.

Click on Run Pre-Flight to verify if all prerequisite are met.

4

Click on Continue Run Pre-Flight.

5

Click on Deploy if all you don’t see any error.

6

7

Click on Run Post-Flight to proceed further.8Step – 5 : Click on Login to DC/OS 9

Step 6 : Sign in with appropriate account. In my lab I logged in using Google Account.

10

11

12

13

You will see the list of packages which can be installed depending on the configured repository.

14

In my lab I deployed mysql container.

15

16

17

19

18  20

In this post we covered the installation of DC/OS Installation and deploying mysql container. I hope this is informative for you. Thanks for Reading!!. Be social and share it in social media, if you feel worth sharing it