Sun Cluster 3.1 8/05 With Sun Java Enterprise System 5 Special Instructions

ProcedureHow to Modify Sun Cluster HA for Sun Grid Engine Resources With Sun Cluster 3.1 9/04 Software

In Sun Cluster 3.1 9/04 software, the Port_list standard property is tunable only at creation. Therefore, you must delete and re-create the sge_schedd resource and the sge_qmaster resource.

Perform this task for each pair of sge_schedd and sge_qmaster resources that you must modify.

Before You Begin

Confirm that you must perform this task.

  1. Remove the sge_schedd resource and the sge_qmaster resource.


    # srgadm -r -j sge-schedd-rs
    # srgadm -r -j sge-qmaster-rs
    
    sge-schedd-rs

    Specifies the name of the resource that represents the scheduling daemon (sge_schedd)

    sge-qmaster-rs

    Specifies the name of the resource that represents the queue master daemon (sge_qmaster)

  2. Set the MASTERPORT configuration parameter to the TCP port number on which the sge_qmaster daemon is to listen.

    To set this configuration parameter, edit the file /opt/SUNWscsge/util/sge_config. For more information, see Specifying Configuration Parameters for Sun Cluster HA for Sun Grid Engine Resources in Sun Cluster Data Service for Sun Grid Engine Guide for Solaris OS.

  3. Go to the directory that contains the script for creating the Sun Grid Engine resources.


    # cd /opt/SUNWscsge/util/
    
  4. Run the script that creates the Sun Grid Engine resources.


    # ./sge_register
    
  5. Enable the sge_schedd resource and the sge_qmaster resource.


    # scswitch -e -j sge-schedd-rs, sge-qmaster-rs
    
    sge-schedd-rs

    Specifies the name of the resource that represents the scheduling daemon (sge_schedd)

    sge-qmaster-rs

    Specifies the name of the resource that represents the queue master daemon (sge_qmaster)

  6. Ensure that the following environment variables are correctly set for all Sun Grid Engine clients.

    • SGE_QMASTER_PORT

    • SGE_EXECD_PORT

    These environment variables are set in the script files sge-root/cell/common/settings.csh or sge-root/cell/common/settings.sh.

Next Steps

Upgrade the Sun Cluster HA for Sun Grid Engine software packages.