Removing Grid Engine Software

Searching Sun Grid Engine 6.2

Sun Grid Engine Information Center
Installing Sun Grid Engine
Index


Removing the Grid Engine Software

How to Remove the Software Interactively

To remove the software interactively, follow the steps below.

Note
Remove the software from the execution hosts before removing it from the master host. If you remove the software from the master host first, you cannot automate the removal of the software from the execution hosts.
  1. Ensure that your environment variables are set up properly.
    Note
    If no cell name was specified during installation, the value of $SGE_CELL is default.
    • If you are using a C shell, type the following command:
      # source $SGE_ROOT/$SGE_CELL/common/settings.csh
      
    • If you are using a Bourne or Korn shell, type the following command:
      # . $SGE_ROOT/$SGE_CELL/common/settings.sh
      


  2. On the master host, issue the $SGE_ROOT/inst_sge -ux command.
    This example uninstalls the execution hosts: host1, host2 and host3.
    # $SGE_ROOT/inst_sge -ux -host "host1 host2 host3"
    
    Note
    You are not prompted for any information during this process. However, the output from this process will be displayed to the terminal window where you run the command.


  3. (Optional) If you have any shadow master hosts, uninstall them:
    # $SGE_ROOT/inst_sge -usm -host "host4"
    


  4. Uninstall the master host.
    # $SGE_ROOT/inst_sge -um
    

How to Remove the Software Using the inst_sge Utility and a Configuration Template

Unlike the interactive uninstallation method, the automated uninstallation method suppresses output during the process. Also, the automated method requires a properly formatted configuration file.

To remove the software using the inst_sge utility and a configuration template, follow these steps:

Note
Remove the software from the execution hosts before removing it from the master host. If you remove the software from the master host first, you cannot automate the removal of the software from the execution hosts.
  1. Ensure that your environment variables are set up properly.
    Note
    If no cell name was specified during installation, the value of $SGE_CELL is default.
    • If you are using a C shell, type the following command:
      # source $SGE_ROOT/$SGE_CELL/common/settings.csh
      
    • If you are using a Bourne or Korn shell, type the following command:
      # . $SGE_ROOT/$SGE_CELL/common/settings.sh
      


  2. Create a copy of the configuration template, $SGE_ROOT/util/inst_sge_modules/inst_sge_template.conf.
    # cd $SGE_ROOT/util/inst_sge_modules/
    # cp inst_sge_template.conf  my_configuration.conf
    


  3. Edit your configuration template.
    Every host that is in the EXEC_HOST_LIST_RM list will be removed.
    # Remove these execution hosts in automatic mode
    EXEC_HOST_LIST_RM="host1 host2 host3 host4"
    


  4. On the master host type the $SGE_ROOT/inst_sge -ux -auto command.
    This example uninstalls the execution hosts: host1, host2 and host3.
    Type the following command as one string, with a space between the -auto and the $SGE_ROOT/util/inst_sge_modules/my_configuration.conf components.
    # $SGE_ROOT/inst_sge -ux -auto $SGE_ROOT/util/inst_sge_modules/my_configuration.conf
    
    Note
    You are not prompted for any information during this process. However, the output from this process will be displayed to the terminal window where you run the command.


  5. (Optional) If you have any shadow master hosts, uninstall them.
    Type the following command as one string, with a space between the -auto and the $SGE_ROOT/util/inst_sge_modules/my_configuration.conf components.
    # $SGE_ROOT/inst_sge -usm -auto $SGE_ROOT/util/inst_sge_modules/my_configuration.conf
    


  6. Uninstall the master host.
    Type the following command as one string, with a space between the -auto and the $SGE_ROOT/util/inst_sge_modules/my_configuration.conf components.
    # $SGE_ROOT/inst_sge -um -auto $SGE_ROOT/util/inst_sge_modules/my_configuration.conf
    

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact