2.3 Upgrading Moab

Depending on which version of Moab you are presently running, upgrade instructions may vary.

Upgrading Moab may require changing the database. Please see the README.database file included in the Moab distribution for specific version information. Also, please see Migrating Your Database to Newer Versions of Moab for specific details on migrating your database.

You might want to test the newest version of Moab on your system (before making the new version live) to verify your policies, scripts, and queues work the way you want them to.

The following instructions will guide you through a 6.1 to 7.0 upgrade.

To upgrade Moab

  1. Untar the distribution file.
    > tar -xzvf moab-7.0.0.tar.gz
    
  2. Navigate to the unpacked directory.
    > cd moab-7.0.0
    
  3. Configure the installation package.

    Use the same configure options as when Moab was installed previously. If you cannot remember which options were used previously, check the config.log file in the directory where the previous version of Moab was installed from.

    For a complete list of configure options, use ./configure --help.

  4. Stop Moab.

    The Moab server must be stopped before the new version is installed.

     > mschedctl -k
    moab will be shutdown immediately
    
    NoteWhile Moab is down:
    • All currently running jobs continue to run on the nodes.
    • The job queue remains intact.
    • New jobs cannot be submitted to Moab.
  5. Install Moab.
    > sudo make install
    
    NoteMoab should be installed by root. If you cannot install Moab as root, please contact Customer Support.
  6. Verify the version number is correct before starting the new server version.
     > moab --about
     
    Defaults:   server=:42559  cfgdir=/opt/moab  vardir=/opt/moab
    Build dir:  /home/admin01/dev/moab/
    Build host: node01
    Build date: Tue May 17 16:38:27 MST 2011
    Build args: NA
    Compiled as little endian.
    Version: moab server 7.0.0 (revision 992)
    Copyright 2012 Adaptive Computing Enterprises, Inc., All Rights Reserved
    
  7. Start Moab.
    > moabd
    

2.3.1 Upgrading the Moab Database

The Moab database schema might change from release to release. Please see Migrating Your Database to Newer Versions of Moab for more information.

Copyright © 2012 Adaptive Computing Enterprises, Inc.®