Seth, hi I am using RTMP and Polling AMF as a failover.
Thanks, --- Dmitry --- In [email protected], "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > Hi Dmitry, > > > > Jimmy responded with the configuration he and Stacy used for a UDP based > JGroups configuration. > > > > In the TCP case for your second question you'd specify initial_hosts > using your internal server IPs/names. Not the domain_address exposed to > clients outside of your firewall. > > > > Regarding the first question, in your services-config.xml what type of > channel endpoint are you trying to configure? > > > > Seth > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Dmitry Miller > Sent: Wednesday, November 22, 2006 8:22 PM > To: [email protected] > Subject: [flexcoders] Re: FDS clustering - please help > > > > Turned out I did not add serial # to license.properties (doh!) > > Now, quick configuration question > I have 3 servers with addresses addr1, addr2, addr3 > They are all tied to load balancer. The whole cluster can be accessed > via address domain-address. > > 1. In services-config.xml For each server instance, what endpoint do I > specify (server addr or domain-address)? > > 2. In jgroups-tcp.xml what should be the value for "initial_hosts" > attribute? > (assuming I set the port 7800) > > initial_hosts="addr1[7800],addr2[7800],addr3[7800]" > or > initial_hosts = "domain-address[7800]" > or just leave > initial_hosts="localhost[7800]" > > Thanks a lot > --- Dmitry > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> > , "Seth Hodgson" <shodgson@> wrote: > > > > Hi Dmitry, > > > > What version of FDS are you using? Clustering is disabled in > Express. You can add the following logging filter to your server > logging config to see > > clustering related messages: Service.Cluster > > > > E.g. > > > > <filters> > > <pattern>Service.Cluster</pattern> > > > > Or just <pattern>Service.*</pattern> > > > > HTH, > > Seth > > > > ________________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> > ] > On Behalf Of Dmitry Miller > > Sent: Wednesday, November 22, 2006 3:03 PM > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Re: FDS clustering - please help > > > > Hey, guys > > > > Thanks a lot for the reponse. I have tried the TCP approach and it > > seems that FDS ignores my clustering config. > > > > 1. netstat shows that none is listening on port 7800 > > 2. jgroups-tcp.xml is not getting parsed. I deliberateley put > > erronneous stuff to break the XML and the server did not complain, > > started normally > > > > Here is my config: > > > > {my app root}/WEB-INF/flex/services-config.xml > > -------------------------------------------------- > > <services-config> > > ... > > <clusters> > > <cluster id="default-cluster" properties="jgroups-tcp.xml"/> > > </clusters> > > </services-config> > > > > {my app root}/WEB-INF/flex/data-management-config.xml > > --------------------------------------------------------- > > <destination id="news"> > > > > <adapter ref="java-dao" /> > > > > <channels> > > <channel ref="my-rtmp"/> > > <channel ref="my-polling-amf" /> > > </channels> > > > > <properties> > > <source>com.pikeo.presentation.news.NewsAssembler</source> > > <scope>application</scope> > > > > <metadata> > > <identity property="id" /> > > </metadata> > > > > <network> > > <cluster ref="default-cluster" shared-backend="true"/> > > <session-timeout>20</session-timeout> > > <paging enabled="false" pageSize="10" /> > > <throttle-inbound policy="ERROR" max-frequency="500"/> > > <throttle-outbound policy="REPLACE" max-frequency="500"/> > > </network> > > </properties> > > </destination> > > > > Am I missing something? > > > > Thanks, > > > > --- Dmitry > > > > --- In [email protected] > <mailto:flexcoders%40yahoogroups.com> , "Stacy Young" <styoung@> wrote: > > > > > > I hit the same snag a while back. No ports to open. I believe each > > > server node hits a standard port that enables local multicast (local > > > vlan) > > > > > > Believe we went with port 45566 (thanks jim) > > > > > > > > > > > > p.s. I've already submitted an enhancement request to beef up that > area > > > of the docs > > > > > > > > > > > > ________________________________ > > > > > > From: [email protected] > <mailto:flexcoders%40yahoogroups.com> > [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> > ] On > > > Behalf Of Seth Hodgson > > > Sent: Wednesday, November 22, 2006 4:26 PM > > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > > > > Subject: RE: [flexcoders] FDS clustering - please help > > > > > > > > > > > > Hi Dmitry, > > > > > > I use the TCP jgroups config file. You shouldn't need to open the > > > multicast address/port in your firewall assuming your FDS boxes > are all > > > behind the firewall with access to each other. The shipping jgroups > > > config files should work out of the box as a starting point. > > > > > > There's some info on clustering in the doc set here: > > > > http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/ww > <http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/w > w> > > > help.htm?context=LiveDocs_Parts&file=00001114.html > > > > <http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/w > <http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/w > > > > > whelp.htm?context=LiveDocs_Parts&file=00001114.html> > > > > > > Post back if you're running into any errors. > > > > > > Best, > > > Seth > > > > > > ________________________________________ > > > From: [email protected] > <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > > [mailto:[email protected] > <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > > ] On Behalf Of Dmitry Miller > > > Sent: Wednesday, November 22, 2006 11:19 AM > > > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> > > > Subject: [flexcoders] FDS clustering - please help > > > > > > Hello everyone > > > > > > As you might have guessed from the title of this post, I have run > into > > > issues with FDS clustering. On FDS part the configuration seems > pretty > > > straight formard. However, it's jgroups part that seems to be > > > confusing. So, if anyone has successfully managed to configure > > > clustering of FDS, can you please, answer the following: > > > > > > 1. In {Flex SDK}/resources/clustering there are 2 files: one for TCP > > > and the other one is for UDP. which one should be preferrable > > > > > > 2. There are multicast port and multicast address settings in the > > > file. How do I set these? And do I need to make a hole in the > firewall > > > for this port? > > > > > > 3. If anyone could provide an example of working jgroups config > file, > > > that would be great > > > > > > Thanks, > > > > > > --- Dmitry > > > > > >

