[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] multiple streaming servers in a xen cloud


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Mon, 9 Aug 2010 13:15:04 +0530
  • Delivery-date: Mon, 09 Aug 2010 00:46:26 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=WRbl/sNcBZvBkpaNr0RWR/fEKxO69LZVeb1YgNCk6YP8N2ZFx7498ZQyYiSoRqrzh1 HoPvcVtiPbgVeiTvIlxOjFXRURlrSyWbeWz199acGlBVapSCvwmNwCth+PbsoJuQ2Rm+ 5wUhflRuhJW8JdWOsvJIeKAhC2CCDt0uxVejM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,
 I need some help.
This question is not related to Xen but some one on this list may give
me some idea so I am mailing.



I have multiple video streaming servers running on some virtual
machines running on Xen.

For different subdomains.
i.e.
site1.mydomain.com
site2.mydomain.com
site3.mydomain.com
site4.mydomain.com



The front end to the world is apache2 on Dom0



To be able to reach the streaming server I
embed a javascript in HTML pages
as follows
Code:

<embed .....
var="rtmp://site1.my_domain.com"

>


the problem is the website are many

site1.mydomain.com
site2.mydomain.com
site3.mydomain.com
site4.mydomain.com

each on a separate virtual machine.

Each of these four have their own streaming servers the front end to
each of these four is apache running on Dom0.


If I run rtmp on each of the subdomains (the virtual machines) at a
different port

how will I make sure
a request such as

rtmp://site1.mydomain.com
rtmp://site2.mydomain.com

goes to their respective servers.
from the front end server from Dom0.

What do I need to handle in this case ?

IPTABLES came to mind instantly but from the client browser on
internet when some one requests
rtmp://site1.mydomain.com

how will I make sure this rtmp request is mapped to a port different
than
1935 as there are three other streaming servers which are also to
respond to their respective requests
?

For handling HTTP requests in this case I use Apache Reverse Proxy
but for rtmp requests I am not clear as which direction to proceed.


--

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.