Apply qualified node patches using actions from package managers, such as zypper and yum, on nodes using repositories shared from the SMW.
Enable the live updates service in the config set by editing the cray_liveupdate_worksheet.yaml file. Uncomment cray_liveupdate.enabled and set it to true.
A live update is an update that can be applied to running nodes. Live updates use package managers, such as zypper and yum, to install updated content on booted nodes. Live updates can be applied to both service nodes and compute nodes.
The INSTALL script for a patch updates the package repositories and node images on the SMW. When a patch can be applied with live updates, the patch script and README file provide further instructions to the administrator to properly update the images on the relevant booted nodes.
- Make a directory on the SMW (if it does not already exist) to hold any patches that may be available on CrayPort.
smw# mkdir -p /var/opt/cray/patchsets
- Download patches to the patchsets directory on the SMW, as described in the release notes. The default location is /var/adm/cray/release/patchsets.
- Run the LOAD script that is included in the patch.
A
LOAD script usually does following setup tasks:
- Creates a SMW file system snapshot (optionally)
- Backs up the Node Image Mapping Service (NIMS) active map
- Backs up the CLE and global config sets
- Mounts the patch ISO image file
- Copies the RPMs from the ISO to the appropriate repositories on the SMW
- Refreshes the repository metadata
- Copies patch instructions and support files to /var/opt/cray/patchsets/patchset_directory
- Follow the instructions in the /var/opt/cray/patchsets/patchset_directory/README file.
An INSTALL script in the patch directory performs the necessary tasks to get the patched code into the appropriate system images. This script will print further instructions required to get the patch changes onto the affected system nodes.