#!/bin/ksh # ALTRAN_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # Copyright (C) Altran ACT S.A.S. 2017,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/site_merge_complete.sh 1.2 # # Licensed Materials - Property of IBM # # Restricted Materials of IBM # # COPYRIGHT International Business Machines Corp. 2001 # 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 ######################################################################### # # COMPONENT_NAME: EVENTS # # FUNCTIONS: none # ######################################################################### # # sccsid = @(#) 7d4c34b 43haes/usr/sbin/cluster/events/site_merge_complete.sh, 726, 2147A_aha726, Feb 05 2021 09:50 PM # ######################################################################### # # # Name: site_merge_complete # # # # Description: This event script is called when a network of # # type "geo_primary" comes up after all such # # networks at a given site were down. # # # # Called by: cluster manager # # # # Calls to: None # # # # Arguments: nodename sitename network_name # # # # nodename - name of the node whose network # # resumes functioning. # # # # sitename - name of the site containing the node # # whose network resumes working. # # # # network_name - logical network name from # # cluster configuration. # # # # Returns: 0 success # # 1 failure # # 2 bad argument # # # ######################################################################### PROGNAME=${0##*/} export PATH="$(/usr/es/sbin/cluster/utilities/cl_get_path all)" if [[ $VERBOSE_LOGGING == high ]] then set -x version='%I%' fi set -a eval $(cllsparam -n $LOCALNODENAME) set +a if [ ! -n "$EMULATE" ] then EMULATE="REAL" fi set -u # # This will be the exit status seen by the Cluster Manager. # All lower-level scripts should pass status back to the caller. # STATUS=0 # # This is the template script for network_up_complete event, # and is locally configurable. # exit $STATUS