Upgrading Moab

2.3 Upgrading Moab

Moab is designed to make the upgrade process short and simple. Previous versions of Moab do not need to be uninstalled before installing a new version. Installing a new version on top of an old version will not overwrite config, log, or statistical files.

To upgrade Moab

  1. Untar the distribution file.
  2. > tar -xzvf moab-5.3.0.tar.gz
    

  3. Navigate to the unpacked directory.
  4. > cd moab-5.3.0
    

  5. Configure the installation package.
  6. 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.

    > ./configure
    
    Configuring Moab (v 5.3.0)...
    checking system configuration...
    
    checking Makefile...  building new Makefile
    
    OPSYS:         LINUX
    COMPILER:      gcc
    SECRET KEY:    11102
    HOME DIR:      /opt/moab
    INSTALL DIR:   /usr/local
    PRIMARY ADMIN: root
    SERVERHOST:    test.icluster.org
    
    Do you want to use TORQUE/PBS? [Y|N] (Default: Y)           
    PBS Target Directory: (default: /usr/local)
    
    make -C src/moab clean
    ...
    
    configure successful.

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

     > mschedctl -k
    
    moab will be shutdown immediately

    Note While Moab is down:
    • All jobs continue to run on the nodes.
    • The job queue remains intact.
    • New jobs cannot be submitted to Moab.

  9. Install Moab.
  10. > sudo make install
    

    Note Moab should be installed by root. If you cannot install Moab as root, please contact Customer Support.

  11. Verify the version number is correct before starting the new server version.
  12.  > moab --about
     
    Defaults:   server=:42559  cfgdir=/opt/moab  vardir=/opt/moab
    Build dir:  /home/admin01/dev/moab/
    Build host: node01
    Build date: Thu Mar  5 13:08:47 MST 2009
    Build args: NA
    Compiled as little endian.
    Version: moab server 5.3.0 (revision 12867)
    Copyright 2000-2008 Cluster Resources, Inc., All Rights Reserved

  13. Start Moab.
  14. > moab

Home Up Previous Next
Searches Moab documentation only