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

Re: [Xen-users] Xen : How to configure a Proxy as DomU ?

To: Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen : How to configure a Proxy as DomU ?
From: Mirco Santori <mirco.santori@xxxxxxxxx>
Date: Tue, 22 Sep 2009 15:00:07 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Sep 2009 06:01:08 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=+bFLH5mQjFwGxFLw/HAc08NtzhP3bW8Tm88xSkcJ60k=; b=mvkQsqmGiOS2qyuaPylRY9OZ0trIaTgWFX4/DvxZd+zOXLncgcf89jXuCyB1HSuzoI CkcdW9nnWjCz7CqDROkqJzolxCoei/cmmXgnmGSDZTkMrGBFGSbMkWELVfEb85lLfSp3 C7uUspkrEBtGw8zArZEqIKhEvxxoP42HPYF5w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FQdBOGcsfcWb8dv9mzg7msyrsms6lELKeQW9EwfoFlrkHrnO2SMUUcygZMLCTY4eJv zL4GtCNFPv0AOujH0xfXWYiQBLlgkGoG9zaAwn315iktCggz/fKthuNpSznvou6WMZ4V jQGuSTDZoOjWWJvKozFqjGvm9nB8caiN24zHU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <p06240808c6de6d9abd40@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <bf0c4f970909220240s22dd1c98r1b28069a9a011f2a@xxxxxxxxxxxxxx> <p06240807c6de5502f96a@xxxxxxxxxxxxxxxxxxxxxx> <bf0c4f970909220422o28ff80c4qcbfdd2715c5fccad@xxxxxxxxxxxxxx> <p06240808c6de6d9abd40@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
i think to have made a wrong  question.

- I installed Dom0 with debian lenny and xen
- i configured network with the bridge method (xenbr0 - xenbr1)
- installed and configured apache with proxy module
- installed and configured two web servers with apache / php5 / mysql

all servers are connected to the internet and intranet (which allow them to work togheter in a private netork)

i dont need any help by you about proxy - web server and other stuff .. but actually i need help to configure the Dom0 in order to allow the proxy to work fine. I guess .. i missing some configuration on Dom0 with the command "route" .. seems that there is a problem with the proxy which is not able to forward the request by using xenbr0 (which is the eth0 on Dom0)

May i ask you (i am sure you got more experience that me in xen) if should i make some configuration on routing table in Dom0 and to alllow the guest (DomU) to share the internet traffic in incoming and outgoing ?

thank you so much Simon

2009/9/22 Simon Hobson <linux@xxxxxxxxxxxxxxxx>
Mirco Santori wrote:

sorry but i didnt understand you answer ..

OK, I'll try and make it clearer.

As I understand it, you do not have the proxy or web servers running - your question sounds like "how do I set up these services".

Apart from the basics of getting a VM running, your problem is NOT a Xen one. The setup for each of those application servers is no different under Xen than if you had three separate machines and a network switch.

For help in configuring the web servers, you need to look at the docs for the web server you are using (I assume Apache) - and if you can't get it working after reading the docs then use the Apache specific support forums. Similarly, for help getting the proxy working (I assume Squid) you will need to see the Squid documentation, and if that doesn't help then use the Squid specific help forums.

As far as Xen is concerned, you start up three guests (DomUs), connect them to a network bridge, and the guests will work the same as three separate physical machines connected to a physical network switch.

If you have specific Xen related problems (such as "I've created three guests, they can 'see' the outside world but can't 'see' each other", or "I can't create a working guest") then we can help here. Assuming you can get the guests running, and their networking set up, then for help configuring services such as web servers and proxy servers - this is not the right (best) place to ask.


--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

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

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