Missing SAN SWITCH BNA menu entry / bnaperf.pl is still running
Hi.
We added our BNA to the stor2rrd configuration. All check scripts looks fine.
In the health status overview we can see the status of all SAN switches.
But the menu entry "SAN SWITCH BNA" on the web is missing.
./load.sh html
...
Adding drive :
adding to menu : W : Totals-BNA
adding to menu : W : Totals-BNA:Heatmap
adding to menu : W : Totals-BNA:Data
adding to menu : W : Totals-BNA:Frame
adding to menu : W : Totals-BNA:CPU/Memory
adding to menu : W : Totals-BNA:Fabric
adding to menu : W : Totals-BNA:ISL
adding to menu : W : Totals-BNA:Health status
adding to menu : W : Totals-BNA:Configuration
adding to menu : W : Totals-BNA:Historical reports
adding to menu : W : Totals-BNA:Zone Configuration
SAN old : xxps974_20-BNA - skipped
SAN old : xxps973_10-BNA - skipped
...
load_bnaperf.out:
ina: Tue Jan 8 14:50:02 CET 2019 : starting
Continue now : ina.inventx.ch
Waiting for 30154
Waiting for 29985
error.log-ina:
/opt/stor2rrd/stor2rrd/bin/bnaperf_stor_load.sh: 2019-01-08_14:30 : bnaperf.pl for ina is still running! bnaperf.pl, exiting
/opt/stor2rrd/stor2rrd/bin/bnaconf_stor_load.sh: 2019-01-08_14:30 : bnaconf.pl for ina is still running! bnaconf.pl, exiting
Tue Jan 8 14:30:19 2019: ERROR : SWITCH : xxps406-BNA : Can't create PORTS.cfg and HEALTH_STATUS.txt! Ports not found!/opt/stor2rrd/stor2rrd/bin/bnaperf.pl:499 :
Tue Jan 8 14:30:20 2019: ERROR : SWITCH : xxps405-BNA : Can't create PORTS.cfg and HEALTH_STATUS.txt! Ports not found!/opt/stor2rrd/stor2rrd/bin/bnaperf.pl:499 :
...
I'll upload the logs to https://upload.stor2rrd.com
Thank you
Richard
We added our BNA to the stor2rrd configuration. All check scripts looks fine.
In the health status overview we can see the status of all SAN switches.
But the menu entry "SAN SWITCH BNA" on the web is missing.
./load.sh html
...
Adding drive :
adding to menu : W : Totals-BNA
adding to menu : W : Totals-BNA:Heatmap
adding to menu : W : Totals-BNA:Data
adding to menu : W : Totals-BNA:Frame
adding to menu : W : Totals-BNA:CPU/Memory
adding to menu : W : Totals-BNA:Fabric
adding to menu : W : Totals-BNA:ISL
adding to menu : W : Totals-BNA:Health status
adding to menu : W : Totals-BNA:Configuration
adding to menu : W : Totals-BNA:Historical reports
adding to menu : W : Totals-BNA:Zone Configuration
SAN old : xxps974_20-BNA - skipped
SAN old : xxps973_10-BNA - skipped
...
load_bnaperf.out:
ina: Tue Jan 8 14:50:02 CET 2019 : starting
Continue now : ina.inventx.ch
Waiting for 30154
Waiting for 29985
error.log-ina:
/opt/stor2rrd/stor2rrd/bin/bnaperf_stor_load.sh: 2019-01-08_14:30 : bnaperf.pl for ina is still running! bnaperf.pl, exiting
/opt/stor2rrd/stor2rrd/bin/bnaconf_stor_load.sh: 2019-01-08_14:30 : bnaconf.pl for ina is still running! bnaconf.pl, exiting
Tue Jan 8 14:30:19 2019: ERROR : SWITCH : xxps406-BNA : Can't create PORTS.cfg and HEALTH_STATUS.txt! Ports not found!/opt/stor2rrd/stor2rrd/bin/bnaperf.pl:499 :
Tue Jan 8 14:30:20 2019: ERROR : SWITCH : xxps405-BNA : Can't create PORTS.cfg and HEALTH_STATUS.txt! Ports not found!/opt/stor2rrd/stor2rrd/bin/bnaperf.pl:499 :
...
I'll upload the logs to https://upload.stor2rrd.com
Thank you
Richard
Comments
-
Hi,
your BNA does not provide performance statistics for ports.
We have already seen that a few times.
Try these steps, it should help.1. BNA restart2. re-creation of stor2rrd user in BNA and re-discovering switches
At first try point 1, if this will not help, then try point 2.
Let us know, thanks. -
Hi Karel
I tried both steps, but without success.
On the BAN we can see the events like this and they are looking correctly:
"Dashboard monitor - REST_WIDGET_178b1788-4f62-41b6-8839-531e7d3b245e with the monitor type Top N Products and the measure Response Time creation success."
Any other ideas to do/check?
Thank you
-
Hi Richard,in this case (BNA does not provide performance statistics for ports via REST API) you should not be able to create the full report of your switches in the BNA GUI under stor2rrd account.In that report should not be available statistics about ports.
Can you confirm it? And what is the version of your BNA?
Here is a example how to generate this report:
http://stor2rrd.com/BNA-configuration.htm
-
Hi Karel
We have the network advisor version 14.4.3 / Build39 in use.
These reports/templates are not visible on the new GUI. So I can not do this "switch report" test. I did just some checks with the stor2rrd user on the BNA-GUI and it was possible to collect performance data from san ports.
Next to them I tested it in an other environment (same stor2rrd and BNA version) and there the collection of the BNA is working with stor2rrd.
Do you have any other tips?
I'll do some compares between these two environments now.
Thank you
Richard
-
Hi Richard,
Can you try the following test on the both environments?
The second "curl" command should return performance stats for ports.
Use WWN (<switchWWN>) of one of your switches from BNA.1. Logging in
- set <BNA user>, <user password>, <BNA IP>, <BNA PORT>
curl -ks -X POST -H "WSUsername:<BNA user>" -H "WSPassword:<user password>" -H "Accept:application/vnd.brocade.networkadvisor+json;version=v1" -i https://<BNA IP>:<BNA PORT>/rest/login
2. realtime performance statistics for 1 FC switch
- set <WStoken>, <switchWWN>, <BNA IP>, <BNA PORT>
curl -ks -X GET -H "WStoken:<WStoken>" -H "switchWWN:<switchWWN>" -H "Accept:application/vnd.brocade.networkadvisor+json;version=v1" https://<BNA IP>:<BNA PORT>/rest/fcswitchstats
3. Logging out
- set <WStoken>, <BNA IP>, <BNA PORT>
curl -ks -X POST -H "WStoken:<WStoken>" -H "Accept:application/vnd.brocade.networkadvisor+json;version=v1" -i https://<BNA IP>:<BNA PORT>/rest/logoutThis test should confirm what I wrote last time.
(BNA does not provide performance statistics for ports via REST API)
-
Hi KarelCorrect. The responseList is empty.$ curl -ks -X GET -H "WStoken:tDqpT+7ra4duG7dm9HKzzVOL++0=" -H "switchWWN:10:00:50:EB:1A:29:12:29" -H "Accept:application/vnd.brocade.networkadvisor+json;version=v1" https://ina:443/rest/fcswitchstats
{"responseList":[]} $So we've to check with IBM/Brocade to find the reason of this.Thank you for the support.Have a good dayRichard
-
Hi all,i've the same problem, no perf stats from BNA.... how did you solve?The BNA Version is 14.4.1.Thank you
-
Hi,
have you tried BNA restart and re-creation of stor2rrd user?
Try these steps, it should help.1. BNA restart2. re-creation of stor2rrd user in BNA and re-discovering switches
At first try point 1, if this will not help, then try point 2.
Unfortunately we have no any other solution yet. -
Hi,I finally found the solution and in my case was downgrading the version of stor2rrd. The BNA stopped working after upgrading to version 2.52 and after trying everything, also reinstalling BNA 14.4., the solution was downgrading stor2rrd to 2.40. After that everything started working again.I think it might be a problem with the 2.5x version, may be possible?
regards
-
Hi,
that's not possible. There are not any changes between 2.40 and 2.52 for BNA stuff.
Can you try one more test? If so, then collect logs in your actual 2.40 version.
1.cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
tar cvhf logs-2.40.tar logs tmp/*txt
gzip -9 logs-2.40.tar
2. Upgrade once more to the version 2.52
3. Check GUI again if you can see fresh data for your BNA
4. If not, then collect new logscd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
tar cvhf logs-2.52.tar logs tmp/*txt
gzip -9 logs-2.52.tar
And send us both logs.
https://upload.stor2rrd.com
Anyway, let us know, thanks.
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle