stor2rrd not "detecting" ISL ports correctly through BNA version 14.0.1
Hi,
I'm testing stor2rrd version 2.31-1 with BNA version 14.0.1 configured as/with:
It's only "picking up" ISL ports (2) correctly on 1 of 4 switches - on 2 other switches - it "picks up" only 1 of 2 ISL ports correctly - and on the 4th switch none at all. Everything else appears OK - any ideas..??
If I use "Non BNA" no issue.....
Fabrics:
Fabric A
512
2
0
Fabric B
512
2
0
I'm testing stor2rrd version 2.31-1 with BNA version 14.0.1 configured as/with:
It's only "picking up" ISL ports (2) correctly on 1 of 4 switches - on 2 other switches - it "picks up" only 1 of 2 ISL ports correctly - and on the 4th switch none at all. Everything else appears OK - any ideas..??
If I use "Non BNA" no issue.....
SAN SWITCH BNA | Configuration
Switches:
Fabric A | 8 | BNE1-A-SAN384B-BNA | 10.239.91.132 | 10:00:50:EB:1A:F7:9E:10 | IBM System Storage SAN384B-2 Backbone | v7.4.1d | 491 | 10178AP | 256 | 1 | 0 | |
Fabric B | 9 | BNE1-B-SAN384B-BNA | 10.239.91.133 | 10:00:50:EB:1A:F7:95:10 | IBM System Storage SAN384B-2 Backbone | v7.4.1d | 491 | 10178BA | 256 | 2 | 0 | |
Fabric A | 10 | BNE2-A-SAN384B-BNA | 10.239.90.132 | 10:00:50:EB:1A:F5:1C:AC | IBM System Storage SAN384B-2 Backbone | v7.4.1d | 491 | 10178AE | 256 | 1 | 0 | |
Fabric B | 11 | BNE2-B-SAN384B-BNA | 10.239.90.133 | 10:00:50:EB:1A:F4:30:30 | IBM System Storage SAN384B-2 Backbone | v7.4.1d | 491 | 10177ZM | 256 | 0 |
Fabrics:
Comments
-
Hi John,
we know about this issue, but we can not do anything with this, because BNA REST API does not return all ISL ports. All ISL ports are available only via snmp.
-
Hi,can you try to restart of BNA services?
-
Hi Pavel,
Many thanks - yes - I have tried to restart BNA - unfortunately - this did not fix it. -
Hi Pavel - just a thought on this - if I edit the ISL.txt files with the correct info - AND write protect them - how will stor2rrd "react" to this - I know - this would be quite a "hack".
-
Hi,well, we have experienced this already a few times.BNA sometimes do not return correct ISL info (SNMP is always correct).Your workaround might work, just comment out getting ISL info in the BNA agentbin/bnaconf.pl:115:
#
# ISL ports
#
message("CONF: Search for ISL ports : START") if $debug == 9;
#get_all_isl_info();
message("CONF: Search for ISL ports : END") if $debug == 9;
-
Hi Pavel,
Many thanks - this does actually work - and my ISL's are listed correctly.
However - it has not "fixed" another - apparently related issue - or so I thought.
I also have this issue for the ISL's regarding performance stats - as "individual ports" - the stats are displayed correctly - however - not as ISL's - my error log says - for example for each ISL port:Could not find port2-46 file: /home/lpar2rrd/stor2rrd/data/BNE2-B-SAN384B-BNA//home/stor2rrd/stor2rrd/data/BNE2-B-SAN384B-BNA/port2-46.rrd /home/lpar2rrd/stor2rrd/bin/san.pl:1500
And log for cgi-bin for example:totals:ISL:totals:san_isl_data_in_bna:9: no data yet: cmd file does not contain data source files: /home/lpar2rrd/stor2rrd/tmp/SAN-totals/san_isl_data_in_bna-y.cmd /home/lpar2rrd/stor2rrd/bin/detail-graph-cgi.pl:1554
The rrd files are actually "there" - and as mentioned - normal individual stats for the isl ports are ok.
If You have any idea's how this could be "hacked"...pls let me know.
-
hi,ok, lets wait for the end of nex week when Karel is back from his holidays, he is the developer of this part.He will advice you.
-
Hi - no problem - many - many thanks for your help....
-
Hi John,remove paths to rrd files in ISL.txt, let there only rrd file name instead full path.
Here is an example how ISL.txt should looks like:port<port_ID>,<rrd_file_name>,<switch_name>-BNA,to_port=port<target_port_ID>,to_switch=<target_switch_name>-BNA
[stor2rrd@vm-karel data]$ cat brocade01-BNA/ISL.txt
port1-1,port1-1.rrd,brocade01-BNA,to_port=port1-1,to_switch=brocade02-BNA
[stor2rrd@vm-karel data]$
[stor2rrd@vm-karel data]$ cat brocade02-BNA/ISL.txt
port1-1,port1-1.rrd,brocade02-BNA,to_port=port1-1,to_switch=brocade01-BNA -
Hi Pavel - Arggh - I was thinking about trying that - but didn't get around to it - many thanks - that did the trick.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 48 XORMON NG
- 25 XORMON
- 153 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 7 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 124 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 2 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle