Hi again, So we went back to the cd demo just to see how things should look and run. Running one domain with the xenctl script -f/etc/xen-mynewdom is fine. It creates a happy domain that we can ssh into. However when we try to create another domain, another virtual machine, we get the error "Failed to create domain using: /usr/local/bin/xi_create 98304 XenoLinux". This failure is from the first basic command "xenctl domain create". We were wondering how to create multiple domains, multiple virtual machines, just using the cd demo. We were also wondering about creating ram disks. The cd demo uses a ram disk it seems. We didnt realize that we were expected to have created seperate partitions for each domain. We''d rather not reinstall everything just to create new partitions. So we were hoping to use a ram disk ourselves. How was the ram disk for the cd demo created and filled? When does the ram disk get created? Sorry for so many questions and thanks for all the quick answers we''ve been getting. Thanks for the help, Jeremy Chiu, Jefferson Ng, Dave Berlin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Keir Fraser
2003-Dec-07 09:23 UTC
Re: [Xen-devel] running multiple domains from the cd demo
> Hi again, > > So we went back to the cd demo just to see how things should look and > run. Running one domain with the xenctl script -f/etc/xen-mynewdom is > fine. It creates a happy domain that we can ssh into. However when we try > to create another domain, another virtual machine, we get the error > "Failed to create domain using: /usr/local/bin/xi_create 98304 XenoLinux". > This failure is from the first basic command "xenctl domain create". We > were wondering how to create multiple domains, multiple virtual machines, > just using the cd demo.Perhaps you''re out of memory on your test machine?> We were also wondering about creating ram disks. The cd demo uses a ram > disk it seems. We didnt realize that we were expected to have created > seperate partitions for each domain. We''d rather not reinstall > everything just to create new partitions. > So we were hoping to use a ram disk ourselves. How was the > ram disk for the cd demo created and filled? When does the ram disk get > created?Ram disks are probably not the best answer if you''re booting from hard disc. You''re better off creating multiple root partitions on the hard disc. These don''t need to be very big because /usr can be on a shared read-only partition. That is, each root filesystem contains an empty directory /usr, and an entry in /etc/fstab that mounts some shared partition read-only onto mount-point /usr. -- Keir ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> We were also wondering about creating ram disks. The cd demo uses a ram > disk it seems. We didnt realize that we were expected to have created > seperate partitions for each domain. We''d rather not reinstall > everything just to create new partitions.One option would be to run an NFS server in domain 0 and boot all of the other domains using root-on-NFS from directories on domain 0''s filesystem. The README.CD talks about how to have them sharing a single /usr (and /lib and /sbin) if you want to save space.> So we were hoping to use a ram disk ourselves. How was the > ram disk for the cd demo created and filled? When does the ram disk get > created?ram disks work precisely the same way they do under normal Linux. Follow the instructions in REAME.CD for building your own CD, then inspect irtree/linuxrc. It populates the root file system from root.tar.gz. I''m not sure that ramdisks are what you want, though... Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel