By default Mesos never offers resources from two different physical
nodes. In order to do so, one has to create his/her own scheduler
enabling the management of (perhaps many) different Mesos offers so to
satisfy higher level framework constraints.
People usually suggest using Marathon to overcome this, but the "Note"
on the following link
https://mesosphere.github.io/marathon/docs/waiting.html clearly states:
"The required resources (such as CPU, Mem, Disk, and Ports) must all be
available on a single host."
Best,
/Abel
On 7/8/19 8:42 PM, Vinod Kone wrote:
Hi Gokula,
Not sure I follow what you are asking here. What do you mean by one
node is active and other passive at any point in time? Are you saying
your framework (marathon?) is launching all your web-servers on a
single node whereas you want them to be distributed evenly across 2
nodes? If yes, you could look at using marathon constraints
<https://mesosphere.github.io/marathon/docs/constraints.html> to
balance them better.
On Mon, Jul 8, 2019 at 11:29 AM Gokula Krishnan
<gokula.p.krish...@gmail.com <mailto:gokula.p.krish...@gmail.com>> wrote:
Dear All,
Thanks in advance and need your inputs for my requirement.
I have 2 nodes (physical machines)
There 20+ web servers running
2 nodes are in active and passive mode
Problem: At any point in time only one node is active and other
node is passive.
Solution: want to use the capacity of both the 2 nodes at the same
time.
Will Mesos dcos use the resource of 2 nodes at the same time ?
How can i deploy webservers and use both the nodes resources.
Thank you in advance
--
Thanks and Regards,
Gokula