From: "Yan-Ching CHU" Subject: Fw: Experience, and questions in using Xen 1.2 with new control tool Date: Tue, 3 Feb 2004 23:24:14 -0000 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <035e01c3eaac$d62c2e40$0100a8c0@barcelona> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_035B_01C3EAAC.D629BD40" Return-path: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net Cc: cs0u210a@liverpool.ac.uk List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. ------=_NextPart_000_035B_01C3EAAC.D629BD40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This is just a resend of my previous email that I mistakenly have sent = to the mail list admin rather than the list. ----- Original Message -----=20 From: Yan-Ching CHU=20 To: xen-devel-admin@lists.sourceforge.net=20 Cc: Ian Pratt ; cs0u210a@liverpool.ac.uk=20 Sent: Tuesday, February 03, 2004 4:34 AM Subject: Experience, and questions in using Xen 1.2 with new control = tool Hi all, 'Great work!' to The Xen team. In general I think the hypervisor is = much more stable and the control tool is much more coherent and = centralized in v1.2. Although I encountered some problems (below) in installing multiple = domains' filesystems in my harddrive and it has been a long day to fix = them, after everything is ready one can be familiar with the new tool = very quickly. With just some alias and shell script I can use multiple = configs for different domains and use the general control tool to play = with them comfortably. Some questions and remarks: 1) After starting new domain I can only ssh to it by 'ssh = root@169.254.1.x' but not as what in the README.CD of Xen 1.2 (and = earlier) says to ssh with port number 2200 + domain_id, if so I would = get connection refused. I have started 'xen_nat_enable' am I setting = anything wrong or missing anything? Or just leave it? 2) 'xc destroy' is so powerful that it can kill Domain 0 directly = without even a checking or a prompt, if the admin (likely be root) = accidentally key in 0 and enter without serious checking this may cause = troubles. 3) I am using 256MB in my laptop running 128MB for domain 0, but I = can't use up the rest of the memory for other domains. Is there any = upper bound? By the way I have tried running a domain by just using 8MB = memory and ssh it successfully. (2MB is not enough for kernel and 4MB = with applications complaining not enough pages) And one more is that if = there is not enough memory the return message will be 'error creating = domain', it would be useful if it can point to something related to = memory. 4) I am not sure if the suspend/restore function is ready. But I = have tried Create->Stop->Save a domain and Restore->Start it again. The = network interface and sshd seem totally down after restore, if the sshd = is down seems there is no way to rescue it (will this push the = read/write console for domains upper on the to-do list?:-) The 'cpu_time' displayed by 'xc list' of the saved and then = restored domain seems not accurate, I am not entirely sure about this I = will try to reproduce and report later. Be aware that the restore = function starts the domain in the newest domain_id rather than it's = orginal id, so the IP address of it would look different to the new = domain_id after restored. I have experieced once (I remember when using = just 8/16MB memory) that after a domain is restored it keeps generate = error message like the followings, is this normal? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D DOM17: EXT3-fs error (device hd(3,11)) in ext3_reserve_inode_write: IO = failure DOM17: EXT3-fs error (device hd(3,11)): ext3_get_inode_loc: unable to = read inode block - inode=3D2862, block=3D93 DOM17: EXT3-fs error (device hd(3,11)) in ext3_reserve_inode_write: IO = failure DOM17: EXT3-fs error (device hd(3,11)) in ext3_orphan_add: IO failure DOM17: EXT3-fs error (device hd(3,11)): ext3_get_inode_loc: unable to = read inode block - inode=3D2862, block=3D93 DOM17: EXT3-fs error (device hd(3,11)) in ext3_reserve_inode_write: IO = failure DOM17: EXT3-fs error (device hd(3,11)): ext3_get_inode_loc: unable to = read inode block - inode=3D2862, block=3D93 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D 5) Just a minor one, in the README.CD for Xen1.2 (and before), in = the section "Installing the file systems from the CD", when copying the = files to /usr the directory 'root' is included, which seems not = appropriate. And there were some directories inside 'local' which don't = seem appropriate (some personal files I think) as well, which you may = not want to include in the next ISO. Can't wait to see the official Xen = 1.2 really. Hope this helps. More to come. Cheers, Yan-Ching CHU ------=_NextPart_000_035B_01C3EAAC.D629BD40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
This is just a resend of my previous = email that I=20 mistakenly have sent to the mail list admin rather than the = list.
 
 
----- Original Message -----=20
From: Yan-Ching=20 CHU
Cc: Ian Pratt ; cs0u210a@liverpool.ac.uk =
Sent: Tuesday, February 03, 2004 4:34 AM
Subject: Experience, and questions in using Xen 1.2 with new = control=20 tool

Hi all,
 
    'Great work!' to The = Xen=20 team. In general I think the hypervisor is much more stable = and the=20 control tool is much more coherent and centralized in = v1.2.
 
    Although I = encountered some=20 problems (below) in installing multiple domains' filesystems in my = harddrive and=20 it has been a long day to fix them, after everything is ready one can be = familiar with the new tool very quickly. With just some alias and = shell=20 script I can use multiple configs for different domains and use the = general=20 control tool to play with them comfortably.
 
    Some questions and=20 remarks:
 
    1) After starting = new domain I=20 can only ssh to it by 'ssh root@169.254.1.x' but not as what = in the=20 README.CD of Xen 1.2 (and earlier) says to ssh with port number 2200 +=20 domain_id, if so I would get connection refused. I have started = 'xen_nat_enable'=20 am I setting anything wrong or missing anything? Or just leave = it?
 
    2) 'xc destroy' is = so=20 powerful that it can kill Domain 0 directly without even = a=20 checking or a prompt, if the admin (likely be root) accidentally key in = 0 and=20 enter without serious checking this may cause troubles.
 
    3) I am using 256MB = in my laptop=20 running 128MB for domain 0, but I can't use up the rest of the memory = for other=20 domains. Is there any upper bound? By the way I have tried = running a=20 domain by just using 8MB memory and ssh it successfully. (2MB is not = enough for=20 kernel and 4MB with applications complaining not enough pages) And one = more is=20 that if there is not enough memory the return message will be 'error creating domain', it would be useful if it = can point to=20 something related to memory.
 
    4) I am not sure if = the=20 suspend/restore function is ready. But I have tried = Create->Stop->Save a=20 domain and Restore->Start it again. The network interface and sshd = seem=20 totally down after restore, if the sshd is down seems there is no way to = rescue=20 it (will this push the read/write console for domains upper on the to-do = list?:-)
 
        The=20 'cpu_time' displayed by 'xc list' of the saved and then = restored=20 domain seems not accurate, I am not entirely sure about this I will try = to=20 reproduce and report later. Be aware that the restore function starts = the domain=20 in the newest domain_id rather than it's orginal id, = so the IP address of it would look different to = the new=20 domain_id after restored. I have experieced once (I remember when = using=20 just 8/16MB memory) that after a domain is restored it keeps generate = error=20 message like the followings, is this normal?
 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DOM17: EXT3-fs error (device hd(3,11)) = in=20 ext3_reserve_inode_write: IO failure
DOM17: EXT3-fs error (device = hd(3,11)):=20 ext3_get_inode_loc: unable to read inode
 block - inode=3D2862,=20 block=3D93
DOM17: EXT3-fs error (device hd(3,11)) in = ext3_reserve_inode_write:=20 IO failure
DOM17: EXT3-fs error (device hd(3,11)) in ext3_orphan_add: = IO=20 failure
DOM17: EXT3-fs error (device hd(3,11)): ext3_get_inode_loc: = unable to=20 read inode
 block - inode=3D2862, block=3D93
DOM17: EXT3-fs = error (device=20 hd(3,11)) in ext3_reserve_inode_write: IO failure
DOM17: EXT3-fs = error=20 (device hd(3,11)): ext3_get_inode_loc: unable to read = inode
 block -=20 inode=3D2862,=20 block=3D93
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 
    5) Just a minor one, = in the=20 README.CD for Xen1.2 (and before), in the section "Installing the file = systems=20 from the CD", when copying the files to /usr the directory 'root' is = included,=20 which seems not appropriate. And there were some directories inside = 'local'=20 which don't seem appropriate (some personal files I think) as well, = which you=20 may not want to include in the next ISO. Can't wait to see the = official Xen=20 1.2 really.
 
    Hope this = helps. More to=20 come.
 
Cheers,
Yan-Ching CHU
 
 
 
------=_NextPart_000_035B_01C3EAAC.D629BD40-- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn