Ok here is what me and Stacy did. 1) only drop the jgroups-default.xml in your WEB-INF/flex folder, only change the mcast_port to 45566, this is pretty standard, double-check with your network admin 2) in services-config.xml add: <clusters>
<cluster id="MyCluster" properties="jgroups-default.xml"/> </clusters> 3) Then reference "MyCluster" where you need it... for it me it was in the data-management-config.xml where I added: <cluster ref="MyCluster" shared-backend="true"/> Thats all you need... good luck! Dimitrios Gianninas RIA Developer Optimal Payments Inc. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller Sent: Wednesday, November 22, 2006 11: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" <[EMAIL PROTECTED]> 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/ww> > > 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 > > > -- WARNING ------- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -------------- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.

