RE: [flexcoders] Re: FDS clustering - please help

2006-11-27 Thread Seth Hodgson
For the RTMP endpoint you'll want to use your domain address in the 
 endpoint uri. You must specify a port in the uri that the 
RTMP endpoint can bind to service client RTMP connections. Your firewall is 
probably configured to route traffic over ports 80 and 443 to your web 
server/servlet container so you need to use a different port for RTMP. We 
default to 2035 (an arbitrary offset from the standard RTMP port of 1935 used 
by Flash Media Server). Make sure this port is open on your firewall and allows 
TCP pass through. If the firewall is doing HTTP packet inspection, you'll need 
to disable that for this port as well because RTMP won't be recognized and the 
firewall could silently drop packets from your clients.

For your polling AMF endpoint specify the public domain address that HTTP 
clients hit.

HTH,
Seth


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry 
Miller
Sent: Monday, November 27, 2006 12:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FDS clustering - please help

Seth, hi

I am using RTMP and Polling AMF as a failover. 

Thanks, 

--- Dmitry

--- In flexcoders@yahoogroups.com, "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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitry Miller
> Sent: Wednesday, November 22, 2006 8:22 PM
> To: flexcoders@yahoogroups.com
> 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 flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Seth Hodgson"  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.
> > 
> > 
> > Service.Cluster
> > 
> > Or just Service.*
> > 
> > HTH,
> > Seth
> > 
> > ________
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ]
> On Behalf Of Dmitry Miller
> > Sent: Wednesday, November 22, 2006 3:03 PM
> > To: flexcoders@yahoogroups.com <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
> > --
> > 
> > ...
> > 
> >  
> > 
> > 
> > 
> > {my app root}/WEB-INF/flex/data-management-config.xml
> > -
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > com.pikeo.presentation.news.NewsAssembler
> > application
> > 
> > 
> > 
> > 
> >

[flexcoders] Re: FDS clustering - please help

2006-11-27 Thread Dmitry Miller
Seth, hi

I am using RTMP and Polling AMF as a failover. 

Thanks, 

--- Dmitry

--- In flexcoders@yahoogroups.com, "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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitry Miller
> Sent: Wednesday, November 22, 2006 8:22 PM
> To: flexcoders@yahoogroups.com
> 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 flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Seth Hodgson"  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.
> > 
> > 
> > Service.Cluster
> > 
> > Or just Service.*
> > 
> > HTH,
> > Seth
> > 
> > ____________________
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ]
> On Behalf Of Dmitry Miller
> > Sent: Wednesday, November 22, 2006 3:03 PM
> > To: flexcoders@yahoogroups.com <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
> > --
> > 
> > ...
> > 
> >  
> > 
> > 
> > 
> > {my app root}/WEB-INF/flex/data-management-config.xml
> > -
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > com.pikeo.presentation.news.NewsAssembler
> > application
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 20
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Am I missing something? 
> > 
> > Thanks, 
> > 
> > --- Dmitry
> > 
> > --- In flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com> , "Stacy Young"  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: flexcoders@yahoogroups.com
> <mailto:flexcoders%40yahoogroups.com> 
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ] On
> >

RE: [flexcoders] Re: FDS clustering - please help

2006-11-24 Thread Seth Hodgson
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Miller
Sent: Wednesday, November 22, 2006 8:22 PM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com <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.
> 
> 
> Service.Cluster
> 
> Or just Service.*
> 
> HTH,
> Seth
> 
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
]
On Behalf Of Dmitry Miller
> Sent: Wednesday, November 22, 2006 3:03 PM
> To: flexcoders@yahoogroups.com <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
> --
> 
> ...
> 
>  
> 
> 
> 
> {my app root}/WEB-INF/flex/data-management-config.xml
> -
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> com.pikeo.presentation.news.NewsAssembler
> application
> 
> 
> 
> 
> 
> 
> 
> 20
> 
> 
> 
> 
> 
> 
> 
> Am I missing something? 
> 
> Thanks, 
> 
> --- Dmitry
> 
> --- In flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> , "Stacy Young"  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: flexcoders@yahoogroups.com
<mailto:flexcoders%40yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> > Behalf Of Seth Hodgson
> > Sent: Wednesday, November 22, 2006 4:26 PM
> > To: flexcoders@yahoogroups.com <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=1114.html
> >
<http://livedocs.macromedia.com/flex/2/docs/wwhelp

RE: [flexcoders] Re: FDS clustering - please help

2006-11-23 Thread Dimitrios Gianninas
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:
 






3) Then reference "MyCluster" where you need it... for it me it was in the 
data-management-config.xml where I added:



Thats all you need... good luck!

Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry 
Miller
Sent: Wednesday, November 22, 2006 11:22 PM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com <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.
> 
> 
> Service.Cluster
> 
> Or just Service.*
> 
> HTH,
> Seth
> 
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>  
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ]
On Behalf Of Dmitry Miller
> Sent: Wednesday, November 22, 2006 3:03 PM
> To: flexcoders@yahoogroups.com <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
> --
> 
> ...
> 
>  
> 
> 
> 
> {my app root}/WEB-INF/flex/data-management-config.xml
> -
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> com.pikeo.presentation.news.NewsAssembler
> application
> 
> 
> 
> 
> 
> 
> 
> 20
> 
> 
> 
> 
> 
> 
> 
> Am I missing something? 
> 
> Thanks, 
> 
> --- Dmitry
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , 
> "Stacy Young"  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: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On
> > Behalf Of Seth Hodgson
> > Sent: Wednesday, November 22, 2006 4:26 PM
> > To: flexcoders@yahoogroups.com <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=1114.html
> >