Follow-up #1. Did the proper installation. Thank you, we followed a previous (erroneous) http suggestion that all ISOs should be in ".../disc1", ".../disc2" and so on. Hence, it was not working for paravirtualization.
Disabled SELinux (yet again ;) ) In the user interface, we can only create a 16GB partition as file. No matter, that's what we did. Highest size. The vm creation process could not find the path in ftp://.../pub/Server, however it could find it in ftp://.../pub directly. It switches to Server automagically. Once the installation got finalized (in /mnt/vm/1/storagefile), it rebooted but the server would not be in the list. It told us "error restoring '/mnt/vm/1/storagefile '. Is the domain already running?". We tried rebooting the principal server, we tried restoring it, we tried chmod 777 it, nothing would make it work. We had the same problem while creating a full hw virtualization, but thought it was one of our config. Our next trial in 2 hours will be to reinstall the server and have 4 specific partitions for our 4 VMs. That is where we are at. Michel -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de [EMAIL PROTECTED] Envoyé : 16 mai 2007 11:38 À : 'Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list' Objet : RE: [rhelv5-list] RHEL5 (para-)virtualizing RHEL5 Good day Jos and Andrei. Thank you for the quick answer. Andrei, we did similar things to make it work. However, it might not be perfectly and rigorously in sync (For example, we used a http server). To be totally and absolutely sure, we are reinstalling the server from scratch and we are following the instructions line per line. If we digress, we'll note where and in a update message, I will tell precisely what we did differently and what was the result. Jos, for the help option, sure RH can help me, but then no one but me and RH would know how to do it. Also, the community might know this information. For the delay, we went further and further on, but we got constantly plagued by problems at every steps. For the hiring, we hired someone for their knowledge in network, c, c++, database, optimization and linux knowledge, we did not know he needed to have a PS.D in VM with 20 years experience to create a VM ;) (ok slight exaggeration here ^^ ). For the virt-inst, we used the graphical interface, found some nice information from http://whatis.techtarget.com/tip/0,289483,sid94_gci1248953,00.html but without a clue on how to create the aforementioned FTP. For the errors, if we get virtualization errors, we assume it's our installation that went wrong, hence, I asked you on how to create a proper setup, then, if other problems are to be fished out, we know our prerequisites are valid. And to answer the question precisely, > Sounds like you were not able to create a virtual system image at all. > Is this correct? We were able to create a virtual system image, we were able to install them in full hw-virtualization, and we were finally able to create some kind of http with everything available. However, like I said, it did not work properly, so to be sure, we are asking what to do. Thank you all, I'll keep you posted Michel -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Andrei Pascal Envoyé : 16 mai 2007 11:04 À : Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list Objet : Re: [rhelv5-list] RHEL5 (para-)virtualizing RHEL5 On Wed, 2007-05-16 at 10:35 -0400, [EMAIL PROTECTED] wrote: > Good day, Hi Michel, > We have recently purchased a RHEL5 system to be able to simulate a network > environment of four machines for network designing purposes, and how > convenient, RHEL5 comes with rights of four virtualizations ;) > > So far, we have lost more than 1 week trying to make work one virtual > machine. We tried full virtualization, we tried paravirtualization, we tried > CDs, we tried mounted ISO images. Since we received the machine and > software, someone with good Linux understanding tried to make this work for > approximately 50-60 work hours. I tried to help him too, we looked > everywhere on the Internet and could not find anything but specks of > information (and obviously the usual mailing list "never mind, got it > working, thanks"). > > Finally, we gave up and used VMWare on Windows and Ubuntu virtual machines. > Took 2 hours to set up. But I find this mind boggling we could not make > RHEL5 work in 2 weeks! It should work in 3 hours, let alone two weeks :( > Does anyone have a HOWTO, a list of steps, any complete help, to install > RHEL5 (64 bits) from scratch on a completely empty machine and (for starter) > one fully working virtual RHEL5? > For starters, no we don't officially know how to create the proper "ftp > share" and which files of the CDs to put there, Ok, given that I assume you've already read the docs from Red Hat regarding virtualization. For the start, a quick hint: - get all your .iso images on a drive, say USB drive, say /dev/sdc1 mounted under /media/usbdrive on the machine that will act as the ftp server (say 192.168.0.100); make sure the files are named disc1.iso, disc2.iso etc. or the script below won't work; - on that machine - on which you previously installed vsftpd!) run this script: for i in 1 2 3 4 5; do mount -o loop /media/usbdrive/disc$i.iso /mnt; cp -a /mnt/* /var/ftp/pub; umount /mnt; done - make sure your ftp server is running (chkconfig vsftpd on; service vsftpd restart); - now you have a fully populated directory from which you can run the install. In the installation source for the VMs fill in the following: ftp://192.168.0.100/pub/Server You need not a kickstart file, though it makes life MUCH easier. But that's another topic. You also have to install kernel-xen, xen and - preferably - virt-manager from the VT/ directory on the fifth CD. > no we don't officially know > if we need to change options, or anything. No we don't know if there are > compatibility issues with the x86-64 version we are using. We tried our > earnest to make sense of the 2 pages of instructions saying "oh you just > have to do this, select the URL with your installation, and it will work". > What url? How? What do we put there? There seem to be a problem with > ejecting CDs, there seem to be a link to URLs with the CDs there, fair > enough. Unfortunately you CAN NOT install the Domain-U's from physical devices (CD, HDD) - you really need FTP or NFS. FTP is the easiest, as I have already explained it to you. > For data's purposes, the machine is a 4-core Xeon with 4 gigabytes of ram > (for proper 4-machines virtualization). HW Virtualization is activated. Try to stick to para-virtualization; it makes the job easier for the hardware - YET. > Once I know how to do it, I will certainly put a howto on my personal web > site ;) A howto would be nice indeed! > Thank you very much in advance, community! > Michel Don't mention it :) Andrei _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
