Hey All,
Is it possible, or has anyone done any work, to get the Dual-Boot labs working as OVAs? My IT department is hesitant to allow dual-booting, but they would allow VMs using something like VirtualBox on local machines. Is this possible or allowed? If so, would it be possible to have the OVAs hosted via FTP downloads?
(For REL8 labs)
So here's an update set of instructions -- for standalone mode. Again, I'm using VMware Workstation 15.5 Pro
1) Convert .img to .vmdk: qemu-img convert -O vmdk <src.img> <dest.vmdk>
Get the utility here: https://cloudbase.it/qemu-img-windows/
2) Create blank VM in VMware (I'm using Workstation 15.5 Pro):
-- Hardware = Workstation 10.x [I've also used 15.x]
-- I will install the operating system later
-- Linux (Red Hat Enterprise Linux 8 64-bit)
-- Give it a name
-- (2) CPUs
-- 16G mem (8 will do)
-- 1 NIC, on VMnet3
-- LSI Logic (recommended)
-- SCSI (Recommended) [I've also used NVMe]
-- Create a new virtual disk (stored as a single file)
-- minimum 105Gb
-- NEXT then Finish
3) Edit virtual machine settings
-- Processors: turn on Virtualize Intel VT-x/EPT or AMD-V/RVI
(I also turned on Virtualize IOMMU (IO memory management unit))
-- add second HDD (SCSI), point it to the .vmdk file (Use existing virtual disk), Keep Existing Format
4) Start VM
-- (if needed) change BIOS to point to second disk, if need be (you have to be very, very fast to hit F2 and the cursor must be in the VM window. If you miss it, you have to reboot and try again)
5) install course
-- at boot: prompt: standalone rh124 (or rh134, rh294)
6) during RHEL installation
-- set timezone
-- Begin Installation button
-- wait a good long while, there will be some GUI stuff, then some CLI stuff, then the GUI again.
-- Press the Reboot button
7) Change the boot drive back to the first (200Gb) hard drive (Again, gotta be FAST to hit that F2 button)
8) when foundation0 boots up, log in as kiosk using redhat as the password
9) Open a terminal -- install course as: standalone rh124
-- at this time, another course could be install using (as the root user):
rht-usb usbcourse <course>, where <course> would be rh124, rh134, or rh294
-- verify course: rht-verify-f0 (no FAILs should be seen, a WARNING on time is OK)
-- finish / start classroom: rht-f0finish
(again, wait a long while... this should have all PASS) then it will download the images and start the other VMs
-- ssh into classroom, then rht-verify-classroom (this should have all PASS), then exit.
10) At this point, you can remove the second HDD from the VMware VM (foundation0) as it is no longer needed -- especially if you are going to distribute this as a OVA/OVF file.
11) you can now go into the VMs and do the labs...
I would add the following command to point 9.
dnf install -y open-vm-tools-desktop xorg-x11-drv-vmware
This will add display autoresize and clipboard functionality to Foundation0.
I suppose you could do this if using VMware. What happens if you are using different hypervisor?
I have created Foundation0 in VMware WS, Virtualbox and KVM/QEMU. VMware WS version uses open-vm-tools package. Virtualbox version have own driver but this needs kernel-header, kernel-devel, gcc and libelf-devel packages for building driver.
KVM/QEMU version works without any changes. It is also fast with virtio-drivers.
OK...so I will ask this about the installation we've been discussing.
On workstation, what is the rngd (RNG entropy gatherer daemon) used for and why is it consistently chewing up ~43-49% of the processor time?
utility, servera, and serverb are running it, too (but not bastion and classroom).
Not surprisingly, workstation (for example) runs a lot better without it. Question: can this be (safely) shut down and masked?
{UPDATE} The environment has now been up for almost 3 hours and the rngd service is still running and taking up even more CPU time: ~58 - 70
More information about the rngd daemon...
A couple of more notes:
OK, more notes, especially for @ralii:
Due to an unfortunate set of circumstances, I ended up deleting an RH134 environment that was working under VMware (for those who are unaware, there are issues using the Windows Subsystem for Linux 2 if you are also using VMware Workstation).
https://tcpip.me/2020/11/14/vmware-workstation-nested-virtualization-and-wsl2-disaster/
Anway. I've been trying to get my RH134 environment reinstalled, and I'm running into the same problem as before... rht-f0finish is trying the resolve bastion*.example.com, as seen in a later screen shot.
So far, it seems like a dice roll where you have a 1-in-6 (or worse) chance of getting it to install "properly" -- without it having it try and resolve a bunch of bastion*.example.com FQDNs.
Now, what makes this odd is:
standalone rh134 was used...
the system confirms that it is in standalone mode...
yet, here it is trying to resolve bastion*.example.com
I've tried this a few times this morning, each time starting fresh. Some notes:
other notes:
And, for those who are curious, the script I'm using (I'm always fully aware that there are probably better was to write scripts).
I create it as /home/kiosk/bin/start and make it executable. Then, when opening a terminal on foundation0, just type start
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.