Sun Cluster Data Service for Sun Grid Engine Guide for Solaris OS

Listing of sge_register

#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

. `dirname $0`/sge_config

if [ "${USE_INTERNAL_DEP}" = "FALSE" ]; then
   DEPFLAG="-Z"
else
   DEPFLAG=""
fi

# Disable SGE launch at boot if same exists.
# A marker is left to restore boot launch
# iif SGE cluster agents are removed with:
# sge_remove.

if [ -L /etc/rc2.d/S95rcsge ]; then
   touch $SGE_ROOT/sge_boot_launch_disabled
   rm /etc/rc2.d/S95rcsge
fi


scrgadm -a -j $COMMDRS -g $RG -t SUNW.gds \
-x Start_command="/opt/SUNWscsge/bin/sge_commd/start_sge_commd \
-R $COMMDRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-x Stop_command="/opt/SUNWscsge/bin/sge_commd/stop_sge_commd \
-R $COMMDRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-x Probe_command="/opt/SUNWscsge/bin/sge_commd/probe_sge_commd \
-R $COMMDRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-y Port_list=$PORT/tcp -y Network_resources_used=$LH \
-x Stop_signal=9 \
-y retry_count=5 -y retry_interval=300


scrgadm -a -j $QMASTERRS -g $RG -t SUNW.gds \
-x Start_command="/opt/SUNWscsge/bin/sge_qmaster/start_sge_qmaster \
-R $QMASTERRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-x Stop_command="/opt/SUNWscsge/bin/sge_qmaster/stop_sge_qmaster \
-R $QMASTERRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-x Probe_command="/opt/SUNWscsge/bin/sge_qmaster/probe_sge_qmaster \
-R $QMASTERRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-y Port_list=$PORT/tcp -y Network_resources_used=$LH \
-x Stop_signal=9 \
-x probe_timeout=90 -y Thorough_probe_interval=120 \
-y retry_count=2 -y retry_interval=900 \
-y Resource_dependencies=$COMMDRS

scrgadm -a -j $SCHEDDRS -g $RG -t SUNW.gds \
-x Start_command="/opt/SUNWscsge/bin/sge_schedd/start_sge_schedd \
-R $SCHEDDRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-x Stop_command="/opt/SUNWscsge/bin/sge_schedd/stop_sge_schedd \
-R $SCHEDDRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-x Probe_command="/opt/SUNWscsge/bin/sge_schedd/probe_sge_schedd \
-R $SCHEDDRS -G $RG -S $SGE_ROOT -C $SGE_CELL " \
-y Port_list=$PORT/tcp -y Network_resources_used=$LH \
-x Stop_signal=9 \
-x probe_timeout=90 -y Thorough_probe_interval=120 \
-y retry_count=2 -y retry_interval=900 \
-y Resource_dependencies=$QMASTERRS