Thank a lot, It's working as you suggested and I can see agent is connected
mesos master(public ip).

But the situation is my agents are fluctuating continuously from
Avtivated--Diactivated--none state in my mesos master web UI. I have
started my slaves with below command:
 sudo ./bin/mesos-agent.sh --master=<master's public ip>
--advertise_ip=<agent's
public ip>

Is this a desired situation or its problem due to network barrier?


On Tue, Jun 21, 2016 at 2:52 AM, haosdent <[email protected]> wrote:

> As you said, you agents are outside the network, so you need
>
> ```
> sudo ./bin/mesos-agent.sh --master=129.114.110.26:5050
> ```
>
> On Tue, Jun 21, 2016 at 3:23 AM, Pankaj Saha <[email protected]>
> wrote:
>
> > Hi I am using a command like below:
> >
> > sudo ./bin/mesos-master.sh --ip=10.50.0.26 --work_dir=/var/lib/mesos
> > --advertise_ip=129.114.110.26
> > After that I can see the mesos master server has the ip:129.114.110.26
> >
> > Do think when I create a new agent I should mention like this:  sudo
> > ./bin/mesos-agent.sh --master=129.114.110.26:5050
> >
> >
> >
> > On Thu, Jun 16, 2016 at 2:24 PM, haosdent <[email protected]> wrote:
> >
> > > You could pass your float ip to the `--advertise_ip` flag when you
> start
> > > master.
> > >
> > > On Fri, Jun 17, 2016 at 12:30 AM, Pankaj Saha <[email protected]>
> > > wrote:
> > >
> > > > Hello devs,
> > > > I want to create a mesos cluster of three master nodes on chameleon
> > > cloud.
> > > > I have three KVM based VMs and all three have internal and floating
> > > public
> > > > ip. I can create a cluster with their internal ip but can not combine
> > the
> > > > three masters in a quorum using the public floating ip address.
> > > >
> > > > Without using their public ip I can not add agents from outside the
> > > > network. Is there any way please suggest.
> > > >
> > > > Thanks
> > > > Pankaj
> > > >
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > Haosdent Huang
> > >
> >
>
>
>
> --
> Best Regards,
> Haosdent Huang
>

Reply via email to