Znyx Networks bh5700 Manuale Utente

Pagina di 359
zpeer 
NAME
zpeer – Application for High Availability communication between the Fabric and Data 
switches.
SYNOPSIS
zpeer [-d <level>] local|peer <command> <value>|query
zpeer [-d <level>][-a][-r]
 
DESCRIPTION
zpeer is used to pass bidirectional High Availability(HA) state and priority information 
between the base and fabric switches in the Ethernet Switch Blade.  zpeer uses the concept of 
local and peer information.  The local information is written, and the peer information is read.  As 
an example:
On the base switch:
zpeer local priority 203
On the fabric switch the following command would return 203:
zpeer peer priority query
The communication is bidirectional so the example above can be reversed allowing the fabric 
switch to pass state and priority information to the base switch.  
NOTE: Local information can also be read as confirmation and for debugging purposes.
zpeer is part of the HA software suite.  It is called as part of the scripts that are generated by the 
zspconfig application.  With the exception of querying information for debugging and 
validation, the zpeer application would not need to be executed by the user.  Following is a 
quick overview of the values communicated between switches.  See documentation on HA and 
zspconfig for better understanding of how zpeer fits in with the HA software suite.
Following is an example of setting the state to “backup”:
zpeer local state backup
Possible states are:
unhealthy
Set by hardware at power up or at system reboot.  Set by 
software when the HA software suite is stopped.  Indicates that 
the peer is not properly functioning
healthy
Set by software when HA is started.  This state is never 
Ethernet Switch Blade User's Guide
release  3.2.2j
page  235