issue with svc

Hello,

Can't get svc to work with stor2rrd.

Wed Jan 29 17:15:03 2020 - ERROR   - svcconfig.pl: Remote Command: svcinfo lssystem -delim : failed. - Return code: 1
Can't use string ("1") as a HASH ref while "strict refs" in use at /home/stor2rrd/stor2rrd/bin/svcconfig.pl line 275.

Unable to connect to remote machineunable to establish master SSH connection: master process exited unexpectedlyopenssh_pipe_out failed: unable to establish master SSH connection: master process exited unexpectedly/home/stor2rrd/stor2rrd/bin/svc_stor_load.sh: 2020-01-29_17:20 : Command svcconfig.pl ends with return code 2


stor2rrd version 2.61
svc firmware - 8.3.0.1

Comments

  • Hi,

    is the connection test working?

    su - stor2rrd (lpar2rrd on the virtual appliance)
    cd /home/stor2rrd/stor2rrd
    ./bin/config_check.sh <storage alias>
  •  ./bin/config_check.sh cluster-rbo-kt
    =========================
    STORAGE: cluster-rbo-kt: SWIZ : sample rate: 300 seconds
    =========================
      TCP connection to "10.99.255.122" on port "22" is ok
      ssh -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no stor2rrd@10.99.255.122  "lscurrentuser"
      connection ok


  • Hi,

    try this fix

    https://www.stor2rrd.com/download/load_svcperf.sh.gz

     

    -rwxrwxr-x 1 stor2rrd stor2rrd 5692 Jan 28 16:11 load_svcperf.sh

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

     

    If your web browser gunzips it automatically then just rename it: mv load_svcperf.sh.gz load_svcperf.sh

    Assure that file size is the same as on above example

    When you are on AIX then change first line in the script to:

    #!/bin/ksh


    Let it run for 30-60 minutes, can you see data now?


  • Yes, this fixed the issue. Thank you.
Sign In or Register to comment.