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

. `dirname $0`/trm_config

scrgadm -a -j $RS -g $RG -t SUNW.gds \
-x Start_command="/opt/SUNWscmqs/trm/bin/start-trm \
-R $RS -G $RG -Q $QMGR -M $TRMQ -U $USERID " \
-x Stop_command="/opt/SUNWscmqs/trm/bin/stop-trm \
-R $RS -G $RG -Q $QMGR -M $TRMQ -U $USERID " \
-x Probe_command="/opt/SUNWscmqs/trm/bin/test-trm \
-R $RS -G $RG -Q $QMGR -M $TRMQ -U $USERID " \
-y Port_list=$PORT/tcp -x Network_aware=FALSE \
-x Stop_signal=9 -y Failover_mode=NONE -x Failover_enabled=FALSE \
-y Resource_dependencies=$QMGR_RS,$LSR_RS
