Installation
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 8088 Connection to "192.168.1.1" on port "8088" is ok
admin:/>change performance statistic_enabled enabled=no admin:/>change performance strategy archive_time=300s admin:/>change performance statistic_enabled enabled=yes admin:/>show performance strategy Sampling Interval(s) : 5 Archive Enabled : Yes Archive Time(s) : 300 Auto Stop : No Duration(days) : --
![]() |
$ vi /home/stor2rrd/stor2rrd/etc/storage-list.cfg # # Huawei OceanStor, Dorado # # Use :OCEANSTOR: even in case of Dorado configuration # Storage Alias:OCEANSTOR:Controller_A IP address or hostname:Controller_B IP address or hostname:storage user:encrypted password:VOLUME_AGG_DATA_LIM:VOLUME_AGG_IO_LIM:SAMPLE_RATE_MINS # to encrypt password use: perl ./bin/spasswd.pl #huawei-alias01:OCEANSTOR:ctla_host.example.com:ctlb_host.example.com:stor2rrd:KT4mXVI9N0BUPjZdVQo=:1024:10: huawei-alias01:OCEANSTOR:192.168.1.1:192.168.1.2:stor2rrd:KT4mXVI9N0BUPjZdVQo=
$ cd /home/stor2rrd/stor2rrd $ perl bin/spasswd.pl Encode password for storage authentication: ------------------------------------------- Enter password: Re-enter password: Copy the following string to the password field of the corresponding line in etc/storage-list.cfg: KT4mXVI9N0BUPjZdVQo=
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh huawei-alias01 ===================== STORAGE: huawei-alias01 : OCEANSTOR ===================== connection ok
$ crontab -l | grep load_oceanstorperf.sh $
$ crontab -e # Huawei OceanStor 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_oceanstorperf.sh > /home/stor2rrd/stor2rrd/load_oceanstorperf.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