#!/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 # # @(#) 7d4c34b 43haes/usr/sbin/cluster/events/network_stable.sh, 726, 2147A_aha726, Feb 05 2021 09:50 PM ######################################################################### # # Name: network_stable # # Description: When PowerHA SystemMirror detects that one or # more interfaces on a network is continuously # changing state, the network_unstable event will # run instead of continuing to run individual join # and fail interface events. When the network # becomes stable again, this event is run. # # Called by: cluster manager # # Calls to: None # # Arguments: NETWORK - network which is stable # # # Returns: always 0 - this is an informational event only # ######################################################################### ######################################################################### # Main ######################################################################### PROGNAME=${0##*/} export PATH="$(/usr/es/sbin/cluster/utilities/cl_get_path all)" set -a eval $(cllsparam -n $LOCALNODENAME) set +a [[ "$VERBOSE_LOGGING" == "high" ]] && { set -x } NETWORK_NAME=$1 dspmsg -s 42 scripts.cat 40 "Network $NETWORK_NAME is stable\n" $NETWORK_NAME