Sun N1 Grid Engine 6.1 Installation Guide

ProcedureHow to Upgrade to 6.1 Software Using Classic/Berkeley DB Spooling

  1. Shut down the entire cluster.

    Type the following command:


    % qconf -ke all -ks -km
    
  2. Back up your cluster.

    Type the following command:


    # inst_sge -bup
    
  3. If you use Berkeley DB, update the database structures.


    Note –

    You do not have to perform this step if you use classic spooling.


    Due to changes in the Berkeley DB software, the internal database structures changed. To adjust the structures, follow these steps:

    1. On the qmaster host, type the following command as sgeadmin user:


      # $SGE_ROOT/utilbin/<arch>/db_dump -f /tmp/dump.out -h <db_home> sge
      

      Note –

      If you are using a Berkeley DB RPC Server, you must execute this command on the RPC Server host rather than on the qmaster host.


    2. Verify that the command was executed correctly and the file /tmp/dump.txt is not empty.

    3. If the command succeeded, type the following commands as sgeadmin user to remove the previous Berkeley DB database files:


      # cd db_home
      # rm -f *
      

      Caution – Caution –

      Do not delete the directory. Only delete the files within the directory.


  4. Extract the new binaries and common files to the $SGE_ROOT directory.

    Replace the old files with the new files.

  5. Restore the Berkeley DB database.


    Note –

    You do not have to perform this step if you use classic spooling.


    On the qmaster host, type the following command as sgeadmin user:


    # $SGE_ROOT/utilbin/<arch>/db_load -f /tmp/dump.out -h <db_home> sge
    
  6. Initiate the upgrade procedure.

    Type the following command:


    % ./inst_sge -upd
    

    Follow the instructions and answer the questions presented to you.

    The upgrade will create new settings and rc-script files. The old files will be saved under the same filename with a time stamp attached. The upgrade procedure starts the qmaster and scheduler daemon automatically. You have to start execution host daemons manually.

    After the upgrade procedure completes, check the newly created settings files and copy the new rc-scripts to your startup location (for example, /etc/init.d).

  7. Restart the execution daemons.

    Use the sgeexecd rc file.

    Upgrade is complete.