Installation
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 22 Connection to "192.168.1.1" on port "22" is ok
admin@qcenter:/home/admin$ sudo useradd -c "STOR2RRD user" -m stor2rrd [sudo] password for admin: admin@qcenter:/home/admin$ sudo passwd stor2rrd Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
# 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.pub
$ scp ~/.ssh/id_rsa.pub stor2rrd@<Q'center IP/hostname>:/tmp/id_rsa.pub $ ssh stor2rrd@<Q'center IP/hostname> stor2rrd@qcenter:/home/stor2rrd$ mkdir .ssh stor2rrd@qcenter:/home/stor2rrd$ chmod 700 .ssh stor2rrd@qcenter:/home/stor2rrd$ mv /tmp/id_rsa.pub .ssh/authorized_keys
$ ssh stor2rrd@<Q'center IP/hostname> "date" Mon May 25 23:30:01 CEST 2020
$ df -g /home # AIX $ df -h /home # Linux
$ crontab -l | grep load_qnapperf.sh $
$ crontab -e # QNAP 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_qnapperf.sh > /home/stor2rrd/stor2rrd/load_qnapperf.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