Upgrading SMB packages

Use these steps to upgrade IBM Spectrum Scale™ SMB packages.

Attention: All protocols must also be upgraded to the newer code level along with base GPFS™.

SMB package update in an IBM Spectrum Scale cluster is done in two phases. The protocol nodes in the cluster are divided in two halves and SMB is updated on each half one by one. In the following steps, NodeList1 is the comma-separated list of nodes in the first half in the cluster and NodeList2 is the comma-separated list of nodes in the second half of the cluster.

Note: All protocol nodes running the SMB service must have the same version of gpfs.smb installed at any time. This requires a brief outage of the SMB service to upgrade gpfs.smb to the newer version across all protocol nodes. The procedure outlined here is intended to reduce the outage to a minimum.
  1. On the first half of the protocol nodes, do the following steps.
    1. Issue the following command to suspend the nodes.
      mmces node suspend -N NodeList1
    2. Issue the following command to stop CTDB and SMB daemons on the nodes.
      mmces service stop smb -N NodeList1
    3. Issue the following command to upgrade the SMB package on each node in the first half of protocol nodes.
      rpm -Uvh gpfs.smb*.rpm
  2. On the second half of the protocol nodes, do the following steps.
    1. Issue the following command to suspend the nodes.
      mmces node suspend -N NodeList2
    2. Issue the following command to stop CTDB and SMB daemons on the nodes.
      mmces service stop smb -N NodeList2
  3. On the first half of the protocol nodes, do the following steps.
    1. Issue the following command to start CTDB and SMB daemons on the nodes.
      mmces service start smb -N NodeList1
    2. Issue the following command to resume the nodes.
      mmces node resume -N NodeList1
  4. On the second half of the protocol nodes, do the following steps.
    1. Issue the following command to upgrade the SMB package on each node in the second half of protocol nodes.
      rpm -Uvh gpfs.smb*.rpm
    2. Issue the following command to start CTDB and SMB daemons on the nodes.
      mmces service start smb -N NodeList2
    3. Issue the following command to resume the nodes.
      mmces node resume -N NodeList2