Upgrading IBM Storage Scale nodes that run on AIX
Use these steps to upgrade IBM Storage Scale nodes that run on AIX®.
Before you begin
Before you start, make sure to comply with Software requirements.
Procedure
- On the node that you are upgrading, stop all user and applications activities in the IBM Storage Scale file systems.
- Back up your file systems. Important: Creating a backup of your file systems is crucial to help ensure that your data is protected.
- If file systems are mounted on the node, issue the mmumount command to
unmount them.
Warning: Do not use the -f option of the mmumount command.
- Shut down IBM
Storage Scale on the node.
- Issue the following command to shut down IBM
Storage Scale.
mmshutdown -aNote: Postinstallation scripts of an IBM Storage Scale upgrade handle mmccrmonitor and othermmprocesses, so you do not need to close them. - Corroborate that IBM
Storage Scale is
turned off.
mmgetstate -aLIn the output, the GPFS status column must report down.
- Issue the following command to shut down IBM
Storage Scale.
- If you do not plan to restart the nodes after the upgrade, verify that the GPFS daemon is
stopped and that the kernel extensions are unloaded.
mmfsenv -uNote:- The mmfsenv -u command is normally used with assistance from support or for cases where its usage is documented such as in this scenario.
- The mmfsenv -u command checks only the local node from which it is run, not all the nodes in the cluster.
If the kernel extensions are unloaded, you get an output similar to the following example:mmfsenv -u GPFS: 6027-501 /usr/lpp/mmfs/bin/mmfskxunload: module /usr/lpp/mmfs/bin/mmfs unloadedIf the kernel extensions are unloaded, you can continue with the upgrade and no restart of the node is necessary to be able to use GPFS.
If the kernel extensions are still loaded, you get a Device busy error, similar to the following example.mmfsenv -u sysconfig(SYS_CFGKMOD-term): Device busyIf the kernel extensions are still loaded, you can continue with the upgrade. However, to be able to use GPFS, you must wait until the node is restarted or the error is cleared.
Troubleshooting: The Device busy error occurs when a process or an open file is keeping GPFS busy, thus preventing the kernel driver from unloading. The solution is to wait until after the installation is complete and then restart the node by using shutdown or reboot commands. For more information about these commands, see shutdown command and reboot or fastboot command in IBM AIX documentation. Alternatively, if you can identify the process that is keeping the kernel extensions busy, stop or end that process and then retry mmfsenv -u. - Download the installation package for the target version of IBM
Storage Scale licensed programs package from IBM Fix Central.
The package name is Storage_Scale_<edition>-<target_version>-<architecture>-AIX-update.tgz. For example: Storage_Storage_Scale_Advanced-5.2.3.7-ppc64-AIX-update.tgz.
- Prepare the files for the upgrade.
- Copy the installation images to a temporary location.
# cd /tmp/scale_<target_version> # ls -ltr total 90232 -rw-r--r-- 1 root system 46197337 May 30 07:42 Storage_Scale_<edition>-<target_version>-<architecture>-AIX-update.tgz - Decompress the file.
# gunzip Storage_Scale_<edition>-<target_version>-<architecture>-AIX-update.tgz # ls -ltr total 209128 -rw-r--r-- 1 root system 107069440 May 30 07:42 Storage_Scale_<edition>-<target_version>-<architecture>-AIX-update.tar - Extract the TAR file.
# tar xvf Storage_Scale_<edition>-<target_version>-<architecture>-AIX-update.tar
- Copy the installation images to a temporary location.
- Upgrade the node to a new version of IBM
Storage Scale.
- Create the .toc file that is necessary to run the
installp command.
# pwd /tmp/scale_<target_version> # inutoc . # ls -ltr - Install the packages of the target version of IBM
Storage Scale.
# installp -acgXd /tmp/scale_<target_version> all - Verify that the target version is installed.
# lslpp -l | grep gpfs
- Create the .toc file that is necessary to run the
installp command.
- One by one, update all the nodes by following steps 6 through 8 on them.
- Start IBM
Storage Scale on the node by issuing
the following command:
# /usr/lpp/mmfs/bin/mmstartup -a - Check the status of the cluster.
# /usr/lpp/mmfs/bin/mmgetstate -aLIn the output, the GPFS status column must report active.
- Corroborate that the target version is the one that is running on the cluster.
# /usr/lpp/mmfs/bin/mmdiag --versionIn the output, check the value for Current GPFS build.
- Mount any file systems that are not mounted automatically when the IBM Storage Scale daemon starts.