Working DC/OS Cluster
AWS
Mini-Mesos
Intro material gives a brief overview.
In the mesos
directory there are a number of files for deploying docker instances to a running cluster. Details of setting up a cluster are either automated by the mesosphere cloud provisioner, or is in the readme.html of the USB drive.
-
cd mesos
-
Determine your Master IP and change the
launch.sh
to use that IP and remove the firstECHO
and the first exit 1;#!/bin/bash echo "** You need to replace the <master ip> with the IP address of the cluster master and delete this and the next line **" exit 1; if [ "$#" -ne 1 ]; then echo "script takes json file as an argument" exit 1; fi curl -X POST -H "Content-Type: application/json" <master ip>:8080/v2/apps -d@"$@"
-
launch the
tomcat-bridge.json
./launch.sh tomcat-bridge.json
-
review the marathon for deployment: `http://<master_ip>:8080/
-
scale the application to 3 in the web ui
-
view the haproxy configuration. ssh into the master.
cat /var/log