Why do I get old hardware …
Brocade 2800 16-port switch does not support ssh to manage, and there’s no decent reporting. But it’s very affordable and solid for an entry level FC tweaking. It’s really not meant to support production anymore ( perfromance-wise)
But some people have no choice, and run Oracle on it. Here’s how I got to collecting performance stats from it and report almost as granular ( 15 sec ) as I could.
The cron entries:
### San switch 1
00,05,10,15,20,25,30,35,40,45,50,55 * * * *
/usr/local/scripts/monitoring/BrocadePortPerf.pl –switch=10.4.15.202
–collog=/var/log/collect/sanportstats >> /var/log/brocadeperf.sw1.log 2>&1
### San switch 2
00,05,10,15,20,25,30,35,40,45,50,55 * * * *
/usr/local/scripts/monitoring/BrocadePortPerf.pl –switch=10.4.15.203
–collog=/var/log/collect/sanportstats >> /var/log/brocadeperf.sw2.log 2>&1
### San port layout
00 6 * * * /usr/local/scripts/monitoring/wwn2port.pl –switch=10.4.15.202
–switch=10.4.15.203 >>/var/log/wwwn2port.pl.log 2>&1
##### Generate San Port Performance graphs
10 * * * * /usr/local/scripts/monitoring/generateAll4Day.sh >>
/var/log/generateAll4Day.sh.log 2>&1
And the respective scripts:
Brocade port performance collector BrocadePortPerf.pl
Web stats generator GenPortStats.pl
WWN2Port converter wwn2port.pl
The web frontend is fed from the collected information such as :
epoch time|humandate|ip:port|stats 15 second interval|(M)aximum, (A)verage for the past interval
1171086918 | 23:55:18, Fri Feb 9, 2007 | 10.4.15.203:Port6 | 0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00 | M=0.00, A=0.00
1171086918 | 23:55:18, Fri Feb 9, 2007 | 10.4.15.203:Port1 | 0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00:0.00 | M=0.00, A=0.00
1171086918 | 23:55:18, Fri Feb 9, 2007 | 10.4.15.203:Port9 | 0.01:0.01:0.25:0.01:0.03:0.26:0.08:0.26:0.03:0.34:0.02:0.27:0.27:0.00:0.00:0.02 | M=0.34, A=0.12
Web looks like Date –> IP –> Port –> Max/Average like so:
