I'm trying to setup a cluster using Mesos Zookeeper and Marathon. I've done some initial setup following the docs in each website.
I'm using a virtual box which runs Ubuntu 16.0.4 to run the whole setup.
Now I'm starting the mesos master with the following command :
./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=/var/lib/mesos
Next I start the mesos agent in the same virtualbox with the below command :
./bin/mesos-agent.sh --master=127.0.0.1:5050 --work_dir=/var/lib/mesos
When I navigate to localhost:5050
, I can see that Mesos has started with an agent registered as well.
Now I ran Marathon with the below command :
./bin/start --master zk://127.0.0.1:2181/mesos --zk zk://localhost:2181/marathon
When I navigate to localhost:8080
, I can find that Marathon is running. But it is not connected to Marathon yet. I searched thru some docs and found this and did as it said.
But still I don't see Marathon in the Frameworks tab in Mesos dashboard.
If I try to start the basic Hello process in Marathon, it just goes to Waiting
state. I found that this is due to Mesos not able to allocate resources for Marathon.
I have not done any other configuration except for running make install
in Mesos dir so that it has created the libmesos.so
. I have added that file's path as a environment variable with the name MESOS_NATIVE_LIBRARY
Please tell me if there is anything else that I need to do. I'm just trying out the cluster and am not setting it up for production yet.
All the logs : https://plnkr.co/edit/Ja5g8zZjzdIW0uTH0htG