Hello, is it possible to set up name based virtual hosts (domains) with Xen? I have read that every domain get''s its own IP address. Is it possible to set up a Xen Server with one global IP address for all the virtual hosts (domains)? Thanks in advance, Winfried _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2/9/06, Winfried Kuiper <kuiper@uni-flensburg.de> wrote:> > Hello, > > is it possible to set up name based > virtual hosts (domains) with Xen? > I have read that every domain get''s > its own IP address. Is it possible > to set up a Xen Server with one > global IP address for all the virtual > hosts (domains)?I think it depends on what you want to host. I searched for solutions and found that I could use an Apache reverse proxy to serve web pages based on host name resolution. I was hoping to be able to do the same for SSH and such, but I wasn''t able to find a good solution. I''m not saying there isn''t one, but I don''t know of one. Instead, we found that blocks of IPs were relatively cheap from our ISP so we will be working with a NATed solution. Cheers, Eric _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, 2006-02-09 at 14:44 +0100, Winfried Kuiper wrote:> Hello, > > is it possible to set up name based > virtual hosts (domains) with Xen? > I have read that every domain get''s > its own IP address. Is it possible > to set up a Xen Server with one > global IP address for all the virtual > hosts (domains)?Your question sounds a bit like you are mixing apache virtual hosts with xen virtual machines, both of which are on completely different levels, completely different concepts. What exactly do you want to do, what''s is you goal? You can imagine a xen domU/virtual machine as if it''s a completely independent machine when looking at a running system from the inside. So, if you had the same in Hardware, you would not just give multiple hosts in the same network the same IP, except in conjunction with a high availability/load balancing system, if you did, it would just not work. And the same rules are valid for xen virtual machines, unless you take further measures for routing and networking coordination. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Winfried, you can use port forwarding, that means one or more external port for each domain. But that means that there is no duplicate services on different domains (e. g. email ist just on one domain). Dirk Winfried Kuiper schrieb:>Hello, > >is it possible to set up name based >virtual hosts (domains) with Xen? >I have read that every domain get''s >its own IP address. Is it possible >to set up a Xen Server with one >global IP address for all the virtual >hosts (domains)? > >Thanks in advance, > >Winfried > > >_______________________________________________ >Xen-users mailing list >Xen-users@lists.xensource.com >http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I found following notice "Name-based hosting (no need for public IP for each VPS)" at http://openvz.org/support/ for the software Virtuozzo. This is what I mean. Thanks in advance, Winfried -----Ursprüngliche Nachricht----- Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com]Im Auftrag von Henning Sprang Gesendet: Donnerstag, 9. Februar 2006 15:36 An: xen-users Betreff: Re: [Xen-users] Xen and name based virtual hosting? On Thu, 2006-02-09 at 14:44 +0100, Winfried Kuiper wrote:> Hello, > > is it possible to set up name based > virtual hosts (domains) with Xen? > I have read that every domain get''s > its own IP address. Is it possible > to set up a Xen Server with one > global IP address for all the virtual > hosts (domains)?Your question sounds a bit like you are mixing apache virtual hosts with xen virtual machines, both of which are on completely different levels, completely different concepts. What exactly do you want to do, what''s is you goal? You can imagine a xen domU/virtual machine as if it''s a completely independent machine when looking at a running system from the inside. So, if you had the same in Hardware, you would not just give multiple hosts in the same network the same IP, except in conjunction with a high availability/load balancing system, if you did, it would just not work. And the same rules are valid for xen virtual machines, unless you take further measures for routing and networking coordination. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, I found following notice "Name-based hosting (no need for public IP for each VPS)" at http://openvz.org/support/ for the software Virtuozzo. This is what I mean. Thanks in advance, Winfried -----Ursprüngliche Nachricht----- Von: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com]Im Auftrag von Henning Sprang Gesendet: Donnerstag, 9. Februar 2006 15:36 An: xen-users Betreff: Re: [Xen-users] Xen and name based virtual hosting? On Thu, 2006-02-09 at 14:44 +0100, Winfried Kuiper wrote:> Hello, > > is it possible to set up name based > virtual hosts (domains) with Xen? > I have read that every domain get''s > its own IP address. Is it possible > to set up a Xen Server with one > global IP address for all the virtual > hosts (domains)?Your question sounds a bit like you are mixing apache virtual hosts with xen virtual machines, both of which are on completely different levels, completely different concepts. What exactly do you want to do, what''s is you goal? You can imagine a xen domU/virtual machine as if it''s a completely independent machine when looking at a running system from the inside. So, if you had the same in Hardware, you would not just give multiple hosts in the same network the same IP, except in conjunction with a high availability/load balancing system, if you did, it would just not work. And the same rules are valid for xen virtual machines, unless you take further measures for routing and networking coordination. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 09 February 2006 10:03 am, Winfried Kuiper wrote:> "Name-based hosting (no need for public IP for each VPS)" > for the software Virtuozzo. > This is what I mean.remember that virtuozzo (like linux vserver project) isn''t a real virtualization; it''s more like a very sophisticated chroot jail. all the VPSs run on the same kernel, just hidden from each other. i guess that it exports an API to Apache, so that after some parsing, the request is handed over to a worker thread, and that thread switches context to a different VPS. this way, it can only see part of the filesystem. maybe even some FTP, sshd, or other forking servers could do similar tricks. the closest thing you could do with physical boxes, would be to have a front-end proxy that relays incoming connections to the real backend servers after some initial request parsing. under Xen, you''d need exactly the same setup as for physical boxes. -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users