HUSM and VSP - ERROR: Command https://10.246.103.57:443/ConfigurationManager/v1/objects/sessions fa

Hi!
what am I doing wrong?

 
[root@msk-lpar2rrd-appliance bin]# ./config_check.sh HUSVM-1
=========================
STORAGE: HUSVM-1: VSPG
=========================
  TCP connection to "10.246.103.57" on port "1099" is ok
  TCP connection to "10.246.103.57" on port "51099" is ok
  TCP connection to "10.246.103.57" on port "51100" is ok
  WARNING : TCP connection to "10.246.103.57" on port "51101" has failed! It might need to be open on the firewall.
  REST API TEST

  TCP connection to "10.246.103.57" on port "443" is ok
/usr/bin/perl /home/lpar2rrd/stor2rrd/bin/vspg_apitest.pl lpar2rrd XXXXX 10.246.103.57 https HUSVM-1 apitest

ERROR: Command https://10.246.103.57:443/ConfigurationManager/v1/objects/sessions failed!
Assure that OpenSSL works: echo "" | openssl s_client -connect 10.246.103.57:443
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /ConfigurationManager/v1/objects/sessions was not found on this server.</p>
</body></html>
Assure that OpenSSL works: echo "" | openssl s_client -connect 10.246.103.57:443
Session id or token is not defined!
Assure that OpenSSL works: echo "" | openssl s_client -connect 10.246.103.57:443
  connection failed!!



Comments

  • Hello,

    Try these the latest scripts:

    https://download.stor2rrd.com/patch/2.81-14-48-g7886/vspg_apitest.pl.gz

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

    -rwxrwxr-x 1 stor2rrd stor2rrd 6421  5. srp 12.21 vspg_apitest.pl

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

    Assure that file size is the same as on above example



    https://download.stor2rrd.com/patch/2.81-14-48-g7886/config_check.sh.gz

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

    -rwxr-xr-x 1 stor2rrd stor2rrd 162373 14. srp 08.18 config_check.sh

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

    Assure that file size is the same as on above example

    after copy scripts to bin directory

    su stor2rrd # Use lpar2rrd account on the Virtual Appliance

    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir

    ./bin/config_check.sh HUSVM-1


    Let us know.


    Thank you

  • [lpar2rrd@msk-lpar2rrd-appliance stor2rrd]$ ./bin/config_check.sh HUSVM-1

    =========================
    STORAGE: HUSVM-1: VSPG
    =========================
      TCP connection to "10.246.103.57" on port "1099" is ok
      TCP connection to "10.246.103.57" on port "51099" is ok
      TCP connection to "10.246.103.57" on port "51100" is ok
      WARNING : TCP connection to "10.246.103.57" on port "51101" has failed! It might need to be open on the firewall.
      REST API TEST

      TCP connection to "10.246.103.57" on port "443" is ok
    /usr/bin/perl /home/stor2rrd/stor2rrd/bin/vspg_apitest.pl lpar2rrd XXXXX 10.246.103.57 https HUSVM-1 apitest 10.246.103.57

    ERROR: Command https://10.246.103.57:443/ConfigurationManager/v1/objects/sessions failed!
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /ConfigurationManager/v1/objects/sessions was not found on this server.</p>
    </body></html>

    ERROR: Command https://10.246.103.57:443/ConfigurationManager/v1/objects/sessions failed!
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /ConfigurationManager/v1/objects/sessions was not found on this server.</p>
    </body></html>


    Session id or token is not defined!

    Model is not supported or Software version may less than 83-05-xx-yy! Check supported models : https://www.stor2rrd.com/Hitachi-VSPG-REST_API.php

    Assure that OpenSSL works: echo "" | openssl s_client -connect 10.246.103.57:443
    Assure that OpenSSL works: echo "" | openssl s_client -connect 10.246.103.57:443

      connection failed!!
  • Hello,

    the error is obvious: Model is not supported or Software version may less than 83-05-xx-yy! Check supported models : https://www.stor2rrd.com/Hitachi-VSPG-REST_API.php

    use the CCI interface


    Thank you
Sign In or Register to comment.