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. Seguro auto en linea Calcular seguro de coche online Cuanto esta el seguro de un auto Aseguradoras para carros Mejores seguros de coche a todo riesgo Seguro vehiculo Compra de seguros para autos https://segurodecocheenusa.store/south-gate-ca/ Cotizador automotriz Cotizar poliza todo riesgo Calcular seguro de coche online

  2. Cotizar seguro vehicular Seguros de coches clasicos Valor seguro carro Presupuesto seguro automotor Calcular seguro de coche barato Seguros de furgonetas baratos Seguro coche basico mas barato Seguros de coche a terceros baratos Seguro de automotores https://segurodeautoenusa.space/west-bloomfield-mi/ Responsabilidad civil seguro automotor Comparativa seguros de coches precios Valor seguro vehiculo Cuanto pago de seguro automotor Seguros de autos precios

  3. Seguros de furgonetas baratos online Consulta de seguros para autos Hacer seguro de coche Poliza de seguro automotor modelo Seguro coche mensual Busco aseguranza de carro Comprar seguro carro La caja seguros automotor telefono Que cubre el seguro automotriz Companias de seguros de motos https://seguroautomotrizenusa.space/yukon-ok/ Seguro obligatorio moto Automoviles seguros Telefono de la caja seguros automotor

  4. Empresa de seguro Simulador de seguro de vehiculo Buscador de seguros de coche online Seguro responsabilidad civil automotor precio Seguro contra todo riesgo vehiculos precios Seguro de transporte Nombres de empresas de seguros Seguros por internet Buscador de seguros Simulador seguro coche https://seguroautomotrizenusa.space/san-diego-ca/ Seguros usa Tipos de seguros de autos

  5. Contrato de responsabilidad civil automotor Seguro auto facil Comparativa coberturas seguros coche Simular seguro de auto Cuanto vale un seguro para auto Seguro coche nuevo Seguro auto en linea Precios de seguros de autos contra todo riesgo Entidades aseguradoras concepto https://segurodecarroenusa.store/lincoln-park-mi/ Seguros economicos Seguros baratos para coches Seguro contra todo riesgo vehiculos Agencia de seguros

  6. Comparador se seguros de coche Seguro todo riesgo Seguros contra todo riesgo para vehiculos Seguro coche a terceros Poliza de auto Nombres de aseguradoras de autos Sacar seguro de coche Carros de seguros baratos Empresa de seguros de autos Propuesta seguro coche https://segurodecocheenusa.store/suffolk-va/ Seguros de carros baratos Seguros para carros precios

  7. Cuanto cuesta seguro coche Aseguradoras de coches baratas Presupuesto de seguros Los seguros de coche mas baratos Presupuestos para seguros https://segurodecocheenusa.store/placerville-ca/ Cotizacion poliza todo riesgo vehiculo Ver seguros de coche Seguros de coches clasicos La caja seguros automotor Contratar seguro coche online

  8. Cotizacion seguro automotriz Agencia de seguros para autos Requisitos para seguro de auto Seguro carro usa Presupuesto para seguro de coche Seguro para autos viejos Requisitos para asegurar un carro Como funcionan los seguros para autos Oferta seguro automotriz Mejor aseguradora de coches https://seguroautomotrizenusa.space/tarpon-springs-fl/ Precios de seguros de autos contra todo riesgo Aseguranza coche Cotizacion de automoviles

  9. Seguros autos Mejor precio seguro coche Cuanto cuesta un seguro para Aseguranzas de autos baratas Simulador de coches online Que es un seguro vehicular Danos a terceros seguro coche Cotizar seguro auto provincia https://seguroautomotrizenusa.space/owasso-ok/ Comparar aseguradoras de coches El seguro mas barato para coche Marcas de seguros para autos Seguros a terceros baratos Simular seguro de auto

  10. Empresas de seguros Seguro de auto obligatorio Consulta de seguros para autos Precio seguro auto Seguros de furgonetas online Companias de seguros baratas Cotizar el seguro de mi auto Como conseguir un seguro de coche barato Simulador de seguros para autos Precios seguros de autos contra terceros https://segurodeautoenusa.space/johnston-ri/ Seguros contra todo riesgo para vehiculos Constancia seguro automotriz

  11. Seguros de autos precios La caja seguro automotor imprimir poliza Instituciones aseguradoras Aseguranza para carro barata Cotizar seguro automotor Seguro para autos viejos Franquicia automotor https://segurodecocheenusa.store/tavares-fl/ Seguro del carro Cotizar seguros Seguro de auto economico Seguro basico para auto Buscador seguros coche

  12. Carros aseguradora Valor seguro auto Los seguros de coche mas baratos Cotizar poliza de seguro Comparador seguros Comparador de seguros de coche Comparativa coberturas seguros coche Mejor seguro para coche Cotizacion de seguros para autos Costos de seguros https://segurodecarroenusa.store/riverton-wy/ Propuesta seguro coche Simulador seguro vehiculo Seguros de carros economicos

  13. Seguro de auto contra terceros Cotizador de seguros Que es un seguro vehicular Propuesta seguro coche Seguro coche barato y bueno Comparar precio seguro coche Comparar seguro auto Aseguradoras de vehiculos Poliza de auto Aseguranzas para carros en estados unidos https://segurodecocheenusa.store/guymon-ok/ Seguros de coche baratos Cual es el mejor seguro de coche

  14. Como funciona un seguro de auto Cia de seguros Poliza seguro auto Cotizar seguro automotriz Precio seguro coche todo riesgo Del seguro contra robos de autos Calcular seguro automovil Seguros mensuales para coches https://segurodeautoenusa.space/homestead-fl/ Seguro coche un mes Mediador de seguros Como funcionan los seguros de carros

  15. Seguros para autos cotizar en linea Buscador seguros coche Seguro todo riesgo Aseguradoras de coches baratas Cotizar seguro vehiculo online Costo de seguro de auto Cuales son los mejores seguros para autos Tipos de seguros para autos Todos los seguros de coche Cotizar poliza de seguro https://segurodecarroenusa.store/hamburg-mi/ Seguros coche baratos Seguro para carros Donde puedo comprar carros de aseguradora Que es el premio en un seguro automotor

  16. Aseguranzas baratas para autos seguros auto baratos Poliza contra todo riesgo vehiculos Cotizar seguro de vehiculo La caja aseguradora de autos La mejor aseguradora Contratar seguro coche por meses https://segurodeautoenusa.space/del-rio-tx/ Agencia aseguradora Seguro de coche a terceros mas barato Agencias de seguros de autos Seguros y reaseguros Cotizar seguro de coche

  17. Las empresas de seguros Cotizar seguro de vehiculo en linea Cotiza tu seguro online Companias de seguros de autos la caja Costo seguro vehicular Entidades de seguros Compara seguros Autos de aseguradora baratos Seguro coche barato online Comparativa seguros de coches precios https://segurodecarroenusa.store/chubbuck-id/ Seguro de moto online Seguro coche un mes

  18. Cotiza tu seguro online Cuanto vale el seguro de un carro Poliza de seguro coche Cuanto cuesta seguro auto Instituciones aseguradoras Cotizar seguro para auto Asegurar mi auto por internet Simular seguro de auto https://segurodeautoenusa.space/eden-prairie-mn/ Cuanto cuesta un seguro vehicular contra todo riesgo Marcas de seguros para autos Precios de aseguradoras de autos Cotizacion de seguro vehicular

  19. Requisitos para asegurar un carro Directorio de aseguradoras Linea directa seguros Seguros contra terceros para autos Tipos de coberturas de seguros para autos Cuanto cuesta seguro coche Nombres de aseguradoras de autos https://segurodeautoenusa.space/carlsbad-nm/ Precio seguro de coche Cuanto cuesta un seguro para Cotizacion de seguros para vehiculos

  20. Comparativa seguros coche Entidades aseguradoras El seguro de coche mas barato Cual es el mejor seguro de coche Seguros todo riesgo para carros Tipos de aseguranza para carros Seguros coche baratos por meses Seguro para terceros https://segurodecarroenusa.store/muscatine-ia/ Cotizar seguro de auto en linea Cuales son los mejores seguros de coche Cuanto vale un seguro de coche

  21. Seguros por internet Poliza de auto Entidades aseguradoras concepto Seguros online baratos Marcas de seguros de autos Mejor aseguradora de coches Comprar seguro carro Asegurar mi auto por internet Polizas de seguros para autos https://segurodecocheenusa.store/hugo-mn/ Cotizacion de aseguradoras de autos Poliza de seguro automotor modelo Asegurar carro

  22. Simular seguro de auto Aseguranza de autos Cotizar seguro automotriz online Seguro del carro Seguro ciclomotor Seguros de coche online Cotizador online Asegura tu carro Cuanto cuesta un seguro para auto Calcular seguro de coche online https://segurodeautoenusa.space/plainfield-mi/ Seguro para mi auto Asegurar mi auto online Mejor seguro automovil

  23. Asegurar vehiculo Comprobante de seguro automotor Buscador de seguros de autos Seguros a todo riesgo baratos Cotizacion on line de seguros automotor Calcular valor seguro automotor Promocion seguro automotriz Calcular seguro online https://segurodeautoenusa.space/millbrae-ca/ Seguro total para autos Cotizar carros Calcula tu seguro Aseguranza para carro barata

Leave a Reply

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