#!/bin/ksh93 # ALTRAN_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # Copyright (C) Altran ACT S.A.S. 2017,2018,2019,2021. All rights reserved. # # ALTRAN_PROLOG_END_TAG # # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # 61haes_r714 src/43haes/usr/sbin/cluster/events/external_resource_state_change.sh 1.2 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 2005 # 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 # @(#) 7d4c34b 43haes/usr/sbin/cluster/events/external_resource_state_change.sh, 726, 2147A_aha726, Feb 05 2021 09:50 PM ######################################################################### # # # Name: external_resource_state_change # # # # Description: This script is called when an # # external_resource_state_change event is executed. # # This event script is mostly "empty"; it serves as a placeholder # # for pre-and post-events. # # # Called by: cluster manager # # # # Calls to: none # # # # Arguments: none # # # # Returns: 0 success # # 1 failure # # 2 bad argument # # # ######################################################################### ############################################################################### # Start Main # ############################################################################### typeset PROGNAME=${0##*/} export PATH="$(/usr/es/sbin/cluster/utilities/cl_get_path all)" set -a eval $(cllsparam -n $LOCALNODENAME) set +a if [[ $VERBOSE_LOGGING == "high" ]]; then set -x version='%I%' fi set -u if (( $# != 1 )) then echo Usage: $PROGNAME nodename exit 2 fi # : serial number for this event is $EVENT_SERIAL_NUMBER # exit 0