Problem with SAN/LAN switch - example HPE Virtual Connect

Because switch are the same we have errors:

It is configured as a SAN switch, and it is configured as a LAN switch and this file is not compatible.

In error.log:

Fri May  8 16:03:03 2020: Couldn't parse json file /home/lpar2rrd/stor2rrd/data/switch_1/config.cfg malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "switch_name=switch_1") at /home/lpar2rrd/stor2rrd/bin/Xorux_lib.pm line 612.
Fri May  8 16:03:03 2020: Couldn't parse json file /home/lpar2rrd/stor2rrd/data/switch_2/config.cfg malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "switch_name=switch_2") at /home/lpar2rrd/stor2rrd/bin/Xorux_lib.pm line 612.
Fri May  8 16:10:06 2020: Alerting is unavailable! Last update time is not defined! Switch name "switch_1". /home/stor2rrd/stor2rrd/bin/san_rrdupdate.pl:322 :
Fri May  8 16:10:06 2020: Alerting is unavailable! Last update time is not defined! Switch name "switch_1". /home/stor2rrd/stor2rrd/bin/san_rrdupdate.pl:322 :
Fri May  8 16:30:07 2020: Alerting is unavailable! Last update time is not defined! Switch name "switch_2". /home/stor2rrd/stor2rrd/bin/san_rrdupdate.pl:322 :
Fri May  8 16:30:07 2020: Alerting is unavailable! Last update time is not defined! Switch name "switch_2". /home/stor2rrd/stor2rrd/bin/san_rrdupdate.pl:322 :
Fri May  8 16:33:01 2020: Could not find ports for switch_1 in /home/lpar2rrd/stor2rrd/data/switch_1/PORTS.cfg /home/lpar2rrd/stor2rrd/bin/san.pl:337 Fri May  8 13:03:01 2020: Could not find ports for switch_2 in /home/lpar2rrd/stor2rrd/data/switch_1/PORTS.cfg /home/lpar2rrd/stor2rrd/bin/san.pl:337

Thu May  7 17:13:02 2020: Couldn't parse json file /home/lpar2rrd/stor2rrd/data/VCEX27C91.../config.cfg malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "switch_name=VCEX27...") at /home/lpar2rrd/stor2rrd/bin/Xorux_lib.pm line 612.
 /home/lpar2rrd/stor2rrd/bin/Xorux_lib.pm:615 :
Thu May  7 17:13:02 2020: Couldn't parse json file /home/lpar2rrd/stor2rrd/data/VCEX27C92.../config.cfg malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "switch_name=VCEX2...") at /home/lpar2rrd/stor2rrd/bin/Xorux_lib.pm line 612.
 /home/lpar2rrd/stor2rrd/bin/Xorux_lib.pm:615 :


and:

/home/lpar2rrd/stor2rrd/data/VCEX27.../config.cfg

is not a JSON file.

in result in:

SAN - do not have any info in data, frame, healt status and configuration.
LAN - are data and packet but not show health status and configuration.





Comments

  • Hi,

    switch HPE Virtual Connect is not supported. And also is not supported to have it configured as a SAN and at the same time as a LAN. This will definitely not work.

    We can try to find out some workaround for that, but we would need some data from you to see what exactly (which snmp queries) works and what doesn't.

    So if you want to have a look on that then follow these steps:

    1. Let it configured only as a SAN Brocade switch.

    2. Wait about 20 minutes then remove data directory for this switch

    rm -rf /home/lpar2rrd/stor2rrd/data/switch_1

    3. Let it work about next 2 hours and then send us logs

    Note a short problem description in the text field of the upload form.

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
    tar cvhf logs.tar logs tmp/*txt
    gzip -9 logs.tar

    Send us logs.tar.gz via https://upload.stor2rrd.com

    Then we will check your logs and let you know next steps.

Sign In or Register to comment.