The configuration and runtime scripts created are as follows:

S70Surviving_partner Switch initialization script that is run at boot time. This script will restart the switch with the original configuration given to zspconfig. Optionally, zspconfig will run this script from the initial invocation.

zsp.conf.<n> - zspconfig configuration file that contains the configuration of the sibling backup switches. The <n> is used to distinguish potentially more than one backup switch. This configuration file is placed in /tftpboot, and is retrieved via DHCP during configuration of the backup switch by zspconfig with the -u option or, by a replacement switch on boot up.

vrrpd.conf - Configuration script for the VRRP daemon. This configuration is used when the S70Surviving_partner script launches vrrpd. There is a line in this file for each virtual router address vrrpd will manage.

dhcpd.conf - Configuration script used by dhcpd when the switch becomes master. dhcpd is also used to give replacement switches their configuration scripts. Namely a zsp_.conf<n> file that can be input to zspconfig with the -uflag.

dhclient.conf - If zspconfig is executed with the -uflag, a dhclient.conf file is created, and then dhclient is used to retrieve a zspconfig configuration file from the /tftpboot area of the Master switch.

vrrpd.script - Runtime script that executes each time the vrrpd changes state. This script starts and stops dhcpd, and toggles down RAINlink ports to force the RAINlink nodes to a new Master switch.

zlmd.script - Runtime script executed by zlmd when a link goes up or down. This script modifies the priority of the vrrpd that in turn may cause the VRRP Master to move from one sibling switch to another.

After the scripts are created, zspconfig may run the S70Surviving_partner script to start the Surviving Partner tasks. The tasks started are vrrpd, zlmd, and dhcpd.

The vrrpd and zlmd daemons run scripts to perform their actions. When vrrpd changes state between Master and Backup, it runs a script that starts and stops dhcpd. When zlmd sees a link go up or down, it runs a script that communicates with vrrpd via vrrpconfig.

Example HA Switch Configuration

The following walks through a basic Surviving Partner configuration typical for an HA setup. Assume an HA chassis with multiple hosts, such as single-board CPUs, and two switches configured for Surviving Partner. Each of the hosts has two Base Ethernet ports providing a link to each of the Base switches and up to four fabric Ethernet ports providing links to each of the Fabric switches.

Each host runs Linux bonding drivers (or ZNYX OA Node software with embedded RAINlink) with the ports configured for failover. An interlink provides communication between the Base switches. Another interlink provides communication between the Fabric switches.

Ethernet Switch Blade User's Guide

release 3.2.2j

page 30

Page 30
Image 30
Znyx Networks bh5700 manual Example HA Switch Configuration