Hi Tim,

You can use whatever nodes as seed nodes, except for when you start up a
fresh cluster from scratch. When you start a node you can use the AWS API
to discover other EC2 instances and use all or a few as seed nodes.

The special case is when starting a new cluster, and then I imagine that
you can mark one node as special using AWS metadata, or a special argument
in the start script. This special node must put itself first in the list of
seed nodes. In all other cases a node should not include itself as seed
node.

The reason for the special first seed node is to avoid creating several
separate clusters when starting from an empty cluster.

I would be interested in understanding why this would not
be feasible solution.

Cheers,
Patrik


On Tue, Feb 11, 2014 at 7:20 PM, Timothy Perrett <[email protected]>wrote:

> Hey Roland - doesnt "always on" sound like "will never fail"... ? I
> wouldn't be comfortable manually managing that cluster, so it would need an
> ASG, which in turn will remove the oldest node when shrinking, so over time
> you'd end up loosing all your original seed nodes if your cluster is
> expanding and contracting enough.
>
>
>
> On Sunday, 9 February 2014 23:35:20 UTC-8, rkuhn wrote:
>
>> Hi Tim,
>>
>> you could have one small group which is always on and acts as entry point
>> (seed nodes) while the rest are auto-scaling. Would that solve the issue?
>>
>> Regards,
>>
>> Roland
>>
>> 6 feb 2014 kl. 23:12 skrev Timothy Perrett <[email protected]>:
>>
>> Scott,
>>
>> What did you ever end up doing about this? As yet, I have not seen any
>> decent story for auto-scalling akka-cluster on AWS; it strikes me that over
>> a long enough period all the seed nodes could be reaped by the ASG, but
>> that there would be enough folks wanting to do this that there would be a
>> decent solution for it.
>>
>> Cheers
>>
>> Tim
>>
>> On Thursday, 24 October 2013 01:09:08 UTC-7, Patrik Nordwall wrote:
>>>
>>> Hi Scott,
>>>
>>> Using the AWS API together with Cluster(system).joinSeedNodes should be
>>> possible. The first seed node must be marked somehow.
>>>
>>> From docs:
>>> You may also use Cluster(system).joinSeedNodes, which is attractive when
>>> dynamically discovering other nodes at startup by using some external tool
>>> or API. When using joinSeedNodes you should not include the node itself
>>> except for the node that is supposed to be the first seed node, and that
>>> should be placed first in parameter to joinSeedNodes.
>>>
>>> Regards,
>>> Patrik
>>>
>>>
>>>
>>> On Tue, Oct 22, 2013 at 1:36 AM, Ryan Tanner <[email protected]> wrote:
>>>
>>>> We have Vagrant auto-update the hosts file over ssh.  Kinda clunky but
>>>> it works for small clusters.
>>>>
>>>>
>>>> On Monday, October 21, 2013 4:58:36 PM UTC-5, Scott Clasen wrote:
>>>>>
>>>>> Anyone have good tricks for standing up an akka cluster on ec2 WRT
>>>>> seed nodes?
>>>>>
>>>>> Would like to be able to auto scale it so not having to manually join
>>>>> a node is necessary.
>>>>>
>>>>> Could use elastic IPs would rather not. Could maybe use a tcb elb? not
>>>>> sure that would work, would rather not.
>>>>>
>>>>> Guess I can use ZK which I already have stood up...what weird things
>>>>> can happen if a node attempts to join a cluster via a seed that has been
>>>>> partitioned away from the cluster?
>>>>>
>>>>>
>>>>>
>>>> --
>>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>>> group/akka-user
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Akka User List" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Patrik Nordwall
>>> Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
>>> Twitter: @patriknw
>>>
>>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>>
>> *Dr. Roland Kuhn*
>> *Akka Tech Lead*
>> Typesafe <http://typesafe.com/> - Reactive apps on the JVM.
>> twitter: @rolandkuhn
>> <http://twitter.com/#!/rolandkuhn>
>>
>>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to