by StuartM on Mon Apr 26, 2010 10:09 am
The purpose of both Hot Standby and Direct Standby is to have all historical data available on both units. The standby unit will collect data and build reports so that if it ever goes active, you will not see any gaps in reporting. By not enabling a standby mode, you will see these gaps in reporting.
I don't think Hot Standby will work in an STP setup and I'm not sure if Hot Standby will work by connecting the management ports directly since I have not tested it. Hopefully, the description below of how Hot Standby works will help if you decide to give that a try:
Hot Standby is meant to be used with a dumb hub in place. Since both PacketShapers are in the same broadcast domain, they will see all packets at all times. The standby unit will process these packets, building reports and discovering traffic classes. However, it will drop inbound and outbound packets just short of forwarding them. With Hot Standby, there is a heartbeat that is emitted over the outside interface, if I remember correctly. The other PacketShaper is able to see it because the interfaces are in the same broadcast domain, due to the hub. If the active unit goes down, the passive unit stops receiving the heartbeat and it goes active. When it goes active, it will begin forwarding packets rather than dropping them after analysis. So with an STP setup, this would not work because the heartbeat would fail to reach the other PacketShaper's outside interface.
Direct Standby works a bit differently. There is no heartbeat. Both units are actually active, forwarding all packets that are received. This would be more ideal for an STP setup. When one of the PacketShapers receives a packet, in addition to analyzing it and forwarding it, it makes a copy (not just state info) and places it on the direct link between the PacketShapers. The other PacketShaper analyzes this copied traffic, but does not forward it. So even in an STP setup, where a PacketShaper is not seeing any real traffic on it's main interfaces, it will see the copied packets on its direct link. It will analyze this traffic, building a class tree and reports. As with Hot Standby, this will result in both PacketShapers building identical class trees and reports. So with Direct Standby, in addition to having one unit active and the other one passive, you can also opt to have both units active. A PacketShaper sees what the other unit in the pair sees via the direct link. Unlike in Hot Standby, you would not want a dumb hub on the main interfaces because both PacketShapers would see the same traffic then place a copy on the direct link. This would result in each PacketShaper seeing every packet twice, doubling your stats and having other side effects when shaping is on (RTO clamping).