WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] multiple streaming servers in a xen cloud
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Mon, 9 Aug 2010 13:15:04 +0530
Delivery-date: Mon, 09 Aug 2010 00:46:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=91L9ivzjTf+ZCmKzri1B2/7vELFKqDwAnp30HoUA+QA=; b=LzajsXsvB2wElAus+xC+I6v3okjvT3TnAW4TW8y9IxVFkBi5+bDTeCOh2nCjbn0m9W z+NgDjkTnlbY3ra+LZzfMBUlLUvOSGzN8BwFME3wd+wZ31fUSWxGMgcs41K/vsjAPo9Z WvNqQC5jCppc3s3VgtjWwIcS+lmv8zNva5UoY=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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