You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
694 B

#!/bin/sh
#
# This file is interpreted as a shell script.
# The first line of the script must be "#!/bin/sh" without quotes.
# Lines beginning with # are comments and are not executed.
#
# There are three environment arguments that are passed to this script.
#
# $TYPE Set to INSTANCE or GROUP, depending on whether keepalived invoked the program from vrrp_instance or vrrp_sync_group.
# $NAME Set to the name of the vrrp_instance or vrrp_sync_group.
# $ACTION Set to the end state of the transition.
# Valid values are:
# $TYPE==INSTANCE: [ NOTIFY_BACKUP | NOTIFY_MASTER | NOTIFY_FAULT | NOTIFY_STOP | NOTIFY ]
# $TYPE==GROUP: [ NOTIFY_BACKUP | NOTIFY_MASTER | NOTIFY_FAULT | NOTIFY ]