Hello, I have a computer running slackware, i installed grub and can boot up ok. I have the xenoctl and everything from the XenDemo CD, so that seems to be fine also. No my question: For xenoctl for example, you need java installed on your machine. What other programs, libraries etc and what versions of them do i need to get all the utilities like xenoctl up and running? btw, I tried making images from the XenDemoCD like it reads in the manual on a seperate partition and booting that one, but that kept me further from a running XenoLinux than installing all the utilities on my own slackware. Thanks, Robin van Leeuwen ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here''s your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> No my question: For xenoctl for example, you need java installed on your > machine. > What other programs, libraries etc and what versions of them do i need > to get all the > utilities like xenoctl up and running?To build xenctl you need ANT. Apart from that I don''t think you need anything more than Java.> I tried making images from the XenDemoCD like it reads in the manual on > a seperate > partition and booting that one, but that kept me further from a running > XenoLinux > than installing all the utilities on my own slackware.Yes, if you want a different distro then copying the Xen tools on top of that distro makes sense. -- Keir ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here''s your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
The easiest route is to install slack, install bitkeeper, install a JDK, install apache-ant, install grub, and you may need to download the crimson XML parser from the apache site. Set up your java home and classpath (remember the crimson.jar needs to be in your classpath explicitly) variables. I used /usr/local/java and /usr/local/ant/. Check out the latest xeno sources using bk. On the cd there is a script called xen-clone. It works well, it''ll probably save you some time to use it. Once it''s done building, you''ll have in your xeno-unstable (or whatever you called it) the ''install'' directory. This has the binaries, boot images, etc. Copy xeno-unstable/install/boot/* to /boot/ and set up and install grub. Copy xeno-unstable/install/etc/* to /etc/, copy xeno-unstable/install/bin/* to a bin directory (I use /usr/local/bin/, but thats me). That''s about all you need to do and you''re ready to go. I''m running xeno-unstable on a Slack 9 dom 0 with 8 slack virtual linux systems without much trouble. I''ve given each one their own partition for setup simplicity, and tossed together a little shell script that brings each one up on boot. -m On Tue, Oct 21, 2003 at 08:29:11PM +0200, R. van Leeuwen wrote:> Hello, > > I have a computer running slackware, i installed grub and can boot up ok. > I have the xenoctl and everything from the XenDemo CD, so that seems > to be fine also. > > No my question: For xenoctl for example, you need java installed on your > machine. > What other programs, libraries etc and what versions of them do i need > to get all the > utilities like xenoctl up and running? > > btw, > > I tried making images from the XenDemoCD like it reads in the manual on > a seperate > partition and booting that one, but that kept me further from a running > XenoLinux > than installing all the utilities on my own slackware. > > Thanks, > > Robin van Leeuwen > > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here''s your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here''s your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Wed, Oct 22, 2003 at 02:00:14PM +0100, Keir Fraser wrote:> > > I tried making images from the XenDemoCD like it reads in the manual on > > a seperate > > partition and booting that one, but that kept me further from a running > > XenoLinux > > than installing all the utilities on my own slackware. > > Yes, if you want a different distro then copying the Xen tools on top > of that distro makes sense. >FYI, I didn''t have any special problem building Xen / XenoLinux / Tools from source on Debian Sarge. You need ant and java 1.4. However, I quickly gave out on Java : the command lines tools can be used directly with the help of a few scripts. -- Nicolas Bougues Axialys Interactive ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here''s your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
(cc''d the maillinglist again) Ok again thanks for your quick replies, they''ve been a great help. I''ve got everything up and running , that is: it boot''s the kernel fine i can use the xenctl tools and i think i can create virtual domains. I''ve setup a extra partition /dev/hda3 , 6 gig of size and setup my xenctl.xml up like : ----<?xml version="1.0"?> <domctl_defaults> <domain_name>XenoLinux</domain_name> <domain_size_kb>16384</domain_size_kb> <domain_image>/boot/xenolinux.gz</domain_image> <domain_vifs>1</domain_vifs> <domain_init_rd>/boot/initrd.gz</domain_init_rd> <root_device>/dev/hda3</root_device> <root_args>rw</root_args> <args>init=/linuxrc 4 DOMID=+</args> <nw_ip>192.168.1.0+</nw_ip> <nw_gw>192.168.1.0</nw_gw> <nw_mask>255.255.255.0</nw_mask> <nw_nfs_server>192.168.1.0</nw_nfs_server> <max_domain_number>1000</max_domain_number> <xi_tools_dir>/usr/local/bin/</xi_tools_dir> </domctl_defaults> ---- When i do a ''xenctl script -f/etc/xen-mynewdom'' It freezes after outputting the configuration as above. My /dev/hda3 is and empty ext2fs. I have 256mb ram and installed domain0 with 128mb. What am i doint wrong/forgetting??? if any more info is needed i''m happy to post it. tia. rvl urmk@vm.marist.edu wrote:>Sounds like your classpath or javahome is wrong. > >I have this in /etc/profile: > >export JAVA_HOME=/usr/local/java >export CLASSPATH=/usr/local/java/lib/crimson.jar >export ANT_HOME=/usr/local/ant > ># Set the default system $PATH: >PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:$JAVA_HOME/bin:$ANT_HOME/bin" > >-m > >On Thu, Oct 23, 2003 at 01:11:55AM +0200, RvL wrote: > > >>Ok already thanks for your help. >> >>I did the things you said, installed ant, crimson, j2sdk-1-4-2-01 >>and grub. >> >>The xenolinux kernel boots fine. Bit when i try to run xenctl >>i get the error : >> >>Exception in thread "main" java.util.zip.ZipException: No such file or >>directory at java.util.zip.ZipFile.open(Native Method) >> at java.util.zip.ZipFile.<init>(ZipFile.java:112) >> at java.util.jar.JarFile.<init>(JarFile.java:127) >> at java.util.jar.JarFile.<init>(JarFile.java:65) >> >>I get the feeling that if i get past this, i got it up and running >>(and that in less that 3 days :-) , great! ) >> >>thanks, >> >> >> >>urmk@vm.marist.edu wrote: >> >> >> >>>IBM x205. P4 2.4ghz, adaptec ultra160 scsi, 2 gig of ram. >>> >>>The only limiting factor in how many images I could make is that these >>>particular towers only have 36 gig drives. I''m investigating porting the >>>serverraid scsi drivers to run xeno on bigger rackmount hardware. >>> >>>-m >>> >>>On Thu, Oct 23, 2003 at 12:02:02AM +0200, RvL wrote: >>> >>> >>> >>> >>>>urmk@vm.marist.edu wrote: >>>> >>>> >>>> >>>> >>>> >>>>><snip> >>>>> >>>>> >>>>> >>>>>That''s about all you need to do and you''re ready to go. I''m running >>>>>xeno-unstable on a Slack 9 dom 0 with 8 slack virtual linux systems >>>>>without >>>>>much trouble. I''ve given each one their own partition for setup >>>>>simplicity, >>>>>and tossed together a little shell script that brings each one up on >>>>>boot. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>Can i ask on which kind of hardware you are running this ??? >>>> >>>>This is going to be my setup exactly see :-) >>>> >>>> >>>> >>>> >>>> >>>>>On Tue, Oct 21, 2003 at 08:29:11PM +0200, R. van Leeuwen wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Hello, >>>>>> >>>>>>I have a computer running slackware, i installed grub and can boot up >>>>>>ok. >>>>>>I have the xenoctl and everything from the XenDemo CD, so that seems >>>>>>to be fine also. >>>>>> >>>>>>No my question: For xenoctl for example, you need java installed on >>>>>>your machine. >>>>>>What other programs, libraries etc and what versions of them do i need >>>>>>to get all the >>>>>>utilities like xenoctl up and running? >>>>>> >>>>>>btw, >>>>>> >>>>>>I tried making images from the XenDemoCD like it reads in the manual on >>>>>>a seperate >>>>>>partition and booting that one, but that kept me further from a running >>>>>>XenoLinux >>>>>>than installing all the utilities on my own slackware. >>>>>> >>>>>>Thanks, >>>>>> >>>>>>Robin van Leeuwen >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------- >>>>>>This SF.net email is sponsored by OSDN developer relations >>>>>>Here''s your chance to show off your extensive product knowledge >>>>>>We want to know what you know. Tell us and you have a chance to win $100 >>>>>>http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 >>>>>>_______________________________________________ >>>>>>Xen-devel mailing list >>>>>>Xen-devel@lists.sourceforge.net >>>>>>https://lists.sourceforge.net/lists/listinfo/xen-devel >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here''s your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
If you use jdk1.4.2, the XML parser is included, I think. I used jdk 1.4.2 for xenctl and ant without doing anything special setup. ant does require you to setup JAVA_HOME. Regards, Ning On Wed, 22 Oct 2003 urmk@vm.marist.edu wrote:> The easiest route is to install slack, install bitkeeper, install a JDK, > install apache-ant, install grub, and you may need to download the crimson > XML parser from the apache site. > > Set up your java home and classpath (remember the crimson.jar needs to be > in your classpath explicitly) variables. I used /usr/local/java and > /usr/local/ant/. > > Check out the latest xeno sources using bk. On the cd there is a script > called xen-clone. It works well, it''ll probably save you some time to use it. > > Once it''s done building, you''ll have in your xeno-unstable (or whatever you > called it) the ''install'' directory. This has the binaries, boot images, etc. > Copy xeno-unstable/install/boot/* to /boot/ and set up and install grub. > Copy xeno-unstable/install/etc/* to /etc/, copy xeno-unstable/install/bin/* to > a bin directory (I use /usr/local/bin/, but thats me). > > That''s about all you need to do and you''re ready to go. I''m running > xeno-unstable on a Slack 9 dom 0 with 8 slack virtual linux systems without > much trouble. I''ve given each one their own partition for setup simplicity, > and tossed together a little shell script that brings each one up on boot. > > -m > > On Tue, Oct 21, 2003 at 08:29:11PM +0200, R. van Leeuwen wrote: > > Hello, > > > > I have a computer running slackware, i installed grub and can boot up ok. > > I have the xenoctl and everything from the XenDemo CD, so that seems > > to be fine also. > > > > No my question: For xenoctl for example, you need java installed on your > > machine. > > What other programs, libraries etc and what versions of them do i need > > to get all the > > utilities like xenoctl up and running? > > > > btw, > > > > I tried making images from the XenDemoCD like it reads in the manual on > > a seperate > > partition and booting that one, but that kept me further from a running > > XenoLinux > > than installing all the utilities on my own slackware. > > > > Thanks, > > > > Robin van Leeuwen > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by OSDN developer relations > > Here''s your chance to show off your extensive product knowledge > > We want to know what you know. Tell us and you have a chance to win $100 > > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here''s your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel >------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here''s your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I''ve setup a extra partition /dev/hda3 , 6 gig of size and setup my > xenctl.xml > My /dev/hda3 is and empty ext2fs.If you want domain2 to use /dev/hda3 as your root partition, you''ll need to populate with a root file system first! you could copy the one you''re using for domain0 root. If you''re intending on having multiple domains, you might want to investigate virtual disks or using NFS root to a server in domain0. Are you planning on having a separate (read-only) usr partition? Your xenctl file is rather strange at the moment. Is there any reason why you''re using the initrd in this setup? Also, you''ll have to edit /etc/xen-mynewdom to grant physical access to the right partitions rather than the CD. Ian ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel