IBM Flash System 840 and 900
Hello Pavel,
using Stor2rrd 2.41.
When adding IBM Flash Systems 840 and 900 I see in error.log-flash840 and error.log-flash900:
<snip>
/opt/stor2rrd/bin/svcconfig.pl:566 file:/opt/stor2rrd/data/flash840/svc.config.backup.xml.check
Thu Feb 28 08:55:20 2019 - WARNING - svcconfig.pl: XML parsing error: /opt/stor2rrd/data/flash840/svc.config.backup.xml.check:1: parser error : Input is not proper UTF-8, indicate encoding
!
Bytes: 0xFF 0x22 0x20 0x2F
perty name="type" value="UNKNOWN(255)" /> <property name="cluster_ip" value="
^
/opt/stor2rrd/data/flash840/svc.config.backup.xml.check:1: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xFF 0x22 0x20 0x2F
perty name="type" value="UNKNOWN(255)" /> <property name="cluster_ip" value="
^
/opt/stor2rrd/data/flash840/svc.config.backup.xml.check:1: element property: output error : invalid character value
Thu Feb 28 08:55:21 2019 - ERROR - svcconfig.pl: XML parsing error: Entity: line 13: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xFF 0x22 0x2F 0x3E
perty name="cluster_ip" value="ÿ"/> <property name="chap_secret" value="
^
/opt/stor2rrd/bin/svcconfig.pl:566 file:/opt/stor2rrd/data/flash840/svc.config.backup.xml.check
Thu Feb 28 08:55:20 2019 - WARNING - svcconfig.pl: XML parsing error: /opt/stor2rrd/data/flash840/svc.config.backup.xml.check:1: parser error : Input is not proper UTF-8, indicate encoding
!
Bytes: 0xFF 0x22 0x20 0x2F
perty name="type" value="UNKNOWN(255)" /> <property name="cluster_ip" value="
^
/opt/stor2rrd/data/flash840/svc.config.backup.xml.check:1: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xFF 0x22 0x20 0x2F
perty name="type" value="UNKNOWN(255)" /> <property name="cluster_ip" value="
^
/opt/stor2rrd/data/flash840/svc.config.backup.xml.check:1: element property: output error : invalid character value
Thu Feb 28 08:55:21 2019 - ERROR - svcconfig.pl: XML parsing error: Entity: line 13: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xFF 0x22 0x2F 0x3E
perty name="cluster_ip" value="ÿ"/> <property name="chap_secret" value="
^
/opt/stor2rrd/bin/svcconfig.pl:566 file:/opt/stor2rrd/data/flash840/svc.config.backup.xml.check
<snip>
Looking into "lssystem" on both Systems I see:
<snip>
...
tier UNKNOWN(255)
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier UNKNOWN(255)
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier UNKNOWN(255)
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier UNKNOWN(255)
tier_capacity 0.00MB
tier_free_capacity 0.00MB
tier UNKNOWN(255)
tier_capacity 0.00MB
tier_free_capacity 0.00MB
...
<snip>
A change to UTF-8 is not possible as the locale on both Flash Systems do not support this.
Any help would be appreciated.
Cheers,
ku
Comments
-
Hi,
upgrade to the last version 2.50, this issue should be fixed there. -
Hi,1. definitelly start by upgrading to 2.50, let us know if the issue persist.2. assure you have installed xmllintxmllint -v
-
Additionally in load.out file I see:<snip>Storage : flash840
Storage type : SWIZ
IO/DATA limits : volume limits : IO_MAX:512; DATA_MAX:2048 RESPONSE_MAX:2 CACHE_MAX:1024
updating RRD : flash840:SWIZ
config file : flash840: no new config input file found
load nicks : flash840 : VOLUME
ERROR : flash840: Can't open /opt/stor2rrd/data/flash840/config.html is missing (fresh install or upgrade?, then wait about 20mins) /opt/stor2rrd/bin/LoadDataModule.pm:35365
ERROR : flash840: Volumes cfg file has not been found : /opt/stor2rrd/data/flash840/VOLUME/volumes.cfg /opt/stor2rrd/bin/storage.pl:13684
ERROR : Exiting flash840 as some core cfg file is missing: config.html || pool.cfg || volumes.cfg
=== Check http://www.stor2rrd.com/install-storage.htm for more ===
<snip>
-
Thanks for the hints - I'm going to upgrade to 2.50.
-
Hello Karel, Pavel,upgrade to 2.50 has been successfully done.Both Flash Systems are now recognized by stor2rrd and visible in stor2rrd GUI.So far so good.However I see in Error Log of both Flashsystems:<snip>Thu Feb 28 13:36:52 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//iops failed. - Return code: 101
Thu Feb 28 13:36:52 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//bw failed. - Return code: 101
Thu Feb 28 13:36:52 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//rd_latency_avg failed. - Return code: 101
Thu Feb 28 13:36:52 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//wr_latency_avg failed. - Return code: 101
Use of uninitialized value in concatenation (.) or string at /opt/stor2rrd/bin/FlashSystem.pm line 69.
<snip>Due to this collection of perfdata seems not to work.Am I missing something?Cheers,ku -
Hello Pavel, Karel,is it possible, that ssh_usr (which is IMHO filled by Variable STORAGE_USER in svcperf.pl) is missing in perl Module FlashSystem.pm?We are using a different Username to connect to Flash Storage Systems.<snip>stor2rrd@localhostgrep ssh_usr bin/FlashSystem.pm
my $ssh_usr_ip = shift;
Upload_files($scp,$ssh_usr_ip,$iosdir,$dir1,$dir2,$files);
Upload_files($scp,$ssh_usr_ip,$iosdir,$dir1,$dir2,$files);
Upload_files($scp,$ssh_usr_ip,$iosdir,$dir1,$dir2,$files);
Upload_files($scp,$ssh_usr_ip,$iosdir,$dir1,$dir2,$files);
my $ssh_usr_ip = shift;
$cmd_scp .= $ssh_usr_ip.":/".$dir1.$dir2.$file." ";
stor2rrd@localhost /opt/stor2rrd> grep -w ssh_usr bin/FlashSystem.pm
stor2rrd@localhost /opt/stor2rrd>echo $?1<snip>As a workaround I could create the same Username used on my stor2rrd server onto the Flash Storage Systems.Cheers,ku
-
Workaround does not help.Still seeing in the Error Log of both Flash Systems:<snip>Use of uninitialized value in concatenation (.) or string at /opt/stor2rrd/bin/FlashSystem.pm line 69.
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//wr_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//iops: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//rd_latency_avg: No such file or directory
scp: /dumps/tejasstats/current_short//bw: No such file or directory
Thu Feb 28 16:46:41 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//iops failed. - Return code: 101
Thu Feb 28 16:46:41 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//bw failed. - Return code: 101
Thu Feb 28 16:46:41 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//rd_latency_avg failed. - Return code: 101
Thu Feb 28 16:46:41 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//wr_latency_avg failed. - Return code: 101
scp: /dumps/tejasstats/current_short//bw: No such file or directory
Thu Feb 28 16:46:42 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//iops failed. - Return code: 101
Thu Feb 28 16:46:42 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//bw failed. - Return code: 101
Thu Feb 28 16:46:42 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//rd_latency_avg failed. - Return code: 101
Thu Feb 28 16:46:42 2019 - ERROR - FlashSystem.pm: SVCPRF201E Upload IOSTAT file current_short//wr_latency_avg failed. - Return code: 101
<snip>Cheers,ku
-
Hi,send us this output:1. ssh stor2rrd@<flash> "lsportfc -delim ,"2. and this file:tar cvf xml.tar data/SVCPRF201E/*xml*gzip -9 xml.tar
-
Hello Pavel,output of lsportfc sent.XML File not found:stor2rrd@kerp-nim002 /opt/stor2rrd> tar cvf xml.tar data/SVCPRF201E/*xml*
tar: can't change directories to data/SVCPRF201E: No such file or directoryOr do you meant to havetar cvf xml.tar data/<NAME_OF_FLASHARRAY>/*xml*?Cheers,ku
-
Those last mentioned XML Files do exist:<snip>stor2rrd@kerp-nim002 /opt/stor2rrd> ls -al data/<NAME_OF_FLASHARRAY>/*xml*-rw-r--r-- 1 stor2rrd staff 203627 Mar 4 02:00 data/<NAME_OF_FLASHARRAY840>/svc.config.backup.xml.check
-rw-r--r-x 1 stor2rrd staff 208116 Mar 4 02:00 data/<NAME_OF_FLASHARRAY840>/svc.config.cron.xml_1321362-1
-rw-r--r-- 1 stor2rrd staff 197717 Mar 4 02:00 data/<NAME_OF_FLASHARRAY900>/svc.config.backup.xml.check
-rw-r--r-x 1 stor2rrd staff 196927 Dec 1 2017 data/<NAME_OF_FLASHARRAY900>/svc.config.cron.xml_6865976-1
-rw-r--r-x 1 stor2rrd staff 202089 Mar 4 02:00 data/<NAME_OF_FLASHARRAY900>/svc.config.cron.xml_6865976-2<snip>In case you need them give me notice.Cheers,ku
-
Hi,yes, send us this:data/<NAME_OF_FLASHARRAY900>/svc.config.cron.xml_6865976-2and outpu from: ssh stor2rrd@<flash> "lsportfc -delim ,"
-
Files have been uploaded.lsportfc has been uploaded before.
-
Hi,this data yet pls (3 files):cd /home/stor2rrd/stor2rrdtar cvf log3.tar tmp/<NAME_OF_FLASHARRAY900>*txtgunzip -9 ...
-
File uploaded.
-
Files requested via Mail uploaded.
-
Solved.Downloaded Fix for 2 Perl Scripts/Modules from Pavel.Todo:rm -f stor2rrd_base_dir/data/<name_of_storage>/*xml*rm -f stor2rrd_base_dir/data/<name_of_storage>/*data*rm -f stor2rrd_base_dir/data/<name_of_storage>/*data*Fixes:http://www.stor2rrd.com/download/FlashSystem.pm.gz
-rwxr-xr-x 1 stor2rrd stor2rrd 29705 Mar 11 07:23
mv FlashSystem.pm.gz FlashSystem.pm
http://www.stor2rrd.com/download/svcconfig.pl.gz
-rwxr-xr-x 1 stor2rrd stor2rrd 102309 Mar 11 07:23mv svcconfig.pl stor2rrd_base_dir/bin/svcconfig.pl
Wait an hour, then data should be there.Thanks to Pavel for looking into this.Cheers,ku
-
Typo:lastrm -f stor2rrd_base_dir/data/<name_of_storage>/*data*should be change to:rm -f stor2rrd_base_dir/data/<name_of_storage>/*out*
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