Building IBM Storage Scale portability layer after Linux kernel updates

Whenever the Linux® kernel is updated, you must update the IBM Storage Scale kernel module.

About this task

Before updating your Linux kernel module you must determine whether the IBM Storage Scale version installed in your system supports the new kernel. You can find information about these updates in the IBM Storage Scale product documentation.

The IBM Storage Scale kernel module should be updated any time the Linux kernel is updated. Updating the IBM Storage Scale kernel module after a Linux kernel update requires rebuilding and installing a new version of the module. Prior to updating the IBM Storage Scale kernel, download any updates to the IBM Storage Scale portability layer. The link to download updates to the IBM Storage Scale portability layer can be found in the IBM Storage Scale product documentation.

To build the portability layer after the Linux kernel update, run the following commands.

Procedure

  1. After updating the Linux kernel module, update the kernel-devel module that matches the updated kernel module by entering this command:
    yum update -y kernel-devel-<new_kernel_version>
  2. Take one of the following actions to restart the system:
    1. Perform a system reboot.
    2. Click Patterns and then click either Virtual Application Instances or Virtual System Instances. The Instances page for the select pattern type displays the list of deployed virtual instances that are currently available. Select the virtual instance that you want to manage, and then from the menu bar click Stop and then Start.
  3. Run this command to build the GPFS portability layer:
    su - gpfsprod -c 'sudo /usr/lpp/mmfs/bin/mmbuildgpl'
    1. If the command returns a GCC upgrade error, update GCC by running the following command:
      yum update gcc.x86_64
    2. Run the following command again to complete the process successfully:
      su - gpfsprod -c 'sudo /usr/lpp/mmfs/bin/mmbuildgpl'
    3. Start the node by running the following command:
      su - gpfsprod -c 'sudo /usr/lpp/mmfs/bin/mmstartup'
    4. Check whether all the nodes are in active state by running the following command:
      su - gpfsprod -c  'sudo /usr/lpp/mmfs/bin/mmgetstate -aL'