EMC Unity Performance Data Collector Problem on STOR2RRD 2.70

Hi,
I have update our STOR2RRD to 2.70 recently. After update, we faced with gap on EMC Unity data.
As I checked the below errors on /home/lpar2rrd/stor2rrd/logs/error.log-EMC-UNITY-XXX:

Global symbol "$port_wwn" requires explicit package name at /home/lpar2rrd/stor2rrd/bin/unityperf.pl line 2210.
Global symbol "$port_wwn" requires explicit package name at /home/lpar2rrd/stor2rrd/bin/unityperf.pl line 2211.
Execution of /home/lpar2rrd/stor2rrd/bin/unityperf.pl aborted due to compilation errors.

After checking the unityperf.pl, I have added the below line:

my $port_wwn    = "";

The previous codes are as follows:

if ( exists $data{PERF}{$timestamp}{PORT}{FC} ) {
        foreach my $port_id ( keys( %{ $data{PERF}{$timestamp}{PORT}{FC} } ) ) {
          if ( exists $data{PORT}{FC}{$port_id}{WWN} ) { $port_wwn = $data{PORT}{FC}{$port_id}{WWN}; }
          print CONF "$port_id,$port_wwn\n";
        }
      }

Now, performance data are collecting for EMC Unity but there is still an error:

Sat Feb 22 14:40:08 2020: Cannot save data, System UUID for EMC-UNITY-XXX does not exists! /home/lpar2rrd/stor2rrd/bin/LoadConf.pm:8659

I guess, there is need to release a patch or update for resolving the above issue.

Comments

  • yep, there was a bug for Unity


    Use this hot fix


    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)

    -rwxr-xr-x 1 stor2rrd stor2rrd 96947 Feb 22 10:01 unityperf.pl

    If your web browser gunzips it automatically then just rename it: mv unityperf.pl.gz unityperf.pl

    It should be ok after deploying that file. Let us know, thanks.

  • Hi,

    regarding second issue:

    Sat Feb 22 14:40:08 2020: Cannot save data, System UUID for EMC-UNITY-XXX does not exists! /home/lpar2rrd/stor2rrd/bin/LoadConf.pm:8659

    Can you try config_check.sh against your Unity? There should be listed "System UUID" like here:
    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir
    ./bin/config_check.sh EMC-Unity
    
    =========================
    STORAGE: EMC-Unity: UNITY
    =========================
      TCP connection to "xxx" on port "443" is ok
    /usr/bin/uemcli -d xxx -u lpar2rrd -p XXX -noHeader /sys/general show -detail
    1:    System name            = EMC-Unity
          Model                  = UnityVSA
          Platform type          = EMC Storage System
          System UUID            = 420FFE1D-0234-FD02-976E-9217DC6135ED
          License activation key = ELMEUV0716HN0K
          Product serial number  = VIRT162859DQXZ
          Health state           = OK (5)
          Health details         = "The system is operating normally."
      connection ok


  • Hi, thank for patch. Is there any other changes except the below?
    my $port_wwn    = "";

    Also second issue still exists and there was no System UUID. Here is the output of config check:

    =========================
    STORAGE: EMC-UNITY-209: UNITY
    =========================
      TCP connection to "X.X.X.X" on port "443" is ok
    /usr/bin/uemcli -d X.X.X.X -u lpar2rrd -p XXX -noHeader /sys/general show -detail
    1:    System name             = Unity-XXX
          Model                   = Unity 400
          Platform type           = EMC Storage System
          UUID base               = 0
          Product serial number   = CKM00XXXXXXXXX
          Auto failback           = on
          Health state            = OK (5)
          Health details          = "The system is operating normally."
          Power (Present)         = 1361 watts
          Power (Rolling Average) = 1362 watts
          Supported SP upgrades   = SP500, SP600

      connection ok



  • Hi,

    1. No, there was just one missing line, but on a different line then you had.
    2. What is a firmware version of that Unity?

    /usr/bin/uemcli -d X.X.X.X -u lpar2rrd -p XXX -noHeader /sys/soft/ver -type installed show


  • Hi,

    here is a fix for the second issue:

    Gunzip it and copy to /home/stor2rrd/stor2rrd/bin (755, stor2rrd owner)
    -rwxr-xr-x 1 stor2rrd stor2rrd 456768 Feb 23 10:33 LoadConf.pm
    If your web browser gunzips it automatically then just rename it: mv LoadConf.pm.gz LoadConf.pm

    Error message "Cannot save data, System UUID..." shouldn't appear again.
    Pls let us know a firmware version as i asked above, we would like to know it for our notes.
    Thanks.
  • The firmware versions are 5.x and 4.x, all versions had same problem.
Sign In or Register to comment.