This UI allows the JobServer administrator to configure how JobServer connects with a Mesos cluster. This allows JobServer to distribute job processing across a Mesos cluster. By connecting with a Mesos cluster, JobServer Partitions can send their jobs to run on the connected Mesos slave nodes. Note, if you do not have Mesos Admin edit rights you will be restricted to readonly view of this UI.
This shows the current status of the Mesos to JobServer connection. When JobServer operational (either in RUNNING or IDLE mode), JobServer will attempt to connect to Mesos if the Master URL is defined. JobServer can only receive offers from Mesos when JobServer is in RUNNING mode, but can still receive other events such as Mesos TASK_FINISHED events from Mesos when JobServer is in IDLE mode. If there are problems with the Mesos connection, this field will indicate what the problem might be.
When connected to Mesos, this action allows you to suspend receiving offers from Mesos by declining all offers until this property is re-activated again.
This configures the required Mesos Master properties. This includes the URL of the
Mesos master that JobServer will connect with.
This can be a simple single server master URL or a ZooKeeper URL with multiple server addresses. For a simple single
non ZooKeeper master, you can enter a URL such as this:
host1:5050
If your Mesos cluster is using ZooKeeper (preferred), then you specify multiple
servers in a format such as this:
zk://host1:port1,host2:port2,host3:port3/path/to/mesos
zk://username:password@host1:port1,host2:port2,host3:port3/path/to/mesos
For more details on using ZooKeeper, please refer to the Mesos ZooKeeper documentation.
Note, you can only update the URL when JobServer from disconnected to Mesos. Click the "Update"
button to apply any URL edits you make and then click the "Connect" button to use the new URL
to connect with Mesos.
Set optional Mesos Username
and Password
when using ZooKeeper with Mesos.
You can only update the credentials
when JobServer is disconnected from Mesos. Click the "Update"
button to apply any new credential changes and then click the "Connect" button to use them
to connect with Mesos. Note, that the Password field will always be blank after you apply the update.
The clear text password is never shown.
This UI shows the basic statistics for the jobs that JobServer currently has queued up to run on the Mesos cluster and the resources those jobs is requesting. These jobs are not running yet, but indicate all the job queued up across the various Partitions awaiting matching offers from Mesos. The statistics displayed include:
Last Request/Offer Match Time
- Date of last time a job was matched with a Mesos offer.Current # Pending Jobs
- Current total number of jobs in JobServer waiting in Queue for a matching offer.Total CPU/Memory Requested
- Aggregate CPU/Memory being requested by all currently queued jobs.Average CPU/Memory Requested
- Average CPU/Memory being requested by all currently queued jobs.Max CPU/Memory Requested
- Maximum CPU/Memory being requested by all currently queued jobs. Note,
the max CPU and Memory values
might come from different jobs.This UI shows the basic statistics for the jobs that JobServer has queued up to run on the Mesos cluster and the resources those jobs is requesting. These jobs are not running yet, but thse are all the jobs queued up in the various Partitions awaiting a matching offer from Mesos. The statistics displayed include:
Last Offer Time
- Date of last time JobServer parsed through offers, presented by
Mesos, in order to match with queued job requests.# Matched Jobs
- During the last set of offers presented by Mesos, the total number
of queued job requests that were matched up with Mesos offers.# Slaves Offered
- From the last set of offers presented by Mesos, the total number
of slaves included as part of the offers.Total Slave CPU/Memory Offered
- From the last set of offers presented by Mesos, the aggregate
CPU/Memory across all the offers/slaves presented by the Mesos cluster.Avg Slave CPU/Memory Offered
- From the last set of offers presented by Mesos, the average
CPU/Memory across all the offers/slaves presented by the Mesos cluster.
Max Slave CPU/Memory Offered
- From the last set of offers presented by Mesos, the maximum
CPU/Memory across all the offers presented by the Mesos cluster. Note,
the max CPU and Memory values might come from different offers/slaves.