Post by Michael H. WarfieldI've heard the comments that it's difficult (if not damn
near impossible) to run a decent BGP site (looking for peers - any
offers?) properly without decent looking glass servers (so I intend to
set them up where I can and where appropriate).
They certainly make debugging misconfigurations a lot easier. Zebra will
also write a log file and you can serve this using HTTP, so you can also
debug past events.
Post by Michael H. WarfieldThe comment about disabling snmp and running multiple instances of Zebra
in order to run a looking glass server has me concerned.
You don't need to do this to have Zebra run as a looking glass server for
one autonomous system.
But if you're running multiple looking glasses for multiple autonomous
systems (eg: perhaps insisting that your BGP-speaking customers attach to
your looking glass system) on one box then you need to consider how to do
this. The obvious way if to establish multiple views -- in this case
Zebra threads the multiple BGP connections. This works.
At some level (say if you are running a route-views server for a country
or a backbone network) Zebra's threading begins to not scale well -- in
this case you want to run a full-weight BGP process per autonomous system
and let the operating system sort out the resource contention.
In this case you have multiple bgpd's running all trying to register the
same SNMP object ID space with the NetSNMP SMUX SNMP multiplexor. This
won't be good, so disable SNMP.
They also compete over the /var/run/bgpd.pid file. I've posted a patch to
fix that.
The average ISP might want to run a second bgpd instance on a box if it is
also using Zebra for routing as well as for a looking glass. This would
allow the bgpd doing the routing to run as 'root' and the bgpd doing the
looking glass (where the public can access the command line either
directly or via a HTTP CGI) to run as a less powerful user.
Post by Michael H. WarfieldIt was on my project schedule to look deeper into setting up an
internal looking glass server in the very near future and this remark
casts that into doubt. Feedback would be helpful before I wasted my
time...
No need to be negative, I've already done the work for you :-) See message
[zebra 12761] and its follow ups which refer to
http://www.aarnet.edu.au/projects/2002/bgp/zglass.pdf
(source is http://www.aarnet.edu.au/projects/2002/bgp/zglass.sgml)
and discuss the threading versus processes tradeoff. I think the
configuration of /etc/logrotate.conf has a small error in the document.
Best wishes,
Glen
--
Glen Turner Network Engineer
(08) 8303 3936 Australian Academic and Research Network
***@aarnet.edu.au http://www.aarnet.edu.au/
--
The revolution will not be televised, it will be digitised