From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ted Hilts Subject: Re: A little more clarification -- Thank You! Date: Thu, 03 Mar 2005 16:56:22 -0700 Message-ID: <4227A426.4010007@help-for-you.com> References: <42268544.3060201@help-for-you.com> <200503031533.49342.maw48@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------060209070600060601080904" Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Mark Williamson , xen-devel@lists.sourceforge.net Cc: Tim.Deegan@cl.cam.ac.uk, thilts@help-for-you.com List-Id: xen-devel@lists.xenproject.org --------------060209070600060601080904 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mark Thankyou for your complete set of answers -- you scratched where you seemed to know I would be itchy. I have been over the manuals a number of times -- they are well written and I have no complaints. But I seemed unable to completely "get it as intended". You have bridged that problem for me. Thanks to both you and Tim. I will try to download Tim's latest CD effort and test it but there is a good chance I will be unsuccessful in dowloading a very large file. By way of introduction. One of the reasons why I wanted to be CERTAIN on these matters is because I would like to participate where I can on this list even though green around the ears with the whole subject of virtual machines. Getting information over the internet is for me a major difficulty. Today, I expect to install SuSE 9.1 (which I have working on another Linux machine) onto a Linux machine where I have 20 GIG -- a full hard drive I can free up. I may wait until I can make this a 200 Gig drive. Or I may go ahead and use the present 20 Gig drive for a learning exercise and then replace it. The idea is I want to create a specific area in my Lan for this Xen virtual technology. Later, for this same machine, I expect to replace another two 20 Gig drives for 200 Gig drives for the same reason (my point #4 in previous email). I have plans but no money for a network storage unit consisting of 8 200 Gig drives if the cost of acquiring these drives drops. Also, I would like to get a 64 bit Linux machine and deploy it for the same reason. Certainly if I can manage this I will be able to provide a good test bed. But first I have to develop some meaningful experience. Too bad there is not a "Xen For Dummnies" manual, that might do the trick. I'm a retired IT person. Before I retired I did a lot of code and database development. Now, I do some code development but only to support various information processing that serves as content to web pages. I do my development work in my LAN (consisting of some 16 machines), six Linux, 3 XP (ugh), and the remainder Win95. Two Linux machines do double duty as gateways to the Internet handling two Dial Up (about 28k max) (ugh) telephone lines and other work. I do perl development and other tasks on the Linux machines including uploading web pages to my USA based web server. There are no alternatives like Sattelite or DSL or cable services available as I live with my wife and my LAN and our dogs and cats in a rural area on a farm 60 miles NE of Edmonton, the capital city of the province of Alberta in Canada. My ISP has assured me this situation will not change. Dial Up for ever. There's gotta be an affordable way around this. I cannot afford business rates for a corporate sattelite connection and the Bell "sattelite in -- ground line out" arrangement does not work well for ftp and it not supported for ftp. I had hoped to use one of the Linux machines operating from my LAN out over sattelite to the Internet instead of the web server I operate in the USA. I have about 2 Gig (used) on the USA web server. IF I ever get such a connection to my LAN I will mirror all the information you people want to make available to the public and the list, The 3 XP machines do double duty as data acquistion over the internet, shared storage, and web development. (the whole effort is non commercial non profit and religious) and are used as data servers to my main work activities. The acquired data is used for web page content for my USA based web server. My bandwidth (even with 2 telephone lines) is inadequate for my needs. So when I have the need to get technical information I have to divert one of the XP machines to that task so the data acquisition packages can get that information for me. When I'm not sure exactly what and where the needed information exists such as was the case with Xen I aim my data acquisition tools at a web site effectively mirroring it and it's references. But this takes a lot of time to happen (but frees me up for other pressing issues) because the other XP machines are also going 7x24 round the clock every day. Then of course there is hoards of email and sometimes it takes half a day to get several hundred emails a day processed and get rid of the viruses and worms. Yes, I have a Windows Netscape based mail client (ugh) and am in the process of changing this to Linux. But I have to free up time before that can happen. Enough of that. If I want to surf the Internet and poke around reading web pages not yet downloaded then I have to suspend running processes that are often reluctant to suspend because the CPUs are going flat out. I have been trying to get a service where I pay for specified downloaded information put onto a CD or DVD and then mailed to me. Apparently there is someone that provides this service but this person has not responded to my email. Given that context, your complete set of answers is extremely helpful and I thank you and Tim again. Thanks very much, Ted Mark Williamson wrote: >Hi Ted, > > > >>Is what I have assumed correct, must there be an existing 2.4 or 2.6.x >>kernel based Linux installation up and running which must be modified >>(kernel modification or ported) to run Xen? >> >> > >Yes. > > > >>It is my understanding that >>the Xen source code installation or the binary installation both require >>a properly pre installed fully functional Linux system as the basis of >>Xen operation. Once it's (pre installed linux distribution) 2.4.x or >>2.6.x kernel has been modified to work with the Xen software and tools >>we have created this Linux distribution into an Xen-based system called >>Domain 0 that becomes so when shutdown and then booted??? >> >> > >Yes. > > > >>#1 -- The BUILD: >>The Xen distribution includes 3 main components (Xen itself, ports of >>Linux 2.4 and 2.6.x kernels to run on (with) Xen, and user-space tools >>required to manage an Xen-based system) all of which assumes the >>existence of an already installed and fully fuctional pre existing >>Linux system which must be adapted (to become the default Xen Linux >>build identified as DOMAIN 0. >> >> > >Correct. > > > >>The Xen >>process (called xend) runs in highest privilege in DOMAIN 0 and it's >>code detects and starts secondary processors, sets up interrupt routing, >>time slicing, and performs PCI bus enumeration as well as offloads >>hardware support issues to DOMAIN 0 GUEST OS which is the modified pre >>existing Linux installed distribution. >> >> > >You're misunderstanding here - the lowlevel stuff (secondary processors, >interrupt routing, PCI, scheduling domains, etc, etc) happens in Xen. Xen != >xend. > >Xen itself sits *below* the kernels of all the domains on the system >(including domain 0) and handles the low-level details of the system. The >guest kernels are ported to run on top of Xen by using the interfaces it >provides. > >Xend is a management process that deals with the high-level management side of >the system. It builds domains, records what domains are running, sends them >control messages, provides access to their consoles via TCP etc. Xend isn't >required for the system to run, just to perform these management-plane >functions. > > > >>As such, Xen provides a secure >>virtual machine for this GUEST OS, builds other domains using an OS >>installed in a root file system placed on a partition and booted from >>that partition, manages their virtual devices and performs >>administrative tasks. >> >> > >Root filesystems can be stored anywhere dom0 can access like a block device. >Files, LVM volumes, MD devices, whole disk drives, partiitons, network block >devices, etc. etc. > > > >>My next question: >>What exactly is an HTTP/S server -- apparently it is a requirement for >>browser administration access to a Xen-based system? Is Apache such a >>server and if not can it be turned into such a server??? >> >> > >HTTPS? It's a secured version of HTTP. I don't think you shouldn't need to >install anything extra to make this work - Twisted includes its own HTTP >server. > >(btw, Apache can serve over HTTPS but we don't use it in Xen) > > > >>One more question: >>Regarding the source code. I have been reviewing Python and C >>(gcc/gcc++) and was wondering if there was a high level diagram showing >>dependencies (hierarchy based on caller and called) and code utilized >>(python, C, binary insertions, etc.)??? >> >> > >Nope, not really :-) The Xen User Manual, Xend manual and Xen Interface >Manual (in the docs) directory might help you understand a bit more about the >system. To comprehend the source code itself, I'm afraid there's not really >any kind of map. > >HTH, >Mark > > > >>Based on what I am learning here (mostly from you) I have been >>constructing a very high level chart showing levels, key Xen processes, >>and stuff like that. I will send you a copy once I am sure the >>information is correct and properly represents what is happening. >> >>Thank you very much in advance for your comments and advice. >> >>Ted >> >> > > > --------------060209070600060601080904 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mark

Thankyou for your complete set of answers -- =C2=A0you scratched where yo= u seemed to know I would be itchy. I have been over the manuals a number of times -- they are well written and I have no complaints. =C2=A0But I seemed una= ble to completely "get it as intended". =C2=A0You have bridged that problem for = me. =C2=A0Thanks to both you and Tim. =C2=A0

I will try to download Tim's latest CD effort and test it but there is a good chance I will be unsuccessful in dowloading a very large file.

By way of introduction. One of the reasons why I wanted to be CERT= AIN on these matters is because I would like to participate where I can on th= is list even though green around the ears with the whole subject of virtual machines. =C2=A0Getting information over the internet is for me a major d= ifficulty. =C2=A0Today, I expect to install SuSE 9.1 (which I have working on anothe= r Linux machine) onto a Linux machine where I have 20 GIG =C2=A0-- a full hard dr= ive I can free up. =C2=A0I may wait until I can make this a 200 Gig drive. =C2=A0= Or I may go ahead and use the present 20 Gig drive for a learning exercise and the= n replace it. The idea is I want to create a specific area in my Lan for th= is Xen virtual technology. =C2=A0Later, for this same machine,=C2=A0 I expec= t to replace another two 20 Gig drives for 200 Gig drives for the same reason (my poin= t #4 in previous email). =C2=A0I have plans but no money for a network stor= age unit consisting of 8 200 Gig drives if the cost of acquiring these drives drop= s. Also, I would like to get a 64 bit Linux machine and deploy it for the sa= me reason. Certainly if I can manage this I will be able to provide a good t= est bed. =C2=A0But first I have to develop some meaningful experience. =C2=A0= Too bad there is not a =C2=A0"Xen For Dummnies" manual, that might do the trick.

I'm a retired IT person. =C2=A0Before I retired I did a lot of code and d= atabase development. =C2=A0Now, I do some code development but only to support va= rious information processing that serves as content to web pages. I do my devel= opment work in my LAN (consisting of some 16 machines), six Linux, 3 XP (ugh), a= nd the remainder Win95. Two Linux machines do double duty as gateways to the Internet handling two Dial Up (about 28k max) (ugh) telephone lines and o= ther work. I do perl development and other tasks on the Linux machines includi= ng uploading web pages to my USA based web server.=C2=A0 =C2=A0

There are no alternatives like Sattelite or DSL or cable services availab= le as I live with my wife and my LAN and our dogs and cats in a rural area o= n a farm 60 miles NE of Edmonton, the capital city of the province of Alber= ta in Canada. My ISP has assured me this situation will not change. Dial Up for ever. There's gotta be an affordable way around this.=C2=A0 I cannot = afford business rates for a corporate sattelite connection and the Bell "satteli= te in -- ground line out" arrangement does not work well for ftp and it not supported for ftp. I had =C2=A0hoped to use one of the Linux machines ope= rating from my LAN out over sattelite to the Internet instead of the web server I operate in the USA. =C2=A0I have about 2 Gig (used) on the USA web serv= er. IF I ever get such a connection to my LAN=C2=A0 I will mirror all the inform= ation you people want to make available to the public and the list,

The 3 XP machines do double duty as data acquistion over the internet, sh= ared storage, and web development. (the whole effort is non commercial non pro= fit and religious) and are used as data servers to my main work activities. =C2= =A0The acquired data is used for web page content for my USA based web server. M= y bandwidth (even with 2 telephone lines) is inadequate for my needs. =C2=A0= So when I have the need to get technical information I have to divert one of the XP machines to that task so the data acquisition packages =C2=A0can get t= hat information for me. =C2=A0When I'm not sure exactly what and where the needed informa= tion exists such as was the case with Xen I aim my data acquisition tools at a web site effectively mirroring it and it's references. But this takes a l= ot of time to happen (but frees me up for other pressing issues) because the other XP machines are also going 7x24 round the clock every day. =C2=A0Th= en of course there is hoards of email and sometimes it takes half a day to get several hundred emails a day processed and get rid of the viruses and wor= ms. Yes, I have a Windows Netscape based mail client (ugh) and am in the proc= ess of changing this to Linux. But I have to free up time before that can hap= pen.

Enough of that.=C2=A0 If I want to surf the Internet and poke around read= ing web pages not yet downloaded then I have to suspend running processes that ar= e often reluctant to suspend because the CPUs are going flat out. =C2=A0I h= ave been trying to get a service where I pay for specified downloaded information put onto a CD or DVD and then mailed to me. =C2=A0Apparently there is som= eone that provides this service but this person has not responded to my email. =C2=A0

Given that context, your complete set of answers is extremely helpful and I thank you and Tim again.

Thanks very much, Ted


Mark Williamson wrote:
Hi Ted,

  
Is what I have assumed correct, must there be an exist=
ing 2.4 or 2.6.x
kernel based Linux installation up and running which must be modified
(kernel modification or ported) to run Xen?
    

Yes.

  
It is my understanding that=20
the Xen source code installation or the binary installation both require
a properly pre installed fully functional Linux system as the basis of
Xen operation.  Once it's (pre installed linux distribution) 2.4.x or
2.6.x kernel has been modified to work with the Xen software and tools
we have created this Linux distribution into an Xen-based system called
Domain 0 that becomes so when shutdown and then booted???
    

Yes.

  
#1 -- The BUILD:
The  Xen distribution includes 3 main components (Xen itself, ports of
Linux 2.4 and 2.6.x kernels to run on (with) Xen, and user-space tools
required to manage an Xen-based system) all of which assumes the
existence of an already installed and fully fuctional  pre existing
Linux system which must be adapted (to become the default Xen Linux
build identified as DOMAIN 0.
    

Correct.

  
The Xen=20
process (called xend) runs in highest privilege in DOMAIN 0 and  it's
code detects and starts secondary processors, sets up interrupt routing,
time slicing, and performs PCI bus enumeration as well as offloads
hardware support issues to DOMAIN 0 GUEST OS which is the modified pre
existing Linux installed distribution.
    

You're misunderstanding here - the lowlevel stuff (secondary processors,=20
interrupt routing, PCI, scheduling domains, etc, etc) happens in Xen.  Xe=
n !=3D=20
xend.

Xen itself sits *below* the kernels of all the domains on the system=20
(including domain 0) and handles the low-level details of the system.  Th=
e=20
guest kernels are ported to run on top of Xen by using the interfaces it=20
provides.

Xend is a management process that deals with the high-level management si=
de of=20
the system.  It builds domains, records what domains are running, sends t=
hem=20
control messages, provides access to their consoles via TCP etc.  Xend is=
n't=20
required for the system to run, just to perform these management-plane=20
functions.

  
As such, Xen provides a secure=20
virtual machine for this GUEST OS, builds other domains using an OS
installed in a root file system placed on a partition and booted from
that partition, manages their virtual devices and performs
administrative tasks.
    

Root filesystems can be stored anywhere dom0 can access like a block devi=
ce. =20
Files, LVM volumes, MD devices, whole disk drives, partiitons, network bl=
ock=20
devices, etc. etc.

  
My next question:
What exactly is an HTTP/S server -- apparently it is a requirement for
browser administration access to a Xen-based system? Is Apache such a
server and if not can it be turned into such a server???
    

HTTPS?  It's a secured version of HTTP.  I don't think you shouldn't need=
 to=20
install anything extra to make this work - Twisted includes its own HTTP=20
server.

(btw, Apache can serve over HTTPS but we don't use it in Xen)

  
One more question:
Regarding the source code.  I have been reviewing Python and C
(gcc/gcc++) and was wondering if there was a high level diagram showing
dependencies (hierarchy based on caller and called)  and code utilized
(python, C, binary insertions, etc.)???
    

Nope, not really :-)  The Xen User Manual, Xend manual and Xen Interface=20
Manual (in the docs) directory might help you understand a bit more about=
 the=20
system.  To comprehend the source code itself, I'm afraid there's not rea=
lly=20
any kind of map.

HTH,
Mark

  
Based on what I am learning here (mostly from you) I h=
ave been
constructing a very high level chart showing levels, key Xen processes,
and stuff like that.  I will send you a copy once I am sure the
information is correct and properly represents what is happening.

Thank you very much in advance for your comments and advice.

Ted
    

  

--------------060209070600060601080904-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click