Just to clarify, the Terracotta server can be run in a high-availability
configuration WITHOUT a shared disk.   There's a network-based
high-availability option.

Cheers,
Orion


hank williams wrote:
> 
> On 9/7/07, Johann Romefort <[EMAIL PROTECTED]> wrote:
>>
>> Sure, but it should be possible to hook up red5 throught its FileProvider
>> as Rob mentionned?
>>
> 
> 1. Who is rob?
> 
> 2. Right now I am curious about getting terracotta up and running
> *without*
> red5. Its not that I am not interested in Red5, but that if you cant get
> terracotta to run safely by itself on EC2 then you cant run red5. In order
> to run terracotta safely as Orion described, you would really want a
> shared
> hard disk for the main and the secondary machine for all the
> tomcat/servlet
> container file i/o. This would require an NFS style shared file server. In
> other words, we have a problem even *without* bringing red5 into the mix.
> 
> Regards
> Hank
> 
> 
> 
> Johann
>>
>> On 8 sept. 07, at 05:14, hank williams wrote:
>>
>> I am quite familiar with HDFS, but am not clear how it solves the problem
>> since it does not look to applications like a standard file system. You
>> cannot use HDFS in place of a NFS file server.
>>
>> Regards,
>> Hank
>>
>> On 9/7/07, Johann Romefort <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi,
>> >
>> >
>> > > The lack of a stable disk sounds like the biggest problem, since
>> > > all of the
>> > > other issues seem like they can be worked out with some clever
>> > > scripting/configuration or something.  What I've been doing is taking
>> > > periodic snapshots and saving them to S3.  That doesn't really
>> > > solve the
>> > > problem, but it's good enough for my purposes.  I can tell this is
>> > > going to
>> > > bug me all day...
>> > >
>> >
>> > About this Alexander Bethke started to work on an integration of
>> > HDFS, which is known to work on EC2/S3
>> > http://wiki.apache.org/lucene-hadoop/AmazonEC2
>> > http://wiki.apache.org/lucene-hadoop/AmazonS3
>> >
>> > Red5 in the cloud, how cool would it be!
>> >
>> > Johann
>> >
>> > > --Orion
>> > >
>> > >
>> > > hank williams wrote:
>> > >>
>> > >> On 9/7/07, Orion Letizi <[EMAIL PROTECTED]> wrote:
>> > >>>
>> > >>>
>> > >>> Vis a vis IP addresses, the command 'ec2-describe-instances '
>> > >>> will show
>> > >>> you
>> > >>> the hostnames of the instances you have running.
>> > >>>
>> > >>> The terracotta server doesn't need to know the IP address of a
>> > >>> connecting
>> > >>> JVM.  Each JVM that connects to the terracotta server needs to
>> > >>> know the
>> > >>> IP
>> > >>> address of the server, but not the other way around.
>> > >>
>> > >>
>> > >> But you dont know the IP address of the terracotta server until
>> > >> you launch
>> > >> the EC2 instance. So you need a way to, on the fly, tell all the
>> > >> servers
>> > >> what the master server's IP address is. I know it can be done, but
>> > >> the
>> > >> devil
>> > >> is in the details. The fact is I havent heard of anyone who *has*
>> > >> done it,
>> > >> or who has published code or an AMI.
>> > >>
>> > >> When I've set up
>> > >>> terracotta clusters on EC2, I assume that the server is long
>> > >>> lived.  I
>> > >>> haven't really thought about how to make an entire cluster just
>> > >>> start up
>> > >>> without some configuration, but I'm sure there's some clever way
>> > >>> to do
>> > >>> it.
>> > >>>
>> > >>
>> > >>
>> > >> This is critical since in a real environment you *cant* assume
>> > >> that the
>> > >> server is long lived - particularly on EC2 where you loose
>> > >> everything -
>> > >> your
>> > >> IP address, machine name, and data.
>> > >>
>> > >> Vis a vis what happens if the terracotta server goes down: you can
>> > >> run
>> > >> them
>> > >>> in pairs (or, really, any number) so that if the primary server
>> goes
>> >
>> > >>> down,
>> > >>> a
>> > >>> secondary will automatically take over.  The servers can be
>> > >>> synchronized
>> > >>> using a shared disk (e.g., NFS) or over a network.
>> > >>
>> > >>
>> > >> There is no shared disk in EC2. There is S3, but  it is not NFS
>> > >> and not
>> > >> random access. It really is only useful right now for backup, not
>> > >> as a
>> > >> shared disk between two servers.
>> > >>
>> > >> Running tomcat clustered with terracotta on EC2 is really no
>> > >> different
>> > >> than
>> > >>> running tomcat clustered on any other multi-node environment.
>> > >>
>> > >>
>> > >>
>> > >> I would beg to differ, because not having stable IP and Hard disk
>> > >> is a big
>> > >> difference.
>> > >>
>> > >>   What
>> > >>> information, specifically, are you looking for?
>> > >>
>> > >>
>> > >> What I am trying to figure out  is how to use tomcat on EC2 in a
>> > >> safely
>> > >> deployable way. Terracotta seems like a good way, though it
>> > >> appears a real
>> > >> deployable scenario isnt quite worked out. By your question it
>> > >> sounds like
>> > >> you may not realize that this is the *** #1 *** issue in the EC2
>> > >> community.
>> > >> There are no good solutions - at least that have been published -
>> for
>> >
>> > >> cleanly dealing with no static IP address, no persistent disk, and
>> > >> the
>> > >> related issues of load balancing, scaling and restarting.
>> > >>
>> > >> For you guys (terracotta), getting a clean simple setup for running
>> > >> terracotta + tomcat on EC2 would be a *huge* win for establishing
>> > >> it in
>> > >> the
>> > >> EC2 community since it is such a critical issue.
>> > >>
>> > >> Regards,
>> > >> Hank
>> > >>
>> > >> _______________________________________________
>> > >> Red5 mailing list
>> > >> [email protected]
>> > >> http://osflash.org/mailman/listinfo/red5_osflash.org
>> > >>
>> > >>
>> > >
>> > > --
>> > > View this message in context: http://www.nabble.com/terracotta---
>> > > ec2-tf4395743.html#a12559070
>> > > Sent from the Red5 - English mailing list archive at Nabble.com.
>> > >
>> > >
>> > > _______________________________________________
>> > > Red5 mailing list
>> > > [email protected]
>> > > http://osflash.org/mailman/listinfo/red5_osflash.org
>> >
>> >
>> > _______________________________________________
>> > Red5 mailing list
>> > [email protected]
>> > http://osflash.org/mailman/listinfo/red5_osflash.org
>> >
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
> 
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/terracotta---ec2-tf4395743.html#a12599202
Sent from the Red5 - English mailing list archive at Nabble.com.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to