Setting Replication Server and other applications  Troubleshooting

Chapter 14: Configuring Adaptive Server for Failover on SGI IRIX

Example hook in start script

The resourceAttributes script contains common functions. The start and restart scripts share the common start_restart_ASE() function. This function contains the following section:

#
# Start:  hook section -------------
#
# If you need to start additional Sybase products (such as
# replication) that are dependent on the same resources
# as ASE, add them here.
#
# End:  hook section -------------
#

If the same UNIX user the new code looks similar to the following:

#
# Start:  hook section -------------
#
# If you need to start additional Sybase products (such as
# replication) that are dependent on the same resources
# as ASE, add them here.
#
su - ${SYBUSER} –c “$SYBASE/$SYBASE_ASE/install/RUN_REP_SEVER >& /dev/null” &
#
# End:  hook section -------------




Copyright © 2005. Sybase Inc. All rights reserved. Troubleshooting

View this book as PDF