HDS G600 performance for a port in initiator mode

finikiez
edited August 2016 in Hitachi
Hi!
Thanks for stor2rrd.

Storage array is HDS G600.

Noticed that stor2rrd doesn't show performance stats for a port which works in initiator mode. If port works as a target everything is ok.

Is it possible to show stats for ports which work as initiator?

Thanks.

Comments

  • Hi,

    can you check export tool data if there is stats available for such port type?
  • Hi,
    sure, export tool collects data. I can explain a bit more tomorrow, how it marks data for such ports.
  • Sorry for the delay. If you have export tool output, you can check Port_dat.zip file.
    There are outputs for 'normal' ports like Port_IOPS.csv. And there are 3 additional files with statistic for ports in initiator mode like 'Port_Initiator_IOPS.csv'

    And one more request: any chance to show statistic for replication 'RemoteCopy_dat' output.

    Thanks.
  • ok, we see Initiator data. Problem was that on our dev storage stats are 0 as there is not configured any Initiator. Therefore we have not included it.
    We will include it in next release.

    Remote copy could be also considered, we will have to find out any suitable place for presentation of its data in the GUI.
  • regarding initiator port data you can try this code:
    http://www.stor2rrd.com/download/hds-vspg-ini.tar.gz

    Gunzip it:
    -rw-rw-r-- 1 lpar2rrd staff 1024000 Aug 22 14:58 hds-vspg-ini.tar

    and under stor2rrd user extract in /home/stor2rrd/stor2rrd
    tar xvf hds-vspg-ini.tar
    chmod 755 bin/LoadDataModule.pm bin/storage.pl bin/detail-cgi.pl bin/detail-graph-cgi.pl bin/vspgconf.pl bin/vspgperf.pl

    Wait 20 - 30 mins and then you should see new tab called "total initiator" under PORT IO/data/resp time items.

    Let us know if it works.
  • Well. We applied the changes and got a funny result.
    First of all, we started to see write statistic in a pool io view (the problem from neighbor topic).
    https://forum.xorux.com/index.php?p=/discussion/104/only-read-statistic-is-shown-on-io-tab-for-a-pool#latest

    Second, we see statistic for ports in initiator mode, but stats for ports in target mode stoped show at the same time


    any suggestion? :)
  • sorry, little overlook in port part for normal mode, use this code, it will fix it:
    http://www.stor2rrd.com/download/LoadDataModule.pm.gz

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    -rwxrwxr-x 1 lpar2rrd staff 369552 Aug 25 09:56 bin/LoadDataModule.pm

    You should see again data for normal port in 15 - 20 minutes.

    Thanks for confirmation of a fix from the other thread.

  • Hi Pavel,
    we applied the code. Seems that situation reverted to the previous state.
    We see statistic for ports in target mode, and don't see statistic for initiator ports.
  • 1.
    $ sum bin/LoadDataModule.pm
    26892 361 bin/LoadDataModule.pm
    $ ls -l bin/LoadDataModule.pm
    -rwxrwxr-x 1 lpar2rrd staff 369552 Aug 29 22:12 bin/LoadDataModule.pm
    $ grep rri bin/LoadDataModule.pm
    my $rri = "";
    $rri = "$wrkdir/$host/$type/$name\.rri";
    if ( create_rrd($rri,$time,$step,$DEBUG,$host,$no_time,$act_time,$type,$st_type) == 1 ) {
    RRDp::cmd qq(update "$rri" $time:$io_rate_ini:$data_rate_ini:$resp_ini);

    2.
    ls -l data//PORT/

    3. send us
    tar cvf d.tar data//IOSTATS/
    gzip -9 d.tar
    https://upload.stor2rrd.com
  • Hi Pavel,
    sorry, we removed replication between our storage arrays.
    We can't repro the issue at the moment.
Sign In or Register to comment.