[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] /etc/xc/defaults question..

> I am looking at xeno-1.2-install.tgz from download URL.
> The tar file wrt to ./install, so
> do I copy the files to respective dirs in the underlying system?

Yes. The only possible problem is that the Python modules may not end
up in the right place to get found by your Python installation. In
which case you may need to set the PYTHONPATH environment variable, or
manually work out teh correct place to put the modules (it'll be
somthing like /usr/lib/python-2.2/site-packages).
> Also, the same defaults file problem is visible: (I have / on /dev/hda1
> and swap /dev/hda2):
> vbd_list = [ ('phy:sda%d'%(7+vnid),'sda1','w'), ('phy:sda6','sda6','r') ]
> ...
> cmdline_root = "root=/dev/sda1 ro"
> ...
> cmdline_extra = "4 VMID=%d usr=/dev/sda6"%vmid
> ...
> /dev/sda sounds like SCSI, so how to replace it by IDE. Is there
> some other trick to create other domains??

It doesn't matter -- it's not /really/ SCSI. It's just the name the
teh virtual device appears as in the other guest. What you do need to
change is: 
 vbd_list = [ ('phy:sda%d'%(7+vnid),'sda1','w'), ('phy:sda6','sda6','r') ]
                    ^^^^^^^^^^^^^^^                    ^^^^

The former binds the name 'sda1' in the guest to real physical device
sda(7+vmid), and 'sda6' to realy physical device sda6. These need to
be changed to appropriate partitions on hda.

 -- Keir

This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.