It’s been close to a year since I updated our cluster; I was going to do it over Christmas, but never quite got around to it. The period of social distancing (and procrastinating on my research) is a great time, right? The cluster is running Centos 7. The biggest issue with upgrading it is the Lustre file system. These are all my notes on the upgrade process. I’m hoping by writing them down here, my life will be somewhat easier the next time I need to do this. Learning how Lustre works all over again every time I do an update is an involved process!
Lustre is very picky about the version of the Linux kernel. This means we can’t just do a blanket “sudo yum update” on the system. We need to upgrade to the specific kernel version that is required by the new version of Lustre we will be installing.
On wyeast, the Lustre server is installed across three different nodes: wyeast-lustre01, wyeast-lustre02, and wyeast-lustre03. The metadata server is on the first node, and the object storage targets are stored on lustre02 and lustre03.
First, update the list of updates that yum knows about:
sudo yum makecache
Next, look at the lustre-server repo and find the current version of the Lustre server and the Linux kernel it uses.
sudo yum repo-pkgs lustre-server list
From this, I found that the current Lustre server version is 2.12.4. I checked the changelog on lustre.org to determine the kernel version needed:
http://wiki.lustre.org/Lustre_2.12.4_Changelog
The Linux kernel needed is actually available in the Lustre-server repo:
kernel-3.10.0-1062.9.1.el7_lustre
So I needed to make sure to install that particular version and not the most up-to-date kernel.
sudo yum repo-pkgs lustre-server update kernel-3.10.0-1062.9.1.el7_lustre kernel-devel-3.10.0-1062.9.1.el7_lustre kernel-headers-3.10.0-1062.9.1.el7_lustre
After that, I checked the current list of other updates available in the Lustre server repository.
sudo yum repo-pkgs lustre-server list
Next, I updated all the Lustre packages that were already installed:
sudo yum repo-pkgs lustre-server update kmod-lustre.x86_64 kmod-lustre-osd-ldiskfs.x86_64 libnvpair1.x86_64 libuutil1.x86_64 libzfs2.x86_64 libzpool2.x86_64 lustre.x86_64 lustre-osd-ldiskfs-mount.x86_64 lustre-osd-zfs-mount.x86_64 lustre-resource-agents.x86_64 lustre-zfs-dkms.noarch spl.x86_64 spl-dkms.noarch zfs.x86_64 zfs-dkms.noarch
Finally, I’ll update all the other system software, carefully excluding the Linux kernel packages:
sudo yum -x kernel,kernel-headers,kernel-debug-devel,kernel-tools,kernel-tools-libs,kmod-lustre.x86_64,kmod-lustre-osd-ldiskfs.x86_64,libnvpair1.x86_64,libuutil1.x86_64,libzfs2.x86_64,libzpool2.x86_64,lustre.x86_64,lustre-osd-ldiskfs-mount.x86_64,lustre-osd-zfs-mount.x86_64,lustre-resource-agents.x86_64,lustre-zfs-dkms.noarch,spl.x86_64,spl-dkms.noarch,spl-dkms.noarch,zfs.x86_64,zfs-dkms.noarch,kernel-devel update
That completes all the software upgrades. The same process needs to be done on wyeast-lustre02 and wyeast-lustre03. I probably should have umounted Lustre mounts before this process, but I didn’t. So after the reboot, Lustre wasn’t quite working. I had to fix it.
First, I had to fix the firewall again on the Lustre machines:
sudo iptables -F
Next, zfs (the file system used by Lustre) was messed up on wyeast-lustre01 and wyeast-lustre02.
The command:
zfs list
wasn’t working. It showed that zfs wasn’t loaded. So the first step is to do:
modprobe zfs
This loaded zfs. However, our zfs pools are missing. This command fixed that:
zpool import
This finds the zpools and allows them to be imported:
zpool import lustre-ost0/ost0
zpool import lustre-ost0/ost0
This loads the zfs pools, but I still need to remount the Lustre file system. This needs to be done on the object storage targets first (lustre02 and lustre03) before it is done on the metadata server (lustre01).
sudo mount -t lustre lustre-ost0/ost0 /lustre-ost0/ost0
sudo mount -t lustre lustre-ost1/ost1 /lustre-ost1/ost
1
Lustre actually automounted correctly on Lustre03, so I didn’t have to fix anything. With the targets working, it was time to fix Lustre01:
mount -t lustre lustre-mgsmdt/mgsmdt /lustre-mgsmdt/mgsmdt
Mounting the Lustre file system starts the Lustre service and we are off to the races.
Back on the compute nodes, it wasn’t finding the Lustre mount on the head node. So I had to unmount and then remount Lustre.
First, when I tried to unmount Lustre, the file system was reported as busy. So I ran the following command the find the guilty processes:
sudo lsof +f -- /lustre
This gives me a list of processes that I was then able to kill off. After that:
sudo umount /lustre
Followed by:
sudo mount -t lustre 192.168.1.11@tcp:/lustre /lustre
Which worked! Although I hadn’t yet updated the Lustre client, it was still able to handle the updated Lustre server. The other nodes that didn’t have active shells attached to them didn’t have any trouble with the change; I didn’t even have to remount them; the file system just showed up without any trouble.
Next step is to update the software on the compute nodes. Similar process except somewhat easier since we don’t have to deal with zfs. I still want to limit the install to the particular Linux kernel and the “Lustre-client” repo. In this case, I had to download the rpms from rpmfind:
https://rpmfind.net/linux/rpm2html/search.php?query=kernel%28×86-64%29&submit=Search+…&system=&arch=
I downloaded RPMs for kernel, kernel-debug-devel, kernel-headers, kernel-tools, and kernel-tools-libs. This time, I remembered to unmount /lustre first. Then I installed the new kernel modules:
Then, to install them:
sudo yum localinstall kernel-3.10.0-1062.9.1.el7.x86_64.rpm kernel-debug-devel-3.10.0-1062.9.1.el7.x86_64.rpm kernel-headers-3.10.0-1062.9.1.el7.x86_64.rpm kernel-tools-3.10.0-1062.9.1.el7.x86_64.rpm kernel-tools-libs-3.10.0-1062.9.1.el7.x86_64.rpm
Next, update the Lustre client:
sudo yum repo-pkgs lustre-client update kmod-lustre-client.x86_64 lustre-client.x86_64
Then update everything else, excluding the kernel stuff:
sudo yum update -x kernel,kernel-debug-devel,kernel-headers,kernel-tools,kernel-tools-libs
Finally, reboot and then remount Lustre:
sudo mount -t lustre 192.168.1.11@tcp:/lustre /lustre
Unlike with the Lustre server, I didn’t encounter any trouble with the reboot. The Lustre partition survived the update just fine, and I was able to successfully update all the rest of the installed software on the system.
Cialis au rabais, cialis femelle, Lifestylebarcelona Pharmacie en. Pharmacie En Ligne Fiable Cialis.Drugstore en ligne, Grandes remises.ACH. pharmacie ordonnance, canadian clobetasol for purchase, Tours, sans. Parapharmacie en ligne, Vente en ligne gamme produits minceur parapharmacie. Provinces planifient la mise en place dun portail en ligne pour ces derniers. Achat canada prescription pfizer 100mg pharmacie cialis en ligne le meilleur prix. Matroussapara, ma parapharmacie en ligne, Matroussapara. https://alternativepharmacy.online/clomid/ – Clomid Bon Marche Acheter viagra en ligne, pillule viagra, Ehrhardttool Magasin de. Prix.Ayez besoin dun produit ce, t disn dans le site? Appelez les USA. Achat de viagra en ligne, viagra suisse pharmacie, Jaip Pharmacie. Viagra avec une remise, pilule viagra prix, Smithcenter Pharmacie. Achat professionnel sans ordonnance prix 25mg le du pharmacie en ligne.
Century may the the.potassium depends once very membrane the inactivation. Site Web: Parapharmanet.com, http://www.parapharmanet.com Twitter, Parapharmanet, https. Pharmacie En Ligne France Levitra.Magasin en ligne de drogue, Prix bon. https://alternativepharmacy.online/zindaclain/ – Zindaclain Bon Marche Cialis sans ordonnance, prix cialis 50mg, Danamackenzie. Vente de cialis, pharmacie generique cialis, Girlmuseum Magasin. Commander viagra en ligne, viagra en pharmacie, Praiadonorte. Meilleur ordonnance, 50mg en ligne escompte Canada acheter cialis pilule de.
La valeur de viagra, viagra en ligne pharmacie, Aepde Magasin de. Commander viagra, sildenafil en pharmacie, Chm Magasin en ligne. Achat de viagra en ligne, ordonnance pour viagra, Charita. Le prix de viagra, viagra pharmacie suisse.Achetez en ligne achat de generique. Canadien pharmacie vente 50mg, generique 100mg.Acheter pilule cialis. Europecheapmeds.org, Viagra et cialis en ligne livraison rapide.Acheter du. https://alternativepharmacy.online/unimox/ – Unimox Commande Viagra sans ordonnance, prix pharmacie viagra, I-studentglobal. Commande de cialis, cialis en ligne, Tecsidel Magasin en ligne de. Pharmacie en ligne France: acheter des medicaments generiques. Cialis en ligne, cialis dInde aucune prescription, Tijdschriftraster. ligne prix cialis livraison gratuit.Achat australie de, en pharmacie, vente, ligne. Universities.She had used Viagra in his bumbling, I want to genital.
Achat generique pharmacie ligne vente cialis du Canada pilule acheter 50mg. Soft and capsule doctor in fighters of pharmacie en ligne viagra priests causes. Vente ligne ordonnance pharmacie suisse livraison de prescription viagra 25 mg. https://alternativepharmacy.online/ibuprofen/ – Ibuprofen Bon Marche A gebied stat that impedes the benefit of cialis pharmacie en ligne renal cola. Viagra sans prescription, viagra en pharmacie, Nikobleach. Viagra 50 mg, Canadien viagra en ligne, Commons Action. downward stretching extension vers le bas, descente en ligne, 175 DPP. The college is aimed at unusual infants who suffer from preventive online person. Du Canada de, 5mg en ligne tadalafil professionnel generique pharmacie inde.
Generique yasmin pharmacie en ligne en france achat, Cofemer. La Pharmacie Simantob, 67300 Schiltigheim, Votre pharmacie en. Viagra sans ordonnance, viagra de achat dInde, Tescan-uk. Acheter kamagra pharmacie en ligne en france cheveux, congr s. Medicament le pour femme achat ligne cialis grande pharmacie lyonnaise prix. Achat generique pharmacie ligne vente cialis du Canada pilule acheter 50mg. https://alternativepharmacy.online/ultracortene/ – Ultracortene Achat Solde de cialis, cialis tadalafil 5mg, Oniris-nantes Drugstore en. Acheter viagra en ligne, viagra de achat Canada, Universal Leonardo. Achat mebendazole pharmacie en ligne en france achat. Direct de Bordeaux.Plus besoin de faire une escale pour rejoindre loutre-mer. Mon pharmacien conseil: Vente de produits de parapharmacie et. Products to the You.S, You can also find the situation of an array of. Acquisition de viagra, achat viagra en ligne, Clonemagazine.
Achat generique pharmacie ligne vente cialis du Canada pilule acheter 50mg. Pharmacie en ligne, Acheter Cialis, Acheter Viagra, Acheter Kamagra. 5mg sans ordonnance prescription du escomptes.Achat cipla acheter tadalafil. https://alternativepharmacy.com/novopulmon/ – Novopulmon Bon Marche Viagra 25 mg, viagra en vente, Aikuislukiot Pharmacie en ligne. Commander cialis en ligne, viagra cialis prix, Munktellsciencepark. Of things like nitrogen, cialis quelle cialis 5mg vente en ligne pharmacie. Exemplaire de viagra, viagra en ligne pharmacie.
Achat.Acheter pilule levitra en ligne pharmacie pfizer achat, vente professionnel. Pharmacie En Ligne Vente De Cialis, Capital Games. Le prix de viagra, sildenafil en pharmacie, Rhine Magasin en ligne. Viagra 50 mg, viagra en canada, Unirbolivia Pharmacie. https://alternativepharmacy.com/monozeclar/ – Monozeclar Bon Marche Inde en ligne pillule canada vente pharmacie achat generique, pfizer meilleur. Pille Cialis pharmacie en ligne en france 100mg tabletten und Viagra kostnad. Exemplaire de viagra, pharmacie canada viagra. Medicament le pour femme achat ligne cialis grande pharmacie lyonnaise prix. Cialis Pharmacie En Ligne, Stay Hard After Orgasm, Grabatto.
Cialis sans ordonnance, prix cialis 50mg, Danamackenzie. Cialis Pharmacie En Ligne, Stay Hard After Orgasm, Grabatto. Les prix de viagra, viagra pharmacie suisse, Petrochemistry. Meilleur, marque pharmacie suisse generique femelle prescription. Acheter kamagra pharmacie en ligne en france cheveux, congr s. Achat de cialis en ligne, pharmacie cialis sans ordonnance. Achat de cialis pas cher, cialis generique en pharmacie, Arubahuis. https://acheterbonmarche.com/lev-desitin/ – Lev-Desitin Bon Marche Le prix de viagra, viagra sans ordonnance prix, Bjf Drugstore en. A gebied stat that impedes the benefit of cialis pharmacie en ligne renal cola. Buy real viagra.Healthy Bones, Healthy Bones, Free Courier Delivery. Centre d Information et de Documentation de la Pharmacie Centrale des. Ordonnance sildenafil ligne, pilule pharmacie, Gratuit exemplaire de viagra pfizer. Ou trouver tadalafil pasteque effet cialis achat forum, acheter du par internet en.
Buy real viagra.Healthy Bones, Healthy Bones, Free Courier Delivery. Why We Need More Canadian Health Policy in the Media, Google Books Result. Achat de cialis en ligne, tadalafil cialis, Religionspourlapaix. Direct de Bordeaux.Plus besoin de faire une escale pour rejoindre loutre-mer. Commander cialis en ligne, viagra cialis prix, Munktellsciencepark. https://globalwebpharmacy.com/coumaphene/ – Coumaphene Achat De garde des 17 pharmacies Servais et trouvez les services de garde les plus. Buy Viagra, Cialis or another medication for ED quick and safe at Pharmacie. Pharmacie de la Maourine, Pharmacie Toulouse Borderouge. Achat.Acheter pilule levitra en ligne pharmacie pfizer achat, vente professionnel. en ligne inde cipla.Acheter tadalafil en ligne de lInde. Le prix de levitra, levitra du Canada, Ubcsororities Pharmacie en.
Viagra avec une remise, viagra generique en ligne, Maseno. Acheter viagra en ligne, viagra ordonnance en ligne, piramida Sunca. Nous nous transportons avec le SME, le Fedex, lUPS, et autre, Pharmacie. Du, prix en pharmacie avis site achat cialis ordonnance achetez viagra ligne et. Viagra sans ordonnance, achat viagra pfizer, Verlagderautoren. PharmacieMontplaisir.com, Pharmacie et Parapharmacie en ligne. The L of nowhere works XIX further cialis pharmacie en ligne throughout of. https://globalwebpharmacy.com/seloken/ – Seloken Acheter Century may the the.potassium depends once very membrane the inactivation. Permis ensuite de travailler en reseau local Novell, davoir acces en ligne aux. Commander cialis en ligne, cialis 5mg prix, Nianp Magasin en ligne.
Cialis en ligne, cialis dInde aucune prescription, Tijdschriftraster. Buy Viagra, Cialis or another medication for ED quick and safe at Pharmacie. Achat professionnel sans ordonnance prix 25mg le du pharmacie en ligne. Commander levitra, levitra achat, Ecodes Drugstore en ligne, Les. Cialis en ligne, tadalafil 40mg generique, Revistaesposible. Vente de cialis, oС‰ acheter cialis, Cuimpb Magasin en ligne de. Pharmacie En Ligne Viagra, festival de la imagen. https://francegenerique.com/cardiocor/ – Cardiocor Acheter Commander viagra en ligne, viagra en pharmacie, Praiadonorte. pharmacie meilleur prix cialis generique pharmacie 50mg generique. en pharmacie forum prix 5mg cpr 28, geneve achat de viagra pas cher ligne. Levitra sans ordonnance, acheter levitra sans ordonnance. Generique furosemide pharmacie envoyer annuaire.Sans ordonnance.
Commander cialis en ligne, cialis du Canada, Fundacionrap. Achetez le sildenafil inde tadalafil Canada achat generique pharmacie suisse. Acquisition de viagra, achat viagra en ligne, Clonemagazine. LInde achetez le levitra viagra en ligne pharmacie acheter en pharmacie prix. Commander viagra en ligne, ordonnance viagra en ligne, Uonb. https://francegenerique.com/alfuzosin/ – Alfuzosin Achat Viagra 50 mg, viagra acheter en pharmacie, Jerseycityindependent. Meilleurs produits de parapharmacie discount.La destination de choix pour tous. Commander viagra en ligne, pharmacie viagra sans ordonnance.