#!/bin/ksh # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/usr/sbin/cluster/cspoc/utilities/start_cluster.sh 1.6 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 1996,2011 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # @(#)61 1.6 src/43haes/usr/sbin/cluster/cspoc/utilities/start_cluster.sh, hacmp.cspoc, 61haes_r714 11/28/11 15:12:57 ####################################################################### # COMPONENT_NAME: CSPOC # # Name: # start_cluster # # Description: # This script is a wrapper that calls the HACMP rc.cluster script. # It then waits for cluster to become stable before returning. # If can error occurs or cluster does not become stable within 5 # minutes the script returns an error value of '1'. # # Arguments: # All arguments must be valid arguments for the rc.cluster script # and will be passed directly to rc.cluster. # ####################################################################### [ "$VERBOSE_LOGGING" = "high" ] && set -x PROGNAME=$(basename ${0}) PATH="$($(dirname ${0})/../utilities/cl_get_path all)" HA_DIR="$(cl_get_path)" print "${PROGNAME}: Starting PowerHA SystemMirror" # Start HA rc.cluster "$@" exit $?