HomeClusterLabs Projects

Extend fallback command documentation

Description

Extend fallback command documentation

Add documentation for the additional fallback command parameters
vserver:vport and protocol.
You could use this for adding multiple real servers in case of an
failure off all original real servers.

Example bash snipped fallback script:

vserver=$2
ipvsprot="-${3:0:1}"

if [ $1 = "start" ]; then
    op="-a"
    mode="-m"
elif [ $1 = "stop" ]; then
    op="-d"
    mode=""
else
    exit 1
fi

ipvsadm -R <<eot
  $op $ipvsprot $vserver -r 10.20.30.204:5353 $mode
  $op $ipvsprot $vserver -r 10.20.30.205:5353 $mode
  $op $ipvsprot $vserver -r 10.20.30.206:5353 $mode
eot

Details

Provenance
Daniel Wendler <dwe@boreus.de>Authored on Nov 18 2015, 4:22 AM
Parents
rR6a1bb13690fa: dns_check receive string is now an regex
Branches
Unknown
Tags
Unknown

Event Timeline