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

Configuring and Upgrading Sun Cluster HA for Sun Grid Engine

The configuration instructions in Sun Cluster Data Service for Sun Grid Engine Guide for Solaris OS apply to the release of Sun Cluster 3.1 8/05 software in the Sun Java Enterprise System 5 distribution except as noted in the sections that follow.

Setting the MASTERPORT Configuration Parameter

If you are using Sun Grid Engine 6.0, you must set the MASTERPORT configuration parameter to the TCP port number on which the sge_qmaster daemon is to listen. Ignore the statement in 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 that the value of MASTERPORT is not used by the Sun Cluster HA for Sun Grid Engine data service.

Sun Cluster HA for Sun Grid Engine as released with Sun Java Enterprise System 5 enables multiple sge_qmaster instances to run in a Sun Cluster configuration. To enable multiple sge_qmaster instances to run in a Sun Cluster configuration, you must specify the port number for each sge_qmaster instance explicitly. The sge_register script sets required Sun Cluster resource properties on the basis of the setting of MASTERPORT.

You cannot use the file /etc/inet/services to specify the port number for the sge_qmaster daemon. This file enables the port number to be specified for only one sge_qmaster instance.

Upgrading Sun Cluster HA for Sun Grid Engine

As a result of requests for enhancement, the configuration of Sun Cluster HA for Sun Grid Engine resources has changed. Before you upgrade the Sun Cluster HA for Sun Grid Engine software packages, ensure that these resources are configured appropriately.

If you are running Sun Cluster HA for Sun Grid Engine with Sun Grid Engine 6.0, you must ensure that the Port_list standard property is correctly set for the following resources:

For both resources, the Port_list standard property must specify the TCP port number on which the sge_qmaster daemon is to listen.

Before modifying any resources, determine whether the modification is required.

ProcedureHow to Determine Whether Resources Must Be Modified

The resources must be modified only if the values of the Port_list property for the sge_schedd resource and the sge_qmaster resource are incorrect or different.

    Compare the values of the Port_list standard property for the sge_schedd resource and the sge_qmaster resource.


    # scha_resource_get -R sge-schedd-rs -O Port_list
    # scha_resource_get -R sge-qmaster-rs -O Port_list
    
    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)

Next Steps

The next step depends on whether the values are identical and correct.

ProcedureHow to Modify Sun Cluster HA for Sun Grid Engine Resources With Sun Cluster 3.1 8/05 Software

In Sun Cluster 3.1 8/05 software, the Port_list standard property is tunable at any time. Therefore, you can modify the sge_schedd resource and the sge_qmaster resource without deleting and re-creating these resources.

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. Set the Port_list property of the sge_schedd resource and the sge_qmaster resource to the TCP port number on which the sge_qmaster daemon is to listen.


    # srgadm -c -j sge-schedd-rs -y Port_list=port/tcp
    # srgadm -c -j sge-qmaster-rs -y Port_list=port/tcp
    
    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)

    port

    Specifies the TCP port number on which the sge_qmaster daemon is to listen

  2. 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.

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.