Messos is just an example. Samle is applicable for Swarm or any other
master-slave architecture.

Regards,
Igor

On 31 August 2015 at 17:46, Igor Savchenko <[email protected]> wrote:
> I would suggest to use the same role for mesos master and slave, have
> cluster_role GV defined on Role level and value 'slave' or 'master'
> should be set on Farm role level. In this case you'll need to maintain
> only one role and bootstrap servers with different configurations
> based on the value of 'cluster_role' GV.
>
> Regards,
> Igor
>
> On 31 August 2015 at 12:35, Francisco Gimeno <[email protected]> wrote:
>> Thanks. That's what I was looking for.
>>
>> Anyway, the problem is that it seems it's not possible sharing variables
>> with servers with a different role, and you can't inspect other role's
>> servers variables.
>>
>> This is the case with a Master and Slaves, and Master having to deploy a
>> token, key or certificate into the slaves.
>> If you use two different roles, you need anything else that sharing
>> variables. (I already made an implementation using custom parametrized
>> events).
>>
>> BR,
>>
>>
>> On Mon, Aug 31, 2015 at 1:51 PM, Igor Savchenko <[email protected]> wrote:
>>>
>>> This should help:
>>>
>>>
>>> https://scalr-wiki.atlassian.net/wiki/display/docs/szradm+queryenv+set-global-variable
>>>
>>> Regards,
>>> Igor
>>>
>>>
>>> On Monday, August 17, 2015 at 9:11:28 AM UTC-7, KikoV Gimeno wrote:
>>>>
>>>> Hello!
>>>>
>>>> It seems it's not a public page.
>>>>
>>>> What I'm asking if there is a way to publish a GLOBAL VARIABLE from a
>>>> box.
>>>>
>>>> like this:
>>>>  szradm setenv myVar myValue
>>>>
>>>> I haven't seen anything on the Wiki to do that.     Information generated
>>>> in a Server that should be spreaded to other members of the farms.
>>>>
>>>> Is it possible? (using scalr tools)
>>>>
>>>> BR,
>>>>
>>>> El lunes, 17 de agosto de 2015, 1:15:51 (UTC-5), Daniele Testa escribió:
>>>>>
>>>>> Hey!
>>>>>
>>>>> You might want to read one of our tutorials about "docker" clusters.
>>>>> Most of them are setup the same way.
>>>>>
>>>>> Here is one about Mesos:
>>>>>
>>>>> https://scalr-wiki.atlassian.net/wiki/x/AgCTAQ
>>>>>
>>>>> Regards,
>>>>> Daniele
>>>>>
>>>>> On Monday, August 17, 2015 at 2:04:52 PM UTC+8, KikoV Gimeno wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I'm trying to setup a swarm farm with Scalr.
>>>>>>
>>>>>> I though having a ROLE for the Swarm Master and another ROLE for the
>>>>>> Swarm Nodes.
>>>>>>
>>>>>> When provisioning the Swarm master, I have to follow several steps:
>>>>>> 1) Installing and parametrizing docker
>>>>>> 2) Running docker swarm create => it returns a TOKEN that I need in the
>>>>>> Nodes.
>>>>>> 3) Running docker swarm agent and docker swarm manager with the token
>>>>>> parameter.
>>>>>>
>>>>>> For the Nodes,
>>>>>> 1) Installing and parametrizing docker
>>>>>> 2) Running docker swarm agent with the token parameter.
>>>>>>
>>>>>> Is there a way to populate the TOKEN from the master to the nodes?
>>>>>> What's the best practice on this?
>>>>>>
>>>>>> Thanks you,
>>>>>>
>>>>>> BR,
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "scalr-discuss" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/scalr-discuss/W5u_AQURaxE/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "scalr-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to