Sun N1 Grid Engine 6.1 Installation Guide

ProcedureHow to Remove the Software Interactively

  1. Ensure that your environment variables are set up properly.


    Note –

    If no cell name was specified during installation, the value of cell is default.


    • If you are using a C shell, type the following command:


      # source sge-root/cell/common/settings.csh
      
    • If you are using a Bourne-shell or Korn shell, type the following command:


      # . sge-root/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 automatically removed.

    # Remove this execution hosts in automatic mode
    EXEC_HOST_LIST_RM="host1 host2 host3 host4"
  4. On the master host type the sge-root/inst_sge 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