05 February 2020

CentOS8.1 (teaching an old server new tricks)

At Edinburgh we recently retired some old(er) storage servers from our Tier2.

These storage servers consist of a Dell Poweredge R610 with 2 RAID controllers.
A PERC H710 internal for managing the boot disks and a PERC H800 external which connects to 3 MD1200 DAS.

We still maintain very similar hardware on our Tier2 as part of our grid Storage Element and we've been considering skipping CentOS7 and jumping straight to CentOS8 on this hardware.

As an experiment I recently attempted an update from CentOS7 to CentOS8 on a VM recently. Whilst this  can be done in a Saturday I wouldn't recommend it as the resulting OS isn't really production stable. With that in mind a clean install is the way to go.

This would be simple if it wasn't for 1 gotcha. The RAID controllers on these servers are out of support in CentOS8: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8-beta/html/8.0_beta_release_notes/removed_functionality


This solution is to make use of the driver update images compiled by the nice people behind CentOS. These images allow the installer to pick up the 3rd party module and install it into your system as-if it were fully supported.

However following this proved to be problematic.
For CentOS8.0 the installer failed to identify the disks behind either controller, and on more than 1 occasion lead to either the kernel or the installer crashing.
(although admittedly we had also mis-configured this card in a minor way during this testing).

CentOS8.1 on the other hand worked out of the box with the following images:
> sha256sum dd-megaraid_sas-07.707.51.00-1.el8_1.elrepo.iso CentOS-8.1.1911-x86_64-dvd1.iso 
31a169d5eab1371893347c4d8482896e0fcc9b0a813b9210b1c0e77f68b09702 dd-megaraid_sas-07.707.51.00-1.el8_1.elrepo.iso 
3ee3f4ea1538e026fff763e2b284a6f20b259d91d1ad5688f5783a67d279423b CentOS-8.1.1911-x86_64-dvd1.iso

To get the installer to work you will need 2 drives to be connected to the system you want to deploy on.,

NB: Don't do the 'obvious thing' of burning the dud driver image to a disk. It will not work if you do this.

The following worked for me:
  1. Burn your CentOS8.1 install image
  2. Format a 2nd drive fat(msdos) and copy the dud driver dd-megaraid....iso to it
  3. Startup the install image
  4. Before you boot into the installer add the following to the boot command to boot the installer kernel:
    inst.dd 
  5. Now wait for the installer to ask for the dud driver. Navigate to the disk containing the iso, select it and continue to boot.
  6. Now perform your install as usual.

This isn't quite the full story as there was a minor gotcha which seemed to hit occasionally.

To fix the system not booting after a kernel update:
echo 'force_drivers+="megaraid_sas"' >>  /etc/dracut.conf.d/force_drivers.conf

The CentOS8 installer has changes in subtle but important ways compared to CentOS7 but nothing was scary other than on my first attempt being greeted by a GUI desktop thinking it was in New York because I was more focussed on my storage network configurations.

There are some unresolved problems with using non standard kernels such as kernel-ml and kernel-plus with 3rd party dkms drivers such as ZFS. However the out of the box kernel is 4.18 which is relatively recent and performs quite well form initial testing.

Next to test the performance of this as a mock storage node before we consider deploying these across the rest of our Tier2.

10 comments:

Blogger King said...

Most professional, delivering world-class best relocation in UAE, Movers and Packers Dubai and storage solutions at highly competitive market prices. As one of the leading moving companies in Dubai, including hiring furniture move, moving company in Dubai and international removals.

Blogger King said...

Leopard moving company is one of the Fast Moving Company in Dubai professional moving and packing company in Dubai. Many companies providing moving services with professional care and High Quality with experienced Staff, covered vehicles and affordable packers and movers in Dubai. Additional, don’t worry about your belongings. With a highly trained professional movers team, warehousing storage facilities, Fast Movers and Packers in Dubai and excellent transportation, we can take care of all your complete moving and packing procedures. As a trusted Movers, Customer satisfaction is our priority local movers and packers in Dubai Be when we take charge of your move.

https://www.leopardmoversdubai.com

ammarasliraf said...

Dubai glass works provides the high level of technical service and glass work Dubai support that has Company are well reputed in providing top of the line glass works maintenance and installation services to a fast growing establishment. We offer you the best quality Glass Company in Dubai and glass technical services with your required standard in Dubai. Mirror Supplier in Dubai.
http://www.dubaiglassworks.com

Expert Mover in Dubai said...

We’re a team of Expert Mover around the clock to fulfill client requirements and be among one of the best movers and packers in Dubai. We are a decent choice for your local movers in Dubai. We have widespread packers in UAE and offer a full range of services to suit everyone, from entities and relatives to businesses and corporations.

ammarasliraf said...

Care Maintenance services in Dubai that provides Maintenance and Glass Door repair in Dubai
Renovation the most basic and faradvanced aspects of everyday life. Our services include Window Repair in Dubai glass, mirror, handyman services in Dubai, carpenter in Dubai and Painting contracts.
https://www.caremaintenancedubai.com

Blogger King said...

Top Best packers and Movers, Furniture Moving Companies and International movers and packers in dubai is a perfect relocation company based in the Dubai. We offers Move-related services and Solutions at very competitive charges. Best Moving Company in Dubai, Sharjah, Ajman, Abu Dhabi, Al Ain, Umm Al Quwain, Ras Al Khaimah UAE.
http://www.topbestmovers.com

Renjith said...

Hi there,
Such a good and timely post about building relationships! and I apperciate this.
I have been putting on my blog and other social media as well.
Glass Company in Dubai
More-then 5 years of experience with an valuable reputation and reliability. We offer highest quality services as shower enclosure, shower scree installation, glass works in Dubai. Contact us for sandblasting planted glass with edge polishing and mirror Works in Dubai. IST Work LLC standing at the highest level of Dubai with professional glass supply and installation services.

budget city said...

Movers and packers in Ras Al Khaimah

Movers and packers in Ras Al Khaimah play a pivotal role in simplifying the process of relocating homes or businesses in this picturesque emirate of the United Arab Emirates. Ras Al Khaimah, known for its stunning landscapes and growing urban community, attracts residents and entrepreneurs from all over the world. When it comes to moving within or into Ras Al Khaimah, professional movers and packers offer essential services to ensure a smooth transition.

These experts provide a comprehensive range of services tailored to meet the specific needs of their clients. Whether you're moving to a new villa, apartment, or office space in Ras Al Khaimah, movers and packers ensure that your belongings are carefully packed, securely transported, and efficiently unpacked at your new location. Their meticulous attention to detail and use of high-quality packing materials protect your possessions during transit.

Lawrancemalta said...

The blogs contains useful information on moving and packing. If you are looking forMovers and Packers Dubai, you can avail our service.

Local Movers in Dubai said...

While selecting the best self storage services in Dubai, you must be aware that they no longer charge any greater or hidden costs.