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-devel

Re: [Xen-devel] Practical questions, ssh a domain, HD (Xen-Unstable)

To: Rune Johan Andresen <Rune.Johan.Andresen@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Practical questions, ssh a domain, HD (Xen-Unstable)
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 17 Jul 2004 11:16:12 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Sat, 17 Jul 2004 11:18:32 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 16 Jul 2004 19:24:28 +0200." <Pine.GSO.4.60.0407161911270.26528@xxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 
> Hi, the CD rom HOWTO seems to be pretty outdated, so I ask some practical 
> questions here: (Thanks for the superb support on this mailinglist!)
> 
> Because of the sysops at work are hacking on the ip-setup these days I 
> have some problems giving IP addresses to my domains. I need to know how 
> to ssh or scp to my domains so I can finally benchmark Xen. I guess this 
> is pretty intuitive, but the unstable docs are no exisitng :) (I can 
> write a howto after this project for you for setting up Xen on Debian 
> Sarge if you want - the least I can do after all this support, If you 
> wish)
> 
> So the first question is: How to I figure out the local ip address for a 
> domain so i can SSH it?

I think I understand: you're using DHCP, and the server is
assigning domains random addresses.

Just connect to the domain via it's console. The easiest way to
do this is just to put '-c' on the 'xm create' command line.

Alternatively, use 'xm consoles' to list all the available
consoles, then connect to the listed port e.g.

 xencons localhost 9601
 
> After running some domains I got a failure on fcdsk on bootup. How does 
> Xen use ONE partitions to give each domain HD space? After shutting down 
> the guest OS, where is the data copied into this domain stored and how can 
> you actually find this data again? Do you recommend to have one partition 
> for each domain? At least it seems like I have something wrong in the 
> configs for HD setup.

You could give each domain it's own physical
partition. Alternatively, use LVM to dynamically chop the
partition up into volumes, each of which you can assign to a
domain e.g. 
  disk = [ 'phy:/dev/vg01/vm%d,sda1,w' % (vmid) ]

Alternatively, put a file system on the partition and export
files to domains using the loopback device (losetup). This
enables you to use sparse files, allocating disk space on demand.

Make sure you remember to put a filesystem and populate whatever
you decide to use as the domain's block device!


Best,
Ian



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel