Installation guide
A Sample VLAN Topology
A Sample VLAN Topology
Chapter 7
96
To enable the high-availability (surviving partner) software, you (or an administrator) must manually create
a configuration file known as zsp.conf. This file contains instructions to the surviving partner set-up
software that runs on the Switch Blade. Included in the config file is a complete description for all of the
Switch Blade’s VLANs, their IP addresses, sibling IP addresses, and virtual IP addresses. Additional
parameters in the config file are used to control the failover dynamics.
A sample zsp.conf is located on the Switch Blade under:
/etc/rcZ.d/surviving_partner/zsp.conf
You should use a zsp.conf file that follows the conventions of your sample network topology. The IP
addresses used here are the same IP addresses that you have been using throughout this sample topology
development description. Only VLANs that have assigned IP addresses can be set up for failover. So, for
example, if you need to have high availability for ports defined in vlan3, then vlan3 must get an IP
assignment (which would be done in the S23base rc script). The sample zsp.conf file below shows only how
to set up high availability for vlan2 and vlan4.
The following provides a sample zsp.conf that follows your network conventions:
#
# (C) Copyright 2005 Hewlett-Packard Development Company, L.P.
# (C) Copyright 2002 ZNYX Networks, Inc.
# All Rights Reserved.
#
# You must have an OpenArchitect/HA Suite RTU license for the chassis to
# use any OpenArchitect high availability functionality or component on the
# Switch Blades within the chassis or use OpenArchitect/Node on any of the CPU
# host cards. This includes executing this utility script.
#
#
# First, configure VLANs for the shmm, manageability, base, and Switch Blade
# interconnect interfaces.
#
zconfig zhp0: vlan1 = zre13;
zconfig zhp1: vlan2 = zre12;
zconfig zhp2: vlan3 = zre0..11, zre14..21;
zconfig zhp3: vlan4 = zre22..23;
#
# Untag the raw ethernet ports for each defined VLAN.
#
zconfig zre13 = untag1;
zconfig zre12 = untag2;
zconfig zre0..11, zre14..21 = untag3;
zconfig zre22..23=untag4
#
# Assign internet addresses to the defined VLAN interfaces.
# The first address is for the master Switch Blade. The remaining addresses
# are handed out to the backup (sibling) Switch Blades on a first come
# first serve basis in the order specified. Each zconfigured interface
# should have sibling addresses specified, except for the base interface,
# zhp0 (opposite-side ShMM) does not failover.