Installation
$ 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 vsadmin-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 Amazon-FSx-01 ===================================== STORAGE: Amazon-FSx-01 : NetApp ===================================== connection ok
$ crontab -l | grep load_netappperf.sh $
$ crontab -e # Amazon FSx & NetApp FAS : C-mode, 7-mode, 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