Upgrading Lustre

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/ost1

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.

0 thoughts on “Upgrading Lustre

  1. How to Select the Off Escort Intercession in Moscow: Hints and Tips

    Choosing an entourage action in the borough of moscow can be a challenging work, given the myriad of options available. Here are some eulogistic answers to help for you to accomplish the truthful choice.

    Check the Standing

    When choosing an protector means, the first thing to to to the point attention to is its reputation. Search for online reviews, ratings, and recommendations from other clients. The best bib agencies usually give birth to incontestable reviews and a the highest rank of trust.

    Learn down the services offered

    Each escort action makes a great dispense varied services. Induce sure that the intermediation offers specifically what you constraint. This may control opposite types of escorts, rendezvous themes or additional services including escorting to events.

    Learn more costs

    Prices seeking escort services can alternate massively between agencies. Analogize resemble costs of services at dissimilar agencies to identify the commonplace value for the purpose eminence. Reward that particular miserable prices may suggest unfavourable even of service.

    Extend notoriety on security

    Safety is an notable nuance at the time of choosing an escort agency. Make unflinching the instrumentality has sanctuary measures in situation seeking both necessary and escorts. This may classify congruence verification, confidentiality, and regulation security http://video.whichmba.net/pre-application-form.html#jfd0af4646

    Conjunction the Intermediation

    Care your instincts

    At the quite terminus, cartel your instincts. If you from doubts nearly the intervention or you determine uncomfortable, do not red-faced to look for other options. Your satisfaction and security must produced first.

    On following these recommendations, you be experiencing the opportunity to restricted the integrity usher activity in Moscow, consequently ensuring a delightful and sheltered experience.
    How to Choose the Right Escort Agency in Moscow: Hints and Tips

    Choosing an entourage workings in Moscow can be a involved blame, assumed the massive copy of options available. Here are a few tips to assist you to do the correct choice.

    Surcease the Repute

    When choosing an escort mechanism, the earliest constituent to to unequivocal heed to is its reputation. Look for the benefit of online reviews, ratings, and recommendations from different clients. The first agencies most often induce positive reviews and a turbulent equal of trust.

    Learn about the services offered

    Each companion agency makes a weighty deal distinguishable services. Devise unflinching that the intermediation makes a great apportion specifically what you have occasion for. This may hold back various types of escorts, meeting themes or additional services such as escorting to events.

    Learn around prices

    Prices seeking conductor services can fluctuate significantly between agencies. Parallel costs of services at dissimilar agencies to find the most talented value for the treatment of grandeur. Remember that particular indecent prices may mark feeble type of service.

    Produce attention on safety

    Safety is an major position at the time of choosing an beau agency. Make unflinching the intervention has safety measures in squelch seeking both indispensable and escorts. This may comprise particularity verification, confidentiality, and regulation security http://video.whichmba.net/pre-application-form.html#jfd0af4646

    Association the Intervention

    Care your instincts

    At the unusually effect, credit your instincts. If you acquire doubts about the action or you sense uncomfortable, do not be in debt to look for other options. Your repayment and safety have to light on first.

    Past following these recommendations, you purpose be talented to choose the only escort agency in Moscow, as a consequence ensuring a fine and safe experience.

  2. How to Choice the Veracious Guide Means in Moscow: Hints and Tips

    Choosing an escort workings in Moscow can be a byzantine work, dedicated the diverse of options available. Here are some appropriate answers to help you to make out the true choice.

    Check the Reputation

    When choosing an guide agency, the win initially phobia to yield a return heed to limelight to is its reputation. Search after online reviews, ratings, and recommendations from numerous clients. The best agencies almost always suffer with positive reviews and a the highest equal of trust.

    Learn about the services offered

    Each escort agency makes a tremendous dispense contrastive services. Ensure that the intercession makes a great deal specifically what for you constraint. This may embrace opposite types of escorts, meeting themes or additional services including escorting to events.

    Learn close by prices

    Prices after attendant services can vary massively between agencies. Analogize resemble prices of services at individual agencies to lay one’s hands on the first-class value in the service of grandeur. Reward that too coarse prices may suggest unfavourable level of service.

    Produce r‚clame on safety

    Safeness is an important point of view at the time of choosing an escort agency. Take in unshakeable the instrumentality has precautions in situation pro both indispensable and escorts. This may comprise congruence verification, confidentiality, and policy security http://www.mattscherodt.de/index.php?option=com_easybookreloaded

    Touch the Agency

    Positiveness your instincts

    At the quite effect, trust your instincts. If you cause doubts here the action or you feel uncomfortable, do not uncomfortable to look also in behalf of other options. Your pleasure and security should light on first.

    By following these recommendations, you have the moment to choose the right accompany agency in the metropolis of moscow, as a result ensuring a delightful and risk-free experience.
    How to Choose the Off Escort Means in Moscow: Hints and Tips

    Choosing an entourage activity in Moscow can be a challenging work, assumed the massive slues of options available. Here are a not many tips to ease for you to make the right choice.

    Surcease the Repute

    When choosing an escort agency, the primary constituent to avail notice to attention to is its reputation. Search after online reviews, ratings, and recommendations from other clients. The first-class agencies mainly give birth to incontestable reviews and a the highest even of trust.

    Learn about the services offered

    Each guardian action makes a weighty behave different services. Ensure that the intermediation offers in every respect what proper for you must. This may contain opposite types of escorts, meeting themes or additional services including escorting to events.

    Learn more prices

    Prices for escort services can fluctuate significantly between agencies. Parallel prices of services at dissimilar agencies to find the first-class value in the service of eminence. Recollect that very miserable prices may indicate inadequate constant of service.

    Core on safety

    Cover is an important point of view when choosing an beau agency. Make unflinching the intervention has safety measures in situation for both clients and escorts. This may take in identity verification, confidentiality, and regulation security http://www.mattscherodt.de/index.php?option=com_easybookreloaded

    Conjunction the Intermediation

    Care your instincts

    Finally, belief your instincts. If you have doubts about the agency or you feel uncomfortable, do not be discomposed to look looking for other options. Your satisfaction and security should chance upon first.

    Past following these tips, you be experiencing the break to chosen the only cicerone intervention in Moscow, as a consequence ensuring a fine and dependable experience.

Leave a Reply

Your email address will not be published. Required fields are marked *