Rocky Linux 8.4 Ubuntu 21.04 (Hirsute Hippo) LXD host. (orignal AOC2024 install notes)
I had hoped that the new community supported downstream operating system based on Red Hats Enterprize Linux could take my work out of the nightmare of FC26 and Centos7. Since they run Dell Hardware, some of which is as old as our server hardware I thought it was an opportunity to test it as way forward. It failed miserably. But better to fail here where we aren't taking others with us and in ways that make us see the errors in our way.
- The original text in this document is plain text.
Where the text is no longer relevant its struck through.
- Corrections are in italics
- The new document for the server build will be at https://www.digithink.com/buildnotes/LXD-snapshot-host/
While bs2020 the candiate and kb2018 our Governer have served us well for the last few years its time for something new. Something community sourced, smart, and revolutionary. AOC2024
If Ubuntu's adoption of LXD and ZFS and other innovations are to mean anything they have to be separated from both debian (it's technical underpinnings) and Canonical (it's obnoxiously "freindly" commercial counterpart) or we will be captive to its "charms"(1). Meanwhile, the rpm based world has been completely paralized by Redhat's inability or unwillingness to provide a downstream open source project to use as a standard. This has created the disaster that is fedora 2x and the longest currently supported linux operating system ever (Centos 7 at a proposed 12 years). Redhat's choice to ditch Centos 8 and use the open source community to beta test their new features can not be described politely (2).
iswas our intention to support the community as it tells Redhat where to go while insuring that Debian and Ubuntu's innovations do not go to waste. Therefore, our new server will run Rocky Linux would have run Rocky Linux but because bug for bug means that it won't run on 10 year old enterprise class hardware, it will run the latest Ubuntu server release to create a robust and flexible server which will compliment the work done by our Ubuntu LTS based server.
Take advantage of Rocky Linux's downstream bug for bug compatibility with RHEL8
- Dell's support for its hardware is limited to commercial operating systems. Attempting to get their tools (raid, idrac, configuration etc) wedged into ubuntu is like needing a root canal. Apparently, in RHEL 8, Redhat and Dell only support what they are currently selling.
Use the tools that Ubuntu/Canonical has been supporting for virtualization.
- LXD for both VMs and lxc based containers.
- zfs, cause it rules.
Leave our comfort zones.
- And still do production quality work.
Minimal Viable Product.
In our environment, Bernie's primary function has been to provide a fallback to Kate's solid work. It has been our playground and our backup server. At a minimum the new server needs to provide an LXD server to test and backup our production containers and virtual machines. As a refence
we willtried to start at Rocky Linux's LXD server guide.
There are several factors that
we won't be able tocouldn't have considered until we arewere actually on the box. Like whether or not the ssd's will work well with the old raid controller.
The installer will find the disks presented by the raid controller.
The SSDs were fine, however Rocky is aptly named..
- Export images for ernest and the vm's teddy, and franklin.
- Pull archive disk and mount it's replacement on kb2018.
- Move teddy(dns2) to kb2018
- Pull the existing disks from bs2020.
- Put the ssds into the first two bays and configure the perc to make a single mirrored disk
Install rocky linux 8.4 from an iso a dvd or a thumb drive.Install newest ubuntu release 21.04 (Hirsute Hippo)
- BLDGP(3) at
https://docs.rockylinux.org/guides/lxd_server/the notes from the last lxd server we built combined with a document that I havent written yet
- Configure/test disks, lxd, and networking.
- Copy profiles and images from kb2018
- Add and configure ansible.
- Migrate teddy to its new home.
What actually happened.
- We exported the images and the lxd configuration to the archive disk as described in ticket: #79
- We unmounted the archive disk.
- We shutdown teddy and moved the container to kb2018
- We pulled and labled all of the disks on bs2020
- We installed two new 240G SSDs and two new 1TB 10K disks and configured the raid controller to make a raid 1 mirror of the ssds. (the bigger disks will be handled by zfs).
- We attempted for several hours to install rocky linux 8.4 on the system but could not get the operating system to recognize any installable disks. So, knowing that we would need to adapt whatever changes Ubuntu threw at us in the spring, we installed the newest server release 21.04 (Hirsute Hippo)
- We updated and installed the prerequisites for lxd/w zfs.
- We configured the network and disks needed to restore the lxd configuration.
- We restored the lxd configuration from the archive disk.
- We moved teddy back to the new lxd configuration.
- We restored the spare containers from the archive disk.
- Pulled the archive disk off sight.
- Configure ansible on the new server Ticket #81
- Update backup scripts to reference new server.Ticket #82
- Make backup scripts work with vms Ticket #58
- Script archives to create new off site rotating disk.Ticket #83
Footnotes / Sarcasms
- Snaps? Juju? Really????
- See: trumpery
- BLDGP/BLGDP = "Build it Like the Dad Gummed Plans". This is a reference to a 70s American Aircraft Modeler editorial on people building tri-planes out of plans for bi-planes and then wondering why they don't fly.
- Although thanks to LXD4 we are running Rocky Linux 8.4, along with Centos 7 and Freebsd. So failure is relative.