$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 22 Connection to "192.168.1.1" on port "22" is ok
$ ssh superuser@<storage control enclosure IP address> "svctask mkuser -name stor2rrd -usergrp "Monitor"
$ ssh superuser@<storage control enclosure IP address> "svctask mkuser -name stor2rrd -usergrp RestrictedAdmin"
$ ssh superuser@<storage control enclosure IP address> "svctask mkuser -name stor2rrd -usergrp Administrator"
# su - stor2rrd # (use lpar2rrd user on the Appliance) $ ls -l ~/.ssh/id_rsa.pub $ ssh-keygen -t rsa -N "" Generating public/private rsa key pair. Enter file in which to save the key (/home/stor2rrd/.ssh/id_rsa): ... $ ls -l ~/.ssh/id_rsa.pub -rw-r--r-- 1 stor2rrd stor2rrd 382 Jun 1 12:47 /home/stor2rrd/.ssh/id_rsa.pubNew storage devices might require stronger key, use this one instead of above 'RSA'
$ ssh-keygen -t ecdsa -b 521 -N ""
$ scp ~/.ssh/id_rsa.pub superuser@<storage control enclosure IP address>:/tmp/123tmp
$ ssh superuser@<storage control enclosure IP address> "svctask mkuser -name stor2rrd -usergrp Monitor -keyfile /tmp/123tmp"
$ ssh superuser@<storage control enclosure IP address> "svctask mkuser -name stor2rrd -usergrp RestrictedAdmin -keyfile /tmp/123tmp"
$ ssh superuser@<storage control enclosure IP address> "svctask mkuser -name stor2rrd -usergrp Administrator -keyfile /tmp/123tmp"
$ ssh superuser@<storage control enclosure IP address> "svctask chuser -keyfile /tmp/123tmp stor2rrd"
$ ssh -i ~/.ssh/id_rsa stor2rrd@<storage control enclosure IP address> "svcinfo lssystem" id 00000100C0906BAA name SVC location local partnership bandwidth ...
![]() |
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ========================= STORAGE: storwize01: SWIZ ========================= ssh -o ConnectTimeout=15 -i /home/stor2rrd/.ssh/id_rsa stor2rrd@192.168.1.1 "lscurrentuser" connection ok
$ crontab -l | grep load_svcperf.sh $
$ crontab -e # IBM Storwize/SVC storage agent and Lenovo Storwize 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_svcperf.sh > /home/stor2rrd/stor2rrd/load_svcperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ cd /home/stor2rrd/stor2rrd/logs $ tail -1 error.log-<storage name> Can't locate object method "new" via package "XML::LibXML::SAX" at /usr/opt/perl5/lib/site_perl/5.10.1/XML/SAX/ParserFactory.pm line 43.
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 443 Connection to "192.168.1.1" on port "443" is ok $ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 5989 Connection to "192.168.1.1" on port "5989" is ok
$ ssh -l manage <storage_hostname> # show protocols Service and Security Protocols ------------------------------ Web Browser Interface (HTTP): Enabled Secure Web Browser Interface (HTTPS): Enabled Command Line Interface (Telnet): Disabled Secure Command Line Interface (SSH): Enabled Storage Management Initiative Specification (SMI-S): Enabled Unsecure Storage Management Initiative Specification (SMI-S 5988): Disabled ...
# set protocols smis enabled # set protocols https enabled
![]() |
$ ssh -l manage <storage_hostname> # create user interfaces smis,wbi locale English password Test1234 roles monitor,standard stor2rrd
![]() |
# yum list |grep sblim-wbemcli sblim-wbemcli.x86_64 1.6.2-9.el7 base # yum install sblim-wbemcli # RedHat # apt-get install sblim-wbemcli # Debian based (Ubuntu etc) # /usr/bin/wbemcli -noverify -nl ei https://<storage_hostname>:5988/root/smis:cim_computersystem * * ./wbemcli: Http Exception: Username/password required. *
# rpm -q sblim-wbemcli sblim-wbemcli-1.6.3-31.1.x86_64 # /usr/bin/wbemcli -v * wbemcli Version 1.6.3 # /usr/bin/wbemcli -noverify -nl ei http://<storage_hostname>:5988/root/smis:cim_computersystem * * ./wbemcli: Http Exception: Username/password required. *
# rpm -Uvh libffi-3.1-1.aix5.1.ppc.rpm --nodeps # rpm -Uvh libiconv-1.14-2.aix5.1.ppc.rpm --nodeps # rpm -Uvh libidn-1.29-1.aix5.1.ppc.rpm --nodeps # rpm -Uvh libssh2-1.4.3-2.aix5.1.ppc.rpm --nodeps # rpm -Uvh openssl-1.0.1j-1.aix5.1.ppc.rpm # rpm -Uvh openldap-2.4.23-0.3.aix5.1.ppc.rpm # rpm -Uvh curl-7.27.0-1.aix5.1.ppc.rpm # rpm -Uvh wbemcli-1.6.3-1.aix5.1.ppc.rpm # LIBPATH=/opt/freeware/lib; export LIBPATH # /opt/freeware/bin/wbemcli -noverify -nl ei http://<storage_hostname>:5988/root/smis:cim_computersystem * * ./wbemcli: Http Exception: Username/password required. *
![]() |
$ ssh -l manage <storage_hostname> # show protocols ... Secure Web Browser Interface (HTTPS): Enabled Storage Management Initiative Specification (SMI-S): Enabled ...If you use http then this:
Web Browser Interface (HTTP): Enabled Unsecure Storage Management Initiative Specification (SMI-S 5988): Enabled
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ===================== STORAGE: Lenovo-alias01 : DOTHILL ===================== connection ok
$ /usr/bin/wbemcli -noverify -nl ei https://stor2rrd@<IP/hostname>:5989/root/smis:cim_computersystem $ /usr/bin/wbemcli -noverify -nl ei http://stor2rrd@<IP/hostname>:5988/root/smis:cim_computersystem * * /usr/bin/wbemcli: Http Exception: Invalid username/password. *
$ crontab -l | grep load_dothillperf.sh $
$ crontab -e # DotHill AssuredSAN and its rebrands like Lenovo S series or HPE MSA2000/P2000, Dell EMC PowerVault ME4 Series, Quantum StorNex 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_dothillperf.sh > /home/stor2rrd/stor2rrd/load_dothillperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ /usr/bin/wbemcli -nl -t -noverify ein 'http://stor2rrd:<password>@<storage_hostnamew>:5988/root/smis:SMI_Controller' 192.168.1.1:5988/root/smis:SMI_Controller.Name="208000c0ff261f53:A",CreationClassName="SMI_Controller" 192.168.1.2:5988/root/smis:SMI_Controller.Name="208000c0ff261f53:B",CreationClassName="SMI_Controller"When it does not work then check user rights of stor2rrd user (must have "smis"), network visibility (firewall), user/password combination.
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 443 Connection to "192.168.1.1" on port "443" is ok $ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 5989 Connection to "192.168.1.1" on port "5989" is ok
$ ssh -l manage <storage_hostname> # show protocols Service and Security Protocols ------------------------------ Web Browser Interface (HTTP): Enabled Secure Web Browser Interface (HTTPS): Enabled Command Line Interface (Telnet): Disabled Secure Command Line Interface (SSH): Enabled Storage Management Initiative Specification (SMI-S): Enabled Unsecure Storage Management Initiative Specification (SMI-S 5988): Disabled ...
# set protocols smis enabled # set protocols https enabled
![]() |
$ ssh -l manage <storage_hostname> # create user interfaces smis,wbi locale English password Test1234 roles monitor,standard stor2rrd
![]() |
# yum list |grep sblim-wbemcli sblim-wbemcli.x86_64 1.6.2-9.el7 base # yum install sblim-wbemcli # RedHat # apt-get install sblim-wbemcli # Debian based (Ubuntu etc) # /usr/bin/wbemcli -noverify -nl ei https://<storage_hostname>:5988/root/smis:cim_computersystem * * ./wbemcli: Http Exception: Username/password required. *
# rpm -q sblim-wbemcli sblim-wbemcli-1.6.3-31.1.x86_64 # /usr/bin/wbemcli -v * wbemcli Version 1.6.3 # /usr/bin/wbemcli -noverify -nl ei http://<storage_hostname>:5988/root/smis:cim_computersystem * * ./wbemcli: Http Exception: Username/password required. *
# rpm -Uvh libffi-3.1-1.aix5.1.ppc.rpm --nodeps # rpm -Uvh libiconv-1.14-2.aix5.1.ppc.rpm --nodeps # rpm -Uvh libidn-1.29-1.aix5.1.ppc.rpm --nodeps # rpm -Uvh libssh2-1.4.3-2.aix5.1.ppc.rpm --nodeps # rpm -Uvh openssl-1.0.1j-1.aix5.1.ppc.rpm # rpm -Uvh openldap-2.4.23-0.3.aix5.1.ppc.rpm # rpm -Uvh curl-7.27.0-1.aix5.1.ppc.rpm # rpm -Uvh wbemcli-1.6.3-1.aix5.1.ppc.rpm # LIBPATH=/opt/freeware/lib; export LIBPATH # /opt/freeware/bin/wbemcli -noverify -nl ei http://<storage_hostname>:5988/root/smis:cim_computersystem * * ./wbemcli: Http Exception: Username/password required. *
![]() |
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ===================== STORAGE: Lenovo-alias01 : DOTHILL ===================== connection ok
* * /usr/bin/wbemcli: Http Exception: Invalid username/password. *
$ crontab -l | grep load_dothillperf.sh $
$ crontab -e # DotHill AssuredSAN and its rebrands like Lenovo S series, Lenovo ThinkSystem DS series or HPE MSA2000/P2000 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_dothillperf.sh > /home/stor2rrd/stor2rrd/load_dothillperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ /usr/bin/wbemcli -nl -t -noverify ein 'http://stor2rrd:<password>@<storage_hostnamew>:5988/root/smis:SMI_Controller' 192.168.1.1:5988/root/smis:SMI_Controller.Name="208000c0ff261f53:A",CreationClassName="SMI_Controller" 192.168.1.2:5988/root/smis:SMI_Controller.Name="208000c0ff261f53:B",CreationClassName="SMI_Controller"When it does not work then check user rights of stor2rrd user (must have "smis"), network visibility (firewall), user/password combination.
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 8443 Connection to "192.168.1.1" on port "8443" is ok
![]() |
$ df -g /home # AIX $ df -h /home # Linux
$ crontab -l | grep load_ds5perf.sh $
$ crontab -e # NetApp E-series (use same script load_ds5perf.sh as IBM DS3000/DS4000/DS5000) 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_ds5perf.sh > /home/stor2rrd/stor2rrd/load_ds5perf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
# /opt/IBM_DS/Uninstall\ IBM\ System\ Storage\ DS\ Storage\ Manager\ 10/Uninstall\ IBM\ System\ Storage\ DS\ Storage\ Manager\ 10
# umask 022
# chmod 775 lnvgy_utl_storagemanager_11.52.0A54.0003_linux_x86-64.bin
# ./lnvgy_utl_storagemanager_11.52.0A54.0003_linux_x86-64.bin -i console
===============================================================================
Select Installation Type
------------------------
Please choose the Install Set to be installed by this installer.
->1- Typical (Full Installation)
2- Management Station
3- Host
4- Customize...
ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT
: 2
===============================================================================
Installation Complete
---------------------
Congratulations. Lenovo ThinkSystem Storage Manager has been successfully
installed to:
/opt/ThinkSystem/SMgr
# chmod 755 /opt/ThinkSystem/SMgr/client/SMcli
# ls -l /opt/ThinkSystem/SMgr/client/SMcli
-rwxr-xr-x 1 root root 996 Dec 10 23:02 /opt/ThinkSystem/SMgr/client/SMcli
# /opt/ThinkSystem/SMgr/client/SMmonitor stop or # systemctl stop smmonitor.service # systemctl stop smagent.service
# chkconfig --list SMmonitor # chkconfig --level 2345 SMmonitor off
# systemctl disable smmonitor.service # systemctl disable smagent.service
# rm -f /etc/rc2.d/S99SMmonitor /etc/rc.d/init.d/SMmonitor
# rm -f /var/opt/SM/emwdata_v04_bin.lock /var/opt/SM/pref_01_bin.lock /var/opt/SM/PMServer.lock # chown stor2rrd /opt/ThinkSystem/SMgr/client/SMcli /var/opt/SM/prefbackup_01.bin # chown stor2rrd /var/opt/SM/emwback_v04.bin /var/opt/SM /var/opt/SM/emwdata_v04.bin # chown stor2rrd /var/opt/SM /var/opt/SM/pref_01.bin # chmod -f 644 /opt/ThinkSystem/SMgr/jre/lib/security/java.security /usr/SMruntime/jre/lib/security/java.security # chmod -f 755 /opt/ThinkSystem/SMgr/client/lib/*
# su - stor2rrd # (lpar2rrd user on the Virtual Appliance) $ SMcli -d An internal error, error code 12, has occurred. This is possibly due to initialization problems when loading the necessary internal files. Please check your installation of the storage management client. If problems continue to persist, re-install the storage management client.
![]() |
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 2463 Connection to "192.168.1.1" on port "2463" is ok
# su - stor2rrd # (lpar2rrd user on the Virtual Appliance) $ SMcli -d There are currently no storage subsystems listed in the configuration file. Add storage subsystems using the Add Storage Subsystem option in the storage management software or by command line. $ SMcli -A 192.168.1.1 192.168.1.2 New storage subsystem was discovered at address 192.168.1.1 New storage subsystem was discovered at address 192.168.1.2 SMcli completed successfully $ SMcli -d DE6000H ControlerA_hostname ControlerB_hostname
$ SMcli -n DE6000H -e -c "show hostTopology;"
$ SMcli -n DE6000H -e -c "show storageArray hostTopology;" The operation needs either the 'Administrator' or 'Monitor' password to be set. $ SMcli -n DE6000H -p <password> -R monitor -e -c "show storageArray hostTopology;"
![]() |
API authorization: NOK SMcli command failed: "/opt/IBM_DS/client/SMcli -n DE6000H -e -c "show hostTopology;"" sh: /opt/IBM_DS/client/SMcli: No such file or directory
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ======================= STORAGE: DE6000H : DS5K ======================= /usr/SMclient/SMcli -n DE6000H -e -c "storageSubsystem summary;" connection ok
$ SMcli -n DE6000H -e -c "show hostTopology;" Warning! No Monitor password is set for the storage subsystem.
DE6000H:DS5K:monitor:password01:
$ ./bin/config_check.sh DE6000H ...
$ crontab -l | grep load_ds5perf.sh $
$ crontab -e # Lenovo DE series (use same script load_ds5perf.sh as IBM DS3000/DS4000/DS5000 and NetApp E-series) 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_ds5perf.sh > /home/stor2rrd/stor2rrd/load_ds5perf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 22 Connection to "192.168.1.1" on port "22" is ok $ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 80 Connection to "192.168.1.1" on port "80" is ok
# su - stor2rrd # (use lpar2rrd user on the Appliance) $ ls -l ~/.ssh/id_rsa.pub $ ssh-keygen -t rsa -N "" Generating public/private rsa key pair. Enter file in which to save the key (/home/stor2rrd/.ssh/id_rsa): ... $ ls -l ~/.ssh/id_rsa.pub -rw-r--r-- 1 stor2rrd stor2rrd 382 Jun 1 12:47 /home/stor2rrd/.ssh/id_rsa.pubNew storage devices might require stronger key, use this one instead of above 'RSA'
$ ssh-keygen -t ecdsa -b 521 -N ""
Cmode::> security login role create -role monitor -cmddirname DEFAULT -access readonly
Cmode::> security login role create -role monitor -cmddirname set -access all
Cmode::> security login role create -role monitor -cmddirname statistics -access all
# You can check the role you've just created
Cmode::> security login role show -role monitor
Role Command/ Access
Vserver Name Directory Query Level
---------- ------------- --------- ----------------------------------- --------
xorux monitor DEFAULT readonly
xorux monitor set all
xorux monitor statistics all
3 entries were displayed.
# Create stor2rrd user, enable SSH, ONTAPI
Cmode::> security login create -username stor2rrd -role monitor -application ssh -authmethod password
Cmode::> security login create -username stor2rrd -role monitor -application ontapi -authmethod password
Cmode::> security login create -username stor2rrd -role monitor -application ssh -authmethod publickey
# Assign stor2rrd user for monitoring role
Cmode::> security login modify stor2rrd -role monitor *
Cmode::> security login show
Authentication Acct Is-Nsswitch
User/Group Name Application Method Role Name Locked Group
---------------- ----------- --------- ---------------- ------ -----------
stor2rrd ontapi password monitor no no
stor2rrd ssh password monitor no no
stor2rrd ssh publickey monitor - no
$ cat ~/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCu7y41DTAqJwqA4KJfZQWiqU7IMbs8lbK0nvDgZ9dMWmd3l+uawDKxkUdvnRUxBrLqGrxHZx3CjcLoNDqvlFl0AKE3DRTmv6o7plD3b1jRwsCABpNob5knZ/A3E4uVWytJPz036zjkn4vUSrGKJon3oUgLkmtSJoT2FCLvmPbYONPEqs+tQ/yCCkIpVcZwCxwPCbC7nnuuXhjMmRQNzNooREgBHr4eUWr3rlUPNxsSBjg6Mcbfb3u3O9+e49KJKUvMoD40AULW3h3j6bJ6bTTyhKavETpnkryeEq3936oVJdKdd4noraR54rK8lLrErFYgAG8ugLrxzmOYt6dN1phb
$ ssh-keygen -t ecdsa -b 521
Cmode::> security login publickey create -username stor2rrd -publickey "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCu7y41DTAqJwqA4KJfZQWiqU7IMbs8lbK0nvDgZ9dMWmd3l+uawDKxkUdvnRUxBrLqGrxHZx3CjcLoNDqvlFl0AKE3DRTmv6o7plD3b1jRwsCABpNob5knZ/A3E4uVWytJPz036zjkn4vUSrGKJon3oUgLkmtSJoT2FCLvmPbYONPEqs+tQ/yCCkIpVcZwCxwPCbC7nnuuXhjMmRQNzNooREgBHr4eUWr3rlUPNxsSBjg6Mcbfb3u3O9+e49KJKUvMoD40AULW3h3j6bJ6bTTyhKavETpnkryeEq3936oVJdKdd4noraR54rK8lLrErFYgAG8ugLrxzmOYt6dN1phb" -comment STOR2RRD
$ ssh stor2rrd@192.168.1.1 Cmode::>
Cmode::> system services web show
External Web Services: true
Status: online
HTTP Protocol Port: 80
HTTPS Protocol Port: 443
HTTP Enabled: true
Cmode::> firewall policy show -policy mgmt -instance -service http,https
Vserver Name: Cmode
Policy: mgmt
Service: http
Allowed IPs: 0.0.0.0/0
IPspace: Default
Vserver Name: Cmode
Policy: mgmt
Service: https
Allowed IPs: 0.0.0.0/0
IPspace: Default
Cmode::> net int show -vserver Cmode -lif cluster_mgmt
--> interfaces must have: Firewall Policy: mgmt
![]() |
$ df -g /home # AIX $ df -h /home # Linux
$ crontab -l | grep load_netappperf.sh $
$ crontab -e # Lenovo DM / DG series, NetApp FAS : C-mode & 7-mode (same code, use it just once) 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_netappperf.sh > /home/stor2rrd/stor2rrd/load_netappperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 443 Connection to "192.168.1.1" on port "443" is ok
$ ssh -l manage <storage_hostname> # show protocols Service and Security Protocols ------------------------------ ... Secure Web Browser Interface (HTTPS): Enabled ...
# set protocols https enabled
![]() |
$ ssh -l manage <storage_hostname> # create user interfaces wbi locale English password Test1234 roles monitor,standard stor2rrd
![]() |
![]() |
$ ssh -l manage <storage_hostname> # show protocols ... Secure Web Browser Interface (HTTPS): Enabled ...If you use http then this:
Web Browser Interface (HTTP): Enabled
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ===================== STORAGE: DotHill ===================== connection ok
$ crontab -l | grep load_dothillperf.sh $
$ crontab -e # DotHill AssuredSAN and its rebrands like Lenovo S series or HPE MSA2000/P2000, Dell EMC PowerVault ME4 Series, Quantum StorNex 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_dothillperf.sh > /home/stor2rrd/stor2rrd/load_dothillperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 443 Connection to "192.168.1.1" on port "443" is ok
$ ssh -l manage <storage_hostname> # show protocols Service and Security Protocols ------------------------------ ... Secure Web Browser Interface (HTTPS): Enabled ...
# set protocols https enabled
![]() |
$ ssh -l manage <storage_hostname> # create user interfaces wbi locale English password Test1234 roles monitor,standard stor2rrd
![]() |
![]() |
$ ssh -l manageIf you use http then this:# show protocols ... Secure Web Browser Interface (HTTPS): Enabled ...
Web Browser Interface (HTTP): Enabled
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ===================== STORAGE: DotHill ===================== connection ok
$ crontab -l | grep load_dothillperf.sh $
$ crontab -e # DotHill AssuredSAN and its rebrands like Lenovo S series or HPE MSA2000/P2000, Dell EMC PowerVault ME4 Series, Quantum StorNex 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_dothillperf.sh > /home/stor2rrd/stor2rrd/load_dothillperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 443 Connection to "192.168.1.1" on port "443" is ok
# Create stor2rrd user, enable REST API access
Cmode::> security login create -username stor2rrd -role readonly -application http -authmethod password
Cmode::> security login show -user-or-group-name stor2rrd
Second
User/Group Authentication Acct Authentication
Name Application Method Role Name Locked Method
-------------- ----------- ------------- ---------------- ------ --------------
stor2rrd http password readonly no none
Or you can use ONTAP System Manager to do the same:
![]() |
Cmode::> system services web show
External Web Services: true
Status: online
HTTP Protocol Port: 80
HTTPS Protocol Port: 443
HTTP Enabled: true
Cmode::> firewall policy show -policy mgmt -instance -service http,https
Vserver Name: Cmode
Policy: mgmt
Service: http
Allowed IPs: 0.0.0.0/0
IPspace: Default
Vserver Name: Cmode
Policy: mgmt
Service: https
Allowed IPs: 0.0.0.0/0
IPspace: Default
Cmode::> net int show -vserver Cmode -lif cluster_mgmt
--> interfaces must have: Firewall Policy: mgmt
![]() |
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ===================================== STORAGE: Lenovo-DM-01 : NetApp ===================================== connection ok
$ crontab -l | grep load_netappperf.sh $
$ crontab -e # NetApp FAS : C-mode, 7-mode, Lenovo ThinkSystem DM / DG Series, REST API (same code, use it just once) 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_netappperf.sh > /home/stor2rrd/stor2rrd/load_netappperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh