Upgrading the package repository

This topic describes how to upgrade the SAN File System package repository on a metadata server engine.

Prerequisites

You must be logged in with root privileges to upgrade the package repository.

Context

The SAN File System package repository holds all the packages needed to install the various SAN File System software components, including the metadata server, the administrative server, and all clients. By default, these packages are installed in /usr/tank/packages.
You need to perform this procedure on each metadata server engine in the cluster.
Note:
  • A single up-to-date package repository can be used to serve packages to the entire SAN File System. However, to avoid the accidental installation of down-level packages and for high availability, it is recommended that all copies of the package repository be kept up to date.
  • If the name of the updated package has not changed since the previous version, the package is overwritten. To keep backup copies of old packages, you should copy them from /usr/tank/packages to some other location.

Steps

  1. Make sure the CD-ROM drive is mounted and insert the SAN File System CD-ROM into the CD-ROM drive.
  2. If you have all engines attached to a single KVM, switch the monitor to this engine. Otherwise, establish an SSH session from the master console to the engine.
  3. Determine the version of the currently installed package repository.
    rpm -qa |grep sfs
  4. If the new package repository name is different than the existing package repository, remove the existing package repository.
    rpm -e existing_package_repository_name
  5. Install the new package repository.
    rpm -Uvh new_package_repository_name
    For example:
    rpm -Uvh sfs-package
    Note: To review the contents of the package before installing it, use the following command:
    rpm -qpl package_repository_name

Postrequisites

Continue with the next metadata server in the cluster until you have upgrade the package repository on all metadata server engines.

Parent topic: Upgrading the SAN File System from Version 2.1

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.