I have a mesos cluster running on EC2 that I want to split into two
"virtual clusters" to run Aurora jobs on -- e.g. blue nodes/instances for
blue jobs and red nodes/instances for red jobs.

After reading the documentation I can see two ways of doing this:

   1. Set color:red and color:blue attributes on mesos agents[1] and
   similarly in Aurora job config [2]
   2. Using mesos roles [3], Run one blue Aurora scheduler [4] and one red
   scheduler

Is one approach here better, or more in line with best practices? Two
schedulers seems like more operational overhead, but using attributes might
result in a higher offer reject rate (Aurora receiving and rejecting red
offers when trying to run a blue job)?

I appreciate any advice or pointers to relevant resources.

Thanks,

Jacob


[1] http://mesos.apache.org/documentation/latest/attributes-resources/
[2] http://aurora.apache.org/documentation/latest/features/constraints/
[3] http://mesos.apache.org/documentation/latest/roles/
[4]
http://aurora.apache.org/documentation/latest/reference/scheduler-configuration/

Reply via email to